2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for aMule SVN.
5 # Report bugs to <admin@amule.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and admin@amule.org
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='amule'
555 PACKAGE_VERSION
='SVN'
556 PACKAGE_STRING
='aMule SVN'
557 PACKAGE_BUGREPORT
='admin@amule.org'
560 ac_unique_file
="src/amule.cpp"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
598 ac_subst_vars
='am__EXEEXT_FALSE
603 COMPILE_LIB_COMMON_FALSE
604 COMPILE_LIB_COMMON_TRUE
609 GENERATE_FLEX_HEADER_FALSE
610 GENERATE_FLEX_HEADER_TRUE
613 NEED_CORESERVICES_FALSE
614 NEED_CORESERVICES_TRUE
647 AMULE_DAEMON_MANPAGES
652 INTL_LIBTOOL_SUFFIX_PREFIX
659 BUILD_INCLUDED_LIBINTL
678 DISTCHECK_CONFIGURE_FLAGS
800 MAINTAINER_MODE_FALSE
812 INSTALL_STRIP_PROGRAM
854 program_transform_name
870 enable_option_checking
872 enable_maintainer_mode
873 enable_dependency_tracking
923 with_included_gettext
929 ac_precious_vars
='build_alias
950 # Initialize some variables set by options.
952 ac_init_version
=false
953 ac_unrecognized_opts
=
955 # The variables have the same names as the options, with
956 # dashes changed to underlines.
964 program_transform_name
=s
,x
,x
,
972 # Installation directory options.
973 # These are left unexpanded so users can "make install exec_prefix=/foo"
974 # and all the variables that are supposed to be based on exec_prefix
975 # by default will actually change.
976 # Use braces instead of parens because sh, perl, etc. also accept them.
977 # (The list follows the same order as the GNU Coding Standards.)
978 bindir
='${exec_prefix}/bin'
979 sbindir
='${exec_prefix}/sbin'
980 libexecdir
='${exec_prefix}/libexec'
981 datarootdir
='${prefix}/share'
982 datadir
='${datarootdir}'
983 sysconfdir
='${prefix}/etc'
984 sharedstatedir
='${prefix}/com'
985 localstatedir
='${prefix}/var'
986 includedir
='${prefix}/include'
987 oldincludedir
='/usr/include'
988 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
989 infodir
='${datarootdir}/info'
994 libdir
='${exec_prefix}/lib'
995 localedir
='${datarootdir}/locale'
996 mandir
='${datarootdir}/man'
1002 # If the previous option needs an argument, assign it.
1003 if test -n "$ac_prev"; then
1004 eval $ac_prev=\
$ac_option
1010 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014 # Accept the important Cygnus configure options, so we can diagnose typos.
1016 case $ac_dashdash$ac_option in
1020 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1022 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1023 bindir
=$ac_optarg ;;
1025 -build |
--build |
--buil |
--bui |
--bu)
1026 ac_prev
=build_alias
;;
1027 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1028 build_alias
=$ac_optarg ;;
1030 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1031 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1032 ac_prev
=cache_file
;;
1033 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1034 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1035 cache_file
=$ac_optarg ;;
1037 --config-cache |
-C)
1038 cache_file
=config.cache
;;
1040 -datadir |
--datadir |
--datadi |
--datad)
1042 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1043 datadir
=$ac_optarg ;;
1045 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1046 |
--dataroo |
--dataro |
--datar)
1047 ac_prev
=datarootdir
;;
1048 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1049 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1050 datarootdir
=$ac_optarg ;;
1052 -disable-* |
--disable-*)
1053 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error
"invalid feature name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=no
;;
1068 -docdir |
--docdir |
--docdi |
--doc |
--do)
1070 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1071 docdir
=$ac_optarg ;;
1073 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1075 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1076 dvidir
=$ac_optarg ;;
1078 -enable-* |
--enable-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error
"invalid feature name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "enable_
$ac_useropt"
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval enable_
$ac_useropt=\
$ac_optarg ;;
1094 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1095 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1096 |
--exec |
--exe |
--ex)
1097 ac_prev
=exec_prefix
;;
1098 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1099 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1100 |
--exec=* |
--exe=* |
--ex=*)
1101 exec_prefix
=$ac_optarg ;;
1103 -gas |
--gas |
--ga |
--g)
1104 # Obsolete; use --with-gas.
1107 -help |
--help |
--hel |
--he |
-h)
1108 ac_init_help
=long
;;
1109 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1110 ac_init_help
=recursive
;;
1111 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1112 ac_init_help
=short
;;
1114 -host |
--host |
--hos |
--ho)
1115 ac_prev
=host_alias
;;
1116 -host=* |
--host=* |
--hos=* |
--ho=*)
1117 host_alias
=$ac_optarg ;;
1119 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1121 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1123 htmldir
=$ac_optarg ;;
1125 -includedir |
--includedir |
--includedi |
--included |
--include \
1126 |
--includ |
--inclu |
--incl |
--inc)
1127 ac_prev
=includedir
;;
1128 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1129 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1130 includedir
=$ac_optarg ;;
1132 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1134 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1135 infodir
=$ac_optarg ;;
1137 -libdir |
--libdir |
--libdi |
--libd)
1139 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1140 libdir
=$ac_optarg ;;
1142 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1143 |
--libexe |
--libex |
--libe)
1144 ac_prev
=libexecdir
;;
1145 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1146 |
--libexe=* |
--libex=* |
--libe=*)
1147 libexecdir
=$ac_optarg ;;
1149 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1150 ac_prev
=localedir
;;
1151 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1152 localedir
=$ac_optarg ;;
1154 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1155 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1156 ac_prev
=localstatedir
;;
1157 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1158 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1159 localstatedir
=$ac_optarg ;;
1161 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1163 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1164 mandir
=$ac_optarg ;;
1166 -nfp |
--nfp |
--nf)
1167 # Obsolete; use --without-fp.
1170 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1171 |
--no-cr |
--no-c |
-n)
1174 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1175 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1178 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1179 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1180 |
--oldin |
--oldi |
--old |
--ol |
--o)
1181 ac_prev
=oldincludedir
;;
1182 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1183 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1184 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1185 oldincludedir
=$ac_optarg ;;
1187 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1189 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1190 prefix
=$ac_optarg ;;
1192 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1193 |
--program-pre |
--program-pr |
--program-p)
1194 ac_prev
=program_prefix
;;
1195 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1196 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1197 program_prefix
=$ac_optarg ;;
1199 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1200 |
--program-suf |
--program-su |
--program-s)
1201 ac_prev
=program_suffix
;;
1202 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1203 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1204 program_suffix
=$ac_optarg ;;
1206 -program-transform-name |
--program-transform-name \
1207 |
--program-transform-nam |
--program-transform-na \
1208 |
--program-transform-n |
--program-transform- \
1209 |
--program-transform |
--program-transfor \
1210 |
--program-transfo |
--program-transf \
1211 |
--program-trans |
--program-tran \
1212 |
--progr-tra |
--program-tr |
--program-t)
1213 ac_prev
=program_transform_name
;;
1214 -program-transform-name=* |
--program-transform-name=* \
1215 |
--program-transform-nam=* |
--program-transform-na=* \
1216 |
--program-transform-n=* |
--program-transform-=* \
1217 |
--program-transform=* |
--program-transfor=* \
1218 |
--program-transfo=* |
--program-transf=* \
1219 |
--program-trans=* |
--program-tran=* \
1220 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1221 program_transform_name
=$ac_optarg ;;
1223 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1225 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1226 pdfdir
=$ac_optarg ;;
1228 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1230 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1233 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1234 |
-silent |
--silent |
--silen |
--sile |
--sil)
1237 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1239 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1241 sbindir
=$ac_optarg ;;
1243 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1244 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1245 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1247 ac_prev
=sharedstatedir
;;
1248 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1249 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1250 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1252 sharedstatedir
=$ac_optarg ;;
1254 -site |
--site |
--sit)
1256 -site=* |
--site=* |
--sit=*)
1259 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1261 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1262 srcdir
=$ac_optarg ;;
1264 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1265 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1266 ac_prev
=sysconfdir
;;
1267 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1268 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1269 sysconfdir
=$ac_optarg ;;
1271 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1272 ac_prev
=target_alias
;;
1273 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1274 target_alias
=$ac_optarg ;;
1276 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1279 -version |
--version |
--versio |
--versi |
--vers |
-V)
1280 ac_init_version
=: ;;
1283 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1286 as_fn_error
"invalid package name: $ac_useropt"
1287 ac_useropt_orig
=$ac_useropt
1288 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1294 ac_unrecognized_sep
=', ';;
1296 eval with_
$ac_useropt=\
$ac_optarg ;;
1298 -without-* |
--without-*)
1299 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1300 # Reject names that are not valid shell variable names.
1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1302 as_fn_error
"invalid package name: $ac_useropt"
1303 ac_useropt_orig
=$ac_useropt
1304 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1309 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1310 ac_unrecognized_sep
=', ';;
1312 eval with_
$ac_useropt=no
;;
1315 # Obsolete; use --with-x.
1318 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1319 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1320 ac_prev
=x_includes
;;
1321 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1322 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1323 x_includes
=$ac_optarg ;;
1325 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1326 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1327 ac_prev
=x_libraries
;;
1328 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1329 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1330 x_libraries
=$ac_optarg ;;
1332 -*) as_fn_error
"unrecognized option: \`$ac_option'
1333 Try \`$0 --help' for more information."
1337 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1338 # Reject names that are not valid shell variable names.
1339 case $ac_envvar in #(
1340 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1341 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1343 eval $ac_envvar=\
$ac_optarg
1344 export $ac_envvar ;;
1347 # FIXME: should be removed in autoconf 3.0.
1348 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1349 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1350 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1351 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1357 if test -n "$ac_prev"; then
1358 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1359 as_fn_error
"missing argument to $ac_option"
1362 if test -n "$ac_unrecognized_opts"; then
1363 case $enable_option_checking in
1365 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1366 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1370 # Check all directory arguments for consistency.
1371 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1372 datadir sysconfdir sharedstatedir localstatedir includedir \
1373 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1374 libdir localedir mandir
1376 eval ac_val
=\$
$ac_var
1377 # Remove trailing slashes.
1380 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1381 eval $ac_var=\
$ac_val;;
1383 # Be sure to have absolute directory names.
1385 [\\/$
]* | ?
:[\\/]* ) continue;;
1386 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1388 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1391 # There might be people who depend on the old broken behavior: `$host'
1392 # used to hold the argument of --host etc.
1393 # FIXME: To remove some day.
1396 target
=$target_alias
1398 # FIXME: To remove some day.
1399 if test "x$host_alias" != x
; then
1400 if test "x$build_alias" = x
; then
1401 cross_compiling
=maybe
1402 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1403 If a cross compiler is detected then cross compile mode will be used." >&2
1404 elif test "x$build_alias" != "x$host_alias"; then
1410 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1412 test "$silent" = yes && exec 6>/dev
/null
1415 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1416 ac_ls_di
=`ls -di .` &&
1417 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1418 as_fn_error
"working directory cannot be determined"
1419 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1420 as_fn_error
"pwd does not report name of working directory"
1423 # Find the source files, if location was not specified.
1424 if test -z "$srcdir"; then
1425 ac_srcdir_defaulted
=yes
1426 # Try the directory containing this script, then the parent directory.
1427 ac_confdir
=`$as_dirname -- "$as_myself" ||
1428 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1429 X"$as_myself" : 'X\(//\)[^/]' \| \
1430 X"$as_myself" : 'X\(//\)$' \| \
1431 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1432 $as_echo X"$as_myself" |
1433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1455 ac_srcdir_defaulted
=no
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1458 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1459 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1461 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1463 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1465 # When building in place, set srcdir=.
1466 if test "$ac_abs_confdir" = "$ac_pwd"; then
1469 # Remove unnecessary trailing slashes from srcdir.
1470 # Double slashes in file names in object file debugging info
1471 # mess up M-x gdb in Emacs.
1473 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1475 for ac_var
in $ac_precious_vars; do
1476 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1477 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1478 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1479 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1483 # Report the --help message.
1485 if test "$ac_init_help" = "long"; then
1486 # Omit some internal or obsolete options to make the list less imposing.
1487 # This message is too long to be a string in the A/UX 3.1 sh.
1489 \`configure' configures aMule SVN to adapt to many kinds of systems.
1491 Usage: $0 [OPTION]... [VAR=VALUE]...
1493 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1494 VAR=VALUE. See below for descriptions of some of the useful variables.
1496 Defaults for the options are specified in brackets.
1499 -h, --help display this help and exit
1500 --help=short display options specific to this package
1501 --help=recursive display the short help of all the included packages
1502 -V, --version display version information and exit
1503 -q, --quiet, --silent do not print \`checking...' messages
1504 --cache-file=FILE cache test results in FILE [disabled]
1505 -C, --config-cache alias for \`--cache-file=config.cache'
1506 -n, --no-create do not create output files
1507 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1509 Installation directories:
1510 --prefix=PREFIX install architecture-independent files in PREFIX
1511 [$ac_default_prefix]
1512 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1515 By default, \`make install' will install all the files in
1516 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1517 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1518 for instance \`--prefix=\$HOME'.
1520 For better control, use the options below.
1522 Fine tuning of the installation directories:
1523 --bindir=DIR user executables [EPREFIX/bin]
1524 --sbindir=DIR system admin executables [EPREFIX/sbin]
1525 --libexecdir=DIR program executables [EPREFIX/libexec]
1526 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1527 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1528 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1529 --libdir=DIR object code libraries [EPREFIX/lib]
1530 --includedir=DIR C header files [PREFIX/include]
1531 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1532 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1533 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1534 --infodir=DIR info documentation [DATAROOTDIR/info]
1535 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1536 --mandir=DIR man documentation [DATAROOTDIR/man]
1537 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1538 --htmldir=DIR html documentation [DOCDIR]
1539 --dvidir=DIR dvi documentation [DOCDIR]
1540 --pdfdir=DIR pdf documentation [DOCDIR]
1541 --psdir=DIR ps documentation [DOCDIR]
1547 --program-prefix=PREFIX prepend PREFIX to installed program names
1548 --program-suffix=SUFFIX append SUFFIX to installed program names
1549 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1552 --build=BUILD configure
for building on BUILD
[guessed
]
1553 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1557 if test -n "$ac_init_help"; then
1558 case $ac_init_help in
1559 short | recursive
) echo "Configuration of aMule SVN:";;
1564 --disable-option-checking ignore unrecognized
--enable/--with options
1565 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1566 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1567 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1568 --disable-silent-rules verbose build output (undo: `make V
=0')
1569 --enable-maintainer-mode enable make rules and dependencies not useful
1570 (and sometimes confusing) to the casual installer
1571 --disable-dependency-tracking speeds up one-time build
1572 --enable-dependency-tracking do not reject slow dependency extractors
1573 --disable-monolithic disable building of the monolithic aMule app
1574 --enable-amule-daemon compile aMule daemon version
1575 --enable-amulecmd compile aMule command line client
1576 --enable-webserver compile aMule WebServer
1577 --enable-amule-gui compile aMule remote GUI
1578 --enable-cas compile C aMule Statistics
1579 --enable-wxcas compile aMule GUI Statistics
1580 --disable-ed2k don't compile aMule ed2k links handler
1581 --enable-alc compile aMuleLinkCreator GUI version
1582 --enable-alcc compile aMuleLinkCreator
for console
1583 --enable-xas install xas XChat2 plugin
1584 --enable-fileview compile aMule
file viewer
for console
(EXPERIMENTAL
)
1585 --enable-plasmamule compile aMule plasma applet and engine
1586 --enable-static produce a statically linked executable
1587 --enable-kde-in-home install KDE related stuff
in your home dir
1588 --enable-geoip compile with GeoIP IP2Country library
1589 --disable-upnp do not compile UPnP code
1590 --disable-debug disable additional debugging output
1591 --enable-profile enable code profiling
1592 --enable-optimize enable code optimization
1593 --enable-static-boost Prefer the static boost libraries over the shared
1595 --enable-mmap enable using mapped memory
if supported
1596 --disable-rpath do not hardcode runtime library paths
1597 --disable-nls do not use Native Language Support
1598 --enable-ccache enable ccache support
for fast recompilation
1601 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1602 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1603 --with-kde4-config=PATH kde4-config
script to use
1604 --with-moc=PATH Search
in PATH
for Qt
's meta object compiler
1605 --without-gnu-malloc Don't assume that we use GNU libc compatible
1606 malloc
/realloc when cross-compiling
1607 --with-gdlib-prefix=PREFIX
1608 prefix where gdlib is installed
(optional
)
1609 --with-gdlib-config=CONFIG
1610 gdlib-config
script to use
(optional
)
1611 --with-zlib=PREFIX use zlib
in PREFIX
1612 --with-libpng-prefix=PREFIX
1613 prefix where libpng is installed
(optional
)
1614 --with-libpng-config=CONFIG
1615 libpng-config
script to use
(optional
)
1616 --with-geoip-headers=DIR
1617 GeoIP include files location
1618 --with-geoip-lib=DIR GeoIP library location
1619 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
1620 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
1621 --with-wx-config=CONFIG wx-config
script to use
(optional
)
1622 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
1623 --with-wx-exec-prefix=PREFIX
1624 Exec prefix where wxWidgets is installed
(optional
)
1625 --with-toolkit Build against a specific wxWidgets toolkit
(default
1627 --with-wxshared Force building against a shared build of wxWidgets
,
1628 even
if --disable-shared is given
(default is auto
)
1629 --with-wxdebug Force building against a debug build of wxWidgets
,
1630 even
if --disable-debug is given
(default is auto
)
1631 --with-wxversion Build against a specific version of wxWidgets
1633 --with-libupnp-prefix=PREFIX
1634 UPnP library location
1635 --with-crypto-prefix=PREFIX
1636 prefix where crypto
++ is installed
1637 --with-boost[=DIR
] use Boost.Asio
for networking
1638 --with-language=<langs
> Specify a comma-separated list of languages you want
1639 to have installed. See po
/LINGUAS
for available
1641 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1642 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1643 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1644 --with-included-gettext use the GNU gettext library included here
1645 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1646 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1647 --with-denoise-level=<level
>
1648 Specifies denoising level
(0-4):
1650 4 - Suppress all normal output
1651 (for more information see
1652 src
/utils
/scripts
/denoiser.rules
)
1654 --with-ccache-prefix=PREFIX
1655 prefix where ccache is installed
1657 Some influential environment variables
:
1658 CXX C
++ compiler
command
1659 CXXFLAGS C
++ compiler flags
1660 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1661 nonstandard directory
<lib dir
>
1662 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1663 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1664 you have headers
in a nonstandard directory
<include dir
>
1665 CXXCPP C
++ preprocessor
1666 CC C compiler
command
1667 CFLAGS C compiler flags
1669 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1670 the first program found out of: `bison
-y', `byacc', `yacc'.
1671 YFLAGS The list of arguments that will be passed by default to $YACC.
1672 This script will default YFLAGS to the empty string to avoid a
1673 default value of `-d' given by some make applications.
1674 RC Resource Compiler
1675 RCFLAGS Resource Compiler Flags
1676 PKG_CONFIG path to pkg-config utility
1677 BOOST_ROOT Location of Boost installation
1679 Use these variables to override the choices made by `configure' or to
help
1680 it to
find libraries and programs with nonstandard names
/locations.
1682 Report bugs to
<admin@amule.org
>.
1687 if test "$ac_init_help" = "recursive"; then
1688 # If there are subdirs, report their specific --help.
1689 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1690 test -d "$ac_dir" ||
1691 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1696 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1698 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1699 # A ".." for each directory in $ac_dir_suffix.
1700 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1701 case $ac_top_builddir_sub in
1702 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1703 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1706 ac_abs_top_builddir
=$ac_pwd
1707 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1708 # for backward compatibility:
1709 ac_top_builddir
=$ac_top_build_prefix
1712 .
) # We are building in place.
1714 ac_top_srcdir
=$ac_top_builddir_sub
1715 ac_abs_top_srcdir
=$ac_pwd ;;
1716 [\\/]* | ?
:[\\/]* ) # Absolute name.
1717 ac_srcdir
=$srcdir$ac_dir_suffix;
1718 ac_top_srcdir
=$srcdir
1719 ac_abs_top_srcdir
=$srcdir ;;
1721 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1722 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1723 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1725 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1727 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1728 # Check for guested configure.
1729 if test -f "$ac_srcdir/configure.gnu"; then
1731 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1732 elif test -f "$ac_srcdir/configure"; then
1734 $SHELL "$ac_srcdir/configure" --help=recursive
1736 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1738 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1742 test -n "$ac_init_help" && exit $ac_status
1743 if $ac_init_version; then
1746 generated by GNU Autoconf
2.65
1748 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1749 This configure
script is free software
; the Free Software Foundation
1750 gives unlimited permission to copy
, distribute and modify it.
1755 ## ------------------------ ##
1756 ## Autoconf initialization. ##
1757 ## ------------------------ ##
1759 # ac_fn_cxx_try_compile LINENO
1760 # ----------------------------
1761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1762 ac_fn_cxx_try_compile
()
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 rm -f conftest.
$ac_objext
1766 if { { ac_try
="$ac_compile"
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_compile") 2>conftest.err
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_cxx_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest.$ac_objext; then :
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_cxx_try_compile
1797 # ac_fn_cxx_try_cpp LINENO
1798 # ------------------------
1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_cxx_try_cpp ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_cpp conftest.$ac_ext"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } >/dev
/null
&& {
1819 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1830 as_fn_set_status
$ac_retval
1832 } # ac_fn_cxx_try_cpp
1834 # ac_fn_c_try_compile LINENO
1835 # --------------------------
1836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1837 ac_fn_c_try_compile
()
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 rm -f conftest.
$ac_objext
1841 if { { ac_try
="$ac_compile"
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_compile") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest.$ac_objext; then :
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868 as_fn_set_status $ac_retval
1870 } # ac_fn_c_try_compile
1872 # ac_fn_c_try_cpp LINENO
1873 # ----------------------
1874 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if { { ac_try="$ac_cpp conftest.$ac_ext"
1880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1881 *) ac_try_echo
=$ac_try;;
1883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1887 if test -s conftest.err
; then
1888 grep -v '^ *+' conftest.err
>conftest.er1
1889 cat conftest.er1
>&5
1890 mv -f conftest.er1 conftest.err
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } >/dev
/null
&& {
1894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1895 test ! -s conftest.err
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.
$ac_ext >&5
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1905 as_fn_set_status
$ac_retval
1909 # ac_fn_c_try_link LINENO
1910 # -----------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1915 rm -f conftest.
$ac_objext conftest
$ac_exeext
1916 if { { ac_try
="$ac_link"
1918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>conftest.err
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_c_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest$ac_exeext && {
1935 test "$cross_compiling" = yes ||
1936 $as_test_x conftest$ac_exeext
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947 # interfere with the next link command; also delete a directory that is
1948 # left behind by Apple's compiler. We do this before executing the actions.
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 as_fn_set_status $ac_retval
1953 } # ac_fn_c_try_link
1955 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1956 # -------------------------------------------------------
1957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1958 # the include files in INCLUDES and setting the cache variable VAR
1960 ac_fn_c_check_header_mongrel ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1967 $as_echo_n "(cached) " >&6
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1973 # Is the header compilable?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1975 $as_echo_n "checking $2 usability... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1981 if ac_fn_c_try_compile "$LINENO"; then :
1982 ac_header_compiler=yes
1984 ac_header_compiler=no
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1988 $as_echo "$ac_header_compiler" >&6; }
1990 # Is the header present?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1992 $as_echo_n "checking $2 presence... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1997 if ac_fn_c_try_cpp "$LINENO"; then :
1998 ac_header_preproc=yes
2000 ac_header_preproc=no
2002 rm -f conftest.err conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2004 $as_echo "$ac_header_preproc" >&6; }
2006 # So? What about this header?
2007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2018 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2022 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 ## ------------------------------ ##
2027 ## Report this to admin@amule.org ##
2028 ## ------------------------------ ##
2030 ) | sed "s/^/$as_me: WARNING: /" >&2
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2034 $as_echo_n "checking for $2... " >&6; }
2035 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2036 $as_echo_n "(cached) " >&6
2038 eval "$3=\$ac_header_compiler"
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042 $as_echo "$ac_res" >&6; }
2044 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046 } # ac_fn_c_check_header_mongrel
2048 # ac_fn_c_try_run LINENO
2049 # ----------------------
2050 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2051 # that executables *can* be run.
2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055 if { { ac_try="$ac_link"
2057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2058 *) ac_try_echo
=$ac_try;;
2060 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2061 $as_echo "$ac_try_echo"; } >&5
2062 (eval "$ac_link") 2>&5
2064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2066 { { case "(($ac_try" in
2067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2068 *) ac_try_echo=$ac_try;;
2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_try") 2>&5
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; }; }; then :
2078 $as_echo "$as_me: program exited with status $ac_status" >&5
2079 $as_echo "$as_me: failed program was:" >&5
2080 sed 's/^/| /' conftest.$ac_ext >&5
2082 ac_retval=$ac_status
2084 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2085 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2086 as_fn_set_status $ac_retval
2090 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2091 # -------------------------------------------------------
2092 # Tests whether HEADER exists and can be compiled using the include files in
2093 # INCLUDES, setting the cache variable VAR accordingly.
2094 ac_fn_c_check_header_compile ()
2096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2098 $as_echo_n "checking for $2... " >&6; }
2099 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2100 $as_echo_n "(cached) " >&6
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2107 if ac_fn_c_try_compile "$LINENO"; then :
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2119 } # ac_fn_c_check_header_compile
2121 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2122 # -------------------------------------------
2123 # Tests whether TYPE exists after having included INCLUDES, setting cache
2124 # variable VAR accordingly.
2125 ac_fn_c_check_type ()
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2131 $as_echo_n "(cached) " >&6
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2146 if ac_fn_c_try_compile "$LINENO"; then :
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2159 if ac_fn_c_try_compile "$LINENO"; then :
2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173 } # ac_fn_c_check_type
2175 # ac_fn_cxx_try_link LINENO
2176 # -------------------------
2177 # Try to link conftest.$ac_ext, and return whether this succeeded.
2178 ac_fn_cxx_try_link ()
2180 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181 rm -f conftest.$ac_objext conftest$ac_exeext
2182 if { { ac_try="$ac_link"
2184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2185 *) ac_try_echo
=$ac_try;;
2187 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2188 $as_echo "$ac_try_echo"; } >&5
2189 (eval "$ac_link") 2>conftest.err
2191 if test -s conftest.err
; then
2192 grep -v '^ *+' conftest.err
>conftest.er1
2193 cat conftest.er1
>&5
2194 mv -f conftest.er1 conftest.err
2196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2197 test $ac_status = 0; } && {
2198 test -z "$ac_cxx_werror_flag" ||
2199 test ! -s conftest.err
2200 } && test -s conftest
$ac_exeext && {
2201 test "$cross_compiling" = yes ||
2202 $as_test_x conftest
$ac_exeext
2206 $as_echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.
$ac_ext >&5
2211 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2212 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2213 # interfere with the next link command; also delete a directory that is
2214 # left behind by Apple's compiler. We do this before executing the actions.
2215 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2216 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2217 as_fn_set_status
$ac_retval
2219 } # ac_fn_cxx_try_link
2221 # ac_fn_cxx_try_run LINENO
2222 # ------------------------
2223 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2224 # that executables *can* be run.
2225 ac_fn_cxx_try_run
()
2227 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2228 if { { ac_try
="$ac_link"
2230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2231 *) ac_try_echo=$ac_try;;
2233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2234 $as_echo "$ac_try_echo"; } >&5
2235 (eval "$ac_link") 2>&5
2237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2238 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2239 { { case "(($ac_try" in
2240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2241 *) ac_try_echo
=$ac_try;;
2243 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2244 $as_echo "$ac_try_echo"; } >&5
2245 (eval "$ac_try") 2>&5
2247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2248 test $ac_status = 0; }; }; then :
2251 $as_echo "$as_me: program exited with status $ac_status" >&5
2252 $as_echo "$as_me: failed program was:" >&5
2253 sed 's/^/| /' conftest.
$ac_ext >&5
2255 ac_retval
=$ac_status
2257 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2258 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2259 as_fn_set_status
$ac_retval
2261 } # ac_fn_cxx_try_run
2263 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2264 # ---------------------------------------------------------
2265 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2266 # the include files in INCLUDES and setting the cache variable VAR
2268 ac_fn_cxx_check_header_mongrel
()
2270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2271 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2275 $as_echo_n "(cached) " >&6
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279 $as_echo "$ac_res" >&6; }
2281 # Is the header compilable?
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2283 $as_echo_n "checking $2 usability... " >&6; }
2284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2289 if ac_fn_cxx_try_compile
"$LINENO"; then :
2290 ac_header_compiler
=yes
2292 ac_header_compiler
=no
2294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2296 $as_echo "$ac_header_compiler" >&6; }
2298 # Is the header present?
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2300 $as_echo_n "checking $2 presence... " >&6; }
2301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2305 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2306 ac_header_preproc
=yes
2308 ac_header_preproc
=no
2310 rm -f conftest.err conftest.
$ac_ext
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2312 $as_echo "$ac_header_preproc" >&6; }
2314 # So? What about this header?
2315 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2318 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2320 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2324 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2326 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2328 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2330 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2332 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2334 ## ------------------------------ ##
2335 ## Report this to admin@amule.org ##
2336 ## ------------------------------ ##
2338 ) |
sed "s/^/$as_me: WARNING: /" >&2
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2342 $as_echo_n "checking for $2... " >&6; }
2343 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2344 $as_echo_n "(cached) " >&6
2346 eval "$3=\$ac_header_compiler"
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2350 $as_echo "$ac_res" >&6; }
2352 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2354 } # ac_fn_cxx_check_header_mongrel
2356 # ac_fn_cxx_check_func LINENO FUNC VAR
2357 # ------------------------------------
2358 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2359 ac_fn_cxx_check_func
()
2361 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2363 $as_echo_n "checking for $2... " >&6; }
2364 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2365 $as_echo_n "(cached) " >&6
2367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2369 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2371 #define $2 innocuous_$2
2373 /* System header to define __stub macros and hopefully few prototypes,
2374 which can conflict with char $2 (); below.
2375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2376 <limits.h> exists even on freestanding compilers. */
2379 # include <limits.h>
2381 # include <assert.h>
2386 /* Override any GCC internal prototype to avoid an error.
2387 Use char because int might match the return type of a GCC
2388 builtin and then its argument prototype would still apply. */
2393 /* The GNU C library defines this for functions which it implements
2394 to always fail with ENOSYS. Some functions are actually named
2395 something starting with __ and the normal name is an alias. */
2396 #if defined __stub_$2 || defined __stub___$2
2408 if ac_fn_cxx_try_link
"$LINENO"; then :
2413 rm -f core conftest.err conftest.
$ac_objext \
2414 conftest
$ac_exeext conftest.
$ac_ext
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2418 $as_echo "$ac_res" >&6; }
2419 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2421 } # ac_fn_cxx_check_func
2423 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2424 # ---------------------------------------------
2425 # Tests whether TYPE exists after having included INCLUDES, setting cache
2426 # variable VAR accordingly.
2427 ac_fn_cxx_check_type
()
2429 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2433 $as_echo_n "(cached) " >&6
2436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2448 if ac_fn_cxx_try_compile
"$LINENO"; then :
2449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2461 if ac_fn_cxx_try_compile
"$LINENO"; then :
2466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2473 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2475 } # ac_fn_cxx_check_type
2477 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2478 # ---------------------------------------------------------
2479 # Tests whether HEADER exists and can be compiled using the include files in
2480 # INCLUDES, setting the cache variable VAR accordingly.
2481 ac_fn_cxx_check_header_compile
()
2483 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2485 $as_echo_n "checking for $2... " >&6; }
2486 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2487 $as_echo_n "(cached) " >&6
2489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2494 if ac_fn_cxx_try_compile
"$LINENO"; then :
2499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2503 $as_echo "$ac_res" >&6; }
2504 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2506 } # ac_fn_cxx_check_header_compile
2508 # ac_fn_c_check_func LINENO FUNC VAR
2509 # ----------------------------------
2510 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2511 ac_fn_c_check_func
()
2513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2515 $as_echo_n "checking for $2... " >&6; }
2516 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2517 $as_echo_n "(cached) " >&6
2519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2521 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2523 #define $2 innocuous_$2
2525 /* System header to define __stub macros and hopefully few prototypes,
2526 which can conflict with char $2 (); below.
2527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2528 <limits.h> exists even on freestanding compilers. */
2531 # include <limits.h>
2533 # include <assert.h>
2538 /* Override any GCC internal prototype to avoid an error.
2539 Use char because int might match the return type of a GCC
2540 builtin and then its argument prototype would still apply. */
2545 /* The GNU C library defines this for functions which it implements
2546 to always fail with ENOSYS. Some functions are actually named
2547 something starting with __ and the normal name is an alias. */
2548 #if defined __stub_$2 || defined __stub___$2
2560 if ac_fn_c_try_link
"$LINENO"; then :
2565 rm -f core conftest.err conftest.
$ac_objext \
2566 conftest
$ac_exeext conftest.
$ac_ext
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2570 $as_echo "$ac_res" >&6; }
2571 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2573 } # ac_fn_c_check_func
2575 # ac_fn_c_check_decl LINENO SYMBOL VAR
2576 # ------------------------------------
2577 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2578 ac_fn_c_check_decl
()
2580 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2582 $as_echo_n "checking whether $2 is declared... " >&6; }
2583 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2584 $as_echo_n "(cached) " >&6
2586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2600 if ac_fn_c_try_compile
"$LINENO"; then :
2605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2609 $as_echo "$ac_res" >&6; }
2610 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2612 } # ac_fn_c_check_decl
2613 cat >config.log
<<_ACEOF
2614 This file contains any messages produced by compilers while
2615 running configure, to aid debugging if configure makes a mistake.
2617 It was created by aMule $as_me SVN, which was
2618 generated by GNU Autoconf 2.65. Invocation command line was
2630 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2631 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2632 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2633 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2634 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2636 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2637 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2639 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2640 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2641 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2642 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2643 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2644 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2645 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir
=.
2654 $as_echo "PATH: $as_dir"
2670 # Keep a trace of the command line.
2671 # Strip out --no-create and --no-recursion so they do not pile up.
2672 # Strip out --silent because we don't want to record it for future runs.
2673 # Also quote any args containing shell meta-characters.
2674 # Make two passes to allow for proper duplicate-argument suppression.
2678 ac_must_keep_next
=false
2684 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2685 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2686 |
-silent |
--silent |
--silen |
--sile |
--sil)
2689 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2692 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2694 as_fn_append ac_configure_args1
" '$ac_arg'"
2695 if test $ac_must_keep_next = true
; then
2696 ac_must_keep_next
=false
# Got value, back to normal.
2699 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2700 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2701 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2702 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2703 case "$ac_configure_args0 " in
2704 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2707 -* ) ac_must_keep_next
=true
;;
2710 as_fn_append ac_configure_args
" '$ac_arg'"
2715 { ac_configure_args0
=; unset ac_configure_args0
;}
2716 { ac_configure_args1
=; unset ac_configure_args1
;}
2718 # When interrupted or exit'd, cleanup temporary files, and complete
2719 # config.log. We remove comments because anyway the quotes in there
2720 # would cause problems or look ugly.
2721 # WARNING: Use '\'' to represent an apostrophe within the trap.
2722 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2723 trap 'exit_status=$?
2724 # Save into config.log some information that might help in debugging.
2729 ## ---------------- ##
2730 ## Cache variables. ##
2731 ## ---------------- ##
2734 # The following way of writing the cache mishandles newlines in values,
2736 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2737 eval ac_val=\$$ac_var
2741 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2742 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2745 _ | IFS | as_nl) ;; #(
2746 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2747 *) { eval $ac_var=; unset $ac_var;} ;;
2752 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2753 *${as_nl}ac_space=\ *)
2755 "s/'\''/'\''\\\\'\'''\''/g;
2756 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2767 ## ----------------- ##
2768 ## Output variables. ##
2769 ## ----------------- ##
2772 for ac_var in $ac_subst_vars
2774 eval ac_val=\$$ac_var
2776 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2778 $as_echo "$ac_var='\''$ac_val'\''"
2782 if test -n "$ac_subst_files"; then
2784 ## ------------------- ##
2785 ## File substitutions. ##
2786 ## ------------------- ##
2789 for ac_var
in $ac_subst_files
2791 eval ac_val
=\$
$ac_var
2793 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2795 $as_echo "$ac_var='\''$ac_val'\''"
2800 if test -s confdefs.h; then
2810 test "$ac_signal" != 0 &&
2811 $as_echo "$as_me: caught signal $ac_signal"
2812 $as_echo "$as_me: exit $exit_status"
2814 rm -f core *.core core.conftest.* &&
2815 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2818 for ac_signal
in 1 2 13 15; do
2819 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2823 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2824 rm -f -r conftest
* confdefs.h
2826 $as_echo "/* confdefs.h */" > confdefs.h
2828 # Predefined preprocessor variables.
2830 cat >>confdefs.h
<<_ACEOF
2831 #define PACKAGE_NAME "$PACKAGE_NAME"
2834 cat >>confdefs.h
<<_ACEOF
2835 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2838 cat >>confdefs.h
<<_ACEOF
2839 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2842 cat >>confdefs.h
<<_ACEOF
2843 #define PACKAGE_STRING "$PACKAGE_STRING"
2846 cat >>confdefs.h
<<_ACEOF
2847 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2850 cat >>confdefs.h
<<_ACEOF
2851 #define PACKAGE_URL "$PACKAGE_URL"
2855 # Let the site file select an alternate cache file if it wants to.
2856 # Prefer an explicitly selected file to automatically selected ones.
2859 if test -n "$CONFIG_SITE"; then
2860 ac_site_file1
=$CONFIG_SITE
2861 elif test "x$prefix" != xNONE
; then
2862 ac_site_file1
=$prefix/share
/config.site
2863 ac_site_file2
=$prefix/etc
/config.site
2865 ac_site_file1
=$ac_default_prefix/share
/config.site
2866 ac_site_file2
=$ac_default_prefix/etc
/config.site
2868 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2870 test "x$ac_site_file" = xNONE
&& continue
2871 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2873 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2874 sed 's/^/| /' "$ac_site_file" >&5
2879 if test -r "$cache_file"; then
2880 # Some versions of bash will fail to source /dev/null (special files
2881 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2882 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2884 $as_echo "$as_me: loading cache $cache_file" >&6;}
2886 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2887 *) .
"./$cache_file";;
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2892 $as_echo "$as_me: creating cache $cache_file" >&6;}
2896 as_fn_append ac_header_list
" stdlib.h"
2897 as_fn_append ac_header_list
" unistd.h"
2898 as_fn_append ac_header_list
" sys/param.h"
2899 # Check that the precious variables saved in the cache have kept the same
2901 ac_cache_corrupted
=false
2902 for ac_var
in $ac_precious_vars; do
2903 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2904 eval ac_new_set
=\
$ac_env_${ac_var}_set
2905 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2906 eval ac_new_val
=\
$ac_env_${ac_var}_value
2907 case $ac_old_set,$ac_new_set in
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2910 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2911 ac_cache_corrupted
=: ;;
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2914 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2915 ac_cache_corrupted
=: ;;
2918 if test "x$ac_old_val" != "x$ac_new_val"; then
2919 # differences in whitespace do not lead to failure.
2920 ac_old_val_w
=`echo x $ac_old_val`
2921 ac_new_val_w
=`echo x $ac_new_val`
2922 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2924 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2925 ac_cache_corrupted
=:
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2928 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2929 eval $ac_var=\
$ac_old_val
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2932 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2934 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2937 # Pass precious variables to config.status.
2938 if test "$ac_new_set" = set; then
2940 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2941 *) ac_arg
=$ac_var=$ac_new_val ;;
2943 case " $ac_configure_args " in
2944 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2945 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2949 if $ac_cache_corrupted; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2953 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2954 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2956 ## -------------------- ##
2957 ## Main body of script. ##
2958 ## -------------------- ##
2961 ac_cpp
='$CPP $CPPFLAGS'
2962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2967 am__api_version
='1.11'
2970 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2971 for ac_t
in install-sh
install.sh shtool
; do
2972 if test -f "$ac_dir/$ac_t"; then
2974 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2979 if test -z "$ac_aux_dir"; then
2980 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2983 # These three variables are undocumented and unsupported,
2984 # and are intended to be withdrawn in a future Autoconf release.
2985 # They can cause serious problems if a builder's source tree is in a directory
2986 # whose full name contains unusual characters.
2987 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2988 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2989 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2992 # Find a good install program. We prefer a C program (faster),
2993 # so one script is as good as another. But avoid the broken or
2994 # incompatible versions:
2995 # SysV /etc/install, /usr/sbin/install
2996 # SunOS /usr/etc/install
2997 # IRIX /sbin/install
2999 # AmigaOS /C/install, which installs bootblocks on floppy discs
3000 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3001 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3002 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3003 # OS/2's system install, which has a completely different semantic
3004 # ./install, which can be erroneously created by make from ./install.sh.
3005 # Reject install programs that cannot install multiple files.
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3007 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3008 if test -z "$INSTALL"; then
3009 if test "${ac_cv_path_install+set}" = set; then :
3010 $as_echo_n "(cached) " >&6
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 # Account for people who put trailing slashes in PATH elements.
3018 case $as_dir/ in #((
3019 .
/ | .
// |
/[cC
]/* | \
3020 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3021 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3024 # OSF1 and SCO ODT 3.0 have their own names for install.
3025 # Don't use installbsd from OSF since it installs stuff as root
3027 for ac_prog
in ginstall scoinst
install; do
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3030 if test $ac_prog = install &&
3031 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3032 # AIX install. It has an incompatible calling convention.
3034 elif test $ac_prog = install &&
3035 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3036 # program-specific install script used by HP pwplus--don't use.
3039 rm -rf conftest.one conftest.two conftest.dir
3040 echo one
> conftest.one
3041 echo two
> conftest.two
3043 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3044 test -s conftest.one
&& test -s conftest.two
&&
3045 test -s conftest.dir
/conftest.one
&&
3046 test -s conftest.dir
/conftest.two
3048 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3061 rm -rf conftest.one conftest.two conftest.dir
3064 if test "${ac_cv_path_install+set}" = set; then
3065 INSTALL
=$ac_cv_path_install
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for INSTALL within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 INSTALL
=$ac_install_sh
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3075 $as_echo "$INSTALL" >&6; }
3077 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3078 # It thinks the first close brace ends the variable substitution.
3079 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3081 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3083 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3086 $as_echo_n "checking whether build environment is sane... " >&6; }
3089 echo timestamp
> conftest.
file
3090 # Reject unsafe characters in $srcdir or the absolute working directory
3091 # name. Accept space and tab only in the latter.
3095 *[\\\"\
#\$\&\'\`$am_lf]*)
3096 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3099 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3100 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3103 # Do `set' in a subshell so we don't clobber the current shell's
3104 # arguments. Must try -L first in case configure is actually a
3105 # symlink; some systems play weird games with the mod time of symlinks
3106 # (eg FreeBSD returns the mod time of the symlink's containing
3109 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3110 if test "$*" = "X"; then
3112 set X
`ls -t "$srcdir/configure" conftest.file`
3115 if test "$*" != "X $srcdir/configure conftest.file" \
3116 && test "$*" != "X conftest.file $srcdir/configure"; then
3118 # If neither matched, then we have a broken ls. This can happen
3119 # if, for instance, CONFIG_SHELL is bash and it inherits a
3120 # broken ls alias from the environment. This has actually
3121 # happened. Such a system could not be considered "sane".
3122 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3123 alias in your environment" "$LINENO" 5
3126 test "$2" = conftest.
file
3132 as_fn_error
"newly created file is older than distributed files!
3133 Check your system clock" "$LINENO" 5
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3136 $as_echo "yes" >&6; }
3137 test "$program_prefix" != NONE
&&
3138 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3139 # Use a double $ so make ignores it.
3140 test "$program_suffix" != NONE
&&
3141 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3142 # Double any \ or $.
3143 # By default was `s,x,x', remove it if useless.
3144 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3145 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3147 # expand $ac_aux_dir to an absolute path
3148 am_aux_dir
=`cd $ac_aux_dir && pwd`
3150 if test x
"${MISSING+set}" != xset
; then
3153 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3155 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3158 # Use eval to expand $SHELL
3159 if eval "$MISSING --run true"; then
3160 am_missing_run
="$MISSING --run "
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3164 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3167 if test x
"${install_sh}" != xset
; then
3170 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3172 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3176 # Installed binaries are usually stripped using `strip' when the user
3177 # run `make install-strip'. However `strip' might not be the right
3178 # tool to use in cross-compilation environments, therefore Automake
3179 # will honor the `STRIP' environment variable to overrule this program.
3180 if test "$cross_compiling" != no
; then
3181 if test -n "$ac_tool_prefix"; then
3182 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3183 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if test "${ac_cv_prog_STRIP+set}" = set; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$STRIP"; then
3190 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_exec_ext
in '' $ac_executable_extensions; do
3198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3199 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 STRIP
=$ac_cv_prog_STRIP
3210 if test -n "$STRIP"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3212 $as_echo "$STRIP" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3220 if test -z "$ac_cv_prog_STRIP"; then
3222 # Extract the first word of "strip", so it can be a program name with args.
3223 set dummy strip
; ac_word
=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$ac_ct_STRIP"; then
3230 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239 ac_cv_prog_ac_ct_STRIP
="strip"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3250 if test -n "$ac_ct_STRIP"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3252 $as_echo "$ac_ct_STRIP" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3258 if test "x$ac_ct_STRIP" = x
; then
3261 case $cross_compiling:$ac_tool_warned in
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned
=yes ;;
3270 STRIP
="$ac_cv_prog_STRIP"
3274 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3277 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3278 if test -z "$MKDIR_P"; then
3279 if test "${ac_cv_path_mkdir+set}" = set; then :
3280 $as_echo_n "(cached) " >&6
3282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3286 test -z "$as_dir" && as_dir
=.
3287 for ac_prog
in mkdir gmkdir
; do
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3290 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3291 'mkdir (GNU coreutils) '* | \
3292 'mkdir (coreutils) '* | \
3293 'mkdir (fileutils) '4.1*)
3294 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3304 test -d .
/--version && rmdir .
/--version
3305 if test "${ac_cv_path_mkdir+set}" = set; then
3306 MKDIR_P
="$ac_cv_path_mkdir -p"
3308 # As a last resort, use the slow shell script. Don't cache a
3309 # value for MKDIR_P within a source directory, because that will
3310 # break other packages using the cache if that directory is
3311 # removed, or if the value is a relative name.
3312 MKDIR_P
="$ac_install_sh -d"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3316 $as_echo "$MKDIR_P" >&6; }
3320 [\\/$
]* | ?
:[\\/]*) ;;
3321 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3324 for ac_prog
in gawk mawk nawk
awk
3326 # Extract the first word of "$ac_prog", so it can be a program name with args.
3327 set dummy
$ac_prog; ac_word
=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if test "${ac_cv_prog_AWK+set}" = set; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$AWK"; then
3334 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir
=.
3341 for ac_exec_ext
in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_AWK
="$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 if test -n "$AWK"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3356 $as_echo "$AWK" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3363 test -n "$AWK" && break
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3367 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3369 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3370 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3371 $as_echo_n "(cached) " >&6
3373 cat >conftest.
make <<\_ACEOF
3376 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3378 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3379 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3381 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3383 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3387 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3389 $as_echo "yes" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3394 SET_MAKE
="MAKE=${MAKE-make}"
3397 rm -rf .tst
2>/dev
/null
3398 mkdir .tst
2>/dev
/null
3399 if test -d .tst
; then
3404 rmdir .tst
2>/dev
/null
3406 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3407 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3408 # is not polluted with repeated "-I."
3409 am__isrc
=' -I$(srcdir)'
3410 # test to see if srcdir already configured
3411 if test -f $srcdir/config.status
; then
3412 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3416 # test whether we have cygpath
3417 if test -z "$CYGPATH_W"; then
3418 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3419 CYGPATH_W
='cygpath -w'
3426 # Define the identity of the package.
3431 cat >>confdefs.h
<<_ACEOF
3432 #define PACKAGE "$PACKAGE"
3436 cat >>confdefs.h
<<_ACEOF
3437 #define VERSION "$VERSION"
3440 # Some tools Automake needs.
3442 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3445 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3448 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3451 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3454 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3456 # We need awk for the "check" target. The system "awk" is bad on
3458 # Always define AMTAR for backward compatibility.
3460 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3462 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3468 # Check whether --enable-silent-rules was given.
3469 if test "${enable_silent_rules+set}" = set; then :
3470 enableval
=$enable_silent_rules;
3473 case $enable_silent_rules in
3474 yes) AM_DEFAULT_VERBOSITY
=0;;
3475 no
) AM_DEFAULT_VERBOSITY
=1;;
3476 *) AM_DEFAULT_VERBOSITY
=1;;
3484 ac_config_headers="$ac_config_headers config.h"
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3489 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3490 # Check whether --enable-maintainer-mode was given.
3491 if test "${enable_maintainer_mode+set}" = set; then :
3492 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3494 USE_MAINTAINER_MODE=no
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3498 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3499 if test $USE_MAINTAINER_MODE = yes; then
3500 MAINTAINER_MODE_TRUE=
3501 MAINTAINER_MODE_FALSE='#'
3503 MAINTAINER_MODE_TRUE
='#'
3504 MAINTAINER_MODE_FALSE
=
3507 MAINT
=$MAINTAINER_MODE_TRUE
3511 # Make sure we can run config.sub.
3512 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3513 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3516 $as_echo_n "checking build system type... " >&6; }
3517 if test "${ac_cv_build+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3520 ac_build_alias
=$build_alias
3521 test "x$ac_build_alias" = x
&&
3522 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3523 test "x$ac_build_alias" = x
&&
3524 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3525 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3526 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3530 $as_echo "$ac_cv_build" >&6; }
3531 case $ac_cv_build in
3533 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3536 ac_save_IFS
=$IFS; IFS
='-'
3542 # Remember, the first character of IFS is used to create $*,
3543 # except with old shells:
3546 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3550 $as_echo_n "checking host system type... " >&6; }
3551 if test "${ac_cv_host+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3554 if test "x$host_alias" = x
; then
3555 ac_cv_host
=$ac_cv_build
3557 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3558 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3563 $as_echo "$ac_cv_host" >&6; }
3566 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3569 ac_save_IFS
=$IFS; IFS
='-'
3575 # Remember, the first character of IFS is used to create $*,
3576 # except with old shells:
3579 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3583 case "${host_os}" in
3586 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3587 MULELDFLAGS
="-bind_at_load"
3588 touch src
/Scanner.cpp
3592 LIBS
="$LIBS -L/usr/local/lib"
3593 MULECPPFLAGS
="-D__OPENBSD__"
3595 *cygwin
* |
*mingw32
*)
3597 MULECPPFLAGS
="-DNOMINMAX"
3601 RESOLV_LIB
="-lresolv -lnsl"
3606 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3607 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3608 # Still, we prepend them, instead of adding, so the user may override them.
3609 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3610 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3614 MULECPPFLAGS
="-D__IRIX__"
3621 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3622 if test ${SYS:-unknown} != win32
; then :
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3625 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3626 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3628 MULELDFLAGS
="$MULELDFLAGS -pthread"
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3630 $as_echo "yes" >&6; }
3634 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3644 mule_backup_CFLAGS
="$CFLAGS"
3645 mule_backup_CXXFLAGS
="$CXXFLAGS"
3646 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3648 ac_cpp
='$CXXCPP $CPPFLAGS'
3649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3652 if test -z "$CXX"; then
3653 if test -n "$CCC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3660 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if test "${ac_cv_prog_CXX+set}" = set; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$CXX"; then
3667 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 if test -n "$CXX"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3689 $as_echo "$CXX" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3696 test -n "$CXX" && break
3699 if test -z "$CXX"; then
3701 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3703 # Extract the first word of "$ac_prog", so it can be a program name with args.
3704 set dummy
$ac_prog; ac_word
=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -n "$ac_ct_CXX"; then
3711 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir
=.
3718 for ac_exec_ext
in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3731 if test -n "$ac_ct_CXX"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3733 $as_echo "$ac_ct_CXX" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3740 test -n "$ac_ct_CXX" && break
3743 if test "x$ac_ct_CXX" = x
; then
3746 case $cross_compiling:$ac_tool_warned in
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3750 ac_tool_warned
=yes ;;
3758 # Provide some information about the compiler.
3759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3762 for ac_option
in --version -v -V -qversion; do
3763 { { ac_try
="$ac_compiler $ac_option >&5"
3765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3766 *) ac_try_echo=$ac_try;;
3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3769 $as_echo "$ac_try_echo"; } >&5
3770 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3772 if test -s conftest.err; then
3774 ... rest of stderr output deleted ...
3775 10q' conftest.err >conftest.er1
3776 cat conftest.er1 >&5
3778 rm -f conftest.er1 conftest.err
3779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3780 test $ac_status = 0; }
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 ac_clean_files_save=$ac_clean_files
3795 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3796 # Try to create an executable without -o first, disregard a.out.
3797 # It will help us diagnose broken compilers, and finding out an intuition
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3800 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3801 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3803 # The possible output files:
3804 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3807 for ac_file in $ac_files
3810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3811 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3816 if { { ac_try="$ac_link_default"
3818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3819 *) ac_try_echo
=$ac_try;;
3821 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3822 $as_echo "$ac_try_echo"; } >&5
3823 (eval "$ac_link_default") 2>&5
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }; then :
3827 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3828 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3829 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3830 # so that the user can short-circuit this test for compilers unknown to
3832 for ac_file
in $ac_files ''
3834 test -f "$ac_file" ||
continue
3836 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3839 # We found the default executable, but exeext='' is most
3843 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3845 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3847 # We set ac_cv_exeext here because the later test for it is not
3848 # safe: cross compilers may not add the suffix if given an `-o'
3849 # argument, so we may need to know it at that point already.
3850 # Even if this section looks crufty: it has the advantage of
3857 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3862 if test -z "$ac_file"; then :
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3865 $as_echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.
$ac_ext >&5
3868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 { as_fn_set_status
77
3871 as_fn_error
"C++ compiler cannot create executables
3872 See \`config.log' for more details." "$LINENO" 5; }; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3875 $as_echo "yes" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3878 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3880 $as_echo "$ac_file" >&6; }
3881 ac_exeext
=$ac_cv_exeext
3883 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3884 ac_clean_files
=$ac_clean_files_save
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3886 $as_echo_n "checking for suffix of executables... " >&6; }
3887 if { { ac_try
="$ac_link"
3889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893 $as_echo "$ac_try_echo"; } >&5
3894 (eval "$ac_link") 2>&5
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }; then :
3898 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3899 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3900 # work properly (i.e., refer to `conftest.exe'), while it won't with
3902 for ac_file
in conftest.exe conftest conftest.
*; do
3903 test -f "$ac_file" ||
continue
3905 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3906 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3915 See \`config.log' for more details." "$LINENO" 5; }
3917 rm -f conftest conftest
$ac_cv_exeext
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3919 $as_echo "$ac_cv_exeext" >&6; }
3921 rm -f conftest.
$ac_ext
3922 EXEEXT
=$ac_cv_exeext
3924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3930 FILE *f = fopen ("conftest.out", "w");
3931 return ferror (f) || fclose (f) != 0;
3937 ac_clean_files
="$ac_clean_files conftest.out"
3938 # Check that the compiler produces executables we can run. If not, either
3939 # the compiler is broken, or we cross compile.
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3941 $as_echo_n "checking whether we are cross compiling... " >&6; }
3942 if test "$cross_compiling" != yes; then
3943 { { ac_try
="$ac_link"
3945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3949 $as_echo "$ac_try_echo"; } >&5
3950 (eval "$ac_link") 2>&5
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 if { ac_try='./conftest$ac_cv_exeext'
3955 { { case "(($ac_try" in
3956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3957 *) ac_try_echo
=$ac_try;;
3959 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3960 $as_echo "$ac_try_echo"; } >&5
3961 (eval "$ac_try") 2>&5
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }; }; then
3967 if test "$cross_compiling" = maybe
; then
3970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3972 as_fn_error
"cannot run C++ compiled programs.
3973 If you meant to cross compile, use \`--host'.
3974 See \`config.log' for more details." "$LINENO" 5; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3979 $as_echo "$cross_compiling" >&6; }
3981 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3982 ac_clean_files
=$ac_clean_files_save
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3984 $as_echo_n "checking for suffix of object files... " >&6; }
3985 if test "${ac_cv_objext+set}" = set; then :
3986 $as_echo_n "(cached) " >&6
3988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3999 rm -f conftest.o conftest.obj
4000 if { { ac_try
="$ac_compile"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_compile") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; then :
4011 for ac_file in conftest.o conftest.obj conftest.*; do
4012 test -f "$ac_file" || continue;
4014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4015 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error "cannot compute suffix of object files
: cannot compile
4026 See \
`config.log' for more details." "$LINENO" 5; }
4028 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4031 $as_echo "$ac_cv_objext" >&6; }
4032 OBJEXT=$ac_cv_objext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4035 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4036 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4053 if ac_fn_cxx_try_compile "$LINENO"; then :
4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4063 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4064 if test $ac_compiler_gnu = yes; then
4069 ac_test_CXXFLAGS=${CXXFLAGS+set}
4070 ac_save_CXXFLAGS=$CXXFLAGS
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4072 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4073 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4077 ac_cxx_werror_flag=yes
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4091 if ac_fn_cxx_try_compile "$LINENO"; then :
4092 ac_cv_prog_cxx_g=yes
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4106 if ac_fn_cxx_try_compile "$LINENO"; then :
4109 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4122 if ac_fn_cxx_try_compile "$LINENO"; then :
4123 ac_cv_prog_cxx_g=yes
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4133 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4134 if test "$ac_test_CXXFLAGS" = set; then
4135 CXXFLAGS=$ac_save_CXXFLAGS
4136 elif test $ac_cv_prog_cxx_g = yes; then
4137 if test "$GXX" = yes; then
4143 if test "$GXX" = yes; then
4150 ac_cpp='$CPP $CPPFLAGS'
4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4154 DEPDIR="${am__leading_dot}deps"
4156 ac_config_commands="$ac_config_commands depfiles"
4159 am_make=${MAKE-make}
4160 cat > confinc << 'END'
4162 @echo this is the am__doit target
4165 # If we don't find an include directive, just comment out the code.
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4167 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4171 # First try GNU make style include.
4172 echo "include confinc" > confmf
4173 # Ignore all kinds of additional output from `make'.
4174 case `$am_make -s -f confmf 2> /dev/null` in #(
4175 *the\ am__doit\ target*)
4181 # Now try BSD make style include.
4182 if test "$am__include" = "#"; then
4183 echo '.include
"confinc"' > confmf
4184 case `$am_make -s -f confmf 2> /dev/null` in #(
4185 *the\ am__doit\ target*)
4186 am__include=.include
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4195 $as_echo "$_am_result" >&6; }
4196 rm -f confinc confmf
4198 # Check whether --enable-dependency-tracking was given.
4199 if test "${enable_dependency_tracking+set}" = set; then :
4200 enableval=$enable_dependency_tracking;
4203 if test "x$enable_dependency_tracking" != xno; then
4204 am_depcomp="$ac_aux_dir/depcomp"
4207 if test "x$enable_dependency_tracking" != xno
; then
4217 depcc
="$CXX" am_compiler_list
=
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4220 $as_echo_n "checking dependency style of $depcc... " >&6; }
4221 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4224 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4225 # We make a subdir and do the tests there. Otherwise we can end up
4226 # making bogus files that we don't know about and never remove. For
4227 # instance it was reported that on HP-UX the gcc test will end up
4228 # making a dummy file named `D' -- because `-MD' means `put the output
4231 # Copy depcomp to subdir because otherwise we won't find it if we're
4232 # using a relative directory.
4233 cp "$am_depcomp" conftest.dir
4235 # We will build objects and dependencies in a subdirectory because
4236 # it helps to detect inapplicable dependency modes. For instance
4237 # both Tru64's cc and ICC support -MD to output dependencies as a
4238 # side effect of compilation, but ICC will put the dependencies in
4239 # the current directory while Tru64 will put them in the object
4243 am_cv_CXX_dependencies_compiler_type
=none
4244 if test "$am_compiler_list" = ""; then
4245 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4248 case " $depcc " in #(
4249 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4252 for depmode
in $am_compiler_list; do
4253 # Setup a source with many dependencies, because some compilers
4254 # like to wrap large dependency lists on column 80 (with \), and
4255 # we should not choose a depcomp mode which is confused by this.
4257 # We need to recreate these files for each test, as the compiler may
4258 # overwrite some of them when testing with obscure command lines.
4259 # This happens at least with the AIX C compiler.
4261 for i
in 1 2 3 4 5 6; do
4262 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4263 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4264 # Solaris 8's {/usr,}/bin/sh.
4265 touch sub
/conftst
$i.h
4267 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4269 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4270 # mode. It turns out that the SunPro C++ compiler does not properly
4271 # handle `-M -o', and we need to detect this. Also, some Intel
4272 # versions had trouble with output in subdirs
4273 am__obj
=sub
/conftest.
${OBJEXT-o}
4274 am__minus_obj
="-o $am__obj"
4277 # This depmode causes a compiler race in universal mode.
4278 test "$am__universal" = false ||
continue
4281 # after this tag, mechanisms are not by side-effect, so they'll
4282 # only be used when explicitly requested
4283 if test "x$enable_dependency_tracking" = xyes
; then
4289 msvisualcpp | msvcmsys
)
4290 # This compiler won't grok `-c -o', but also, the minuso test has
4291 # not run yet. These depmodes are late enough in the game, and
4292 # so weak that their functioning should not be impacted.
4293 am__obj
=conftest.
${OBJEXT-o}
4298 if depmode
=$depmode \
4299 source=sub
/conftest.c object
=$am__obj \
4300 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4301 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4302 >/dev
/null
2>conftest.err
&&
4303 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4304 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4305 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4306 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4307 # icc doesn't choke on unknown options, it will just issue warnings
4308 # or remarks (even with -Werror). So we grep stderr for any message
4309 # that says an option was ignored or not supported.
4310 # When given -MP, icc 7.0 and 7.1 complain thusly:
4311 # icc: Command line warning: ignoring option '-M'; no argument required
4312 # The diagnosis changed in icc 8.0:
4313 # icc: Command line remark: option '-MP' not supported
4314 if (grep 'ignoring option' conftest.err ||
4315 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4316 am_cv_CXX_dependencies_compiler_type
=$depmode
4325 am_cv_CXX_dependencies_compiler_type
=none
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4330 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4331 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4334 test "x$enable_dependency_tracking" != xno \
4335 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4336 am__fastdepCXX_TRUE
=
4337 am__fastdepCXX_FALSE
='#'
4339 am__fastdepCXX_TRUE
='#'
4340 am__fastdepCXX_FALSE
=
4345 ac_cpp
='$CXXCPP $CPPFLAGS'
4346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4350 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4351 if test -z "$CXXCPP"; then
4352 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4353 $as_echo_n "(cached) " >&6
4355 # Double quotes because CXXCPP needs to be expanded
4356 for CXXCPP
in "$CXX -E" "/lib/cpp"
4359 for ac_cxx_preproc_warn_flag
in '' yes
4361 # Use a header file that comes with gcc, so configuring glibc
4362 # with a fresh cross-compiler works.
4363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4364 # <limits.h> exists even on freestanding compilers.
4365 # On the NeXT, cc -E runs the code through the compiler's parser,
4366 # not just through cpp. "Syntax error" is here to catch this case.
4367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4370 # include <limits.h>
4372 # include <assert.h>
4376 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4379 # Broken: fails on valid input.
4382 rm -f conftest.err conftest.
$ac_ext
4384 # OK, works on sane cases. Now check whether nonexistent headers
4385 # can be detected and how.
4386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4388 #include <ac_nonexistent.h>
4390 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4391 # Broken: success on invalid input.
4394 # Passes both tests.
4398 rm -f conftest.err conftest.
$ac_ext
4401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4402 rm -f conftest.err conftest.
$ac_ext
4403 if $ac_preproc_ok; then :
4408 ac_cv_prog_CXXCPP
=$CXXCPP
4411 CXXCPP
=$ac_cv_prog_CXXCPP
4413 ac_cv_prog_CXXCPP
=$CXXCPP
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4416 $as_echo "$CXXCPP" >&6; }
4418 for ac_cxx_preproc_warn_flag
in '' yes
4420 # Use a header file that comes with gcc, so configuring glibc
4421 # with a fresh cross-compiler works.
4422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4423 # <limits.h> exists even on freestanding compilers.
4424 # On the NeXT, cc -E runs the code through the compiler's parser,
4425 # not just through cpp. "Syntax error" is here to catch this case.
4426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4429 # include <limits.h>
4431 # include <assert.h>
4435 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4438 # Broken: fails on valid input.
4441 rm -f conftest.err conftest.
$ac_ext
4443 # OK, works on sane cases. Now check whether nonexistent headers
4444 # can be detected and how.
4445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4447 #include <ac_nonexistent.h>
4449 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4450 # Broken: success on invalid input.
4453 # Passes both tests.
4457 rm -f conftest.err conftest.
$ac_ext
4460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4461 rm -f conftest.err conftest.
$ac_ext
4462 if $ac_preproc_ok; then :
4465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4467 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4468 See \`config.log' for more details." "$LINENO" 5; }
4472 ac_cpp
='$CPP $CPPFLAGS'
4473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4478 ac_cpp
='$CPP $CPPFLAGS'
4479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4482 if test -n "$ac_tool_prefix"; then
4483 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4484 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if test "${ac_cv_prog_CC+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC
="$CC" # Let the user override the test.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4500 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$CC"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4513 $as_echo "$CC" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4521 if test -z "$ac_cv_prog_CC"; then
4523 # Extract the first word of "gcc", so it can be a program name with args.
4524 set dummy gcc
; ac_word
=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4530 if test -n "$ac_ct_CC"; then
4531 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir
=.
4538 for ac_exec_ext
in '' $ac_executable_extensions; do
4539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 ac_cv_prog_ac_ct_CC
="gcc"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4551 if test -n "$ac_ct_CC"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4553 $as_echo "$ac_ct_CC" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4559 if test "x$ac_ct_CC" = x
; then
4562 case $cross_compiling:$ac_tool_warned in
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4566 ac_tool_warned
=yes ;;
4574 if test -z "$CC"; then
4575 if test -n "$ac_tool_prefix"; then
4576 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4577 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if test "${ac_cv_prog_CC+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$CC"; then
4584 ac_cv_prog_CC
="$CC" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$CC"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4606 $as_echo "$CC" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4615 if test -z "$CC"; then
4616 # Extract the first word of "cc", so it can be a program name with args.
4617 set dummy cc
; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if test "${ac_cv_prog_CC+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$CC"; then
4624 ac_cv_prog_CC
="$CC" # Let the user override the test.
4627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir
=.
4632 for ac_exec_ext
in '' $ac_executable_extensions; do
4633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4635 ac_prog_rejected
=yes
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 if test $ac_prog_rejected = yes; then
4647 # We found a bogon in the path, so make sure we never use it.
4648 set dummy
$ac_cv_prog_CC
4650 if test $# != 0; then
4651 # We chose a different compiler from the bogus one.
4652 # However, it has the same basename, so the bogon will be chosen
4653 # first if we set CC to just the basename; use the full file name.
4655 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4661 if test -n "$CC"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4663 $as_echo "$CC" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4671 if test -z "$CC"; then
4672 if test -n "$ac_tool_prefix"; then
4673 for ac_prog
in cl.exe
4675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4676 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if test "${ac_cv_prog_CC+set}" = set; then :
4680 $as_echo_n "(cached) " >&6
4682 if test -n "$CC"; then
4683 ac_cv_prog_CC
="$CC" # Let the user override the test.
4685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir
=.
4690 for ac_exec_ext
in '' $ac_executable_extensions; do
4691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4692 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 if test -n "$CC"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4705 $as_echo "$CC" >&6; }
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4712 test -n "$CC" && break
4715 if test -z "$CC"; then
4717 for ac_prog
in cl.exe
4719 # Extract the first word of "$ac_prog", so it can be a program name with args.
4720 set dummy
$ac_prog; ac_word
=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$ac_ct_CC"; then
4727 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_ac_ct_CC
="$ac_prog"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4747 if test -n "$ac_ct_CC"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4749 $as_echo "$ac_ct_CC" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4756 test -n "$ac_ct_CC" && break
4759 if test "x$ac_ct_CC" = x
; then
4762 case $cross_compiling:$ac_tool_warned in
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4766 ac_tool_warned
=yes ;;
4775 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4777 as_fn_error
"no acceptable C compiler found in \$PATH
4778 See \`config.log' for more details." "$LINENO" 5; }
4780 # Provide some information about the compiler.
4781 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4784 for ac_option
in --version -v -V -qversion; do
4785 { { ac_try
="$ac_compiler $ac_option >&5"
4787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4788 *) ac_try_echo=$ac_try;;
4790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4791 $as_echo "$ac_try_echo"; } >&5
4792 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4794 if test -s conftest.err; then
4796 ... rest of stderr output deleted ...
4797 10q' conftest.err >conftest.er1
4798 cat conftest.er1 >&5
4800 rm -f conftest.er1 conftest.err
4801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4802 test $ac_status = 0; }
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4806 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4807 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4808 $as_echo_n "(cached) " >&6
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4824 if ac_fn_c_try_compile "$LINENO"; then :
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4835 if test $ac_compiler_gnu = yes; then
4840 ac_test_CFLAGS=${CFLAGS+set}
4841 ac_save_CFLAGS=$CFLAGS
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4844 if test "${ac_cv_prog_cc_g+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4847 ac_save_c_werror_flag=$ac_c_werror_flag
4848 ac_c_werror_flag=yes
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4862 if ac_fn_c_try_compile "$LINENO"; then :
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4877 if ac_fn_c_try_compile "$LINENO"; then :
4880 ac_c_werror_flag=$ac_save_c_werror_flag
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4893 if ac_fn_c_try_compile "$LINENO"; then :
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 ac_c_werror_flag=$ac_save_c_werror_flag
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4904 $as_echo "$ac_cv_prog_cc_g" >&6; }
4905 if test "$ac_test_CFLAGS" = set; then
4906 CFLAGS=$ac_save_CFLAGS
4907 elif test $ac_cv_prog_cc_g = yes; then
4908 if test "$GCC" = yes; then
4914 if test "$GCC" = yes; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4921 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4922 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 ac_cv_prog_cc_c89=no
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 #include <sys/types.h>
4932 #include <sys/stat.h>
4933 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4934 struct buf { int x; };
4935 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4936 static char *e (p, i)
4942 static char *f (char * (*g) (char **, int), char **p, ...)
4947 s = g (p, va_arg (v,int));
4952 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4953 function prototypes and stuff, but not '\xHH' hex character constants.
4954 These don't provoke an error unfortunately, instead are silently treated
4955 as 'x'. The following induces an error, until -std is added to get
4956 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4957 array size at least. It's necessary to write '\x00'==0 to get something
4958 that's true only with -std. */
4959 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4961 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4962 inside strings and character constants. */
4964 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4966 int test (int i, double x);
4967 struct s1 {int (*f) (int a);};
4968 struct s2 {int (*f) (double a);};
4969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4975 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4980 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4981 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4983 CC="$ac_save_CC $ac_arg"
4984 if ac_fn_c_try_compile "$LINENO"; then :
4985 ac_cv_prog_cc_c89=$ac_arg
4987 rm -f core conftest.err conftest.$ac_objext
4988 test "x$ac_cv_prog_cc_c89" != "xno" && break
4990 rm -f conftest.$ac_ext
4995 case "x$ac_cv_prog_cc_c89" in
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4998 $as_echo "none needed" >&6; } ;;
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5001 $as_echo "unsupported" >&6; } ;;
5003 CC="$CC $ac_cv_prog_cc_c89"
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5005 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5007 if test "x$ac_cv_prog_cc_c89" != xno; then :
5012 ac_cpp='$CPP $CPPFLAGS'
5013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5017 depcc="$CC" am_compiler_list=
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5020 $as_echo_n "checking dependency style of $depcc... " >&6; }
5021 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5024 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5025 # We make a subdir and do the tests there. Otherwise we can end up
5026 # making bogus files that we don't know about and never remove. For
5027 # instance it was reported that on HP-UX the gcc test will end up
5028 # making a dummy file named `D
' -- because `-MD' means
`put the output
5031 # Copy depcomp to subdir because otherwise we won't find it if we're
5032 # using a relative directory.
5033 cp "$am_depcomp" conftest.dir
5035 # We will build objects and dependencies in a subdirectory because
5036 # it helps to detect inapplicable dependency modes. For instance
5037 # both Tru64's cc and ICC support -MD to output dependencies as a
5038 # side effect of compilation, but ICC will put the dependencies in
5039 # the current directory while Tru64 will put them in the object
5043 am_cv_CC_dependencies_compiler_type=none
5044 if test "$am_compiler_list" = ""; then
5045 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5048 case " $depcc " in #(
5049 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5052 for depmode in $am_compiler_list; do
5053 # Setup a source with many dependencies, because some compilers
5054 # like to wrap large dependency lists on column 80 (with \), and
5055 # we should not choose a depcomp mode which is confused by this.
5057 # We need to recreate these files for each test, as the compiler may
5058 # overwrite some of them when testing with obscure command lines.
5059 # This happens at least with the AIX C compiler.
5061 for i in 1 2 3 4 5 6; do
5062 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5063 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5064 # Solaris 8's
{/usr
,}/bin
/sh.
5065 touch sub
/conftst
$i.h
5067 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5069 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5070 # mode. It turns out that the SunPro C++ compiler does not properly
5071 # handle `-M -o', and we need to detect this. Also, some Intel
5072 # versions had trouble with output in subdirs
5073 am__obj
=sub
/conftest.
${OBJEXT-o}
5074 am__minus_obj
="-o $am__obj"
5077 # This depmode causes a compiler race in universal mode.
5078 test "$am__universal" = false ||
continue
5081 # after this tag, mechanisms are not by side-effect, so they'll
5082 # only be used when explicitly requested
5083 if test "x$enable_dependency_tracking" = xyes
; then
5089 msvisualcpp | msvcmsys
)
5090 # This compiler won't grok `-c -o', but also, the minuso test has
5091 # not run yet. These depmodes are late enough in the game, and
5092 # so weak that their functioning should not be impacted.
5093 am__obj
=conftest.
${OBJEXT-o}
5098 if depmode
=$depmode \
5099 source=sub
/conftest.c object
=$am__obj \
5100 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5101 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5102 >/dev
/null
2>conftest.err
&&
5103 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5104 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5105 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5106 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5107 # icc doesn't choke on unknown options, it will just issue warnings
5108 # or remarks (even with -Werror). So we grep stderr for any message
5109 # that says an option was ignored or not supported.
5110 # When given -MP, icc 7.0 and 7.1 complain thusly:
5111 # icc: Command line warning: ignoring option '-M'; no argument required
5112 # The diagnosis changed in icc 8.0:
5113 # icc: Command line remark: option '-MP' not supported
5114 if (grep 'ignoring option' conftest.err ||
5115 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5116 am_cv_CC_dependencies_compiler_type
=$depmode
5125 am_cv_CC_dependencies_compiler_type
=none
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5130 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5131 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5134 test "x$enable_dependency_tracking" != xno \
5135 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5137 am__fastdepCC_FALSE
='#'
5139 am__fastdepCC_TRUE
='#'
5140 am__fastdepCC_FALSE
=
5145 ac_cpp
='$CPP $CPPFLAGS'
5146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5151 # On Suns, sometimes $CPP names a directory.
5152 if test -n "$CPP" && test -d "$CPP"; then
5155 if test -z "$CPP"; then
5156 if test "${ac_cv_prog_CPP+set}" = set; then :
5157 $as_echo_n "(cached) " >&6
5159 # Double quotes because CPP needs to be expanded
5160 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5163 for ac_c_preproc_warn_flag
in '' yes
5165 # Use a header file that comes with gcc, so configuring glibc
5166 # with a fresh cross-compiler works.
5167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5168 # <limits.h> exists even on freestanding compilers.
5169 # On the NeXT, cc -E runs the code through the compiler's parser,
5170 # not just through cpp. "Syntax error" is here to catch this case.
5171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5174 # include <limits.h>
5176 # include <assert.h>
5180 if ac_fn_c_try_cpp
"$LINENO"; then :
5183 # Broken: fails on valid input.
5186 rm -f conftest.err conftest.
$ac_ext
5188 # OK, works on sane cases. Now check whether nonexistent headers
5189 # can be detected and how.
5190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5192 #include <ac_nonexistent.h>
5194 if ac_fn_c_try_cpp
"$LINENO"; then :
5195 # Broken: success on invalid input.
5198 # Passes both tests.
5202 rm -f conftest.err conftest.
$ac_ext
5205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5206 rm -f conftest.err conftest.
$ac_ext
5207 if $ac_preproc_ok; then :
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5220 $as_echo "$CPP" >&6; }
5222 for ac_c_preproc_warn_flag
in '' yes
5224 # Use a header file that comes with gcc, so configuring glibc
5225 # with a fresh cross-compiler works.
5226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5227 # <limits.h> exists even on freestanding compilers.
5228 # On the NeXT, cc -E runs the code through the compiler's parser,
5229 # not just through cpp. "Syntax error" is here to catch this case.
5230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5233 # include <limits.h>
5235 # include <assert.h>
5239 if ac_fn_c_try_cpp
"$LINENO"; then :
5242 # Broken: fails on valid input.
5245 rm -f conftest.err conftest.
$ac_ext
5247 # OK, works on sane cases. Now check whether nonexistent headers
5248 # can be detected and how.
5249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5251 #include <ac_nonexistent.h>
5253 if ac_fn_c_try_cpp
"$LINENO"; then :
5254 # Broken: success on invalid input.
5257 # Passes both tests.
5261 rm -f conftest.err conftest.
$ac_ext
5264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5265 rm -f conftest.err conftest.
$ac_ext
5266 if $ac_preproc_ok; then :
5269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5271 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5272 See \`config.log' for more details." "$LINENO" 5; }
5276 ac_cpp
='$CPP $CPPFLAGS'
5277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5282 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5284 if test "$cross_compiling" = yes; then :
5286 # Even if we're cross-compiling, we want a compiler here
5287 # that is not a cross-compiler.
5288 saved_cross
=$cross_compiling
5292 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5293 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5294 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5296 if test -n "$ac_build_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5298 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$BUILD_CC"; then
5305 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 BUILD_CC
=$ac_cv_prog_BUILD_CC
5325 if test -n "$BUILD_CC"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5327 $as_echo "$BUILD_CC" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5335 if test -z "$ac_cv_prog_BUILD_CC"; then
5336 ac_ct_BUILD_CC
=$BUILD_CC
5337 # Extract the first word of "gcc", so it can be a program name with args.
5338 set dummy gcc
; ac_word
=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$ac_ct_BUILD_CC"; then
5345 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5365 if test -n "$ac_ct_BUILD_CC"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5367 $as_echo "$ac_ct_BUILD_CC" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5373 if test "x$ac_ct_BUILD_CC" = x
; then
5376 case $cross_compiling:$ac_tool_warned in
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5380 ac_tool_warned
=yes ;;
5382 BUILD_CC
=$ac_ct_BUILD_CC
5385 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5388 if test -z "$BUILD_CC"; then
5389 if test -n "$ac_build_prefix"; then
5390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5391 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$BUILD_CC"; then
5398 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir
=.
5405 for ac_exec_ext
in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 BUILD_CC
=$ac_cv_prog_BUILD_CC
5418 if test -n "$BUILD_CC"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5420 $as_echo "$BUILD_CC" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5428 if test -z "$ac_cv_prog_BUILD_CC"; then
5429 ac_ct_BUILD_CC
=$BUILD_CC
5430 # Extract the first word of "cc", so it can be a program name with args.
5431 set dummy cc
; ac_word
=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5435 $as_echo_n "(cached) " >&6
5437 if test -n "$ac_ct_BUILD_CC"; then
5438 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 test -z "$as_dir" && as_dir
=.
5445 for ac_exec_ext
in '' $ac_executable_extensions; do
5446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5447 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5458 if test -n "$ac_ct_BUILD_CC"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5460 $as_echo "$ac_ct_BUILD_CC" >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5466 if test "x$ac_ct_BUILD_CC" = x
; then
5469 case $cross_compiling:$ac_tool_warned in
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5473 ac_tool_warned
=yes ;;
5475 BUILD_CC
=$ac_ct_BUILD_CC
5478 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5482 if test -z "$BUILD_CC"; then
5483 # Extract the first word of "cc", so it can be a program name with args.
5484 set dummy cc
; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$BUILD_CC"; then
5491 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir
=.
5499 for ac_exec_ext
in '' $ac_executable_extensions; do
5500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5502 ac_prog_rejected
=yes
5505 ac_cv_prog_BUILD_CC
="cc"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 if test $ac_prog_rejected = yes; then
5514 # We found a bogon in the path, so make sure we never use it.
5515 set dummy
$ac_cv_prog_BUILD_CC
5517 if test $# != 0; then
5518 # We chose a different compiler from the bogus one.
5519 # However, it has the same basename, so the bogon will be chosen
5520 # first if we set BUILD_CC to just the basename; use the full file name.
5522 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5527 BUILD_CC
=$ac_cv_prog_BUILD_CC
5528 if test -n "$BUILD_CC"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5530 $as_echo "$BUILD_CC" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5538 if test -z "$BUILD_CC"; then
5539 if test -n "$ac_build_prefix"; then
5542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5543 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$BUILD_CC"; then
5550 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir
=.
5557 for ac_exec_ext
in '' $ac_executable_extensions; do
5558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5559 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 BUILD_CC
=$ac_cv_prog_BUILD_CC
5570 if test -n "$BUILD_CC"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5572 $as_echo "$BUILD_CC" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5579 test -n "$BUILD_CC" && break
5582 if test -z "$BUILD_CC"; then
5583 ac_ct_BUILD_CC
=$BUILD_CC
5586 # Extract the first word of "$ac_prog", so it can be a program name with args.
5587 set dummy
$ac_prog; ac_word
=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$ac_ct_BUILD_CC"; then
5594 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5614 if test -n "$ac_ct_BUILD_CC"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5616 $as_echo "$ac_ct_BUILD_CC" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 test -n "$ac_ct_BUILD_CC" && break
5626 if test "x$ac_ct_BUILD_CC" = x
; then
5629 case $cross_compiling:$ac_tool_warned in
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5633 ac_tool_warned
=yes ;;
5635 BUILD_CC
=$ac_ct_BUILD_CC
5642 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5644 as_fn_error
"no acceptable C compiler found in \$PATH
5645 See \`config.log' for more details." "$LINENO" 5; }
5647 # Provide some information about the compiler.
5648 echo "$as_me:$LINENO:" \
5649 "checking for C compiler version" >&5
5650 ac_compiler
=`set X $ac_compile; echo $2`
5651 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5652 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5655 test $ac_status = 0; }
5656 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5657 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660 test $ac_status = 0; }
5661 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5662 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5665 test $ac_status = 0; }
5667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5678 ac_clean_files_save
=$ac_clean_files
5679 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5680 # Try to create an executable without -o first, disregard a.out.
5681 # It will help us diagnose broken compilers, and finding out an intuition
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5684 $as_echo_n "checking whether the C compiler works... " >&6; }
5685 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5687 # The possible output files:
5688 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5691 for ac_file
in $ac_files
5694 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5695 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5700 if { { ac_try
="$ac_link_default"
5702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5706 $as_echo "$ac_try_echo"; } >&5
5707 (eval "$ac_link_default") 2>&5
5709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5710 test $ac_status = 0; }; then :
5711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5712 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5714 # so that the user can short-circuit this test for compilers unknown to
5716 for ac_file in $ac_files ''
5718 test -f "$ac_file" || continue
5720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5723 # We found the default executable, but exeext='' is most
5727 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5729 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5731 # We set ac_cv_exeext here because the later test for it is not
5732 # safe: cross compilers may not add the suffix if given an `-o'
5733 # argument, so we may need to know it at that point already.
5734 # Even if this section looks crufty: it has the advantage of
5741 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5746 if test -z "$ac_file"; then :
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5749 $as_echo "$as_me: failed program was:" >&5
5750 sed 's
/^
/|
/' conftest.$ac_ext >&5
5752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5753 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5754 { as_fn_set_status 77
5755 as_fn_error "C compiler cannot create executables
5756 See \`config.log
' for more details." "$LINENO" 5; }; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5759 $as_echo "yes" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5762 $as_echo_n "checking for C compiler default output file name... " >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5764 $as_echo "$ac_file" >&6; }
5765 ac_build_exeext=$ac_cv_build_exeext
5767 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5768 ac_clean_files=$ac_clean_files_save
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5770 $as_echo_n "checking for suffix of executables... " >&6; }
5771 if { { ac_try="$ac_link"
5773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5774 *) ac_try_echo=$ac_try;;
5776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5777 $as_echo "$ac_try_echo"; } >&5
5778 (eval "$ac_link") 2>&5
5780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5781 test $ac_status = 0; }; then :
5782 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5783 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5784 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5786 for ac_file
in conftest.exe conftest conftest.
*; do
5787 test -f "$ac_file" ||
continue
5789 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5790 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5798 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5799 See \`config.log' for more details." "$LINENO" 5; }
5801 rm -f conftest conftest
$ac_cv_build_exeext
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5803 $as_echo "$ac_cv_build_exeext" >&6; }
5805 rm -f conftest.
$ac_ext
5806 BUILD_EXEEXT
=$ac_cv_build_exeext
5807 ac_build_exeext
=$BUILD_EXEEXT
5808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5814 FILE *f = fopen ("conftest.out", "w");
5815 return ferror (f) || fclose (f) != 0;
5821 ac_clean_files
="$ac_clean_files conftest.out"
5822 # Check that the compiler produces executables we can run. If not, either
5823 # the compiler is broken, or we cross compile.
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5825 $as_echo_n "checking whether we are cross compiling... " >&6; }
5826 if test "$cross_compiling" != yes; then
5827 { { ac_try
="$ac_link"
5829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5830 *) ac_try_echo=$ac_try;;
5832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5833 $as_echo "$ac_try_echo"; } >&5
5834 (eval "$ac_link") 2>&5
5836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837 test $ac_status = 0; }
5838 if { ac_try='./conftest$ac_cv_build_exeext'
5839 { { case "(($ac_try" in
5840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5841 *) ac_try_echo
=$ac_try;;
5843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5844 $as_echo "$ac_try_echo"; } >&5
5845 (eval "$ac_try") 2>&5
5847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5848 test $ac_status = 0; }; }; then
5851 if test "$cross_compiling" = maybe
; then
5854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5856 as_fn_error
"cannot run C compiled programs.
5857 If you meant to cross compile, use \`--host'.
5858 See \`config.log' for more details." "$LINENO" 5; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5863 $as_echo "$cross_compiling" >&6; }
5865 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5866 ac_clean_files
=$ac_clean_files_save
5869 # Restore configuration environment
5870 cross_compiling
=$saved_cross
5873 ac_cpp
='$CPP $CPPFLAGS'
5874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5879 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5881 CFLAGS
="$mule_backup_CFLAGS"
5882 CXXFLAGS
="$mule_backup_CXXFLAGS"
5883 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5884 for ac_prog
in gawk mawk nawk
awk
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy
$ac_prog; ac_word
=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if test "${ac_cv_prog_AWK+set}" = set; then :
5891 $as_echo_n "(cached) " >&6
5893 if test -n "$AWK"; then
5894 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir
=.
5901 for ac_exec_ext
in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_AWK
="$ac_prog"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 if test -n "$AWK"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5916 $as_echo "$AWK" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5923 test -n "$AWK" && break
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5927 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5928 if test "${ac_cv_path_GREP+set}" = set; then :
5929 $as_echo_n "(cached) " >&6
5931 if test -z "$GREP"; then
5932 ac_path_GREP_found
=false
5933 # Loop through the user's path and test for each of PROGNAME-LIST
5934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5935 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5938 test -z "$as_dir" && as_dir
=.
5939 for ac_prog
in grep ggrep
; do
5940 for ac_exec_ext
in '' $ac_executable_extensions; do
5941 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5942 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5943 # Check for GNU ac_path_GREP and select it if it is found.
5944 # Check for GNU $ac_path_GREP
5945 case `"$ac_path_GREP" --version 2>&1` in
5947 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5950 $as_echo_n 0123456789 >"conftest.in"
5953 cat "conftest.in" "conftest.in" >"conftest.tmp"
5954 mv "conftest.tmp" "conftest.in"
5955 cp "conftest.in" "conftest.nl"
5956 $as_echo 'GREP' >> "conftest.nl"
5957 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5958 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5959 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5960 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5961 # Best one so far, save it but keep looking for a better one
5962 ac_cv_path_GREP
="$ac_path_GREP"
5963 ac_path_GREP_max
=$ac_count
5965 # 10*(2^10) chars as input seems more than enough
5966 test $ac_count -gt 10 && break
5968 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5971 $ac_path_GREP_found && break 3
5976 if test -z "$ac_cv_path_GREP"; then
5977 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5980 ac_cv_path_GREP
=$GREP
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5985 $as_echo "$ac_cv_path_GREP" >&6; }
5986 GREP
="$ac_cv_path_GREP"
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5990 $as_echo_n "checking for egrep... " >&6; }
5991 if test "${ac_cv_path_EGREP+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5995 then ac_cv_path_EGREP
="$GREP -E"
5997 if test -z "$EGREP"; then
5998 ac_path_EGREP_found
=false
5999 # Loop through the user's path and test for each of PROGNAME-LIST
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_prog
in egrep; do
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6008 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6009 # Check for GNU ac_path_EGREP and select it if it is found.
6010 # Check for GNU $ac_path_EGREP
6011 case `"$ac_path_EGREP" --version 2>&1` in
6013 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6016 $as_echo_n 0123456789 >"conftest.in"
6019 cat "conftest.in" "conftest.in" >"conftest.tmp"
6020 mv "conftest.tmp" "conftest.in"
6021 cp "conftest.in" "conftest.nl"
6022 $as_echo 'EGREP' >> "conftest.nl"
6023 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6024 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6025 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6026 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6027 # Best one so far, save it but keep looking for a better one
6028 ac_cv_path_EGREP
="$ac_path_EGREP"
6029 ac_path_EGREP_max
=$ac_count
6031 # 10*(2^10) chars as input seems more than enough
6032 test $ac_count -gt 10 && break
6034 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6037 $ac_path_EGREP_found && break 3
6042 if test -z "$ac_cv_path_EGREP"; then
6043 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6046 ac_cv_path_EGREP
=$EGREP
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6052 $as_echo "$ac_cv_path_EGREP" >&6; }
6053 EGREP
="$ac_cv_path_EGREP"
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6057 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6059 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6060 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6061 $as_echo_n "(cached) " >&6
6063 cat >conftest.
make <<\_ACEOF
6066 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6068 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6069 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6071 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6073 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6077 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6079 $as_echo "yes" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6084 SET_MAKE
="MAKE=${MAKE-make}"
6088 for ac_prog
in flex
lex
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy
$ac_prog; ac_word
=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if test "${ac_cv_prog_LEX+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$LEX"; then
6098 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir
=.
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_LEX
="$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 if test -n "$LEX"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
6120 $as_echo "$LEX" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$LEX" && break
6129 test -n "$LEX" || LEX
=":"
6131 if test "x$LEX" != "x:"; then
6132 cat >conftest.l
<<_ACEOF
6138 e { yyless (input () != 0); }
6139 f { unput (yytext[0]); }
6140 . { BEGIN INITIAL; }
6142 #ifdef YYTEXT_POINTER
6143 extern char *yytext;
6148 return ! yylex () + ! yywrap ();
6151 { { ac_try
="$LEX conftest.l"
6153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6154 *) ac_try_echo=$ac_try;;
6156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6157 $as_echo "$ac_try_echo"; } >&5
6158 (eval "$LEX conftest.l") 2>&5
6160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6161 test $ac_status = 0; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
6163 $as_echo_n "checking lex output file root... " >&6; }
6164 if test "${ac_cv_prog_lex_root+set}" = set; then :
6165 $as_echo_n "(cached) " >&6
6168 if test -f lex.yy.c; then
6169 ac_cv_prog_lex_root=lex.yy
6170 elif test -f lexyy.c; then
6171 ac_cv_prog_lex_root=lexyy
6173 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
6177 $as_echo "$ac_cv_prog_lex_root" >&6; }
6178 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6180 if test -z "${LEXLIB+set}"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
6182 $as_echo_n "checking lex library... " >&6; }
6183 if test "${ac_cv_lib_lex+set}" = set; then :
6184 $as_echo_n "(cached) " >&6
6188 ac_cv_lib_lex='none needed'
6189 for ac_lib in '' -lfl -ll; do
6190 LIBS="$ac_lib $ac_save_LIBS"
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6193 `cat $LEX_OUTPUT_ROOT.c
`
6195 if ac_fn_c_try_link "$LINENO"; then :
6196 ac_cv_lib_lex=$ac_lib
6198 rm -f core conftest.err conftest.$ac_objext \
6199 conftest$ac_exeext conftest.$ac_ext
6200 test "$ac_cv_lib_lex" != 'none needed' && break
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
6206 $as_echo "$ac_cv_lib_lex" >&6; }
6207 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
6212 $as_echo_n "checking whether yytext is a pointer... " >&6; }
6213 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
6214 $as_echo_n "(cached) " >&6
6216 # POSIX says lex can declare yytext either as a pointer or an array; the
6217 # default is implementation-dependent. Figure out which it is, since
6218 # not all implementations provide the %pointer and %array declarations.
6219 ac_cv_prog_lex_yytext_pointer=no
6221 LIBS="$LEXLIB $ac_save_LIBS"
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6224 #define YYTEXT_POINTER 1
6225 `cat $LEX_OUTPUT_ROOT.c
`
6227 if ac_fn_c_try_link "$LINENO"; then :
6228 ac_cv_prog_lex_yytext_pointer=yes
6230 rm -f core conftest.err conftest.$ac_objext \
6231 conftest$ac_exeext conftest.$ac_ext
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
6236 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
6237 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6239 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
6242 rm -f conftest.l $LEX_OUTPUT_ROOT.c
6246 if test -n "$ac_tool_prefix"; then
6247 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6248 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6252 $as_echo_n "(cached) " >&6
6254 if test -n "$RANLIB"; then
6255 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 RANLIB=$ac_cv_prog_RANLIB
6275 if test -n "$RANLIB"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6277 $as_echo "$RANLIB" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6285 if test -z "$ac_cv_prog_RANLIB"; then
6286 ac_ct_RANLIB=$RANLIB
6287 # Extract the first word of "ranlib", so it can be a program name with args.
6288 set dummy ranlib; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6292 $as_echo_n "(cached) " >&6
6294 if test -n "$ac_ct_RANLIB"; then
6295 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_ac_ct_RANLIB="ranlib"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6315 if test -n "$ac_ct_RANLIB"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6317 $as_echo "$ac_ct_RANLIB" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6323 if test "x$ac_ct_RANLIB" = x; then
6326 case $cross_compiling:$ac_tool_warned in
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6330 ac_tool_warned=yes ;;
6332 RANLIB=$ac_ct_RANLIB
6335 RANLIB="$ac_cv_prog_RANLIB"
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6340 if test "${ac_cv_path_SED+set}" = set; then :
6341 $as_echo_n "(cached) " >&6
6343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6344 for ac_i in 1 2 3 4 5 6 7; do
6345 ac_script="$ac_script$as_nl$ac_script"
6347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6348 { ac_script=; unset ac_script;}
6349 if test -z "$SED"; then
6350 ac_path_SED_found=false
6351 # Loop through the user's path and test for each of PROGNAME-LIST
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_prog in sed gsed; do
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6360 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6361 # Check for GNU ac_path_SED and select it if it is found.
6362 # Check for GNU $ac_path_SED
6363 case `"$ac_path_SED" --version 2>&1` in
6365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6368 $as_echo_n 0123456789 >"conftest.in"
6371 cat "conftest.in" "conftest.in" >"conftest.tmp"
6372 mv "conftest.tmp" "conftest.in"
6373 cp "conftest.in" "conftest.nl"
6374 $as_echo '' >> "conftest.nl"
6375 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6377 as_fn_arith $ac_count + 1 && ac_count=$as_val
6378 if test $ac_count -gt ${ac_path_SED_max-0}; then
6379 # Best one so far, save it but keep looking for a better one
6380 ac_cv_path_SED="$ac_path_SED"
6381 ac_path_SED_max=$ac_count
6383 # 10*(2^10) chars as input seems more than enough
6384 test $ac_count -gt 10 && break
6386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6389 $ac_path_SED_found && break 3
6394 if test -z "$ac_cv_path_SED"; then
6395 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6403 $as_echo "$ac_cv_path_SED" >&6; }
6404 SED="$ac_cv_path_SED"
6407 for ac_prog in 'bison -y' byacc
6409 # Extract the first word of "$ac_prog", so it can be a program name with args.
6410 set dummy $ac_prog; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if test "${ac_cv_prog_YACC+set}" = set; then :
6414 $as_echo_n "(cached) " >&6
6416 if test -n "$YACC"; then
6417 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_YACC="$ac_prog"
6427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 YACC=$ac_cv_prog_YACC
6437 if test -n "$YACC"; then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6439 $as_echo "$YACC" >&6; }
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6446 test -n "$YACC" && break
6448 test -n "$YACC" || YACC="yacc"
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$RANLIB"; then
6460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 RANLIB=$ac_cv_prog_RANLIB
6480 if test -n "$RANLIB"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6482 $as_echo "$RANLIB" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6490 if test -z "$ac_cv_prog_RANLIB"; then
6491 ac_ct_RANLIB=$RANLIB
6492 # Extract the first word of "ranlib", so it can be a program name with args.
6493 set dummy ranlib; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6497 $as_echo_n "(cached) " >&6
6499 if test -n "$ac_ct_RANLIB"; then
6500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_ac_ct_RANLIB="ranlib"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6520 if test -n "$ac_ct_RANLIB"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6522 $as_echo "$ac_ct_RANLIB" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6528 if test "x$ac_ct_RANLIB" = x; then
6531 case $cross_compiling:$ac_tool_warned in
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6535 ac_tool_warned=yes ;;
6537 RANLIB=$ac_ct_RANLIB
6540 RANLIB="$ac_cv_prog_RANLIB"
6543 if test -n "$ac_tool_prefix"; then
6544 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6545 set dummy ${ac_tool_prefix}strip; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if test "${ac_cv_prog_STRIP+set}" = set; then :
6549 $as_echo_n "(cached) " >&6
6551 if test -n "$STRIP"; then
6552 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6561 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 STRIP=$ac_cv_prog_STRIP
6572 if test -n "$STRIP"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6574 $as_echo "$STRIP" >&6; }
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6582 if test -z "$ac_cv_prog_STRIP"; then
6584 # Extract the first word of "strip", so it can be a program name with args.
6585 set dummy strip; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6589 $as_echo_n "(cached) " >&6
6591 if test -n "$ac_ct_STRIP"; then
6592 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601 ac_cv_prog_ac_ct_STRIP="strip"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6612 if test -n "$ac_ct_STRIP"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6614 $as_echo "$ac_ct_STRIP" >&6; }
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6620 if test "x$ac_ct_STRIP" = x; then
6623 case $cross_compiling:$ac_tool_warned in
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6627 ac_tool_warned=yes ;;
6632 STRIP="$ac_cv_prog_STRIP"
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ar; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_AR+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6643 if test -n "$AR"; then
6644 ac_cv_prog_AR="$AR" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_AR="${ac_tool_prefix}ar"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 if test -n "$AR"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6666 $as_echo "$AR" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_AR"; then
6676 # Extract the first word of "ar", so it can be a program name with args.
6677 set dummy ar; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6683 if test -n "$ac_ct_AR"; then
6684 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_AR="ar"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6704 if test -n "$ac_ct_AR"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6706 $as_echo "$ac_ct_AR" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_AR" = x; then
6715 case $cross_compiling:$ac_tool_warned in
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6727 if test -n "$ac_tool_prefix"; then
6728 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6729 set dummy ${ac_tool_prefix}ld; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if test "${ac_cv_prog_LD+set}" = set; then :
6733 $as_echo_n "(cached) " >&6
6735 if test -n "$LD"; then
6736 ac_cv_prog_LD="$LD" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6745 ac_cv_prog_LD="${ac_tool_prefix}ld"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756 if test -n "$LD"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6758 $as_echo "$LD" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6766 if test -z "$ac_cv_prog_LD"; then
6768 # Extract the first word of "ld", so it can be a program name with args.
6769 set dummy ld; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6773 $as_echo_n "(cached) " >&6
6775 if test -n "$ac_ct_LD"; then
6776 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_ac_ct_LD="ld"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6796 if test -n "$ac_ct_LD"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6798 $as_echo "$ac_ct_LD" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6804 if test "x$ac_ct_LD" = x; then
6807 case $cross_compiling:$ac_tool_warned in
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6811 ac_tool_warned=yes ;;
6820 # Check whether --enable-monolithic was given.
6821 if test "${enable_monolithic+set}" = set; then :
6822 enableval=$enable_monolithic;
6825 if test ${enable_monolithic:-yes} = yes; then
6827 MONOLITHIC_FALSE='#'
6834 # Check whether --enable-amule-daemon was given.
6835 if test "${enable_amule_daemon+set}" = set; then :
6836 enableval=$enable_amule_daemon;
6839 if test ${enable_amule_daemon:-no} = yes; then
6841 AMULE_DAEMON_FALSE='#'
6843 AMULE_DAEMON_TRUE='#'
6848 # Check whether --enable-amulecmd was given.
6849 if test "${enable_amulecmd+set}" = set; then :
6850 enableval=$enable_amulecmd;
6853 if test ${enable_amulecmd:-no} = yes; then
6855 COMPILE_CMD_FALSE='#'
6857 COMPILE_CMD_TRUE='#'
6862 # Check whether --enable-webserver was given.
6863 if test "${enable_webserver+set}" = set; then :
6864 enableval=$enable_webserver;
6867 if test ${enable_webserver:-no} = yes; then
6876 # Check whether --enable-amule-gui was given.
6877 if test "${enable_amule_gui+set}" = set; then :
6878 enableval=$enable_amule_gui;
6881 if test ${enable_amule_gui:-no} = yes; then
6890 # Check whether --enable-cas was given.
6891 if test "${enable_cas+set}" = set; then :
6892 enableval=$enable_cas;
6895 if test ${enable_cas:-no} = yes; then
6904 # Check whether --enable-wxcas was given.
6905 if test "${enable_wxcas+set}" = set; then :
6906 enableval=$enable_wxcas;
6909 if test ${enable_wxcas:-no} = yes; then
6918 # Check whether --enable-ed2k was given.
6919 if test "${enable_ed2k+set}" = set; then :
6920 enableval=$enable_ed2k;
6923 if test ${enable_ed2k:-yes} = yes; then
6932 # Check whether --enable-alc was given.
6933 if test "${enable_alc+set}" = set; then :
6934 enableval=$enable_alc;
6937 if test ${enable_alc:-no} = yes; then
6946 # Check whether --enable-alcc was given.
6947 if test "${enable_alcc+set}" = set; then :
6948 enableval=$enable_alcc;
6951 if test ${enable_alcc:-no} = yes; then
6960 # Check whether --enable-xas was given.
6961 if test "${enable_xas+set}" = set; then :
6962 enableval=$enable_xas;
6965 if test ${enable_xas:-no} = yes; then
6974 # Check whether --enable-fileview was given.
6975 if test "${enable_fileview+set}" = set; then :
6976 enableval=$enable_fileview;
6979 if test ${enable_fileview:-no} = yes; then
6988 # Check whether --enable-plasmamule was given.
6989 if test "${enable_plasmamule+set}" = set; then :
6990 enableval=$enable_plasmamule;
6995 # Run all the tests with static linkage if we want a statically linked binary
6996 # Check whether --enable-static was given.
6997 if test "${enable_static+set}" = set; then :
6998 enableval=$enable_static;
7002 if test ${enable_static:-no} = yes; then :
7003 LDFLAGS="$LDFLAGS -static"
7008 # Check whether --with-kde4-config was given.
7009 if test "${with_kde4_config+set}" = set; then :
7010 withval=$with_kde4_config; KDE4_CONFIG=$withval
7015 # Check whether --enable-kde-in-home was given.
7016 if test "${enable_kde_in_home+set}" = set; then :
7017 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
7025 # Check whether --with-moc was given.
7026 if test "${with_moc+set}" = set; then :
7027 withval=$with_moc; QT_MOC=$withval
7034 # Default is yes, because they're most likely compatible.
7035 # However, this is only used when cross-compiling.
7037 # Check whether --with-gnu-malloc was given.
7038 if test "${with_gnu_malloc+set}" = set; then :
7039 withval=$with_gnu_malloc; gnumalloc=$withval
7046 # Checking for libs before all other stuff to break
7047 # configure as soon as possible in case of a missing one
7048 # to avoid losing too much time
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7053 $as_echo_n "checking for ANSI C header files... " >&6; }
7054 if test "${ac_cv_header_stdc+set}" = set; then :
7055 $as_echo_n "(cached) " >&6
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7072 if ac_fn_c_try_compile "$LINENO"; then :
7073 ac_cv_header_stdc=yes
7075 ac_cv_header_stdc=no
7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 if test $ac_cv_header_stdc = yes; then
7080 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h. */
7086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7087 $EGREP "memchr" >/dev/null 2>&1; then :
7090 ac_cv_header_stdc=no
7096 if test $ac_cv_header_stdc = yes; then
7097 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7104 $EGREP "free" >/dev/null 2>&1; then :
7107 ac_cv_header_stdc=no
7113 if test $ac_cv_header_stdc = yes; then
7114 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7115 if test "$cross_compiling" = yes; then :
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7122 #if ((' ' & 0x0FF) == 0x020)
7123 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7124 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7126 # define ISLOWER(c) \
7127 (('a' <= (c) && (c) <= 'i') \
7128 || ('j' <= (c) && (c) <= 'r') \
7129 || ('s' <= (c) && (c) <= 'z'))
7130 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7133 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7138 for (i = 0; i < 256; i++)
7139 if (XOR (islower (i), ISLOWER (i))
7140 || toupper (i) != TOUPPER (i))
7145 if ac_fn_c_try_run "$LINENO"; then :
7148 ac_cv_header_stdc=no
7150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7151 conftest.$ac_objext conftest.beam conftest.$ac_ext
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7157 $as_echo "$ac_cv_header_stdc" >&6; }
7158 if test $ac_cv_header_stdc = yes; then
7160 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7164 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7165 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7166 inttypes.h stdint.h unistd.h
7168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7169 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7171 eval as_val=\$$as_ac_Header
7172 if test "x$as_val" = x""yes; then :
7173 cat >>confdefs.h <<_ACEOF
7174 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7182 if test ${enable_cas:-no} = yes; then :
7186 # Check whether --with-gdlib-prefix was given.
7187 if test "${with_gdlib_prefix+set}" = set; then :
7188 withval=$with_gdlib_prefix;
7192 # Check whether --with-gdlib-config was given.
7193 if test "${with_gdlib_config+set}" = set; then :
7194 withval=$with_gdlib_config;
7200 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7201 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7202 GDLIB_CONFIG_NAME=gdlib-config
7204 if test -n "$with_gdlib_config"; then :
7205 GDLIB_CONFIG_NAME="$with_gdlib_config"
7208 # deal with optional prefix
7209 if test -n "$with_gdlib_prefix"; then :
7210 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7213 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7214 if test -x "$GDLIB_CONFIG_NAME"; then :
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7217 $as_echo_n "checking for gdlib-config... " >&6; }
7218 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7220 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7223 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7224 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7228 $as_echo_n "(cached) " >&6
7230 case $GDLIB_CONFIG_PATH in
7232 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7237 for as_dir in $as_dummy
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7255 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7256 if test -n "$GDLIB_CONFIG_PATH"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7258 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7267 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7270 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7271 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7273 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7274 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7275 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7276 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7279 if test $gdlib_config_major_version -gt 2; then
7281 elif test $gdlib_config_major_version -eq 2; then
7283 if test $gdlib_config_minor_version -gt 0; then
7285 elif test $gdlib_config_minor_version -eq 0; then
7286 if test $gdlib_config_micro_version -ge 0; then
7296 if test -z "$gdlib_ver_ok"; then :
7298 if test -z "$GDLIB_VERSION"; then :
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300 $as_echo "no" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7304 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7312 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7313 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7314 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7315 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7316 mule_backup_CFLAGS="$CFLAGS"
7317 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7318 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7319 if test "x$ac_cv_header_gd_h" = x""yes; then :
7331 CFLAGS="$mule_backup_CFLAGS"
7337 if test -n "$GDLIB_VERSION"; then :
7340 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7348 if test -z "$CAS_DEFS"; then :
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7350 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7351 Please check that gdlib-config is in your default path, check out
7352 LD_LIBRARY_PATH or equivalent variable.
7353 Or this might also be that your gdlib-config has other name.
7354 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7355 (replace /usr/bin/gdlib-config with a valid path to your
7357 If you use compiled packages check if you have devel pack installed.
7358 To download the latest version check http://www.boutell.com/gd for
7360 $as_echo "$as_me: WARNING:
7361 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7362 Please check that gdlib-config is in your default path, check out
7363 LD_LIBRARY_PATH or equivalent variable.
7364 Or this might also be that your gdlib-config has other name.
7365 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7366 (replace /usr/bin/gdlib-config with a valid path to your
7368 If you use compiled packages check if you have devel pack installed.
7369 To download the latest version check http://www.boutell.com/gd for
7372 _mule_has_warnings=yes
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
7379 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
7380 if test "${ac_cv_header_stdbool_h+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7384 /* end confdefs.h. */
7386 #include <stdbool.h>
7388 "error: bool is not defined"
7391 "error: false is not defined"
7394 "error: false is not 0"
7397 "error: true is not defined"
7400 "error: true is not 1"
7402 #ifndef __bool_true_false_are_defined
7403 "error: __bool_true_false_are_defined is not defined"
7406 struct s { _Bool s: 1; _Bool t; } s;
7408 char a[true == 1 ? 1 : -1];
7409 char b[false == 0 ? 1 : -1];
7410 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7411 char d[(bool) 0.5 == true ? 1 : -1];
7413 char f[(_Bool) 0.0 == false ? 1 : -1];
7415 char h[sizeof (_Bool)];
7417 enum { j = false, k = true, l = false * true, m = true * 256 };
7418 /* The following fails for
7419 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7421 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7422 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7423 # if defined __xlc__ || defined __GNUC__
7424 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
7425 reported by James Lemley on 2005-10-05; see
7426 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
7427 This test is not quite right, since xlc is allowed to
7428 reject this program, as the initializer for xlcbug is
7429 not one of the forms that C requires support for.
7430 However, doing the test right would require a runtime
7431 test, and that would make cross-compilation harder.
7432 Let us hope that IBM fixes the xlc bug, and also adds
7433 support for this kind of constant expression. In the
7434 meantime, this test will reject xlc, which is OK, since
7435 our stdbool.h substitute should suffice. We also test
7436 this with GCC, where it should work, to detect more
7437 quickly whether someone messes up the test in the
7439 char digs[] = "0123456789";
7440 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
7442 /* Catch a bug in an HP-UX C compiler. See
7443 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7444 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7455 /* Refer to every declared value, to avoid compiler optimizations. */
7456 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7457 + !m + !n + !o + !p + !q + !pq);
7463 if ac_fn_c_try_compile "$LINENO"; then :
7464 ac_cv_header_stdbool_h=yes
7466 ac_cv_header_stdbool_h=no
7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7471 $as_echo "$ac_cv_header_stdbool_h" >&6; }
7472 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7473 if test "x$ac_cv_type__Bool" = x""yes; then :
7475 cat >>confdefs.h <<_ACEOF
7476 #define HAVE__BOOL 1
7482 if test $ac_cv_header_stdbool_h = yes; then
7484 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7489 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7490 if test "${ac_cv_c_const+set}" = set; then :
7491 $as_echo_n "(cached) " >&6
7493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7494 /* end confdefs.h. */
7499 /* FIXME: Include the comments suggested by Paul. */
7501 /* Ultrix mips cc rejects this. */
7502 typedef int charset[2];
7504 /* SunOS 4.1.1 cc rejects this. */
7505 char const *const *pcpcc;
7507 /* NEC SVR4.0.2 mips cc rejects this. */
7508 struct point {int x, y;};
7509 static struct point const zero = {0,0};
7510 /* AIX XL C 1.02.0.0 rejects this.
7511 It does not let you subtract one const X* pointer from another in
7512 an arm of an if-expression whose if-part is not a constant
7514 const char *g = "string";
7515 pcpcc = &g + (g ? g-g : 0);
7516 /* HPUX 7.0 cc rejects these. */
7518 ppc = (char**) pcpcc;
7519 pcpcc = (char const *const *) ppc;
7520 { /* SCO 3.2v4 cc rejects this. */
7522 char const *s = 0 ? (char *) 0 : (char const *) 0;
7527 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7529 const int *foo = &x[0];
7532 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7533 typedef const int *iptr;
7537 { /* AIX XL C 1.02.0.0 rejects this saying
7538 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7539 struct s { int j; const int *ap[3]; };
7540 struct s *b; b->j = 5;
7542 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7546 return !cs[0] && !zero.x;
7553 if ac_fn_c_try_compile "$LINENO"; then :
7558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7561 $as_echo "$ac_cv_c_const" >&6; }
7562 if test $ac_cv_c_const = no; then
7564 $as_echo "#define const /**/" >>confdefs.h
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7569 $as_echo_n "checking for inline... " >&6; }
7570 if test "${ac_cv_c_inline+set}" = set; then :
7571 $as_echo_n "(cached) " >&6
7574 for ac_kw in inline __inline__ __inline; do
7575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576 /* end confdefs.h. */
7579 static $ac_kw foo_t static_foo () {return 0; }
7580 $ac_kw foo_t foo () {return 0; }
7584 if ac_fn_c_try_compile "$LINENO"; then :
7585 ac_cv_c_inline=$ac_kw
7587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7588 test "$ac_cv_c_inline" != no && break
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7593 $as_echo "$ac_cv_c_inline" >&6; }
7595 case $ac_cv_c_inline in
7598 case $ac_cv_c_inline in
7600 *) ac_val=$ac_cv_c_inline;;
7602 cat >>confdefs.h <<_ACEOF
7604 #define inline $ac_val
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
7611 $as_echo_n "checking for working volatile... " >&6; }
7612 if test "${ac_cv_c_volatile+set}" = set; then :
7613 $as_echo_n "(cached) " >&6
7615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7616 /* end confdefs.h. */
7623 int * volatile y = (int *) 0;
7629 if ac_fn_c_try_compile "$LINENO"; then :
7630 ac_cv_c_volatile=yes
7634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
7637 $as_echo "$ac_cv_c_volatile" >&6; }
7638 if test $ac_cv_c_volatile = no; then
7640 $as_echo "#define volatile /**/" >>confdefs.h
7646 ac_cpp='$CXXCPP $CPPFLAGS'
7647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7655 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 :
7658 # Check whether --with-zlib was given.
7659 if test "${with_zlib+set}" = set; then :
7664 case "${with_zlib:-yes}" in
7666 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
7671 zlib_prefix="$with_zlib"
7674 mule_backup_CPPFLAGS="$CPPFLAGS"
7675 mule_backup_LDFLAGS="$LDFLAGS"
7676 mule_backup_LIBS="$LIBS"
7677 if test -n "$zlib_prefix"; then :
7679 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
7680 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
7681 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
7682 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
7691 LIBS="$ZLIB_LIBS $LIBS"
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
7694 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
7695 if test "$cross_compiling" = yes; then :
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7710 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
7718 if ac_fn_cxx_try_link "$LINENO"; then :
7720 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
7721 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
7722 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
7723 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
7724 if test "$cross_zver_max" -gt "1"; then
7726 elif test "$cross_zver_max" -eq "1"; then
7728 if test "$cross_zver_mid" -gt "1"; then
7730 elif test "$cross_zver_mid" -eq "1"; then
7731 if test "$cross_zver_min" -ge "4"; then
7740 if test ${result:-no} = yes; then :
7741 z_version=" (version $ZLIB_VERSION)"
7745 rm -f core conftest.err conftest.$ac_objext \
7746 conftest$ac_exeext conftest.$ac_ext
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
7748 $as_echo "$result$z_version" >&6; }
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7761 const char *zver = zlibVersion();
7762 FILE *f=fopen("conftestval", "w");
7769 zver[4] >= '4'))) ? "yes" : "no");
7771 f=fopen("conftestver", "w");
7773 fprintf(f, "%s", ZLIB_VERSION);
7782 if ac_fn_cxx_try_run "$LINENO"; then :
7784 if test -f conftestval; then :
7785 result=`cat conftestval
`
7789 if test ${result:-no} = yes; then :
7791 if test -f conftestver; then :
7793 ZLIB_VERSION=`cat conftestver
`
7794 z_version=" (version $ZLIB_VERSION)"
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
7802 $as_echo "$result$z_version" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7808 $as_echo "$result" >&6; }
7811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7812 conftest.$ac_objext conftest.beam conftest.$ac_ext
7816 CPPFLAGS="$mule_backup_CPPFLAGS"
7817 LDFLAGS="$mule_backup_LDFLAGS"
7818 LIBS="$mule_backup_LIBS"
7820 if test ${result:-no} = no; then :
7825 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
7834 if test ${enable_webserver:-no} = yes; then :
7837 # Check whether --with-libpng-prefix was given.
7838 if test "${with_libpng_prefix+set}" = set; then :
7839 withval=$with_libpng_prefix;
7843 # Check whether --with-libpng-config was given.
7844 if test "${with_libpng_config+set}" = set; then :
7845 withval=$with_libpng_config;
7851 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7852 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7853 LIBPNG_CONFIG_NAME=libpng-config
7855 if test -n "$with_libpng_config"; then :
7856 LIBPNG_CONFIG_NAME="$with_libpng_config"
7859 # deal with optional prefix
7860 if test -n "$with_libpng_prefix"; then :
7861 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7864 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7865 if test -x "$LIBPNG_CONFIG_NAME"; then :
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7868 $as_echo_n "checking for libpng-config... " >&6; }
7869 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7871 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7874 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7875 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7881 case $LIBPNG_CONFIG_PATH in
7883 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7888 for as_dir in $as_dummy
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7894 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7906 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7907 if test -n "$LIBPNG_CONFIG_PATH"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7909 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7918 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7921 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7923 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7925 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7926 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7927 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7928 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7931 if test $libpng_config_major_version -gt 1; then
7933 elif test $libpng_config_major_version -eq 1; then
7935 if test $libpng_config_minor_version -gt 2; then
7937 elif test $libpng_config_minor_version -eq 2; then
7938 if test $libpng_config_micro_version -ge 0; then
7948 if test -z "$libpng_ver_ok"; then :
7950 if test -z "$LIBPNG_VERSION"; then :
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7956 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7963 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7964 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7965 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7967 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libpng is usable" >&5
7970 $as_echo_n "checking if libpng is usable... " >&6; }
7972 SAVED_CFLAGS=$CFLAGS
7973 SAVED_LDFLAGS=$LDFLAGS
7976 CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
7977 LDFLAGS="$LDFLAGS $LIBPNG_LDFLAGS"
7978 LIBS="$LIBS $LIBPNG_LIBS"
7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7981 /* end confdefs.h. */
7991 png_uint_32 libpng_vn = png_access_version_number();
7992 printf("\nlibpng version %i\n\n", libpng_vn);
7999 if ac_fn_cxx_try_link "$LINENO"; then :
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8002 $as_echo "yes" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (failed to compile and link test program)" >&5
8007 $as_echo "no (failed to compile and link test program)" >&6; }
8014 rm -f core conftest.err conftest.$ac_objext \
8015 conftest$ac_exeext conftest.$ac_ext
8017 CFLAGS="$SAVED_CFLAGS"
8018 LDFLAGS="$SAVED_LDFLAGS"
8025 if test -n "$LIBPNG_VERSION"; then :
8026 AMULEWEB_DEFS="-DWITH_LIBPNG"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8030 libpng >= 1.2.0 not found.
8031 amuleweb will be compiled but file download progress bar images will
8032 NOT be generated." >&5
8033 $as_echo "$as_me: WARNING:
8034 libpng >= 1.2.0 not found.
8035 amuleweb will be compiled but file download progress bar images will
8036 NOT be generated." >&2;}
8038 _mule_has_warnings=yes
8049 # Check for perl File::Copy
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
8051 $as_echo_n "checking for File::Copy... " >&6; }
8052 if perl -e "require File::Copy" 2>/dev/null; then :
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8054 $as_echo "ok" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8057 File::Copy perl module is required by the mldonkey_importer script.
8058 If you want to use this script please install File::Copy from CPAN." >&5
8059 $as_echo "$as_me: WARNING:
8060 File::Copy perl module is required by the mldonkey_importer script.
8061 If you want to use this script please install File::Copy from CPAN." >&2;}
8063 _mule_has_warnings=yes
8068 # Check for GeoIP (required for IP2Country capability)
8070 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
8072 # Check whether --enable-geoip was given.
8073 if test "${enable_geoip+set}" = set; then :
8074 enableval=$enable_geoip;
8079 if test ${enable_geoip:-no} = yes; then :
8082 # Check whether --with-geoip-headers was given.
8083 if test "${with_geoip_headers+set}" = set; then :
8084 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
8088 # Check whether --with-geoip-lib was given.
8089 if test "${with_geoip_lib+set}" = set; then :
8090 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
8094 mule_backup_CPPFLAGS="$CPPFLAGS"
8095 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
8096 mule_backup_LDFLAGS="$LDFLAGS"
8097 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
8099 ac_fn_cxx_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
8102 if test x$SYS = xwin32; then :
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
8105 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
8106 # Actually, we might not need any if GeoIP is linked as a .dll
8107 # - but that's even harder to check for
8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109 /* end confdefs.h. */
8113 #if (defined _WINSOCK2API_ || defined _WINSOCK2_H)
8114 I do know it's not the best approach, but at least works with MinGW stock headers.
8115 (tested with w32api-3.12)
8127 if ac_fn_cxx_try_compile "$LINENO"; then :
8129 GEOIP_WINSOCK_LIB="-lwsock32"
8133 GEOIP_WINSOCK_LIB="-lws2_32"
8136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
8138 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
8142 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
8143 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
8144 $as_echo_n "(cached) " >&6
8146 ac_check_lib_save_LIBS=$LIBS
8147 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8151 /* Override any GCC internal prototype to avoid an error.
8152 Use char because int might match the return type of a GCC
8153 builtin and then its argument prototype would still apply. */
8161 return GeoIP_open ();
8166 if ac_fn_cxx_try_link "$LINENO"; then :
8167 ac_cv_lib_GeoIP_GeoIP_open=yes
8169 ac_cv_lib_GeoIP_GeoIP_open=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 LIBS=$ac_check_lib_save_LIBS
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
8176 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
8177 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
8180 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
8182 GEOIP_LIBS="-lGeoIP"
8183 if test x$SYS = xwin32; then :
8184 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
8186 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
8188 # Check whether --with-geoip-static was given.
8189 if test "${with_geoip_static+set}" = set; then :
8190 withval=$with_geoip_static;
8191 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
8193 mule_backup_LIBS="$LIBS"
8194 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8205 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
8212 if ac_fn_cxx_try_link "$LINENO"; then :
8214 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8219 Cannot link GeoIP statically, because your linker ($LD) does not
8221 $as_echo "$as_me: WARNING:
8222 Cannot link GeoIP statically, because your linker ($LD) does not
8225 _mule_has_warnings=yes
8229 rm -f core conftest.err conftest.$ac_objext \
8230 conftest$ac_exeext conftest.$ac_ext
8231 LIBS="$mule_backup_LIBS"
8240 enable_geoip=disabled
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8242 GeoIP support has been disabled because the GeoIP libraries were not
8244 $as_echo "$as_me: WARNING:
8245 GeoIP support has been disabled because the GeoIP libraries were not
8248 _mule_has_warnings=yes
8256 enable_geoip=disabled
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8258 GeoIP support has been disabled because the GeoIP header files were
8260 $as_echo "$as_me: WARNING:
8261 GeoIP support has been disabled because the GeoIP header files were
8264 _mule_has_warnings=yes
8271 CPPFLAGS="$mule_backup_CPPFLAGS"
8272 LDFLAGS="$mule_backup_LDFLAGS"
8280 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 :
8283 # Check whether --with-wxdir was given.
8284 if test "${with_wxdir+set}" = set; then :
8285 withval=$with_wxdir; wx_config_name="$withval/wx-config"
8286 wx_config_args="--inplace"
8290 # Check whether --with-wx-config was given.
8291 if test "${with_wx_config+set}" = set; then :
8292 withval=$with_wx_config; wx_config_name="$withval"
8296 # Check whether --with-wx-prefix was given.
8297 if test "${with_wx_prefix+set}" = set; then :
8298 withval=$with_wx_prefix; wx_config_prefix="$withval"
8304 # Check whether --with-wx-exec-prefix was given.
8305 if test "${with_wx_exec_prefix+set}" = set; then :
8306 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
8308 wx_config_exec_prefix=""
8323 # Check whether --with-toolkit was given.
8324 if test "${with_toolkit+set}" = set; then :
8325 withval=$with_toolkit;
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
8332 $as_echo_n "checking for the --with-toolkit option... " >&6; }
8333 if test "$withval" = "auto" ; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8335 $as_echo "will be automatically detected" >&6; }
8340 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
8341 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
8342 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
8343 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
8344 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
8345 "$TOOLKIT" != "osx_cocoa"; then
8347 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
8352 $as_echo "$TOOLKIT" >&6; }
8359 # Check whether --with-wxshared was given.
8360 if test "${with_wxshared+set}" = set; then :
8361 withval=$with_wxshared;
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
8368 $as_echo_n "checking for the --with-wxshared option... " >&6; }
8369 if test "$withval" = "yes" ; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8371 $as_echo "yes" >&6; }
8374 elif test "1" = "1" -a "$withval" = "no" ; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8378 elif test "$withval" = "auto" ; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8380 $as_echo "will be automatically detected" >&6; }
8384 Unrecognized option value (allowed values: yes, auto)
8392 # Check whether --with-wxdebug was given.
8393 if test "${with_wxdebug+set}" = set; then :
8394 withval=$with_wxdebug;
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
8401 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
8402 if test "$withval" = "yes" ; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8404 $as_echo "yes" >&6; }
8407 elif test "1" = "1" -a "$withval" = "no" ; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8411 elif test "$withval" = "auto" ; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8413 $as_echo "will be automatically detected" >&6; }
8417 Unrecognized option value (allowed values: yes, auto)
8425 # Check whether --with-wxversion was given.
8426 if test "${with_wxversion+set}" = set; then :
8427 withval=$with_wxversion;
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
8434 $as_echo_n "checking for the --with-wxversion option... " >&6; }
8435 if test "$withval" = "auto" ; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8437 $as_echo "will be automatically detected" >&6; }
8441 wx_requested_major_version=`echo $withval | \
8442 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
8443 wx_requested_minor_version=`echo $withval | \
8444 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
8446 if test "${#wx_requested_major_version}" != "1" -o \
8447 "${#wx_requested_minor_version}" != "1" ; then
8449 Unrecognized option value (allowed values: auto, 2.8, 2.9)
8453 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
8455 $as_echo "$WX_VERSION" >&6; }
8459 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8460 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
8461 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
8462 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
8463 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
8464 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
8467 # Force using a static wxWidgets library if the executable is to be linked statically.
8468 if test ${enable_static:-no} = yes; then :
8471 # Force using a unicode build of the library
8472 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 :
8477 if test "$WX_SHARED" = "1" ; then
8478 WXCONFIG_FLAGS="--static=no "
8479 elif test "$WX_SHARED" = "0" ; then
8480 WXCONFIG_FLAGS="--static=yes "
8483 if test "$WX_DEBUG" = "1" ; then
8484 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
8485 elif test "$WX_DEBUG" = "0" ; then
8486 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
8489 if test "$WX_UNICODE" = "1" ; then
8490 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
8491 elif test "$WX_UNICODE" = "0" ; then
8492 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
8495 if test "$TOOLKIT" != "auto" ; then
8496 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
8499 if test "$WX_VERSION" != "auto" ; then
8500 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
8503 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
8505 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8506 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
8510 if test x${WX_CONFIG_NAME+set} != xset ; then
8511 WX_CONFIG_NAME=wx-config
8514 if test "x$wx_config_name" != x ; then
8515 WX_CONFIG_NAME="$wx_config_name"
8518 if test x$wx_config_exec_prefix != x ; then
8519 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
8520 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
8522 if test x$wx_config_prefix != x ; then
8523 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
8524 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
8526 if test "$cross_compiling" = "yes"; then
8527 wx_config_args="$wx_config_args --host=$host_alias"
8530 if test -x "$WX_CONFIG_NAME" ; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
8532 $as_echo_n "checking for wx-config... " >&6; }
8533 WX_CONFIG_PATH="$WX_CONFIG_NAME"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8535 $as_echo "$WX_CONFIG_PATH" >&6; }
8537 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
8538 set dummy $WX_CONFIG_NAME; ac_word=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 $as_echo_n "checking for $ac_word... " >&6; }
8541 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
8542 $as_echo_n "(cached) " >&6
8544 case $WX_CONFIG_PATH in
8546 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
8549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 as_dummy=""$WX_LOOKUP_PATH:$PATH""
8551 for as_dir in $as_dummy
8554 test -z "$as_dir" && as_dir=.
8555 for ac_exec_ext in '' $ac_executable_extensions; do
8556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8557 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
8558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
8569 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
8570 if test -n "$WX_CONFIG_PATH"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8572 $as_echo "$WX_CONFIG_PATH" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8581 if test "$WX_CONFIG_PATH" != "no" ; then
8584 min_wx_version=2.8.12
8585 if test -z "$WXCONFIG_FLAGS" ; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
8587 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
8590 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
8593 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
8595 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
8596 wx_config_major_version=`echo $WX_VERSION_FULL | \
8597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8598 wx_config_minor_version=`echo $WX_VERSION_FULL | \
8599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8600 wx_config_micro_version=`echo $WX_VERSION_FULL | \
8601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8603 wx_requested_major_version=`echo $min_wx_version | \
8604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8605 wx_requested_minor_version=`echo $min_wx_version | \
8606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8607 wx_requested_micro_version=`echo $min_wx_version | \
8608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8612 if test "x$WX_VERSION_FULL" != x ; then
8613 if test $wx_config_major_version -gt $wx_requested_major_version; then
8616 if test $wx_config_major_version -eq $wx_requested_major_version; then
8617 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
8620 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
8621 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
8631 if test -n "$wx_ver_ok"; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
8634 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
8635 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
8637 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
8639 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
8640 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
8641 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
8643 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
8644 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
8650 if test "x$WX_VERSION_FULL" = x; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8652 $as_echo "no" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
8655 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
8664 if test ! -z "$WXCONFIG_FLAGS"; then
8667 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8668 build with the following settings:
8670 but such build is not available.
8672 To see the wxWidgets builds available on this system, please use
8673 'wx-config --list' command. To use the default build, returned by
8674 'wx-config --selected-config', use the options with their 'auto'
8680 The requested wxWidgets build couldn't be found.
8683 If you still get this error, then check that 'wx-config' is
8684 in path, the directory where wxWidgets libraries are installed
8685 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8686 or equivalent variable and wxWidgets version is 2.8.12 or above."
8688 as_fn_error "$wx_error_message" "$LINENO" 5
8712 WX_VERSION_MAJOR="$wx_config_major_version"
8713 WX_VERSION_MINOR="$wx_config_minor_version"
8717 if test "$wxWin" != 1; then :
8719 wxWidgets must be installed on your system but wx-config
8720 script couldn't be found. Please check that wx-config is
8721 in path or specified by --with-wx-config=path flag, the
8722 directory where wxWidgets libraries are installed (returned
8723 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8724 equivalent variable and wxWidgets version is 2.8.12 or above.
8728 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8730 This version of wxWidgets is known to not work with aMule.
8731 Please upgrade to a newer version.
8736 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8738 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8740 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8741 echo "[dbg] Using wx-config --selected-config"
8742 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8746 if test $WX_SHARED = "1"; then
8748 elif test $WX_SHARED = "0"; then
8750 elif test $WX_SHARED = "auto"; then
8755 if test "$UNICODE" = "auto" ; then
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8758 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8760 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8762 if test "$WX_UNICODE" != "0"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8765 $as_echo "yes" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8770 $as_echo "no" >&6; }
8779 if test "$DEBUG" = "auto" ; then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8782 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8784 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8786 if test "$WX_DEBUG" != "0"; then
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8789 $as_echo "yes" >&6; }
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794 $as_echo "no" >&6; }
8803 if test "$STATIC" = "auto" ; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8806 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8808 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8810 if test "$WX_STATIC" != "0"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8813 $as_echo "yes" >&6; }
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8818 $as_echo "no" >&6; }
8827 if test "$WX_STATIC" != "0"; then
8837 if test "$TOOLKIT" = "auto" ; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8840 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8842 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8843 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8844 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8845 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8846 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8847 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8848 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8849 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8850 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8851 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8852 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8855 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8856 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8857 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8858 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8859 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8860 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8861 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8862 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8863 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8864 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8865 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8868 if test "$WX_PORT" = "unknown" ; then
8870 Cannot detect the currently installed wxWidgets port !
8871 Please check your 'wx-config --cxxflags'...
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8876 $as_echo "$WX_PORT" >&6; }
8879 if test -n "$TOOLKIT" ; then
8888 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8889 echo "[dbg] Values of all WX_* options after final detection:"
8890 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8891 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8892 echo "[dbg] WX_SHARED: $WX_SHARED"
8893 echo "[dbg] WX_VERSION: $WX_VERSION"
8894 echo "[dbg] WX_PORT: $WX_PORT"
8897 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8899 Cannot build shared library against a static build of wxWidgets !
8900 This error happens because the wxWidgets build which was selected
8901 has been detected as static while you asked to build $PACKAGE_NAME
8902 as shared library and this is not possible.
8903 Use the '--disable-shared' option to build $PACKAGE_NAME
8904 as static library or '--with-wxshared' to use wxWidgets as shared library.
8908 if test "$DEBUG" = "auto"; then
8911 if test "$DEBUG" = "1"; then
8913 elif test "$DEBUG" = ""; then
8917 if test "$UNICODE" = "auto"; then
8920 if test "$SHARED" = "auto"; then
8923 if test "$TOOLKIT" = "auto"; then
8928 # We also need wxBase
8929 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8930 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8931 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8933 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8937 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8938 if test "${WX_PORT}" = base; then :
8940 The selected components need a wxWidgets library with GUI,
8941 but your installation is base-only. Please install a GUI
8942 enabled version of wxWidgets and then retry.
8949 if test ${SYS:-unknown} = win32; then :
8950 if test -n "$ac_tool_prefix"; then
8951 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8952 set dummy ${ac_tool_prefix}windres; ac_word=$2
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8954 $as_echo_n "checking for $ac_word... " >&6; }
8955 if test "${ac_cv_prog_RC+set}" = set; then :
8956 $as_echo_n "(cached) " >&6
8958 if test -n "$RC"; then
8959 ac_cv_prog_RC="$RC" # Let the user override the test.
8961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8965 test -z "$as_dir" && as_dir=.
8966 for ac_exec_ext in '' $ac_executable_extensions; do
8967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8968 ac_cv_prog_RC="${ac_tool_prefix}windres"
8969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8979 if test -n "$RC"; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8981 $as_echo "$RC" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8984 $as_echo "no" >&6; }
8989 if test -z "$ac_cv_prog_RC"; then
8991 # Extract the first word of "windres", so it can be a program name with args.
8992 set dummy windres; ac_word=$2
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8994 $as_echo_n "checking for $ac_word... " >&6; }
8995 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8996 $as_echo_n "(cached) " >&6
8998 if test -n "$ac_ct_RC"; then
8999 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
9001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9005 test -z "$as_dir" && as_dir=.
9006 for ac_exec_ext in '' $ac_executable_extensions; do
9007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9008 ac_cv_prog_ac_ct_RC="windres"
9009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 ac_ct_RC=$ac_cv_prog_ac_ct_RC
9019 if test -n "$ac_ct_RC"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
9021 $as_echo "$ac_ct_RC" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9027 if test "x$ac_ct_RC" = x; then
9030 case $cross_compiling:$ac_tool_warned in
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9034 ac_tool_warned=yes ;;
9046 # Check whether --enable-upnp was given.
9047 if test "${enable_upnp+set}" = set; then :
9048 enableval=$enable_upnp;
9052 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
9059 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9060 if test -n "$ac_tool_prefix"; then
9061 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9062 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9064 $as_echo_n "checking for $ac_word... " >&6; }
9065 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9066 $as_echo_n "(cached) " >&6
9070 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9091 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9092 if test -n "$PKG_CONFIG"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9094 $as_echo "$PKG_CONFIG" >&6; }
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9102 if test -z "$ac_cv_path_PKG_CONFIG"; then
9103 ac_pt_PKG_CONFIG=$PKG_CONFIG
9104 # Extract the first word of "pkg-config", so it can be a program name with args.
9105 set dummy pkg-config; ac_word=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9107 $as_echo_n "checking for $ac_word... " >&6; }
9108 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9109 $as_echo_n "(cached) " >&6
9111 case $ac_pt_PKG_CONFIG in
9113 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir=.
9121 for ac_exec_ext in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9134 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9135 if test -n "$ac_pt_PKG_CONFIG"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9137 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9140 $as_echo "no" >&6; }
9143 if test "x$ac_pt_PKG_CONFIG" = x; then
9146 case $cross_compiling:$ac_tool_warned in
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9150 ac_tool_warned=yes ;;
9152 PKG_CONFIG=$ac_pt_PKG_CONFIG
9155 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9159 if test -n "$PKG_CONFIG"; then
9160 _pkg_min_version=0.9.0
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9162 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9163 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9165 $as_echo "yes" >&6; }
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9168 $as_echo "no" >&6; }
9173 if test ${enable_upnp:-yes} = yes; then :
9177 # Check whether --with-libupnp-prefix was given.
9178 if test "${with_libupnp_prefix+set}" = set; then :
9179 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
9183 if test $cross_compiling = no; then :
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
9186 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
9187 if test -n "$PKG_CONFIG"; then :
9189 if $PKG_CONFIG libupnp --exists; then :
9191 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
9192 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
9195 resultstr=" (version $LIBUPNP_VERSION)"
9196 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
9197 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
9198 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
9199 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
9200 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
9205 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
9212 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
9219 resultstr=" (pkg-config not found)"
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9223 $as_echo "$result$resultstr" >&6; }
9224 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
9229 libupnp_error="cross compiling"
9233 if test ${result:-no} = yes; then :
9234 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
9236 enable_upnp=disabled
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9238 UPnP code has been disabled because ${libupnp_error}." >&5
9239 $as_echo "$as_me: WARNING:
9240 UPnP code has been disabled because ${libupnp_error}." >&2;}
9242 _mule_has_warnings=yes
9251 # Check for Crypto++ (requires C++)
9252 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
9255 # Check whether --with-crypto-prefix was given.
9256 if test "${with_crypto_prefix+set}" = set; then :
9257 withval=$with_crypto_prefix;
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
9262 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
9264 cryptopp_found=false
9266 if test -n "$with_crypto_prefix"; then :
9268 CRYPTOPP_PREFIX="$with_crypto_prefix"
9269 # Find the Cryptopp header in the user-provided location
9270 if test -f $CRYPTOPP_PREFIX/cryptlib.h; then
9273 CRYPTOPP_LIB_NAME="cryptopp"
9274 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
9277 CRYPTOPP_LIBS="${CRYPTOPP_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
9281 for CRYPTOPP_LIB_NAME in "cryptopp" "crypto++"; do
9282 if test -f $CRYPTOPP_PREFIX/include/$CRYPTOPP_LIB_NAME/cryptlib.h; then :
9285 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9286 CRYPTOPP_CPPFLAGS="-I$CRYPTOPP_PREFIX/include"
9287 CRYPTOPP_LDFLAGS="-L$CRYPTOPP_PREFIX/lib"
9288 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
9299 # Check whether the compiler can find it
9300 for CRYPTOPP_LIB_NAME in "cryptopp" "crypto++"; do
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 #include <$CRYPTOPP_LIB_NAME/cryptlib.h>
9315 if ac_fn_cxx_try_compile "$LINENO"; then :
9318 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9321 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
9325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9330 if $cryptopp_found; then :
9332 # Find out the crypto++ version and check against the minimum required
9333 # Ask the compiler where are the crypto++ files
9334 mule_backup_CPPFLAGS="$CPPFLAGS"
9335 CPPFLAGS="$CPPFLAGS $CRYPTOPP_CPPFLAGS"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9339 #include <$CRYPTOPP_INCLUDE_PREFIX/cryptlib.h>
9342 cryptopp_header_path=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
sed -e '/^#.*cryptlib.h/{s/.*"\(.*\)".*/\1/;q;};d'`
9344 CPPFLAGS="$mule_backup_CPPFLAGS"
9345 # Set a prefix suitable for --with-crypto-prefix
9346 CRYPTOPP_PREFIX="${cryptopp_header_path%/*}"
9347 CRYPTOPP_PREFIX="${CRYPTOPP_PREFIX%/include/${CRYPTOPP_LIB_NAME}}"
9348 # Now check the version
9349 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
9350 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9351 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9353 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
9356 resultstr=" (version $CRYPTOPP_VERSION_STRING)"
9358 cat >>confdefs.h <<_ACEOF
9359 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
9366 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
9374 result="no"; resultstr=
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9378 $as_echo "$result$resultstr" >&6; }
9380 if test ${result:-no} = yes; then :
9382 # Check for CryptoPP >= 5.5
9383 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
9384 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
9390 Could not find crypto++ installation or sources.
9391 Please try again with --with-crypto-prefix=/my_crypto_prefix
9392 (replace /my_crypto_prefix with a valid path to your crypto++
9393 installation or source directory)." "$LINENO" 5
9402 # Check whether --enable-debug was given.
9403 if test "${enable_debug+set}" = set; then :
9404 enableval=$enable_debug;
9408 # Check whether --enable-profile was given.
9409 if test "${enable_profile+set}" = set; then :
9410 enableval=$enable_profile;
9414 # Check whether --enable-optimize was given.
9415 if test "${enable_optimize+set}" = set; then :
9416 enableval=$enable_optimize;
9421 if test ${enable_debug:-yes} = yes; then :
9423 MULECPPFLAGS="$MULECPPFLAGS -D__DEBUG__"
9425 MULECFLAGS="$MULECFLAGS -g"
9426 MULECXXFLAGS="$MULECXXFLAGS -g"
9428 if test ${GCC:-no} = yes; then :
9430 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9431 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9434 if test ${SYS:-unknown} = win32; then :
9435 MULERCFLAGS="$MULERCFLAGS -D__DEBUG__"
9440 if test ${GCC:-no} = yes; then :
9442 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef"
9443 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
9449 if test ${enable_profile:-no} = yes; then :
9452 MULECFLAGS="$MULECFLAGS -pg"
9453 MULECXXFLAGS="$MULECXXFLAGS -pg"
9455 MULELDFLAGS="$MULELDFLAGS -pg"
9459 if test ${enable_optimize:-no} = yes; then :
9461 MULECFLAGS="$MULECFLAGS -O2"
9462 MULECXXFLAGS="$MULECXXFLAGS -O2"
9466 MULECPPFLAGS="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
9470 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 :
9475 if test ${GCC:-no} = yes; then :
9477 mule_backup_CXXFLAGS="$CXXFLAGS"
9478 CXXFLAGS="$CXXFLAGS $MULECPPFLAGS $MULECFLAGS $MULECXXFLAGS -Werror"
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX) uses strict aliasing" >&5
9481 $as_echo_n "checking whether the C++ compiler ($CXX) uses strict aliasing... " >&6; }
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9491 short *b = (short*)&a;
9501 if ac_fn_cxx_try_compile "$LINENO"; then :
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9504 $as_echo "no" >&6; }
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9509 $as_echo "yes" >&6; }
9510 $as_echo "#define GCC_USES_STRICT_ALIASING 1" >>confdefs.h
9514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9516 CXXFLAGS="$mule_backup_CXXFLAGS"
9520 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
9522 mule_backup_CPPFLAGS="$CPPFLAGS"
9523 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
9526 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9532 #include <wx/filefn.h>
9533 #ifndef wxHAS_LARGE_FILES
9534 #error No LargeFile support!
9539 if ac_fn_cxx_try_cpp "$LINENO"; then :
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9542 $as_echo "yes" >&6; }
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9547 $as_echo "no" >&6; }
9549 Support for large files in wxWidgets is required by aMule.
9550 To continue you must recompile wxWidgets with support for
9551 large files enabled." "$LINENO" 5
9554 rm -f conftest.err conftest.$ac_ext
9556 CPPFLAGS="$mule_backup_CPPFLAGS"
9560 # Check if the compiler is broken, wrt. exceptions.
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
9563 $as_echo_n "checking for exception-handling... " >&6; }
9564 if test "$cross_compiling" = yes; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
9567 $as_echo "undeterminable" >&6; }
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9569 Cross-compilation detected, so exception handling cannot be tested.
9570 Note that broken exception handling in your compiler may lead to
9571 unexpected crashes." >&5
9572 $as_echo "$as_me: WARNING:
9573 Cross-compilation detected, so exception handling cannot be tested.
9574 Note that broken exception handling in your compiler may lead to
9575 unexpected crashes." >&2;}
9577 _mule_has_warnings=yes
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9601 if ac_fn_cxx_try_run "$LINENO"; then :
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9604 $as_echo "yes" >&6; }
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9609 $as_echo "no" >&6; }
9610 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
9613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9614 conftest.$ac_objext conftest.beam conftest.$ac_ext
9620 for ac_header in typeinfo
9622 ac_fn_cxx_check_header_mongrel "$LINENO" "typeinfo" "ac_cv_header_typeinfo" "$ac_includes_default"
9623 if test "x$ac_cv_header_typeinfo" = x""yes; then :
9624 cat >>confdefs.h <<_ACEOF
9625 #define HAVE_TYPEINFO 1
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
9633 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9635 /* end confdefs.h. */
9638 #ifdef HAVE_TYPEINFO
9639 # include <typeinfo>
9648 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
9649 std::type_info *ti = abi::__cxa_current_exception_type();
9656 if ac_fn_cxx_try_link "$LINENO"; then :
9659 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9662 $as_echo "yes" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9667 $as_echo "no" >&6; }
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9674 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 :
9677 # Check whether --with-boost was given.
9678 if test "${with_boost+set}" = set; then :
9679 withval=$with_boost;
9685 if test ${with_boost:-no} != no; then :
9687 echo "$as_me: this is boost.m4 serial 25" >&5
9689 boost_version_req=1.47
9691 set x $boost_version_req 0 0 0
9694 boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
9695 boost_version_req_string=$1.$2.$3
9696 # If BOOST_ROOT is set and the user has not provided a value to
9697 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
9698 if test x"$BOOST_ROOT" != x; then
9699 if test x"$with_boost" = x; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
9701 $as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
9702 with_boost=$BOOST_ROOT
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
9705 $as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
9708 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
9709 boost_save_CPPFLAGS=$CPPFLAGS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
9711 $as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
9712 if test "${boost_cv_inc_path+set}" = set; then :
9713 $as_echo_n "(cached) " >&6
9715 boost_cv_inc_path=no
9717 ac_cpp='$CXXCPP $CPPFLAGS'
9718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9723 #include <boost/version.hpp>
9724 #if !defined BOOST_VERSION
9725 # error BOOST_VERSION is not defined
9726 #elif BOOST_VERSION < $boost_version_req
9727 # error Boost headers version < $boost_version_req
9738 # If the user provided a value to --with-boost, use it and only it.
9739 case $with_boost in #(
9740 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
9741 /usr/include C:/Boost/include;; #(
9742 *) set x "$with_boost/include" "$with_boost";;
9747 # Without --layout=system, Boost (or at least some versions) installs
9748 # itself in <prefix>/include/boost-<version>. This inner loop helps to
9749 # find headers in such directories.
9751 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
9752 # order followed by ${boost_dir}. The final '.' is a sentinel for
9753 # searching $boost_dir" itself. Entries are whitespace separated.
9755 # I didn't indent this loop on purpose (to avoid over-indented code)
9756 boost_layout_system_search_list=`cd "$boost_dir" 2>/dev
/null \
9757 && ls -1 |
"${GREP}" '^boost-' |
sort -rn -t- -k2 \
9759 for boost_inc in $boost_layout_system_search_list
9761 if test x"$boost_inc" != x.; then
9762 boost_inc="$boost_dir/$boost_inc"
9764 boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
9766 if test x"$boost_inc" != x; then
9767 # We are going to check whether the version of Boost installed
9768 # in $boost_inc is usable by running a compilation that
9769 # #includes it. But if we pass a -I/some/path in which Boost
9770 # is not installed, the compiler will just skip this -I and
9771 # use other locations (either from CPPFLAGS, or from its list
9772 # of system include directories). As a result we would use
9773 # header installed on the machine instead of the /some/path
9774 # specified by the user. So in that precise case (trying
9775 # $boost_inc), make sure the version.hpp exists.
9777 # Use test -e as there can be symlinks.
9778 test -e "$boost_inc/boost/version.hpp" || continue
9779 CPPFLAGS="$CPPFLAGS -I$boost_inc"
9781 if ac_fn_cxx_try_compile "$LINENO"; then :
9782 boost_cv_inc_path=yes
9786 rm -f core conftest.err conftest.$ac_objext
9787 if test x"$boost_cv_inc_path" = xyes; then
9788 if test x"$boost_inc" != x; then
9789 boost_cv_inc_path=$boost_inc
9796 ac_cpp='$CXXCPP $CPPFLAGS'
9797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
9803 $as_echo "$boost_cv_inc_path" >&6; }
9804 case $boost_cv_inc_path in #(
9806 boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: $boost_errmsg" >&5
9808 $as_echo "$as_me: $boost_errmsg" >&6;}
9815 BOOST_CPPFLAGS="-I$boost_cv_inc_path"
9818 if test x"$boost_cv_inc_path" != xno; then
9820 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
9823 $as_echo_n "checking for Boost's header version... " >&6; }
9824 if test "${boost_cv_lib_version+set}" = set; then :
9825 $as_echo_n "(cached) " >&6
9828 ac_cpp='$CXXCPP $CPPFLAGS'
9829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9834 #include <boost/version.hpp>
9835 boost-lib-version = BOOST_LIB_VERSION
9837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9841 $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1; then :
9842 boost_cv_lib_version=`cat conftest.i
`
9846 ac_cpp='$CXXCPP $CPPFLAGS'
9847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
9853 $as_echo "$boost_cv_lib_version" >&6; }
9854 # e.g. "134" for 1_34_1 or "135" for 1_35
9855 boost_major_version=`echo "$boost_cv_lib_version" |
sed 's/_//;s/_.*//'`
9856 case $boost_major_version in #(
9858 as_fn_error "invalid value: boost_major_version='$boost_major_version'" "$LINENO" 5
9862 CPPFLAGS=$boost_save_CPPFLAGS
9864 if test ${with_boost:-no} != disabled; then :
9866 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9867 for cc_temp in $compiler""; do
9869 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9870 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9875 cc_basename=`echo "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
9876 # All known linkers require a `.a
' archive for static linking (except MSVC,
9877 # which needs '.lib
').
9879 case $cc_basename in
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
9884 $as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
9885 if test "${boost_cv_lib_tag+set}" = set; then :
9886 $as_echo_n "(cached) " >&6
9888 boost_cv_lib_tag=unknown
9889 if test x$boost_cv_inc_path != xno; then
9891 ac_cpp='$CXXCPP $CPPFLAGS'
9892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9893 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9895 # The following tests are mostly inspired by boost/config/auto_link.hpp
9896 # The list is sorted to most recent/common to oldest compiler (in order
9897 # to increase the likelihood of finding the right compiler with the
9898 # least number of compilation attempt).
9899 # Beware that some tests are sensible to the order (for instance, we must
9900 # look for MinGW before looking for GCC3).
9901 # I used one compilation test per compiler with a #error to recognize
9902 # each compiler so that it works even when cross-compiling (let me know
9903 # if you know a better approach).
9904 # Known missing tags (known from Boost's tools
/build
/v
2/tools
/common.jam
):
9905 # como, edg, kcc, bck, mp, sw, tru, xlc
9906 # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
9907 # the same defines as GCC's).
9909 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC && \
9910 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9911 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw53" \
9912 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc53" \
9913 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC && \
9914 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9915 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw52" \
9916 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc52" \
9917 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC && \
9918 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9919 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw51" \
9920 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc51" \
9921 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC && \
9922 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9923 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw50" \
9924 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc50" \
9925 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC && \
9926 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9927 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw410" \
9928 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC @ gcc410" \
9929 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC && \
9930 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9931 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw49" \
9932 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC @ gcc49" \
9933 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC && \
9934 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9935 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw48" \
9936 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC @ gcc48" \
9937 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC && \
9938 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9939 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw47" \
9940 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC @ gcc47" \
9941 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC && \
9942 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9943 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw46" \
9944 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC @ gcc46" \
9945 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC && \
9946 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9947 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw45" \
9948 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC @ gcc45" \
9949 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC && \
9950 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9951 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw44" \
9952 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc44" \
9953 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC && \
9954 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9955 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw43" \
9956 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc43" \
9957 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC && \
9958 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9959 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw42" \
9960 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc42" \
9961 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC && \
9962 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9963 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw41" \
9964 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc41" \
9965 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC && \
9966 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9967 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw40" \
9968 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc40" \
9969 "defined __GNUC__ && __GNUC__ == 3 && !defined __ICC \
9970 && (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9971 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw" \
9972 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc34" \
9973 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc33" \
9974 "defined _MSC_VER && _MSC_VER >= 1500 @ vc90" \
9975 "defined _MSC_VER && _MSC_VER == 1400 @ vc80" \
9976 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc32" \
9977 "defined _MSC_VER && _MSC_VER == 1310 @ vc71" \
9978 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc31" \
9979 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc30" \
9980 "defined __BORLANDC__ @ bcb" \
9981 "defined __ICC && (defined __unix || defined ) @ il" \
9982 "defined __ICL @ iw" \
9983 "defined _MSC_VER && _MSC_VER == 1300 @ vc7" \
9984 "defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ == 95 && !defined __ICC @ gcc295" \
9985 "defined __MWERKS__ && __MWERKS__ <= 0x32FF @ cw9" \
9986 "defined _MSC_VER && _MSC_VER < 1300 && !defined UNDER_CE @ vc6" \
9987 "defined _MSC_VER && _MSC_VER < 1300 && defined UNDER_CE @ evc4" \
9988 "defined __MWERKS__ && __MWERKS__ <= 0x31FF @ cw8"
9990 boost_tag_test
=`expr "X$i" : 'X\([^@]*\) @ '`
9991 boost_tag
=`expr "X$i" : 'X[^@]* @ \(.*\)'`
9992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9998 # error $boost_tag_test
10009 if ac_fn_cxx_try_compile
"$LINENO"; then :
10010 boost_cv_lib_tag
=$boost_tag; break
10012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10015 ac_cpp
='$CXXCPP $CPPFLAGS'
10016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10019 case $boost_cv_lib_tag in #(
10020 # Some newer (>= 1.35?) versions of Boost seem to only use "gcc" as opposed
10021 # to "gcc41" for instance.
10022 *-gcc |
*'-gcc ') :;; #( Don't re-add -gcc: it's already in there.
10025 case $host_os in #(
10027 if test $boost_major_version -ge 136; then
10028 # The `x' added in r46793 of Boost.
10032 # We can specify multiple tags in this variable because it's used by
10033 # BOOST_FIND_LIB that does a `for tag in -$boost_cv_lib_tag' ...
10034 boost_cv_lib_tag
="$boost_tag_x$boost_cv_lib_tag -${boost_tag_x}gcc"
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which toolset name to use for $CXX" >&5
10038 $as_echo "$as_me: WARNING: could not figure out which toolset name to use for $CXX" >&2;}
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
10045 $as_echo "$boost_cv_lib_tag" >&6; }
10046 # Check whether --enable-static-boost was given.
10047 if test "${enable_static_boost+set}" = set; then :
10048 enableval
=$enable_static_boost; enable_static_boost
=yes
10050 enable_static_boost
=no
10053 # Check whether we do better use `mt' even though we weren't ask to.
10055 ac_cpp
='$CXXCPP $CPPFLAGS'
10056 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10057 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10058 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 #if defined _REENTRANT || defined _MT || defined __MT__
10065 # error MT not needed
10076 if ac_fn_cxx_try_compile
"$LINENO"; then :
10077 boost_guess_use_mt
=:
10079 boost_guess_use_mt
=false
10081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10083 ac_cpp
='$CXXCPP $CPPFLAGS'
10084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost sources" >&5
10089 $as_echo_n "checking for Boost sources... " >&6; }
10090 mule_backup_CPPFLAGS
="$CPPFLAGS"
10091 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10095 #include <boost/../libs/system/src/error_code.cpp>
10105 if ac_fn_cxx_try_compile
"$LINENO"; then :
10108 $as_echo "#define HAVE_BOOST_SOURCES 1" >>confdefs.h
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10111 $as_echo "yes" >&6; }
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10116 $as_echo "no" >&6; }
10117 if test x
"$boost_cv_inc_path" = xno
; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for the Boost system library" >&5
10119 $as_echo "$as_me: Boost not available, not searching for the Boost system library" >&6;}
10122 ac_cpp
='$CXXCPP $CPPFLAGS'
10123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10126 if test x
"$boost_cv_inc_path" = xno
; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/system/error_code.hpp" >&5
10128 $as_echo "$as_me: Boost not available, not searching for boost/system/error_code.hpp" >&6;}
10131 ac_cpp
='$CXXCPP $CPPFLAGS'
10132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10135 boost_save_CPPFLAGS
=$CPPFLAGS
10136 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10137 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/system/error_code.hpp" "ac_cv_header_boost_system_error_code_hpp" "$ac_includes_default"
10138 if test "x$ac_cv_header_boost_system_error_code_hpp" = x
""yes; then :
10140 $as_echo "#define HAVE_BOOST_SYSTEM_ERROR_CODE_HPP 1" >>confdefs.h
10143 as_fn_error
"cannot find boost/system/error_code.hpp" "$LINENO" 5
10147 CPPFLAGS
=$boost_save_CPPFLAGS
10149 ac_cpp
='$CXXCPP $CPPFLAGS'
10150 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10151 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10152 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10155 boost_save_CPPFLAGS
=$CPPFLAGS
10156 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost system library" >&5
10158 $as_echo_n "checking for the Boost system library... " >&6; }
10159 if test "${boost_cv_lib_system+set}" = set; then :
10160 $as_echo_n "(cached) " >&6
10162 boost_cv_lib_system
=no
10164 (mt | mt-
) boost_mt
=-mt; boost_rtopt
=;; #(
10165 (mt
* | mt-
*) boost_mt
=-mt; boost_rtopt
=`expr "Xmt" : 'Xmt-*\(.*\)'`;; #(
10166 (*) boost_mt
=; boost_rtopt
=mt
;;
10168 if test $enable_static_boost = yes; then
10169 boost_rtopt
="s$boost_rtopt"
10171 # Find the proper debug variant depending on what we've been asked to find.
10172 case $boost_rtopt in #(
10173 (*d
*) boost_rt_d
=$boost_rtopt;; #(
10174 (*[sgpn
]*) # Insert the `d' at the right place (in between `sg' and `pn')
10175 boost_rt_d
=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #(
10176 (*) boost_rt_d
='-d';;
10178 # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
10179 test -n "$boost_rtopt" && boost_rtopt
="-$boost_rtopt"
10180 $boost_guess_use_mt && boost_mt
=-mt
10181 # Look for the abs path the static archive.
10182 # $libext is computed by Libtool but let's make sure it's non empty.
10183 test -z "$libext" &&
10184 as_fn_error
"the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
10185 boost_save_ac_objext
=$ac_objext
10186 # Generate the test file.
10187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 #include <boost/system/error_code.hpp>
10194 boost::system::error_code e; e.clear();
10199 if ac_fn_cxx_try_compile
"$LINENO"; then :
10200 ac_objext
=do_not_rm_me_plz
10202 as_fn_error
"cannot compile a test that uses Boost system" "$LINENO" 5
10204 rm -f core conftest.err conftest.
$ac_objext
10205 ac_objext
=$boost_save_ac_objext
10207 # Don't bother to ident the following nested for loops, only the 2
10208 # innermost ones matter.
10209 for boost_lib_
in system
; do
10210 for boost_tag_
in -$boost_cv_lib_tag ''; do
10211 for boost_ver_
in -$boost_cv_lib_version ''; do
10212 for boost_mt_
in $boost_mt -mt ''; do
10213 for boost_rtopt_
in $boost_rtopt '' -d; do
10215 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
10216 boost_
$boost_lib_$boost_tag_$boost_rtopt_$boost_ver_ \
10217 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_ver_ \
10218 boost_
$boost_lib_$boost_tag_$boost_ver_
10220 # Avoid testing twice the same lib
10221 case $boost_failed_libs in #(
10222 (*@
$boost_lib@
*) continue;;
10224 # If with_boost is empty, we'll search in /lib first, which is not quite
10225 # right so instead we'll try to a location based on where the headers are.
10226 boost_tmp_lib
=$with_boost
10227 test x
"$with_boost" = x
&& boost_tmp_lib
=${boost_cv_inc_path%/include}
10228 for boost_ldpath
in "$boost_tmp_lib/lib" '' \
10229 /opt
/local
/lib
* /usr
/local
/lib
* /opt
/lib
* /usr
/lib
* \
10230 "$with_boost" C
:/Boost
/lib
/lib
*
10232 # Don't waste time with directories that don't exist.
10233 if test x
"$boost_ldpath" != x
&& test ! -e "$boost_ldpath"; then
10236 boost_save_LDFLAGS
=$LDFLAGS
10237 # Are we looking for a static library?
10238 case $boost_ldpath:$boost_rtopt_ in #(
10239 (*?
*:*s
*) # Yes (Non empty boost_ldpath + s in rt opt)
10240 boost_cv_lib_system_LIBS
="$boost_ldpath/lib$boost_lib.$libext"
10241 test -e "$boost_cv_lib_system_LIBS" ||
continue;; #(
10242 (*) # No: use -lboost_foo to find the shared library.
10243 boost_cv_lib_system_LIBS
="-l$boost_lib";;
10245 boost_save_LIBS
=$LIBS
10246 LIBS
="$boost_cv_lib_system_LIBS $LIBS"
10247 test x
"$boost_ldpath" != x
&& LDFLAGS
="$LDFLAGS -L$boost_ldpath"
10248 rm -f conftest
$ac_exeext
10249 boost_save_ac_ext
=$ac_ext
10251 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10252 # tries to link the existing object file instead of compiling from source.
10253 test -f conftest.
$ac_objext && ac_ext
=$ac_objext && boost_use_source
=false
&&
10254 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10255 if { { ac_try
="$ac_link"
10256 case "(($ac_try" in
10257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10261 $as_echo "$ac_try_echo"; } >&5
10262 (eval "$ac_link") 2>conftest.err
10264 if test -s conftest.err; then
10265 grep -v '^ *+' conftest.err >conftest.er1
10266 cat conftest.er1 >&5
10267 mv -f conftest.er1 conftest.err
10269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10270 test $ac_status = 0; } && {
10271 test -z "$ac_cxx_werror_flag" ||
10272 test ! -s conftest.err
10273 } && test -s conftest$ac_exeext && {
10274 test "$cross_compiling" = yes ||
10275 $as_executable_p conftest$ac_exeext
10277 boost_cv_lib_system=yes
10279 if $boost_use_source; then
10280 $as_echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10284 boost_cv_lib_system=no
10286 ac_objext=$boost_save_ac_objext
10287 ac_ext=$boost_save_ac_ext
10288 rm -f core conftest.err conftest_ipa8_conftest.oo \
10290 ac_objext=$boost_save_ac_objext
10291 LDFLAGS=$boost_save_LDFLAGS
10292 LIBS=$boost_save_LIBS
10293 if test x"$boost_cv_lib_system" = xyes; then
10294 # Check or used cached result of whether or not using -R or
10295 # -rpath makes sense. Some implementations of ld, such as for
10296 # Mac OSX, require -rpath but -R is the flag known to work on
10297 # other systems. https://github.com/tsuna/boost.m4/issues/19
10298 if test "${boost_cv_rpath_link_ldflag+set}" = set; then :
10299 $as_echo_n "(cached) " >&6
10301 case $boost_ldpath in
10302 '') # Nothing to do.
10303 boost_cv_rpath_link_ldflag=
10304 boost_rpath_link_ldflag_found=yes;;
10306 for boost_cv_rpath_link_ldflag in -Wl,-R, -Wl,-rpath,; do
10307 LDFLAGS="$boost_save_LDFLAGS -L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10308 LIBS="$boost_save_LIBS $boost_cv_lib_system_LIBS"
10309 rm -f conftest$ac_exeext
10310 boost_save_ac_ext=$ac_ext
10312 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10313 # tries to link the existing object file instead of compiling from source.
10314 test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
10315 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10316 if { { ac_try="$ac_link"
10317 case "(($ac_try" in
10318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10319 *) ac_try_echo
=$ac_try;;
10321 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10322 $as_echo "$ac_try_echo"; } >&5
10323 (eval "$ac_link") 2>conftest.err
10325 if test -s conftest.err
; then
10326 grep -v '^ *+' conftest.err
>conftest.er1
10327 cat conftest.er1
>&5
10328 mv -f conftest.er1 conftest.err
10330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10331 test $ac_status = 0; } && {
10332 test -z "$ac_cxx_werror_flag" ||
10333 test ! -s conftest.err
10334 } && test -s conftest
$ac_exeext && {
10335 test "$cross_compiling" = yes ||
10336 $as_executable_p conftest
$ac_exeext
10338 boost_rpath_link_ldflag_found
=yes
10341 if $boost_use_source; then
10342 $as_echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.
$ac_ext >&5
10346 boost_rpath_link_ldflag_found
=no
10348 ac_objext
=$boost_save_ac_objext
10349 ac_ext
=$boost_save_ac_ext
10350 rm -f core conftest.err conftest_ipa8_conftest.oo \
10355 if test "x$boost_rpath_link_ldflag_found" != "xyes"; then :
10356 as_fn_error
"Unable to determine whether to use -R or -rpath" "$LINENO" 5
10358 LDFLAGS
=$boost_save_LDFLAGS
10359 LIBS
=$boost_save_LIBS
10363 test x
"$boost_ldpath" != x
&&
10364 boost_cv_lib_system_LDFLAGS
="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10365 boost_cv_lib_system_LDPATH
="$boost_ldpath"
10368 boost_failed_libs
="$boost_failed_libs@$boost_lib@"
10377 rm -f conftest.
$ac_objext
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_system" >&5
10381 $as_echo "$boost_cv_lib_system" >&6; }
10382 case $boost_cv_lib_system in #(
10383 (no
) $as_echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.
$ac_ext >&5
10386 as_fn_error
"cannot find the flags to link with Boost system" "$LINENO" 5
10389 BOOST_SYSTEM_LDFLAGS
=$boost_cv_lib_system_LDFLAGS
10390 BOOST_SYSTEM_LDPATH
=$boost_cv_lib_system_LDPATH
10391 BOOST_LDPATH
=$boost_cv_lib_system_LDPATH
10392 BOOST_SYSTEM_LIBS
=$boost_cv_lib_system_LIBS
10393 CPPFLAGS
=$boost_save_CPPFLAGS
10395 ac_cpp
='$CXXCPP $CPPFLAGS'
10396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10403 if test ${boost_cv_lib_system:-no} != yes; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10406 Boost support has been disabled because Boost.System not found" >&5
10407 $as_echo "$as_me: WARNING:
10408 Boost support has been disabled because Boost.System not found" >&2;}
10409 _mule_warning_8
=yes
10410 _mule_has_warnings
=yes
10412 with_boost
=disabled
10417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10418 CPPFLAGS
="$mule_backup_CPPFLAGS"
10419 if test x
"$boost_cv_inc_path" = xno
; then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10422 Boost support has been disabled because Boost.Asio not found" >&5
10423 $as_echo "$as_me: WARNING:
10424 Boost support has been disabled because Boost.Asio not found" >&2;}
10425 _mule_warning_9
=yes
10426 _mule_has_warnings
=yes
10428 with_boost
=disabled
10432 ac_cpp
='$CXXCPP $CPPFLAGS'
10433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10436 boost_save_CPPFLAGS
=$CPPFLAGS
10437 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10438 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/asio.hpp" "ac_cv_header_boost_asio_hpp" "$ac_includes_default"
10439 if test "x$ac_cv_header_boost_asio_hpp" = x
""yes; then :
10441 $as_echo "#define ASIO_SOCKETS 1" >>confdefs.h
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10446 Boost support has been disabled because Boost.Asio not found" >&5
10447 $as_echo "$as_me: WARNING:
10448 Boost support has been disabled because Boost.Asio not found" >&2;}
10449 _mule_warning_10
=yes
10450 _mule_has_warnings
=yes
10452 with_boost
=disabled
10457 CPPFLAGS
=$boost_save_CPPFLAGS
10459 ac_cpp
='$CXXCPP $CPPFLAGS'
10460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10468 Boost support has been disabled because of insufficient Boost version." >&5
10469 $as_echo "$as_me: WARNING:
10470 Boost support has been disabled because of insufficient Boost version." >&2;}
10471 _mule_warning_11
=yes
10472 _mule_has_warnings
=yes
10482 # Ok, we have all needed libs, now checking for other stuff
10483 if test "$LEX" = "flex"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
10486 $as_echo_n "checking for extended flex capabilities... " >&6; }
10488 extended_flex
=`flex --help | grep header-file`
10489 if test -n "$extended_flex"; then :
10490 HAVE_FLEX_EXTENDED
=yes
10492 HAVE_FLEX_EXTENDED
=no
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
10495 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
10497 if test $HAVE_FLEX_EXTENDED = no
; then :
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
10499 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
10503 HAVE_FLEX_EXTENDED
=no
10507 # Checks for header files.
10508 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10509 # for constant arguments. Useless!
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
10511 $as_echo_n "checking for working alloca.h... " >&6; }
10512 if test "${ac_cv_working_alloca_h+set}" = set; then :
10513 $as_echo_n "(cached) " >&6
10515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10517 #include <alloca.h>
10521 char *p = (char *) alloca (2 * sizeof (int));
10527 if ac_fn_cxx_try_link
"$LINENO"; then :
10528 ac_cv_working_alloca_h
=yes
10530 ac_cv_working_alloca_h
=no
10532 rm -f core conftest.err conftest.
$ac_objext \
10533 conftest
$ac_exeext conftest.
$ac_ext
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
10536 $as_echo "$ac_cv_working_alloca_h" >&6; }
10537 if test $ac_cv_working_alloca_h = yes; then
10539 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
10544 $as_echo_n "checking for alloca... " >&6; }
10545 if test "${ac_cv_func_alloca_works+set}" = set; then :
10546 $as_echo_n "(cached) " >&6
10548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 # define alloca __builtin_alloca
10554 # include <malloc.h>
10555 # define alloca _alloca
10557 # ifdef HAVE_ALLOCA_H
10558 # include <alloca.h>
10563 # ifndef alloca /* predefined by HP cc +Olibcalls */
10574 char *p = (char *) alloca (1);
10580 if ac_fn_cxx_try_link
"$LINENO"; then :
10581 ac_cv_func_alloca_works
=yes
10583 ac_cv_func_alloca_works
=no
10585 rm -f core conftest.err conftest.
$ac_objext \
10586 conftest
$ac_exeext conftest.
$ac_ext
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
10589 $as_echo "$ac_cv_func_alloca_works" >&6; }
10591 if test $ac_cv_func_alloca_works = yes; then
10593 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
10596 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10597 # that cause trouble. Some versions do not even contain alloca or
10598 # contain a buggy version. If you still want to use their alloca,
10599 # use ar to extract alloca.o from them instead of compiling alloca.c.
10601 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
10603 $as_echo "#define C_ALLOCA 1" >>confdefs.h
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
10607 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
10608 if test "${ac_cv_os_cray+set}" = set; then :
10609 $as_echo_n "(cached) " >&6
10611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10613 #if defined CRAY && ! defined CRAY2
10620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10621 $EGREP "webecray" >/dev
/null
2>&1; then :
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
10630 $as_echo "$ac_cv_os_cray" >&6; }
10631 if test $ac_cv_os_cray = yes; then
10632 for ac_func
in _getb67 GETB67 getb67
; do
10633 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10634 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10635 eval as_val
=\$
$as_ac_var
10636 if test "x$as_val" = x
""yes; then :
10638 cat >>confdefs.h
<<_ACEOF
10639 #define CRAY_STACKSEG_END $ac_func
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
10649 $as_echo_n "checking stack direction for C alloca... " >&6; }
10650 if test "${ac_cv_c_stack_direction+set}" = set; then :
10651 $as_echo_n "(cached) " >&6
10653 if test "$cross_compiling" = yes; then :
10654 ac_cv_c_stack_direction
=0
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10658 $ac_includes_default
10660 find_stack_direction ()
10662 static char *addr = 0;
10667 return find_stack_direction ();
10670 return (&dummy > addr) ? 1 : -1;
10676 return find_stack_direction () < 0;
10679 if ac_fn_cxx_try_run
"$LINENO"; then :
10680 ac_cv_c_stack_direction
=1
10682 ac_cv_c_stack_direction
=-1
10684 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10685 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
10690 $as_echo "$ac_cv_c_stack_direction" >&6; }
10691 cat >>confdefs.h
<<_ACEOF
10692 #define STACK_DIRECTION $ac_cv_c_stack_direction
10698 ac_header_dirent
=no
10699 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
10700 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
10702 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
10703 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
10704 $as_echo_n "(cached) " >&6
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 #include <sys/types.h>
10720 if ac_fn_cxx_try_compile
"$LINENO"; then :
10721 eval "$as_ac_Header=yes"
10723 eval "$as_ac_Header=no"
10725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10727 eval ac_res
=\$
$as_ac_Header
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10729 $as_echo "$ac_res" >&6; }
10730 eval as_val
=\$
$as_ac_Header
10731 if test "x$as_val" = x
""yes; then :
10732 cat >>confdefs.h
<<_ACEOF
10733 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10736 ac_header_dirent
=$ac_hdr; break
10740 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10741 if test $ac_header_dirent = dirent.h
; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10743 $as_echo_n "checking for library containing opendir... " >&6; }
10744 if test "${ac_cv_search_opendir+set}" = set; then :
10745 $as_echo_n "(cached) " >&6
10747 ac_func_search_save_LIBS
=$LIBS
10748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10766 for ac_lib
in '' dir
; do
10767 if test -z "$ac_lib"; then
10768 ac_res
="none required"
10771 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10773 if ac_fn_cxx_try_link
"$LINENO"; then :
10774 ac_cv_search_opendir
=$ac_res
10776 rm -f core conftest.err conftest.
$ac_objext \
10778 if test "${ac_cv_search_opendir+set}" = set; then :
10782 if test "${ac_cv_search_opendir+set}" = set; then :
10785 ac_cv_search_opendir
=no
10787 rm conftest.
$ac_ext
10788 LIBS
=$ac_func_search_save_LIBS
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10791 $as_echo "$ac_cv_search_opendir" >&6; }
10792 ac_res
=$ac_cv_search_opendir
10793 if test "$ac_res" != no
; then :
10794 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10800 $as_echo_n "checking for library containing opendir... " >&6; }
10801 if test "${ac_cv_search_opendir+set}" = set; then :
10802 $as_echo_n "(cached) " >&6
10804 ac_func_search_save_LIBS
=$LIBS
10805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10823 for ac_lib
in '' x
; do
10824 if test -z "$ac_lib"; then
10825 ac_res
="none required"
10828 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10830 if ac_fn_cxx_try_link
"$LINENO"; then :
10831 ac_cv_search_opendir
=$ac_res
10833 rm -f core conftest.err conftest.
$ac_objext \
10835 if test "${ac_cv_search_opendir+set}" = set; then :
10839 if test "${ac_cv_search_opendir+set}" = set; then :
10842 ac_cv_search_opendir
=no
10844 rm conftest.
$ac_ext
10845 LIBS
=$ac_func_search_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10848 $as_echo "$ac_cv_search_opendir" >&6; }
10849 ac_res
=$ac_cv_search_opendir
10850 if test "$ac_res" != no
; then :
10851 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10858 $as_echo_n "checking for ANSI C header files... " >&6; }
10859 if test "${ac_cv_header_stdc+set}" = set; then :
10860 $as_echo_n "(cached) " >&6
10862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10864 #include <stdlib.h>
10865 #include <stdarg.h>
10866 #include <string.h>
10877 if ac_fn_cxx_try_compile
"$LINENO"; then :
10878 ac_cv_header_stdc
=yes
10880 ac_cv_header_stdc
=no
10882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10884 if test $ac_cv_header_stdc = yes; then
10885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10888 #include <string.h>
10891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10892 $EGREP "memchr" >/dev
/null
2>&1; then :
10895 ac_cv_header_stdc
=no
10901 if test $ac_cv_header_stdc = yes; then
10902 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10905 #include <stdlib.h>
10908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10909 $EGREP "free" >/dev
/null
2>&1; then :
10912 ac_cv_header_stdc
=no
10918 if test $ac_cv_header_stdc = yes; then
10919 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10920 if test "$cross_compiling" = yes; then :
10923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 #include <stdlib.h>
10927 #if ((' ' & 0x0FF) == 0x020)
10928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10931 # define ISLOWER(c) \
10932 (('a' <= (c) && (c) <= 'i') \
10933 || ('j' <= (c) && (c) <= 'r') \
10934 || ('s' <= (c) && (c) <= 'z'))
10935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10943 for (i = 0; i < 256; i++)
10944 if (XOR (islower (i), ISLOWER (i))
10945 || toupper (i) != TOUPPER (i))
10950 if ac_fn_cxx_try_run
"$LINENO"; then :
10953 ac_cv_header_stdc
=no
10955 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10956 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10962 $as_echo "$ac_cv_header_stdc" >&6; }
10963 if test $ac_cv_header_stdc = yes; then
10965 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10969 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
10971 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10972 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10973 eval as_val
=\$
$as_ac_Header
10974 if test "x$as_val" = x
""yes; then :
10975 cat >>confdefs.h
<<_ACEOF
10976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
10984 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
10985 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
10986 $as_echo_n "(cached) " >&6
10988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10990 #include <sys/types.h>
10991 #include <sys/wait.h>
10992 #ifndef WEXITSTATUS
10993 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
10996 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11004 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11009 if ac_fn_cxx_try_compile
"$LINENO"; then :
11010 ac_cv_header_sys_wait_h
=yes
11012 ac_cv_header_sys_wait_h
=no
11014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
11017 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11018 if test $ac_cv_header_sys_wait_h = yes; then
11020 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
11026 # Checks for typedefs, structures, and compiler characteristics.
11027 ac_fn_cxx_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11028 if test "x$ac_cv_type_mode_t" = x
""yes; then :
11032 cat >>confdefs.h
<<_ACEOF
11038 ac_fn_cxx_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
11039 if test "x$ac_cv_type_off_t" = x
""yes; then :
11043 cat >>confdefs.h
<<_ACEOF
11044 #define off_t long int
11049 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11050 if test "x$ac_cv_type_size_t" = x
""yes; then :
11054 cat >>confdefs.h
<<_ACEOF
11055 #define size_t unsigned int
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11061 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11062 if test "${ac_cv_header_time+set}" = set; then :
11063 $as_echo_n "(cached) " >&6
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 #include <sys/types.h>
11068 #include <sys/time.h>
11074 if ((struct tm *) 0)
11080 if ac_fn_cxx_try_compile
"$LINENO"; then :
11081 ac_cv_header_time
=yes
11083 ac_cv_header_time
=no
11085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11088 $as_echo "$ac_cv_header_time" >&6; }
11089 if test $ac_cv_header_time = yes; then
11091 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11096 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11097 if test "${ac_cv_struct_tm+set}" = set; then :
11098 $as_echo_n "(cached) " >&6
11100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11102 #include <sys/types.h>
11109 int *p = &tm.tm_sec;
11115 if ac_fn_cxx_try_compile
"$LINENO"; then :
11116 ac_cv_struct_tm
=time.h
11118 ac_cv_struct_tm
=sys
/time.h
11120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
11123 $as_echo "$ac_cv_struct_tm" >&6; }
11124 if test $ac_cv_struct_tm = sys
/time.h
; then
11126 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11131 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11132 if test "${ac_cv_type_uid_t+set}" = set; then :
11133 $as_echo_n "(cached) " >&6
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 #include <sys/types.h>
11140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11141 $EGREP "uid_t" >/dev
/null
2>&1; then :
11142 ac_cv_type_uid_t
=yes
11144 ac_cv_type_uid_t
=no
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11150 $as_echo "$ac_cv_type_uid_t" >&6; }
11151 if test $ac_cv_type_uid_t = no
; then
11153 $as_echo "#define uid_t int" >>confdefs.h
11156 $as_echo "#define gid_t int" >>confdefs.h
11160 ac_fn_cxx_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
11161 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
11163 cat >>confdefs.h
<<_ACEOF
11164 #define HAVE_PTRDIFF_T 1
11172 # Checks for library functions.
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
11174 $as_echo_n "checking whether closedir returns void... " >&6; }
11175 if test "${ac_cv_func_closedir_void+set}" = set; then :
11176 $as_echo_n "(cached) " >&6
11178 if test "$cross_compiling" = yes; then :
11179 ac_cv_func_closedir_void
=yes
11181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11183 $ac_includes_default
11184 #include <$ac_header_dirent>
11185 #ifndef __cplusplus
11192 return closedir (opendir (".")) != 0;
11197 if ac_fn_cxx_try_run
"$LINENO"; then :
11198 ac_cv_func_closedir_void
=no
11200 ac_cv_func_closedir_void
=yes
11202 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11203 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
11208 $as_echo "$ac_cv_func_closedir_void" >&6; }
11209 if test $ac_cv_func_closedir_void = yes; then
11211 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
11215 if test $ac_cv_c_compiler_gnu = yes; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11217 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11218 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11221 ac_pattern
="Autoconf.*'x'"
11222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11228 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11229 ac_cv_prog_gcc_traditional
=yes
11231 ac_cv_prog_gcc_traditional
=no
11236 if test $ac_cv_prog_gcc_traditional = no
; then
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 #include <termio.h>
11242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11243 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11244 ac_cv_prog_gcc_traditional
=yes
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11251 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11252 if test $ac_cv_prog_gcc_traditional = yes; then
11253 CC
="$CC -traditional"
11257 ac_fn_cxx_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11258 if test "x$ac_cv_type_pid_t" = x
""yes; then :
11262 cat >>confdefs.h
<<_ACEOF
11268 for ac_header
in vfork.h
11270 ac_fn_cxx_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11271 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
11272 cat >>confdefs.h
<<_ACEOF
11273 #define HAVE_VFORK_H 1
11280 for ac_func
in fork vfork
11282 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11283 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11284 eval as_val
=\$
$as_ac_var
11285 if test "x$as_val" = x
""yes; then :
11286 cat >>confdefs.h
<<_ACEOF
11287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11293 if test "x$ac_cv_func_fork" = xyes
; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11295 $as_echo_n "checking for working fork... " >&6; }
11296 if test "${ac_cv_func_fork_works+set}" = set; then :
11297 $as_echo_n "(cached) " >&6
11299 if test "$cross_compiling" = yes; then :
11300 ac_cv_func_fork_works
=cross
11302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 $ac_includes_default
11309 /* By Ruediger Kuhlmann. */
11310 return fork () < 0;
11316 if ac_fn_cxx_try_run
"$LINENO"; then :
11317 ac_cv_func_fork_works
=yes
11319 ac_cv_func_fork_works
=no
11321 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11322 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
11327 $as_echo "$ac_cv_func_fork_works" >&6; }
11330 ac_cv_func_fork_works
=$ac_cv_func_fork
11332 if test "x$ac_cv_func_fork_works" = xcross
; then
11334 *-*-amigaos* |
*-*-msdosdjgpp*)
11335 # Override, as these systems have only a dummy fork() stub
11336 ac_cv_func_fork_works
=no
11339 ac_cv_func_fork_works
=yes
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11343 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11345 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11346 if test "x$ac_cv_func_vfork" = xyes
; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11348 $as_echo_n "checking for working vfork... " >&6; }
11349 if test "${ac_cv_func_vfork_works+set}" = set; then :
11350 $as_echo_n "(cached) " >&6
11352 if test "$cross_compiling" = yes; then :
11353 ac_cv_func_vfork_works
=cross
11355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357 /* Thanks to Paul Eggert for this test. */
11358 $ac_includes_default
11359 #include <sys/wait.h>
11360 #ifdef HAVE_VFORK_H
11361 # include <vfork.h>
11363 /* On some sparc systems, changes by the child to local and incoming
11364 argument registers are propagated back to the parent. The compiler
11365 is told about this with #include <vfork.h>, but some compilers
11366 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11367 static variable whose address is put into a register that is
11368 clobbered by the vfork. */
11371 sparc_address_test (int arg)
11373 sparc_address_test (arg) int arg;
11376 static pid_t child;
11394 pid_t parent = getpid ();
11397 sparc_address_test (0);
11402 /* Here is another test for sparc vfork register problems. This
11403 test uses lots of local variables, at least as many local
11404 variables as main has allocated so far including compiler
11405 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11406 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11407 reuse the register of parent for one of the local variables,
11408 since it will think that parent can't possibly be used any more
11409 in this routine. Assigning to the local variable will thus
11410 munge parent in the parent process. */
11412 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11413 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11414 /* Convince the compiler that p..p7 are live; otherwise, it might
11415 use the same hardware register for all 8 local variables. */
11416 if (p != p1 || p != p2 || p != p3 || p != p4
11417 || p != p5 || p != p6 || p != p7)
11420 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11421 from child file descriptors. If the child closes a descriptor
11422 before it execs or exits, this munges the parent's descriptor
11423 as well. Test for this by closing stdout in the child. */
11424 _exit(close(fileno(stdout)) != 0);
11429 while (wait(&status) != child)
11432 /* Was there some problem with vforking? */
11435 /* Did the child fail? (This shouldn't happen.) */
11438 /* Did the vfork/compiler bug occur? */
11439 || parent != getpid()
11441 /* Did the file descriptor bug occur? */
11442 || fstat(fileno(stdout), &st) != 0
11447 if ac_fn_cxx_try_run
"$LINENO"; then :
11448 ac_cv_func_vfork_works
=yes
11450 ac_cv_func_vfork_works
=no
11452 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11453 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11458 $as_echo "$ac_cv_func_vfork_works" >&6; }
11461 if test "x$ac_cv_func_fork_works" = xcross
; then
11462 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11464 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11467 if test "x$ac_cv_func_vfork_works" = xyes
; then
11469 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
11473 $as_echo "#define vfork fork" >>confdefs.h
11476 if test "x$ac_cv_func_fork_works" = xyes
; then
11478 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11483 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11484 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
11485 $as_echo_n "(cached) " >&6
11487 rm -f conftest.sym conftest.
file
11488 echo >conftest.
file
11489 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11490 if test "$cross_compiling" = yes; then :
11491 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 $ac_includes_default
11500 /* Linux will dereference the symlink and fail, as required by POSIX.
11501 That is better in the sense that it means we will not
11502 have to compile and use the lstat wrapper. */
11503 return lstat ("conftest.sym/", &sbuf) == 0;
11508 if ac_fn_cxx_try_run
"$LINENO"; then :
11509 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11511 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11513 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11514 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11518 # If the `ln -s' command failed, then we probably don't even
11519 # have an lstat function.
11520 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11522 rm -f conftest.sym conftest.
file
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11526 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11528 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11530 cat >>confdefs.h
<<_ACEOF
11531 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11535 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11536 case " $LIBOBJS " in
11537 *" lstat.$ac_objext "* ) ;;
11538 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11544 if test x
$SYS != xwin32
; then :
11546 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
11547 # -lseq on Dynix/PTX, -lgen on Unixware.
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
11549 $as_echo_n "checking for library containing getmntent... " >&6; }
11550 if test "${ac_cv_search_getmntent+set}" = set; then :
11551 $as_echo_n "(cached) " >&6
11553 ac_func_search_save_LIBS
=$LIBS
11554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11567 return getmntent ();
11572 for ac_lib
in '' sun
seq gen
; do
11573 if test -z "$ac_lib"; then
11574 ac_res
="none required"
11577 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11579 if ac_fn_cxx_try_link
"$LINENO"; then :
11580 ac_cv_search_getmntent
=$ac_res
11582 rm -f core conftest.err conftest.
$ac_objext \
11584 if test "${ac_cv_search_getmntent+set}" = set; then :
11588 if test "${ac_cv_search_getmntent+set}" = set; then :
11591 ac_cv_search_getmntent
=no
11593 rm conftest.
$ac_ext
11594 LIBS
=$ac_func_search_save_LIBS
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
11597 $as_echo "$ac_cv_search_getmntent" >&6; }
11598 ac_res
=$ac_cv_search_getmntent
11599 if test "$ac_res" != no
; then :
11600 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11601 ac_cv_func_getmntent
=yes
11603 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
11606 ac_cv_func_getmntent
=no
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
11611 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
11612 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
11613 $as_echo_n "(cached) " >&6
11615 if test "$cross_compiling" = yes; then :
11616 ac_cv_func_lstat_empty_string_bug
=yes
11618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 $ac_includes_default
11625 return lstat ("", &sbuf) == 0;
11630 if ac_fn_cxx_try_run
"$LINENO"; then :
11631 ac_cv_func_lstat_empty_string_bug
=no
11633 ac_cv_func_lstat_empty_string_bug
=yes
11635 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11636 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
11641 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
11642 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11643 case " $LIBOBJS " in
11644 *" lstat.$ac_objext "* ) ;;
11645 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11650 cat >>confdefs.h
<<_ACEOF
11651 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11657 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11658 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
11659 $as_echo_n "(cached) " >&6
11661 rm -f conftest.sym conftest.
file
11662 echo >conftest.
file
11663 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11664 if test "$cross_compiling" = yes; then :
11665 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 $ac_includes_default
11674 /* Linux will dereference the symlink and fail, as required by POSIX.
11675 That is better in the sense that it means we will not
11676 have to compile and use the lstat wrapper. */
11677 return lstat ("conftest.sym/", &sbuf) == 0;
11682 if ac_fn_cxx_try_run
"$LINENO"; then :
11683 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11685 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11692 # If the `ln -s' command failed, then we probably don't even
11693 # have an lstat function.
11694 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11696 rm -f conftest.sym conftest.
file
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11700 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11702 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11704 cat >>confdefs.h
<<_ACEOF
11705 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11709 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11710 case " $LIBOBJS " in
11711 *" lstat.$ac_objext "* ) ;;
11712 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
11721 $as_echo_n "checking for working memcmp... " >&6; }
11722 if test "${ac_cv_func_memcmp_working+set}" = set; then :
11723 $as_echo_n "(cached) " >&6
11725 if test "$cross_compiling" = yes; then :
11726 ac_cv_func_memcmp_working
=no
11728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11730 $ac_includes_default
11735 /* Some versions of memcmp are not 8-bit clean. */
11736 char c0 = '\100', c1 = '\200', c2 = '\201';
11737 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11740 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11741 or more and with at least one buffer not starting on a 4-byte boundary.
11742 William Lewis provided this test program. */
11747 for (i = 0; i < 4; i++)
11751 strcpy (a, "--------01111111");
11752 strcpy (b, "--------10000000");
11753 if (memcmp (a, b, 16) >= 0)
11763 if ac_fn_cxx_try_run
"$LINENO"; then :
11764 ac_cv_func_memcmp_working
=yes
11766 ac_cv_func_memcmp_working
=no
11768 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11769 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
11774 $as_echo "$ac_cv_func_memcmp_working" >&6; }
11775 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
11776 *" memcmp.$ac_objext "* ) ;;
11777 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
11782 for ac_header
in sys
/select.h sys
/socket.h
11784 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11785 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11786 eval as_val
=\$
$as_ac_Header
11787 if test "x$as_val" = x
""yes; then :
11788 cat >>confdefs.h
<<_ACEOF
11789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
11797 $as_echo_n "checking types of arguments for select... " >&6; }
11798 if test "${ac_cv_func_select_args+set}" = set; then :
11799 $as_echo_n "(cached) " >&6
11801 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
11802 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
11803 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
11804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 $ac_includes_default
11807 #ifdef HAVE_SYS_SELECT_H
11808 # include <sys/select.h>
11810 #ifdef HAVE_SYS_SOCKET_H
11811 # include <sys/socket.h>
11817 extern int select ($ac_arg1,
11818 $ac_arg234, $ac_arg234, $ac_arg234,
11824 if ac_fn_cxx_try_compile
"$LINENO"; then :
11825 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11831 # Provide a safe default value.
11832 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
11836 $as_echo "$ac_cv_func_select_args" >&6; }
11837 ac_save_IFS
=$IFS; IFS
=','
11838 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11842 cat >>confdefs.h
<<_ACEOF
11843 #define SELECT_TYPE_ARG1 $1
11847 cat >>confdefs.h
<<_ACEOF
11848 #define SELECT_TYPE_ARG234 ($2)
11852 cat >>confdefs.h
<<_ACEOF
11853 #define SELECT_TYPE_ARG5 ($3)
11858 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
11859 $as_echo_n "(cached) " >&6
11861 ac_cv_func_setvbuf_reversed
=no
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11866 $as_echo_n "checking return type of signal handlers... " >&6; }
11867 if test "${ac_cv_type_signal+set}" = set; then :
11868 $as_echo_n "(cached) " >&6
11870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11872 #include <sys/types.h>
11873 #include <signal.h>
11878 return *(signal (0, 0)) (0) == 1;
11883 if ac_fn_cxx_try_compile
"$LINENO"; then :
11884 ac_cv_type_signal
=int
11886 ac_cv_type_signal
=void
11888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11891 $as_echo "$ac_cv_type_signal" >&6; }
11893 cat >>confdefs.h
<<_ACEOF
11894 #define RETSIGTYPE $ac_cv_type_signal
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
11899 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
11900 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
11901 $as_echo_n "(cached) " >&6
11903 if test "$cross_compiling" = yes; then :
11904 ac_cv_func_stat_empty_string_bug
=yes
11906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11908 $ac_includes_default
11913 return stat ("", &sbuf) == 0;
11918 if ac_fn_cxx_try_run
"$LINENO"; then :
11919 ac_cv_func_stat_empty_string_bug
=no
11921 ac_cv_func_stat_empty_string_bug
=yes
11923 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11924 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
11929 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
11930 if test $ac_cv_func_stat_empty_string_bug = yes; then
11931 case " $LIBOBJS " in
11932 *" stat.$ac_objext "* ) ;;
11933 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
11938 cat >>confdefs.h
<<_ACEOF
11939 #define HAVE_STAT_EMPTY_STRING_BUG 1
11944 for ac_func
in strftime
11946 ac_fn_cxx_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
11947 if test "x$ac_cv_func_strftime" = x
""yes; then :
11948 cat >>confdefs.h
<<_ACEOF
11949 #define HAVE_STRFTIME 1
11953 # strftime is in -lintl on SCO UNIX.
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
11955 $as_echo_n "checking for strftime in -lintl... " >&6; }
11956 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
11957 $as_echo_n "(cached) " >&6
11959 ac_check_lib_save_LIBS
=$LIBS
11960 LIBS
="-lintl $LIBS"
11961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11964 /* Override any GCC internal prototype to avoid an error.
11965 Use char because int might match the return type of a GCC
11966 builtin and then its argument prototype would still apply. */
11974 return strftime ();
11979 if ac_fn_cxx_try_link
"$LINENO"; then :
11980 ac_cv_lib_intl_strftime
=yes
11982 ac_cv_lib_intl_strftime
=no
11984 rm -f core conftest.err conftest.
$ac_objext \
11985 conftest
$ac_exeext conftest.
$ac_ext
11986 LIBS
=$ac_check_lib_save_LIBS
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
11989 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
11990 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
11991 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
11993 LIBS
="-lintl $LIBS"
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12000 $as_echo_n "checking for working strtod... " >&6; }
12001 if test "${ac_cv_func_strtod+set}" = set; then :
12002 $as_echo_n "(cached) " >&6
12004 if test "$cross_compiling" = yes; then :
12005 ac_cv_func_strtod
=no
12007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 $ac_includes_default
12018 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12019 char *string = " +69";
12022 value = strtod (string, &term);
12023 if (value != 69 || term != (string + 4))
12028 /* Under Solaris 2.4, strtod returns the wrong value for the
12029 terminating character under some conditions. */
12030 char *string = "NaN";
12032 strtod (string, &term);
12033 if (term != string && *(term - 1) == 0)
12040 if ac_fn_cxx_try_run
"$LINENO"; then :
12041 ac_cv_func_strtod
=yes
12043 ac_cv_func_strtod
=no
12045 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12046 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12051 $as_echo "$ac_cv_func_strtod" >&6; }
12052 if test $ac_cv_func_strtod = no
; then
12053 case " $LIBOBJS " in
12054 *" strtod.$ac_objext "* ) ;;
12055 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
12059 ac_fn_cxx_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12060 if test "x$ac_cv_func_pow" = x
""yes; then :
12064 if test $ac_cv_func_pow = no
; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12066 $as_echo_n "checking for pow in -lm... " >&6; }
12067 if test "${ac_cv_lib_m_pow+set}" = set; then :
12068 $as_echo_n "(cached) " >&6
12070 ac_check_lib_save_LIBS
=$LIBS
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12090 if ac_fn_cxx_try_link
"$LINENO"; then :
12091 ac_cv_lib_m_pow
=yes
12095 rm -f core conftest.err conftest.
$ac_objext \
12096 conftest
$ac_exeext conftest.
$ac_ext
12097 LIBS
=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12100 $as_echo "$ac_cv_lib_m_pow" >&6; }
12101 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12105 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12112 for ac_func
in vprintf
12114 ac_fn_cxx_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
12115 if test "x$ac_cv_func_vprintf" = x
""yes; then :
12116 cat >>confdefs.h
<<_ACEOF
12117 #define HAVE_VPRINTF 1
12120 ac_fn_cxx_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
12121 if test "x$ac_cv_func__doprnt" = x
""yes; then :
12123 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12131 if test $cross_compiling = yes -a $gnumalloc = yes; then :
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12134 configure cannot check whether malloc() and realloc() are GNU libc
12135 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12136 run configure with the --without-gnu-malloc switch." >&5
12137 $as_echo "$as_me: WARNING:
12138 configure cannot check whether malloc() and realloc() are GNU libc
12139 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12140 run configure with the --without-gnu-malloc switch." >&2;}
12141 _mule_warning_12
=yes
12142 _mule_has_warnings
=yes
12144 ac_cv_func_malloc_0_nonnull
=yes
12145 ac_cv_func_realloc_0_nonnull
=yes
12148 for ac_header
in stdlib.h
12150 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12151 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
12152 cat >>confdefs.h
<<_ACEOF
12153 #define HAVE_STDLIB_H 1
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12161 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12162 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
12163 $as_echo_n "(cached) " >&6
12165 if test "$cross_compiling" = yes; then :
12166 ac_cv_func_malloc_0_nonnull
=no
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12170 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12171 # include <stdlib.h>
12179 return ! malloc (0);
12184 if ac_fn_cxx_try_run
"$LINENO"; then :
12185 ac_cv_func_malloc_0_nonnull
=yes
12187 ac_cv_func_malloc_0_nonnull
=no
12189 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12190 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12195 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12196 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12198 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12201 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12203 case " $LIBOBJS " in
12204 *" malloc.$ac_objext "* ) ;;
12205 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
12210 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12215 for ac_header
in stdlib.h
12217 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12218 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
12219 cat >>confdefs.h
<<_ACEOF
12220 #define HAVE_STDLIB_H 1
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12228 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12229 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
12230 $as_echo_n "(cached) " >&6
12232 if test "$cross_compiling" = yes; then :
12233 ac_cv_func_realloc_0_nonnull
=no
12235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12237 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12238 # include <stdlib.h>
12246 return ! realloc (0, 0);
12251 if ac_fn_cxx_try_run
"$LINENO"; then :
12252 ac_cv_func_realloc_0_nonnull
=yes
12254 ac_cv_func_realloc_0_nonnull
=no
12256 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12257 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12262 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12263 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12265 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12268 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12270 case " $LIBOBJS " in
12271 *" realloc.$ac_objext "* ) ;;
12272 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
12277 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12282 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
12284 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12285 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12286 eval as_val
=\$
$as_ac_var
12287 if test "x$as_val" = x
""yes; then :
12288 cat >>confdefs.h
<<_ACEOF
12289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12300 for ac_header
in $ac_header_list
12302 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12303 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12305 eval as_val
=\$
$as_ac_Header
12306 if test "x$as_val" = x
""yes; then :
12307 cat >>confdefs.h
<<_ACEOF
12308 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12321 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12323 # Check whether --enable-mmap was given.
12324 if test "${enable_mmap+set}" = set; then :
12325 enableval
=$enable_mmap;
12332 if test ${enable_mmap:-no} = yes; then :
12334 $as_echo "#define ENABLE_MMAP 1" >>confdefs.h
12337 for ac_func
in getpagesize
12339 ac_fn_cxx_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12340 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
12341 cat >>confdefs.h
<<_ACEOF
12342 #define HAVE_GETPAGESIZE 1
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12349 $as_echo_n "checking for working mmap... " >&6; }
12350 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12351 $as_echo_n "(cached) " >&6
12353 if test "$cross_compiling" = yes; then :
12354 ac_cv_func_mmap_fixed_mapped
=no
12356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12358 $ac_includes_default
12359 /* malloc might have been renamed as rpl_malloc. */
12362 /* Thanks to Mike Haertel and Jim Avera for this test.
12363 Here is a matrix of mmap possibilities:
12364 mmap private not fixed
12365 mmap private fixed at somewhere currently unmapped
12366 mmap private fixed at somewhere already mapped
12367 mmap shared not fixed
12368 mmap shared fixed at somewhere currently unmapped
12369 mmap shared fixed at somewhere already mapped
12370 For private mappings, we should verify that changes cannot be read()
12371 back from the file, nor mmap's back from the file at a different
12372 address. (There have been systems where private was not correctly
12373 implemented like the infamous i386 svr4.0, and systems where the
12374 VM page cache was not coherent with the file system buffer cache
12375 like early versions of FreeBSD and possibly contemporary NetBSD.)
12376 For shared mappings, we should conversely verify that changes get
12377 propagated back to all the places they're supposed to be.
12379 Grep wants private fixed already mapped.
12380 The main things grep needs to know about mmap are:
12381 * does it exist and is it safe to write into the mmap'd area
12382 * how to use it (BSD variants) */
12385 #include <sys/mman.h>
12387 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12391 /* This mess was copied from the GNU getpagesize.h. */
12392 #ifndef HAVE_GETPAGESIZE
12393 # ifdef _SC_PAGESIZE
12394 # define getpagesize() sysconf(_SC_PAGESIZE)
12395 # else /* no _SC_PAGESIZE */
12396 # ifdef HAVE_SYS_PARAM_H
12397 # include <sys/param.h>
12398 # ifdef EXEC_PAGESIZE
12399 # define getpagesize() EXEC_PAGESIZE
12400 # else /* no EXEC_PAGESIZE */
12402 # define getpagesize() NBPG * CLSIZE
12405 # endif /* no CLSIZE */
12406 # else /* no NBPG */
12408 # define getpagesize() NBPC
12409 # else /* no NBPC */
12411 # define getpagesize() PAGESIZE
12412 # endif /* PAGESIZE */
12413 # endif /* no NBPC */
12414 # endif /* no NBPG */
12415 # endif /* no EXEC_PAGESIZE */
12416 # else /* no HAVE_SYS_PARAM_H */
12417 # define getpagesize() 8192 /* punt totally */
12418 # endif /* no HAVE_SYS_PARAM_H */
12419 # endif /* no _SC_PAGESIZE */
12421 #endif /* no HAVE_GETPAGESIZE */
12426 char *data, *data2, *data3;
12430 pagesize = getpagesize ();
12432 /* First, make a file with some known garbage in it. */
12433 data = (char *) malloc (pagesize);
12436 for (i = 0; i < pagesize; ++i)
12437 *(data + i) = rand ();
12439 fd = creat ("conftest.mmap", 0600);
12442 if (write (fd, data, pagesize) != pagesize)
12446 /* Next, check that the tail of a page is zero-filled. File must have
12447 non-zero length, otherwise we risk SIGBUS for entire page. */
12448 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12451 data2 = (char *) "";
12452 if (write (fd2, data2, 1) != 1)
12454 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12455 if (data2 == MAP_FAILED)
12457 for (i = 0; i < pagesize; ++i)
12461 if (munmap (data2, pagesize))
12464 /* Next, try to mmap the file at a fixed address which already has
12465 something else allocated at it. If we can, also make sure that
12466 we see the same garbage. */
12467 fd = open ("conftest.mmap", O_RDWR);
12470 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12471 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12473 for (i = 0; i < pagesize; ++i)
12474 if (*(data + i) != *(data2 + i))
12477 /* Finally, make sure that changes to the mapped area do not
12478 percolate back to the file as seen by read(). (This is a bug on
12479 some variants of i386 svr4.0.) */
12480 for (i = 0; i < pagesize; ++i)
12481 *(data2 + i) = *(data2 + i) + 1;
12482 data3 = (char *) malloc (pagesize);
12485 if (read (fd, data3, pagesize) != pagesize)
12487 for (i = 0; i < pagesize; ++i)
12488 if (*(data + i) != *(data3 + i))
12494 if ac_fn_cxx_try_run
"$LINENO"; then :
12495 ac_cv_func_mmap_fixed_mapped
=yes
12497 ac_cv_func_mmap_fixed_mapped
=no
12499 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12500 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12505 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12506 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12508 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12511 rm -f conftest.mmap conftest.txt
12513 for ac_func
in munmap sysconf
12515 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12516 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12517 eval as_val
=\$
$as_ac_var
12518 if test "x$as_val" = x
""yes; then :
12519 cat >>confdefs.h
<<_ACEOF
12520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12526 if test $ac_cv_func_sysconf = yes; then :
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
12529 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
12530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12534 #include <unistd.h>
12540 return sysconf(_SC_PAGESIZE);
12547 if ac_fn_cxx_try_link
"$LINENO"; then :
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
12550 $as_echo "_SC_PAGESIZE" >&6; }
12552 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12561 #include <unistd.h>
12567 return sysconf(_SC_PAGE_SIZE);
12574 if ac_fn_cxx_try_link
"$LINENO"; then :
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
12577 $as_echo "_SC_PAGE_SIZE" >&6; }
12579 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
12585 $as_echo "none" >&6; }
12588 rm -f core conftest.err conftest.
$ac_objext \
12589 conftest
$ac_exeext conftest.
$ac_ext
12592 rm -f core conftest.err conftest.
$ac_objext \
12593 conftest
$ac_exeext conftest.
$ac_ext
12602 # Look for a way to preallocate disk space for files.
12603 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
12606 $as_echo_n "checking for fallocate... " >&6; }
12607 mule_backup_CPPFLAGS
="$CPPFLAGS"
12608 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12613 #ifndef _GNU_SOURCE
12614 # define _GNU_SOURCE
12616 #ifdef HAVE_FCNTL_H
12617 # include <fcntl.h>
12619 #include <linux/falloc.h>
12625 fallocate(0, 0, 0, 0);
12632 if ac_fn_cxx_try_link
"$LINENO"; then :
12635 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12638 $as_echo "yes" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12646 rm -f core conftest.err conftest.
$ac_objext \
12647 conftest
$ac_exeext conftest.
$ac_ext
12648 CPPFLAGS
="$mule_backup_CPPFLAGS"
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
12652 $as_echo_n "checking for SYS_fallocate... " >&6; }
12653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12657 #include <sys/syscall.h>
12658 #include <sys/types.h>
12659 #include <unistd.h>
12665 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
12672 if ac_fn_cxx_try_link
"$LINENO"; then :
12675 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12678 $as_echo "yes" >&6; }
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12683 $as_echo "no" >&6; }
12686 rm -f core conftest.err conftest.
$ac_objext \
12687 conftest
$ac_exeext conftest.
$ac_ext
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
12690 $as_echo_n "checking for posix_fallocate... " >&6; }
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12695 #define _XOPEN_SOURCE 600
12696 #include <stdlib.h>
12697 #ifdef HAVE_FCNTL_H
12698 # include <fcntl.h>
12705 posix_fallocate(0, 0, 0);
12712 if ac_fn_cxx_try_link
"$LINENO"; then :
12715 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12718 $as_echo "yes" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12723 $as_echo "no" >&6; }
12726 rm -f core conftest.err conftest.
$ac_objext \
12727 conftest
$ac_exeext conftest.
$ac_ext
12733 ac_cpp
='$CPP $CPPFLAGS'
12734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12738 # Checking Native Language Support
12742 if test -n "$ac_aux_dir"; then
12743 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
12745 if test -z "$MKINSTALLDIRS"; then
12746 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12753 # Extract the first word of "msgfmt", so it can be a program name with args.
12754 set dummy msgfmt
; ac_word
=$2
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12756 $as_echo_n "checking for $ac_word... " >&6; }
12757 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12758 $as_echo_n "(cached) " >&6
12762 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12765 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12766 for ac_dir
in $PATH; do
12767 test -z "$ac_dir" && ac_dir
=.
12768 if test -f $ac_dir/$ac_word; then
12769 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12770 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12771 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
12777 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12781 MSGFMT
="$ac_cv_path_MSGFMT"
12782 if test "$MSGFMT" != ":"; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12784 $as_echo "$MSGFMT" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12790 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12791 set dummy gmsgfmt
; ac_word
=$2
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12793 $as_echo_n "checking for $ac_word... " >&6; }
12794 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12795 $as_echo_n "(cached) " >&6
12799 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12803 for as_dir
in $PATH
12806 test -z "$as_dir" && as_dir
=.
12807 for ac_exec_ext
in '' $ac_executable_extensions; do
12808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12809 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12821 GMSGFMT
=$ac_cv_path_GMSGFMT
12822 if test -n "$GMSGFMT"; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12824 $as_echo "$GMSGFMT" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12827 $as_echo "no" >&6; }
12832 # Extract the first word of "xgettext", so it can be a program name with args.
12833 set dummy xgettext
; ac_word
=$2
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12835 $as_echo_n "checking for $ac_word... " >&6; }
12836 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12837 $as_echo_n "(cached) " >&6
12839 case "$XGETTEXT" in
12841 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12845 for ac_dir
in $PATH; do
12846 test -z "$ac_dir" && ac_dir
=.
12847 if test -f $ac_dir/$ac_word; then
12848 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
12849 (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
12850 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
12856 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12860 XGETTEXT
="$ac_cv_path_XGETTEXT"
12861 if test "$XGETTEXT" != ":"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12863 $as_echo "$XGETTEXT" >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12871 # Extract the first word of "msgmerge", so it can be a program name with args.
12872 set dummy msgmerge
; ac_word
=$2
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12874 $as_echo_n "checking for $ac_word... " >&6; }
12875 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12876 $as_echo_n "(cached) " >&6
12878 case "$MSGMERGE" in
12880 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12883 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12884 for ac_dir
in $PATH; do
12885 test -z "$ac_dir" && ac_dir
=.
12886 if test -f $ac_dir/$ac_word; then
12887 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12888 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
12894 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12898 MSGMERGE
="$ac_cv_path_MSGMERGE"
12899 if test "$MSGMERGE" != ":"; then
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12901 $as_echo "$MSGMERGE" >&6; }
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12904 $as_echo "no" >&6; }
12908 if test "$GMSGFMT" != ":"; then
12909 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12910 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12913 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12915 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12920 if test "$XGETTEXT" != ":"; then
12921 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
12922 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12926 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12932 ac_config_commands
="$ac_config_commands default-1"
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
12937 $as_echo_n "checking for strerror in -lcposix... " >&6; }
12938 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
12939 $as_echo_n "(cached) " >&6
12941 ac_check_lib_save_LIBS
=$LIBS
12942 LIBS
="-lcposix $LIBS"
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12956 return strerror ();
12961 if ac_fn_c_try_link
"$LINENO"; then :
12962 ac_cv_lib_cposix_strerror
=yes
12964 ac_cv_lib_cposix_strerror
=no
12966 rm -f core conftest.err conftest.
$ac_objext \
12967 conftest
$ac_exeext conftest.
$ac_ext
12968 LIBS
=$ac_check_lib_save_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
12971 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
12972 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
12973 LIBS
="$LIBS -lcposix"
12979 for ac_func
in getpagesize
12981 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12982 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
12983 cat >>confdefs.h
<<_ACEOF
12984 #define HAVE_GETPAGESIZE 1
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12991 $as_echo_n "checking for working mmap... " >&6; }
12992 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12993 $as_echo_n "(cached) " >&6
12995 if test "$cross_compiling" = yes; then :
12996 ac_cv_func_mmap_fixed_mapped
=no
12998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13000 $ac_includes_default
13001 /* malloc might have been renamed as rpl_malloc. */
13004 /* Thanks to Mike Haertel and Jim Avera for this test.
13005 Here is a matrix of mmap possibilities:
13006 mmap private not fixed
13007 mmap private fixed at somewhere currently unmapped
13008 mmap private fixed at somewhere already mapped
13009 mmap shared not fixed
13010 mmap shared fixed at somewhere currently unmapped
13011 mmap shared fixed at somewhere already mapped
13012 For private mappings, we should verify that changes cannot be read()
13013 back from the file, nor mmap's back from the file at a different
13014 address. (There have been systems where private was not correctly
13015 implemented like the infamous i386 svr4.0, and systems where the
13016 VM page cache was not coherent with the file system buffer cache
13017 like early versions of FreeBSD and possibly contemporary NetBSD.)
13018 For shared mappings, we should conversely verify that changes get
13019 propagated back to all the places they're supposed to be.
13021 Grep wants private fixed already mapped.
13022 The main things grep needs to know about mmap are:
13023 * does it exist and is it safe to write into the mmap'd area
13024 * how to use it (BSD variants) */
13027 #include <sys/mman.h>
13029 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13033 /* This mess was copied from the GNU getpagesize.h. */
13034 #ifndef HAVE_GETPAGESIZE
13035 # ifdef _SC_PAGESIZE
13036 # define getpagesize() sysconf(_SC_PAGESIZE)
13037 # else /* no _SC_PAGESIZE */
13038 # ifdef HAVE_SYS_PARAM_H
13039 # include <sys/param.h>
13040 # ifdef EXEC_PAGESIZE
13041 # define getpagesize() EXEC_PAGESIZE
13042 # else /* no EXEC_PAGESIZE */
13044 # define getpagesize() NBPG * CLSIZE
13047 # endif /* no CLSIZE */
13048 # else /* no NBPG */
13050 # define getpagesize() NBPC
13051 # else /* no NBPC */
13053 # define getpagesize() PAGESIZE
13054 # endif /* PAGESIZE */
13055 # endif /* no NBPC */
13056 # endif /* no NBPG */
13057 # endif /* no EXEC_PAGESIZE */
13058 # else /* no HAVE_SYS_PARAM_H */
13059 # define getpagesize() 8192 /* punt totally */
13060 # endif /* no HAVE_SYS_PARAM_H */
13061 # endif /* no _SC_PAGESIZE */
13063 #endif /* no HAVE_GETPAGESIZE */
13068 char *data, *data2, *data3;
13072 pagesize = getpagesize ();
13074 /* First, make a file with some known garbage in it. */
13075 data = (char *) malloc (pagesize);
13078 for (i = 0; i < pagesize; ++i)
13079 *(data + i) = rand ();
13081 fd = creat ("conftest.mmap", 0600);
13084 if (write (fd, data, pagesize) != pagesize)
13088 /* Next, check that the tail of a page is zero-filled. File must have
13089 non-zero length, otherwise we risk SIGBUS for entire page. */
13090 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13094 if (write (fd2, data2, 1) != 1)
13096 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13097 if (data2 == MAP_FAILED)
13099 for (i = 0; i < pagesize; ++i)
13103 if (munmap (data2, pagesize))
13106 /* Next, try to mmap the file at a fixed address which already has
13107 something else allocated at it. If we can, also make sure that
13108 we see the same garbage. */
13109 fd = open ("conftest.mmap", O_RDWR);
13112 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13113 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13115 for (i = 0; i < pagesize; ++i)
13116 if (*(data + i) != *(data2 + i))
13119 /* Finally, make sure that changes to the mapped area do not
13120 percolate back to the file as seen by read(). (This is a bug on
13121 some variants of i386 svr4.0.) */
13122 for (i = 0; i < pagesize; ++i)
13123 *(data2 + i) = *(data2 + i) + 1;
13124 data3 = (char *) malloc (pagesize);
13127 if (read (fd, data3, pagesize) != pagesize)
13129 for (i = 0; i < pagesize; ++i)
13130 if (*(data + i) != *(data3 + i))
13136 if ac_fn_c_try_run
"$LINENO"; then :
13137 ac_cv_func_mmap_fixed_mapped
=yes
13139 ac_cv_func_mmap_fixed_mapped
=no
13141 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13142 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13147 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13148 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13150 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13153 rm -f conftest.mmap conftest.txt
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
13157 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
13158 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
13159 $as_echo_n "(cached) " >&6
13161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 #include <features.h>
13165 #ifdef __GNU_LIBRARY__
13166 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
13172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13173 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
13174 ac_cv_gnu_library_2_1
=yes
13176 ac_cv_gnu_library_2_1
=no
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
13184 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
13186 GLIBC21
="$ac_cv_gnu_library_2_1"
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
13192 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
13193 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
13194 $as_echo_n "(cached) " >&6
13197 if test "$cross_compiling" = yes; then :
13199 # Guess based on the CPU.
13200 case "$host_cpu" in
13201 alpha
* | i3456786 | m68k | s390
*)
13202 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
13204 gt_cv_int_divbyzero_sigfpe
="guessing no";;
13208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 #include <stdlib.h>
13212 #include <signal.h>
13216 sigfpe_handler (int sig)
13218 sigfpe_handler (sig) int sig;
13221 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
13222 exit (sig != SIGFPE);
13232 signal (SIGFPE, sigfpe_handler);
13233 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
13234 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
13235 signal (SIGTRAP, sigfpe_handler);
13237 /* Linux/SPARC yields signal SIGILL. */
13238 #if defined (__sparc__) && defined (__linux__)
13239 signal (SIGILL, sigfpe_handler);
13248 if ac_fn_c_try_run
"$LINENO"; then :
13249 gt_cv_int_divbyzero_sigfpe
=yes
13251 gt_cv_int_divbyzero_sigfpe
=no
13253 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13254 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
13260 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
13261 case "$gt_cv_int_divbyzero_sigfpe" in
13266 cat >>confdefs.h
<<_ACEOF
13267 #define INTDIV0_RAISES_SIGFPE $value
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13273 $as_echo_n "checking for inttypes.h... " >&6; }
13274 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
13275 $as_echo_n "(cached) " >&6
13277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13279 #include <sys/types.h>
13280 #include <inttypes.h>
13284 uintmax_t i = (uintmax_t) -1;
13289 if ac_fn_c_try_compile
"$LINENO"; then :
13290 jm_ac_cv_header_inttypes_h
=yes
13292 jm_ac_cv_header_inttypes_h
=no
13294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
13297 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
13298 if test $jm_ac_cv_header_inttypes_h = yes; then
13300 cat >>confdefs.h
<<_ACEOF
13301 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
13308 $as_echo_n "checking for stdint.h... " >&6; }
13309 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
13310 $as_echo_n "(cached) " >&6
13312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13314 #include <sys/types.h>
13315 #include <stdint.h>
13319 uintmax_t i = (uintmax_t) -1;
13324 if ac_fn_c_try_compile
"$LINENO"; then :
13325 jm_ac_cv_header_stdint_h
=yes
13327 jm_ac_cv_header_stdint_h
=no
13329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
13332 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
13333 if test $jm_ac_cv_header_stdint_h = yes; then
13335 cat >>confdefs.h
<<_ACEOF
13336 #define HAVE_STDINT_H_WITH_UINTMAX 1
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
13343 $as_echo_n "checking for unsigned long long... " >&6; }
13344 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
13345 $as_echo_n "(cached) " >&6
13347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13349 unsigned long long ull = 1; int i = 63;
13353 unsigned long long ullmax = (unsigned long long) -1;
13354 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
13359 if ac_fn_c_try_link
"$LINENO"; then :
13360 ac_cv_type_unsigned_long_long
=yes
13362 ac_cv_type_unsigned_long_long
=no
13364 rm -f core conftest.err conftest.
$ac_objext \
13365 conftest
$ac_exeext conftest.
$ac_ext
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
13368 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
13369 if test $ac_cv_type_unsigned_long_long = yes; then
13371 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
13378 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
13380 test $ac_cv_type_unsigned_long_long = yes \
13381 && ac_type
='unsigned long long' \
13382 || ac_type
='unsigned long'
13384 cat >>confdefs.h
<<_ACEOF
13385 #define uintmax_t $ac_type
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13392 $as_echo_n "checking for inttypes.h... " >&6; }
13393 if test "${gt_cv_header_inttypes_h+set}" = set; then :
13394 $as_echo_n "(cached) " >&6
13397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13399 #include <sys/types.h>
13400 #include <inttypes.h>
13409 if ac_fn_c_try_compile
"$LINENO"; then :
13410 gt_cv_header_inttypes_h
=yes
13412 gt_cv_header_inttypes_h
=no
13414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
13418 $as_echo "$gt_cv_header_inttypes_h" >&6; }
13419 if test $gt_cv_header_inttypes_h = yes; then
13421 cat >>confdefs.h
<<_ACEOF
13422 #define HAVE_INTTYPES_H 1
13429 if test $gt_cv_header_inttypes_h = yes; then
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
13431 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
13432 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
13433 $as_echo_n "(cached) " >&6
13436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13438 #include <inttypes.h>
13451 if ac_fn_c_try_compile
"$LINENO"; then :
13452 gt_cv_inttypes_pri_broken
=no
13454 gt_cv_inttypes_pri_broken
=yes
13456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
13460 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
13462 if test "$gt_cv_inttypes_pri_broken" = yes; then
13464 cat >>confdefs.h
<<_ACEOF
13465 #define PRI_MACROS_BROKEN 1
13471 if test "X$prefix" = "XNONE"; then
13472 acl_final_prefix
="$ac_default_prefix"
13474 acl_final_prefix
="$prefix"
13476 if test "X$exec_prefix" = "XNONE"; then
13477 acl_final_exec_prefix
='${prefix}'
13479 acl_final_exec_prefix
="$exec_prefix"
13481 acl_save_prefix
="$prefix"
13482 prefix
="$acl_final_prefix"
13483 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13484 prefix
="$acl_save_prefix"
13487 # Check whether --with-gnu-ld was given.
13488 if test "${with_gnu_ld+set}" = set; then :
13489 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13495 if test "$GCC" = yes; then
13496 # Check if gcc -print-prog-name=ld gives a path.
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13498 $as_echo_n "checking for ld used by GCC... " >&6; }
13501 # gcc leaves a trailing carriage return which upsets mingw
13502 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13504 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13507 # Accept absolute paths.
13508 [\\/]* |
[A-Za-z
]:[\\/]*)
13509 re_direlt
='/[^/][^/]*/\.\./'
13510 # Canonicalize the path of ld
13511 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13512 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13513 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13515 test -z "$LD" && LD
="$ac_prog"
13518 # If it fails, then pretend we aren't using GCC.
13522 # If it is relative, then search for the first ld in PATH.
13523 with_gnu_ld
=unknown
13526 elif test "$with_gnu_ld" = yes; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13528 $as_echo_n "checking for GNU ld... " >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13531 $as_echo_n "checking for non-GNU ld... " >&6; }
13533 if test "${acl_cv_path_LD+set}" = set; then :
13534 $as_echo_n "(cached) " >&6
13536 if test -z "$LD"; then
13537 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13538 for ac_dir
in $PATH; do
13539 test -z "$ac_dir" && ac_dir
=.
13540 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13541 acl_cv_path_LD
="$ac_dir/$ac_prog"
13542 # Check to see if the program is GNU ld. I'd rather use --version,
13543 # but apparently some GNU ld's only accept -v.
13544 # Break only if it was the GNU/non-GNU ld that we prefer.
13545 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13546 test "$with_gnu_ld" != no
&& break
13548 test "$with_gnu_ld" != yes && break
13554 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13558 LD
="$acl_cv_path_LD"
13559 if test -n "$LD"; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13561 $as_echo "$LD" >&6; }
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
13566 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13568 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13569 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13570 $as_echo_n "(cached) " >&6
13572 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13573 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
13574 acl_cv_prog_gnu_ld
=yes
13576 acl_cv_prog_gnu_ld
=no
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13580 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13581 with_gnu_ld
=$acl_cv_prog_gnu_ld
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13586 $as_echo_n "checking for shared library run path origin... " >&6; }
13587 if test "${acl_cv_rpath+set}" = set; then :
13588 $as_echo_n "(cached) " >&6
13591 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13592 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13594 rm -f .
/conftest.sh
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13599 $as_echo "$acl_cv_rpath" >&6; }
13601 libext
="$acl_cv_libext"
13602 shlibext
="$acl_cv_shlibext"
13603 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13604 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13605 hardcode_direct
="$acl_cv_hardcode_direct"
13606 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13607 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
13608 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
13609 # Check whether --enable-rpath was given.
13610 if test "${enable_rpath+set}" = set; then :
13611 enableval
=$enable_rpath; :
13625 acl_save_prefix
="$prefix"
13626 prefix
="$acl_final_prefix"
13627 acl_save_exec_prefix
="$exec_prefix"
13628 exec_prefix
="$acl_final_exec_prefix"
13630 eval additional_includedir
=\"$includedir\"
13631 eval additional_libdir
=\"$libdir\"
13633 exec_prefix
="$acl_save_exec_prefix"
13634 prefix
="$acl_save_prefix"
13637 # Check whether --with-libiconv-prefix was given.
13638 if test "${with_libiconv_prefix+set}" = set; then :
13639 withval
=$with_libiconv_prefix;
13640 if test "X$withval" = "Xno"; then
13643 if test "X$withval" = "X"; then
13645 acl_save_prefix
="$prefix"
13646 prefix
="$acl_final_prefix"
13647 acl_save_exec_prefix
="$exec_prefix"
13648 exec_prefix
="$acl_final_exec_prefix"
13650 eval additional_includedir
=\"$includedir\"
13651 eval additional_libdir
=\"$libdir\"
13653 exec_prefix
="$acl_save_exec_prefix"
13654 prefix
="$acl_save_prefix"
13657 additional_includedir
="$withval/include"
13658 additional_libdir
="$withval/lib"
13669 names_already_handled
=
13670 names_next_round
='iconv '
13671 while test -n "$names_next_round"; do
13672 names_this_round
="$names_next_round"
13674 for name
in $names_this_round; do
13676 for n
in $names_already_handled; do
13677 if test "$n" = "$name"; then
13678 already_handled
=yes
13682 if test -z "$already_handled"; then
13683 names_already_handled
="$names_already_handled $name"
13684 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13685 eval value
=\"\
$HAVE_LIB$uppername\"
13686 if test -n "$value"; then
13687 if test "$value" = yes; then
13688 eval value
=\"\
$LIB$uppername\"
13689 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13690 eval value
=\"\
$LTLIB$uppername\"
13691 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13700 if test $use_additional = yes; then
13701 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13702 found_dir
="$additional_libdir"
13703 found_so
="$additional_libdir/lib$name.$shlibext"
13704 if test -f "$additional_libdir/lib$name.la"; then
13705 found_la
="$additional_libdir/lib$name.la"
13708 if test -f "$additional_libdir/lib$name.$libext"; then
13709 found_dir
="$additional_libdir"
13710 found_a
="$additional_libdir/lib$name.$libext"
13711 if test -f "$additional_libdir/lib$name.la"; then
13712 found_la
="$additional_libdir/lib$name.la"
13717 if test "X$found_dir" = "X"; then
13718 for x
in $LDFLAGS $LTLIBICONV; do
13720 acl_save_prefix
="$prefix"
13721 prefix
="$acl_final_prefix"
13722 acl_save_exec_prefix
="$exec_prefix"
13723 exec_prefix
="$acl_final_exec_prefix"
13725 exec_prefix
="$acl_save_exec_prefix"
13726 prefix
="$acl_save_prefix"
13730 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13731 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13733 found_so
="$dir/lib$name.$shlibext"
13734 if test -f "$dir/lib$name.la"; then
13735 found_la
="$dir/lib$name.la"
13738 if test -f "$dir/lib$name.$libext"; then
13740 found_a
="$dir/lib$name.$libext"
13741 if test -f "$dir/lib$name.la"; then
13742 found_la
="$dir/lib$name.la"
13748 if test "X$found_dir" != "X"; then
13753 if test "X$found_dir" != "X"; then
13754 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13755 if test "X$found_so" != "X"; then
13756 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13757 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13760 for x
in $ltrpathdirs; do
13761 if test "X$x" = "X$found_dir"; then
13766 if test -z "$haveit"; then
13767 ltrpathdirs
="$ltrpathdirs $found_dir"
13769 if test "$hardcode_direct" = yes; then
13770 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13772 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13773 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13775 for x
in $rpathdirs; do
13776 if test "X$x" = "X$found_dir"; then
13781 if test -z "$haveit"; then
13782 rpathdirs
="$rpathdirs $found_dir"
13786 for x
in $LDFLAGS $LIBICONV; do
13788 acl_save_prefix
="$prefix"
13789 prefix
="$acl_final_prefix"
13790 acl_save_exec_prefix
="$exec_prefix"
13791 exec_prefix
="$acl_final_exec_prefix"
13793 exec_prefix
="$acl_save_exec_prefix"
13794 prefix
="$acl_save_prefix"
13796 if test "X$x" = "X-L$found_dir"; then
13801 if test -z "$haveit"; then
13802 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13804 if test "$hardcode_minus_L" != no
; then
13805 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13807 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13813 if test "X$found_a" != "X"; then
13814 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13816 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13819 additional_includedir
=
13820 case "$found_dir" in
13822 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13823 additional_includedir
="$basedir/include"
13826 if test "X$additional_includedir" != "X"; then
13827 if test "X$additional_includedir" != "X/usr/include"; then
13829 if test "X$additional_includedir" = "X/usr/local/include"; then
13830 if test -n "$GCC"; then
13832 linux
*) haveit
=yes;;
13836 if test -z "$haveit"; then
13837 for x
in $CPPFLAGS $INCICONV; do
13839 acl_save_prefix
="$prefix"
13840 prefix
="$acl_final_prefix"
13841 acl_save_exec_prefix
="$exec_prefix"
13842 exec_prefix
="$acl_final_exec_prefix"
13844 exec_prefix
="$acl_save_exec_prefix"
13845 prefix
="$acl_save_prefix"
13847 if test "X$x" = "X-I$additional_includedir"; then
13852 if test -z "$haveit"; then
13853 if test -d "$additional_includedir"; then
13854 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13860 if test -n "$found_la"; then
13861 save_libdir
="$libdir"
13862 case "$found_la" in
13863 */* |
*\\*) .
"$found_la" ;;
13864 *) .
"./$found_la" ;;
13866 libdir
="$save_libdir"
13867 for dep
in $dependency_libs; do
13870 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13871 if test "X$additional_libdir" != "X/usr/lib"; then
13873 if test "X$additional_libdir" = "X/usr/local/lib"; then
13874 if test -n "$GCC"; then
13876 linux
*) haveit
=yes;;
13880 if test -z "$haveit"; then
13882 for x
in $LDFLAGS $LIBICONV; do
13884 acl_save_prefix
="$prefix"
13885 prefix
="$acl_final_prefix"
13886 acl_save_exec_prefix
="$exec_prefix"
13887 exec_prefix
="$acl_final_exec_prefix"
13889 exec_prefix
="$acl_save_exec_prefix"
13890 prefix
="$acl_save_prefix"
13892 if test "X$x" = "X-L$additional_libdir"; then
13897 if test -z "$haveit"; then
13898 if test -d "$additional_libdir"; then
13899 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13903 for x
in $LDFLAGS $LTLIBICONV; do
13905 acl_save_prefix
="$prefix"
13906 prefix
="$acl_final_prefix"
13907 acl_save_exec_prefix
="$exec_prefix"
13908 exec_prefix
="$acl_final_exec_prefix"
13910 exec_prefix
="$acl_save_exec_prefix"
13911 prefix
="$acl_save_prefix"
13913 if test "X$x" = "X-L$additional_libdir"; then
13918 if test -z "$haveit"; then
13919 if test -d "$additional_libdir"; then
13920 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13927 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13928 if test "$enable_rpath" != no
; then
13930 for x
in $rpathdirs; do
13931 if test "X$x" = "X$dir"; then
13936 if test -z "$haveit"; then
13937 rpathdirs
="$rpathdirs $dir"
13940 for x
in $ltrpathdirs; do
13941 if test "X$x" = "X$dir"; then
13946 if test -z "$haveit"; then
13947 ltrpathdirs
="$ltrpathdirs $dir"
13952 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13955 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13958 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
13959 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13965 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13966 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13972 if test "X$rpathdirs" != "X"; then
13973 if test -n "$hardcode_libdir_separator"; then
13975 for found_dir
in $rpathdirs; do
13976 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13978 acl_save_libdir
="$libdir"
13980 eval flag
=\"$hardcode_libdir_flag_spec\"
13981 libdir
="$acl_save_libdir"
13982 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13984 for found_dir
in $rpathdirs; do
13985 acl_save_libdir
="$libdir"
13986 libdir
="$found_dir"
13987 eval flag
=\"$hardcode_libdir_flag_spec\"
13988 libdir
="$acl_save_libdir"
13989 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13993 if test "X$ltrpathdirs" != "X"; then
13994 for found_dir
in $ltrpathdirs; do
13995 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14002 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
14003 stdlib.h string.h unistd.h sys
/param.h
14005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14006 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14007 eval as_val
=\$
$as_ac_Header
14008 if test "x$as_val" = x
""yes; then :
14009 cat >>confdefs.h
<<_ACEOF
14010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14017 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
14018 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
14019 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
14021 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14022 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14023 eval as_val
=\$
$as_ac_var
14024 if test "x$as_val" = x
""yes; then :
14025 cat >>confdefs.h
<<_ACEOF
14026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14038 am_save_CPPFLAGS
="$CPPFLAGS"
14040 for element
in $INCICONV; do
14042 for x
in $CPPFLAGS; do
14044 acl_save_prefix
="$prefix"
14045 prefix
="$acl_final_prefix"
14046 acl_save_exec_prefix
="$exec_prefix"
14047 exec_prefix
="$acl_final_exec_prefix"
14049 exec_prefix
="$acl_save_exec_prefix"
14050 prefix
="$acl_save_prefix"
14052 if test "X$x" = "X$element"; then
14057 if test -z "$haveit"; then
14058 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14064 $as_echo_n "checking for iconv... " >&6; }
14065 if test "${am_cv_func_iconv+set}" = set; then :
14066 $as_echo_n "(cached) " >&6
14069 am_cv_func_iconv
="no, consider installing GNU libiconv"
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 #include <stdlib.h>
14078 iconv_t cd = iconv_open("","");
14079 iconv(cd,NULL,NULL,NULL,NULL);
14085 if ac_fn_c_try_link
"$LINENO"; then :
14086 am_cv_func_iconv
=yes
14088 rm -f core conftest.err conftest.
$ac_objext \
14089 conftest
$ac_exeext conftest.
$ac_ext
14090 if test "$am_cv_func_iconv" != yes; then
14091 am_save_LIBS
="$LIBS"
14092 LIBS
="$LIBS $LIBICONV"
14093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 #include <stdlib.h>
14100 iconv_t cd = iconv_open("","");
14101 iconv(cd,NULL,NULL,NULL,NULL);
14107 if ac_fn_c_try_link
"$LINENO"; then :
14108 am_cv_lib_iconv
=yes
14109 am_cv_func_iconv
=yes
14111 rm -f core conftest.err conftest.
$ac_objext \
14112 conftest
$ac_exeext conftest.
$ac_ext
14113 LIBS
="$am_save_LIBS"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14118 $as_echo "$am_cv_func_iconv" >&6; }
14119 if test "$am_cv_func_iconv" = yes; then
14121 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14124 if test "$am_cv_lib_iconv" = yes; then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14126 $as_echo_n "checking how to link with libiconv... " >&6; }
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14128 $as_echo "$LIBICONV" >&6; }
14130 CPPFLAGS
="$am_save_CPPFLAGS"
14137 if test "$am_cv_func_iconv" = yes; then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14139 $as_echo_n "checking for iconv declaration... " >&6; }
14140 if test "${am_cv_proto_iconv+set}" = set; then :
14141 $as_echo_n "(cached) " >&6
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 #include <stdlib.h>
14153 #if defined(__STDC__) || defined(__cplusplus)
14154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14167 if ac_fn_c_try_compile
"$LINENO"; then :
14168 am_cv_proto_iconv_arg1
=""
14170 am_cv_proto_iconv_arg1
="const"
14172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14173 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);"
14176 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
14178 }$am_cv_proto_iconv" >&5
14180 }$am_cv_proto_iconv" >&6; }
14182 cat >>confdefs.h
<<_ACEOF
14183 #define ICONV_CONST $am_cv_proto_iconv_arg1
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14190 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14191 if test "${am_cv_langinfo_codeset+set}" = set; then :
14192 $as_echo_n "(cached) " >&6
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 #include <langinfo.h>
14200 char* cs = nl_langinfo(CODESET);
14205 if ac_fn_c_try_link
"$LINENO"; then :
14206 am_cv_langinfo_codeset
=yes
14208 am_cv_langinfo_codeset
=no
14210 rm -f core conftest.err conftest.
$ac_objext \
14211 conftest
$ac_exeext conftest.
$ac_ext
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
14215 $as_echo "$am_cv_langinfo_codeset" >&6; }
14216 if test $am_cv_langinfo_codeset = yes; then
14218 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14222 if test $ac_cv_header_locale_h = yes; then
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14225 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14226 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14227 $as_echo_n "(cached) " >&6
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 #include <locale.h>
14240 if ac_fn_c_try_link
"$LINENO"; then :
14241 am_cv_val_LC_MESSAGES
=yes
14243 am_cv_val_LC_MESSAGES
=no
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14249 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14250 if test $am_cv_val_LC_MESSAGES = yes; then
14252 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14258 for ac_prog
in bison
14260 # Extract the first word of "$ac_prog", so it can be a program name with args.
14261 set dummy
$ac_prog; ac_word
=$2
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14263 $as_echo_n "checking for $ac_word... " >&6; }
14264 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
14265 $as_echo_n "(cached) " >&6
14267 if test -n "$INTLBISON"; then
14268 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
14270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14271 for as_dir
in $PATH
14274 test -z "$as_dir" && as_dir
=.
14275 for ac_exec_ext
in '' $ac_executable_extensions; do
14276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14277 ac_cv_prog_INTLBISON
="$ac_prog"
14278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14287 INTLBISON
=$ac_cv_prog_INTLBISON
14288 if test -n "$INTLBISON"; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
14290 $as_echo "$INTLBISON" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14293 $as_echo "no" >&6; }
14297 test -n "$INTLBISON" && break
14300 if test -z "$INTLBISON"; then
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
14304 $as_echo_n "checking version of bison... " >&6; }
14305 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
14306 case $ac_prog_version in
14307 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
14308 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
14309 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
14310 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
14313 $as_echo "$ac_prog_version" >&6; }
14315 if test $ac_verc_fail = yes; then
14321 # Check whether --with-language was given.
14322 if test "${with_language+set}" = set; then :
14323 withval
=$with_language; if test "$withval" != "all"; then :
14324 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14344 $as_echo_n "checking whether NLS is requested... " >&6; }
14345 # Check whether --enable-nls was given.
14346 if test "${enable_nls+set}" = set; then :
14347 enableval
=$enable_nls; USE_NLS
=$enableval
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14353 $as_echo "$USE_NLS" >&6; }
14357 BUILD_INCLUDED_LIBINTL
=no
14358 USE_INCLUDED_LIBINTL
=no
14364 if test "$USE_NLS" = "yes"; then
14365 gt_use_preinstalled_gnugettext
=no
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
14368 $as_echo_n "checking whether included gettext is requested... " >&6; }
14370 # Check whether --with-included-gettext was given.
14371 if test "${with_included_gettext+set}" = set; then :
14372 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
14374 nls_cv_force_use_gnu_gettext
=no
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
14378 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
14380 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
14381 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14389 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14390 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
14391 $as_echo_n "(cached) " >&6
14393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 #include <libintl.h>
14396 extern int _nl_msg_cat_cntr;
14397 extern int *_nl_domain_bindings;
14401 bindtextdomain ("", "");
14402 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
14407 if ac_fn_c_try_link
"$LINENO"; then :
14408 gt_cv_func_gnugettext2_libc
=yes
14410 gt_cv_func_gnugettext2_libc
=no
14412 rm -f core conftest.err conftest.
$ac_objext \
14413 conftest
$ac_exeext conftest.
$ac_ext
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
14416 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
14418 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
14424 acl_save_prefix
="$prefix"
14425 prefix
="$acl_final_prefix"
14426 acl_save_exec_prefix
="$exec_prefix"
14427 exec_prefix
="$acl_final_exec_prefix"
14429 eval additional_includedir
=\"$includedir\"
14430 eval additional_libdir
=\"$libdir\"
14432 exec_prefix
="$acl_save_exec_prefix"
14433 prefix
="$acl_save_prefix"
14436 # Check whether --with-libintl-prefix was given.
14437 if test "${with_libintl_prefix+set}" = set; then :
14438 withval
=$with_libintl_prefix;
14439 if test "X$withval" = "Xno"; then
14442 if test "X$withval" = "X"; then
14444 acl_save_prefix
="$prefix"
14445 prefix
="$acl_final_prefix"
14446 acl_save_exec_prefix
="$exec_prefix"
14447 exec_prefix
="$acl_final_exec_prefix"
14449 eval additional_includedir
=\"$includedir\"
14450 eval additional_libdir
=\"$libdir\"
14452 exec_prefix
="$acl_save_exec_prefix"
14453 prefix
="$acl_save_prefix"
14456 additional_includedir
="$withval/include"
14457 additional_libdir
="$withval/lib"
14468 names_already_handled
=
14469 names_next_round
='intl '
14470 while test -n "$names_next_round"; do
14471 names_this_round
="$names_next_round"
14473 for name
in $names_this_round; do
14475 for n
in $names_already_handled; do
14476 if test "$n" = "$name"; then
14477 already_handled
=yes
14481 if test -z "$already_handled"; then
14482 names_already_handled
="$names_already_handled $name"
14483 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14484 eval value
=\"\
$HAVE_LIB$uppername\"
14485 if test -n "$value"; then
14486 if test "$value" = yes; then
14487 eval value
=\"\
$LIB$uppername\"
14488 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14489 eval value
=\"\
$LTLIB$uppername\"
14490 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14499 if test $use_additional = yes; then
14500 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14501 found_dir
="$additional_libdir"
14502 found_so
="$additional_libdir/lib$name.$shlibext"
14503 if test -f "$additional_libdir/lib$name.la"; then
14504 found_la
="$additional_libdir/lib$name.la"
14507 if test -f "$additional_libdir/lib$name.$libext"; then
14508 found_dir
="$additional_libdir"
14509 found_a
="$additional_libdir/lib$name.$libext"
14510 if test -f "$additional_libdir/lib$name.la"; then
14511 found_la
="$additional_libdir/lib$name.la"
14516 if test "X$found_dir" = "X"; then
14517 for x
in $LDFLAGS $LTLIBINTL; do
14519 acl_save_prefix
="$prefix"
14520 prefix
="$acl_final_prefix"
14521 acl_save_exec_prefix
="$exec_prefix"
14522 exec_prefix
="$acl_final_exec_prefix"
14524 exec_prefix
="$acl_save_exec_prefix"
14525 prefix
="$acl_save_prefix"
14529 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14530 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14532 found_so
="$dir/lib$name.$shlibext"
14533 if test -f "$dir/lib$name.la"; then
14534 found_la
="$dir/lib$name.la"
14537 if test -f "$dir/lib$name.$libext"; then
14539 found_a
="$dir/lib$name.$libext"
14540 if test -f "$dir/lib$name.la"; then
14541 found_la
="$dir/lib$name.la"
14547 if test "X$found_dir" != "X"; then
14552 if test "X$found_dir" != "X"; then
14553 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14554 if test "X$found_so" != "X"; then
14555 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14556 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14559 for x
in $ltrpathdirs; do
14560 if test "X$x" = "X$found_dir"; then
14565 if test -z "$haveit"; then
14566 ltrpathdirs
="$ltrpathdirs $found_dir"
14568 if test "$hardcode_direct" = yes; then
14569 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14571 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14572 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14574 for x
in $rpathdirs; do
14575 if test "X$x" = "X$found_dir"; then
14580 if test -z "$haveit"; then
14581 rpathdirs
="$rpathdirs $found_dir"
14585 for x
in $LDFLAGS $LIBINTL; do
14587 acl_save_prefix
="$prefix"
14588 prefix
="$acl_final_prefix"
14589 acl_save_exec_prefix
="$exec_prefix"
14590 exec_prefix
="$acl_final_exec_prefix"
14592 exec_prefix
="$acl_save_exec_prefix"
14593 prefix
="$acl_save_prefix"
14595 if test "X$x" = "X-L$found_dir"; then
14600 if test -z "$haveit"; then
14601 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14603 if test "$hardcode_minus_L" != no
; then
14604 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14606 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14612 if test "X$found_a" != "X"; then
14613 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14615 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14618 additional_includedir
=
14619 case "$found_dir" in
14621 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14622 additional_includedir
="$basedir/include"
14625 if test "X$additional_includedir" != "X"; then
14626 if test "X$additional_includedir" != "X/usr/include"; then
14628 if test "X$additional_includedir" = "X/usr/local/include"; then
14629 if test -n "$GCC"; then
14631 linux
*) haveit
=yes;;
14635 if test -z "$haveit"; then
14636 for x
in $CPPFLAGS $INCINTL; do
14638 acl_save_prefix
="$prefix"
14639 prefix
="$acl_final_prefix"
14640 acl_save_exec_prefix
="$exec_prefix"
14641 exec_prefix
="$acl_final_exec_prefix"
14643 exec_prefix
="$acl_save_exec_prefix"
14644 prefix
="$acl_save_prefix"
14646 if test "X$x" = "X-I$additional_includedir"; then
14651 if test -z "$haveit"; then
14652 if test -d "$additional_includedir"; then
14653 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14659 if test -n "$found_la"; then
14660 save_libdir
="$libdir"
14661 case "$found_la" in
14662 */* |
*\\*) .
"$found_la" ;;
14663 *) .
"./$found_la" ;;
14665 libdir
="$save_libdir"
14666 for dep
in $dependency_libs; do
14669 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14670 if test "X$additional_libdir" != "X/usr/lib"; then
14672 if test "X$additional_libdir" = "X/usr/local/lib"; then
14673 if test -n "$GCC"; then
14675 linux
*) haveit
=yes;;
14679 if test -z "$haveit"; then
14681 for x
in $LDFLAGS $LIBINTL; do
14683 acl_save_prefix
="$prefix"
14684 prefix
="$acl_final_prefix"
14685 acl_save_exec_prefix
="$exec_prefix"
14686 exec_prefix
="$acl_final_exec_prefix"
14688 exec_prefix
="$acl_save_exec_prefix"
14689 prefix
="$acl_save_prefix"
14691 if test "X$x" = "X-L$additional_libdir"; then
14696 if test -z "$haveit"; then
14697 if test -d "$additional_libdir"; then
14698 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14702 for x
in $LDFLAGS $LTLIBINTL; do
14704 acl_save_prefix
="$prefix"
14705 prefix
="$acl_final_prefix"
14706 acl_save_exec_prefix
="$exec_prefix"
14707 exec_prefix
="$acl_final_exec_prefix"
14709 exec_prefix
="$acl_save_exec_prefix"
14710 prefix
="$acl_save_prefix"
14712 if test "X$x" = "X-L$additional_libdir"; then
14717 if test -z "$haveit"; then
14718 if test -d "$additional_libdir"; then
14719 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14726 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14727 if test "$enable_rpath" != no
; then
14729 for x
in $rpathdirs; do
14730 if test "X$x" = "X$dir"; then
14735 if test -z "$haveit"; then
14736 rpathdirs
="$rpathdirs $dir"
14739 for x
in $ltrpathdirs; do
14740 if test "X$x" = "X$dir"; then
14745 if test -z "$haveit"; then
14746 ltrpathdirs
="$ltrpathdirs $dir"
14751 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14754 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14757 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14758 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14764 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14765 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14771 if test "X$rpathdirs" != "X"; then
14772 if test -n "$hardcode_libdir_separator"; then
14774 for found_dir
in $rpathdirs; do
14775 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14777 acl_save_libdir
="$libdir"
14779 eval flag
=\"$hardcode_libdir_flag_spec\"
14780 libdir
="$acl_save_libdir"
14781 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14783 for found_dir
in $rpathdirs; do
14784 acl_save_libdir
="$libdir"
14785 libdir
="$found_dir"
14786 eval flag
=\"$hardcode_libdir_flag_spec\"
14787 libdir
="$acl_save_libdir"
14788 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14792 if test "X$ltrpathdirs" != "X"; then
14793 for found_dir
in $ltrpathdirs; do
14794 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14799 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14800 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
14801 $as_echo_n "(cached) " >&6
14803 gt_save_CPPFLAGS
="$CPPFLAGS"
14804 CPPFLAGS
="$CPPFLAGS $INCINTL"
14805 gt_save_LIBS
="$LIBS"
14806 LIBS
="$LIBS $LIBINTL"
14807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 #include <libintl.h>
14810 extern int _nl_msg_cat_cntr;
14815 const char *_nl_expand_alias ();
14819 bindtextdomain ("", "");
14820 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
14825 if ac_fn_c_try_link
"$LINENO"; then :
14826 gt_cv_func_gnugettext2_libintl
=yes
14828 gt_cv_func_gnugettext2_libintl
=no
14830 rm -f core conftest.err conftest.
$ac_objext \
14831 conftest
$ac_exeext conftest.
$ac_ext
14832 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
14833 LIBS
="$LIBS $LIBICONV"
14834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14836 #include <libintl.h>
14837 extern int _nl_msg_cat_cntr;
14842 const char *_nl_expand_alias ();
14846 bindtextdomain ("", "");
14847 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
14852 if ac_fn_c_try_link
"$LINENO"; then :
14853 LIBINTL
="$LIBINTL $LIBICONV"
14854 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14855 gt_cv_func_gnugettext2_libintl
=yes
14858 rm -f core conftest.err conftest.
$ac_objext \
14859 conftest
$ac_exeext conftest.
$ac_ext
14861 CPPFLAGS
="$gt_save_CPPFLAGS"
14862 LIBS
="$gt_save_LIBS"
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
14865 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
14868 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
14869 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
14870 && test "$PACKAGE" != gettext; }; then
14871 gt_use_preinstalled_gnugettext
=yes
14879 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
14880 nls_cv_use_gnu_gettext
=yes
14884 if test "$nls_cv_use_gnu_gettext" = "yes"; then
14885 INTLOBJS
="\$(GETTOBJS)"
14886 BUILD_INCLUDED_LIBINTL
=yes
14887 USE_INCLUDED_LIBINTL
=yes
14888 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
14889 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
14890 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
14893 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14894 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14899 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14900 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14902 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14909 if test "$USE_NLS" = "yes"; then
14911 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14912 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14914 $as_echo_n "checking how to link with libintl... " >&6; }
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14916 $as_echo "$LIBINTL" >&6; }
14918 for element
in $INCINTL; do
14920 for x
in $CPPFLAGS; do
14922 acl_save_prefix
="$prefix"
14923 prefix
="$acl_final_prefix"
14924 acl_save_exec_prefix
="$exec_prefix"
14925 exec_prefix
="$acl_final_exec_prefix"
14927 exec_prefix
="$acl_save_exec_prefix"
14928 prefix
="$acl_save_prefix"
14930 if test "X$x" = "X$element"; then
14935 if test -z "$haveit"; then
14936 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14943 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14946 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14954 if test "$PACKAGE" = gettext; then
14955 BUILD_INCLUDED_LIBINTL
=yes
14963 nls_cv_header_intl
=
14964 nls_cv_header_libgt
=
14975 INTL_LIBTOOL_SUFFIX_PREFIX
=
14979 INTLLIBS
="$LIBINTL"
14986 if test $USE_INCLUDED_LIBINTL = yes; then :
14987 INCINTL
=-I\
${top_builddir}/intl
14990 if test x
$USE_NLS = xyes
; then :
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
14993 $as_echo_n "checking for autopoint... " >&6; }
14994 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
14995 if test -n "$autopoint_version"; then :
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
14998 $as_echo "yes ($autopoint_version)" >&6; }
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15004 $as_echo "no" >&6; }
15010 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15012 You need to install GNU gettext/gettext-tools to compile aMule with
15014 $as_echo "$as_me: WARNING:
15015 You need to install GNU gettext/gettext-tools to compile aMule with
15016 i18n support." >&2;}
15017 _mule_warning_13
=yes
15018 _mule_has_warnings
=yes
15022 if test ${USE_NLS:-no} = yes; then :
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
15025 $as_echo_n "checking for requested languages... " >&6; }
15026 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
15028 if test ${enable_amule_daemon:-no} = yes; then :
15030 if test -z "$LINGUAS"; then :
15031 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
15034 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15035 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
15038 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
15041 AMULE_DAEMON_MANPAGES
=
15046 if test ${enable_amulecmd:-no} = yes; then :
15048 if test -z "$LINGUAS"; then :
15049 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
15052 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15053 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
15056 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
15064 if test ${enable_webserver:-no} = yes; then :
15066 if test -z "$LINGUAS"; then :
15067 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
15070 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15071 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
15074 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
15077 WEBSERVER_MANPAGES
=
15082 if test ${enable_amule_gui:-no} = yes; then :
15084 if test -z "$LINGUAS"; then :
15085 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
15088 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15089 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
15092 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
15095 AMULE_GUI_MANPAGES
=
15100 if test ${enable_cas:-no} = yes; then :
15102 if test -z "$LINGUAS"; then :
15103 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
15106 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15107 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
15110 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
15118 if test ${enable_wxcas:-no} = yes; then :
15120 if test -z "$LINGUAS"; then :
15121 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
15124 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15125 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
15128 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
15136 if test ${enable_ed2k:-yes} = yes; then :
15138 if test -z "$LINGUAS"; then :
15139 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
15142 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15143 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
15146 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
15154 if test ${enable_alc:-no} = yes; then :
15156 if test -z "$LINGUAS"; then :
15157 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
15160 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15161 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
15164 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
15172 if test ${enable_alcc:-no} = yes; then :
15174 if test -z "$LINGUAS"; then :
15175 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
15178 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15179 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
15182 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
15190 if test ${enable_monolithic:-yes} = yes; then :
15192 if test -z "$LINGUAS"; then :
15193 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
15196 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15197 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
15200 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
15203 MONOLITHIC_MANPAGES
=
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
15208 $as_echo "${LINGUAS:-all}" >&6; }
15214 ac_cpp
='$CXXCPP $CPPFLAGS'
15215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15221 # Check for bfd.h (to have proper backtraces without using wxExecute)
15223 for ac_header
in ansidecl.h bfd.h
15225 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15226 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15227 eval as_val
=\$
$as_ac_Header
15228 if test "x$as_val" = x
""yes; then :
15229 cat >>confdefs.h
<<_ACEOF
15230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15237 if test $ac_cv_header_ansidecl_h = yes -a $ac_cv_header_bfd_h = yes; then :
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link with bfd" >&5
15240 $as_echo_n "checking for libraries required to link with bfd... " >&6; }
15241 if test "${mule_cv_lib_bfd+set}" = set; then :
15242 $as_echo_n "(cached) " >&6
15245 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
15246 # Doing some black magic to prevent multiple tests for the same set of
15247 # libraries when any of the shell variables above expand to nothing.
15249 done |
sed -e 's/^ *//;s/ *$//;s/ */ /g' |
${AWK} '!x[$0]++' >conftest.bfd_ldadd
15250 while read bfd_ldadd
; do
15251 mule_backup_LIBS
="$LIBS"
15252 mule_backup_LDFLAGS
="$LDFLAGS"
15253 LIBS
="${bfd_ldadd} $LIBS"
15254 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
15255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15256 /* end confdefs.h. */
15259 #include <ansidecl.h>
15265 const char *dummy = bfd_errmsg(bfd_get_error());
15271 if ac_fn_cxx_try_link
"$LINENO"; then :
15273 LIBS
="$mule_backup_LIBS"
15274 LDFLAGS
="$mule_backup_LDFLAGS"
15275 mule_cv_lib_bfd
="${bfd_ldadd}"
15278 rm -f core conftest.err conftest.
$ac_objext \
15279 conftest
$ac_exeext conftest.
$ac_ext
15280 LIBS
="$mule_backup_LIBS"
15281 LDFLAGS
="$mule_backup_LDFLAGS"
15282 if ${mule_cv_lib_bfd+:} false
; then :
15285 done <conftest.bfd_ldadd
15286 rm -f conftest.bfd_ldadd
15291 if ${mule_cv_lib_bfd+:} false
; then :
15293 BFD_CPPFLAGS
="-DHAVE_BFD"
15294 BFD_LIBS
="${mule_cv_lib_bfd}"
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BFD_LIBS:-none required}" >&5
15296 $as_echo "${BFD_LIBS:-none required}" >&6; }
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15301 $as_echo "not found" >&6; }
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15303 Cannot link to the library containing the bfd functions." >&5
15304 $as_echo "$as_me: WARNING:
15305 Cannot link to the library containing the bfd functions." >&2;}
15306 _mule_warning_14
=yes
15307 _mule_has_warnings
=yes
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15315 bfd.h not found or unusable, please install binutils development
15316 package if you are a developer or want to help testing aMule" >&5
15317 $as_echo "$as_me: WARNING:
15318 bfd.h not found or unusable, please install binutils development
15319 package if you are a developer or want to help testing aMule" >&2;}
15320 _mule_warning_15
=yes
15321 _mule_has_warnings
=yes
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
15329 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
15330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15334 #include <execinfo.h>
15341 int n = backtrace((void **)&bt, 1);
15342 char **bt_syms = backtrace_symbols(bt, n);
15349 if ac_fn_cxx_try_link
"$LINENO"; then :
15352 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15355 $as_echo "yes" >&6; }
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15360 $as_echo "no" >&6; }
15363 rm -f core conftest.err conftest.
$ac_objext \
15364 conftest
$ac_exeext conftest.
$ac_ext
15368 # aMule plasma widget
15369 if test ${enable_plasmamule:-no} = yes; then :
15372 if test -z ${QT_MOC}; then :
15374 for ac_prog
in moc-qt4 moc
15376 # Extract the first word of "$ac_prog", so it can be a program name with args.
15377 set dummy
$ac_prog; ac_word
=$2
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15379 $as_echo_n "checking for $ac_word... " >&6; }
15380 if test "${ac_cv_path_QT_MOC+set}" = set; then :
15381 $as_echo_n "(cached) " >&6
15385 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15389 for as_dir
in $PATH
15392 test -z "$as_dir" && as_dir
=.
15393 for ac_exec_ext
in '' $ac_executable_extensions; do
15394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15395 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15406 QT_MOC
=$ac_cv_path_QT_MOC
15407 if test -n "$QT_MOC"; then
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15409 $as_echo "$QT_MOC" >&6; }
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15412 $as_echo "no" >&6; }
15416 test -n "$QT_MOC" && break
15419 if test -z ${QT_MOC}; then :
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15429 $as_echo_n "checking for moc... " >&6; }
15430 if test -x ${QT_MOC}; then :
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15433 $as_echo "${QT_MOC}" >&6; }
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15439 $as_echo "\"not found\"" >&6; }
15448 if test "${QT_MOC}" != "not found"; then :
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15451 $as_echo_n "checking for moc version >= 4... " >&6; }
15452 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15453 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15456 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15461 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15469 if test "${QT_MOC}" = "not found"; then :
15470 enable_plasmamule
=disabled
15473 if test ${enable_plasmamule:-no} = yes; then :
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15478 $as_echo_n "checking for qt... " >&6; }
15479 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15482 $as_echo "found" >&6; }
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15484 $as_echo_n "checking for qt core cflags... " >&6; }
15485 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15487 $as_echo "$QT_CORE_CFLAGS" >&6; }
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15489 $as_echo_n "checking for qt core libs... " >&6; }
15490 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15492 $as_echo "$QT_CORE_LIBS" >&6; }
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15494 $as_echo_n "checking for qt gui cflags... " >&6; }
15495 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15497 $as_echo "$QT_GUI_CFLAGS" >&6; }
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15499 $as_echo_n "checking for qt gui libs... " >&6; }
15500 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15502 $as_echo "$QT_GUI_LIBS" >&6; }
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15506 $as_echo "not found" >&6; }
15511 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
15513 QT_DBUS_LDFLAGS
="-lQtDBus"
15523 if test -z "${QT_CORE_CXXFLAGS}"; then :
15524 enable_plasmamule
=disabled
15529 if test ${enable_plasmamule:-no} = yes; then :
15532 if test -z ${KDE4_CONFIG}; then :
15534 # Extract the first word of "kde4-config", so it can be a program name with args.
15535 set dummy kde4-config
; ac_word
=$2
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15537 $as_echo_n "checking for $ac_word... " >&6; }
15538 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
15539 $as_echo_n "(cached) " >&6
15541 case $KDE4_CONFIG in
15543 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15547 for as_dir
in $PATH
15550 test -z "$as_dir" && as_dir
=.
15551 for ac_exec_ext
in '' $ac_executable_extensions; do
15552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15553 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15564 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15565 if test -n "$KDE4_CONFIG"; then
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15567 $as_echo "$KDE4_CONFIG" >&6; }
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15570 $as_echo "no" >&6; }
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15578 $as_echo_n "checking for kde4-config... " >&6; }
15579 if test ! -x KDE4_CONFIG
; then :
15581 KDE4_CONFIG
="not found"
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15583 $as_echo "not found" >&6; }
15590 if test "${KDE4_CONFIG}" != "not found"; then :
15592 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15593 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15596 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15601 $as_echo "at least version
4 required
" >&6; }
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15609 $as_echo "not found
" >&6; }
15615 if test "${KDE4_CONFIG}" = "not found
"; then :
15616 enable_plasmamule=disabled
15621 if test ${enable_plasmamule:-no} = yes; then :
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15625 $as_echo_n "checking
for kde4 headers...
" >&6; }
15626 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15628 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15630 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15633 $as_echo "${KDE_HEADER_DIR}" >&6; }
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15638 $as_echo "dataengine.h not found
" >&6; }
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15646 $as_echo "kdirwatch.h not found
" >&6; }
15652 if test -z ${KDE_HEADER_DIR}; then :
15653 enable_plasmamule=disabled
15658 if test ${enable_plasmamule:-no} = yes; then :
15660 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15661 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15666 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15667 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15672 if test ${KDE_IN_HOME} = "yes"; then :
15674 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15678 if test -n ${prefix}; then :
15680 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15681 if test -n ${KDE_APPLNK_PATH}; then :
15683 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15689 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15695 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15701 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15702 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15707 if test ${KDE_IN_HOME} = "yes"; then :
15709 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15713 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15717 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15723 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15724 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15729 if test ${KDE_IN_HOME} = "yes"; then :
15731 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15735 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15739 $as_echo "${KDE_MODULE_PATH}" >&6; }
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15745 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15746 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15751 if test ${KDE_IN_HOME} = "yes"; then :
15753 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15757 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15760 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15762 $as_echo "${KDE_ICON_PATH}" >&6; }
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15768 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15769 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15774 if test ${KDE_IN_HOME} = "yes"; then :
15776 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15780 if test -n ${prefix}; then :
15782 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15783 if test -n ${KDE_MIME_PATH}; then :
15785 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15791 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15797 $as_echo "${KDE_MIME_PATH}" >&6; }
15802 enable_plasmamule=disabled
15807 if test ${enable_debug:-yes} = yes; then :
15809 DEBUGFLAG="-D__DEBUG__"
15817 # Check for readline library
15818 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
15821 $as_echo_n "checking
for a readline compatible library...
" >&6; }
15822 if test "${vl_cv_lib_readline+set}" = set; then :
15823 $as_echo_n "(cached
) " >&6
15827 for readline_lib in readline edit editline; do
15828 for termcap_lib in "" termcap curses ncurses; do
15829 if test -z "$termcap_lib"; then
15830 TRY_LIB="-l$readline_lib"
15832 TRY_LIB="-l$readline_lib -l$termcap_lib"
15834 LIBS="$ORIG_LIBS $TRY_LIB"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 /* Override any GCC internal prototype to avoid an error.
15839 Use char because int might match the return type of a GCC
15840 builtin and then its argument prototype would still apply. */
15848 return readline ();
15853 if ac_fn_cxx_try_link "$LINENO"; then :
15854 vl_cv_lib_readline="$TRY_LIB"
15856 rm -f core conftest.err conftest.$ac_objext \
15857 conftest$ac_exeext conftest.$ac_ext
15858 if test -n "$vl_cv_lib_readline"; then
15862 if test -n "$vl_cv_lib_readline"; then
15866 if test -z "$vl_cv_lib_readline"; then
15867 vl_cv_lib_readline="no
"
15871 READLINE_LIBS="$vl_cv_lib_readline"
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
15876 $as_echo "$vl_cv_lib_readline" >&6; }
15878 if test "$vl_cv_lib_readline" != "no
"; then
15880 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
15882 for ac_header
in readline.h readline
/readline.h
15884 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15885 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15886 eval as_val
=\$
$as_ac_Header
15887 if test "x$as_val" = x
""yes; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
15897 $as_echo_n "checking whether readline supports history... " >&6; }
15898 if test "${vl_cv_lib_readline_history+set}" = set; then :
15899 $as_echo_n "(cached) " >&6
15902 vl_cv_lib_readline_history
="no"
15903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15906 /* Override any GCC internal prototype to avoid an error.
15907 Use char because int might match the return type of a GCC
15908 builtin and then its argument prototype would still apply. */
15912 char add_history ();
15916 return add_history ();
15921 if ac_fn_cxx_try_link
"$LINENO"; then :
15922 vl_cv_lib_readline_history
="yes"
15924 rm -f core conftest.err conftest.
$ac_objext \
15925 conftest
$ac_exeext conftest.
$ac_ext
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
15929 $as_echo "$vl_cv_lib_readline_history" >&6; }
15930 if test "$vl_cv_lib_readline_history" = "yes"; then
15932 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
15934 for ac_header
in history.h readline
/history.h
15936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15937 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15938 eval as_val
=\$
$as_ac_Header
15939 if test "x$as_val" = x
""yes; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15957 ac_cpp
='$CPP $CPPFLAGS'
15958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15963 # Check for strerror_r
15964 mule_backup_CPPFLAGS
="$CPPFLAGS"
15965 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
15966 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
15967 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_DECL_STRERROR_R $ac_have_decl
15977 for ac_func
in strerror_r
15979 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
15980 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_STRERROR_R 1
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
15989 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
15990 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15994 ac_cv_func_strerror_r_char_p
=no
15995 if test $ac_cv_have_decl_strerror_r = yes; then
15996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15998 $ac_includes_default
16004 char x = *strerror_r (0, buf, sizeof buf);
16005 char *p = strerror_r (0, buf, sizeof buf);
16012 if ac_fn_c_try_compile
"$LINENO"; then :
16013 ac_cv_func_strerror_r_char_p
=yes
16015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16017 # strerror_r is not declared. Choose between
16018 # systems that have relatively inaccessible declarations for the
16019 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
16020 # former has a strerror_r that returns char*, while the latter
16021 # has a strerror_r that returns `int'.
16022 # This test should segfault on the DEC system.
16023 if test "$cross_compiling" = yes; then :
16026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16028 $ac_includes_default
16029 extern char *strerror_r ();
16034 char x = *strerror_r (0, buf, sizeof buf);
16035 return ! isalpha (x);
16040 if ac_fn_c_try_run
"$LINENO"; then :
16041 ac_cv_func_strerror_r_char_p
=yes
16043 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16044 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
16051 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
16052 if test $ac_cv_func_strerror_r_char_p = yes; then
16054 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
16058 CPPFLAGS
="$mule_backup_CPPFLAGS"
16063 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
16065 $as_echo_n "checking for docdir... " >&6; }
16066 if test -z "$docdir"; then :
16067 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
16070 $as_echo "$docdir" >&6; }
16073 # Try to set the SVN checkout-date
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
16075 $as_echo_n "checking for SVNDATE... " >&6; }
16077 if test -f "$srcdir/.svn-revision"; then
16078 svndate
="rev. `cat $srcdir/.svn-revision`"
16079 elif test -d "$srcdir"/.svn
; then
16080 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'`"
16081 elif test -d "$srcdir"/.git
; then
16083 git_revision
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%h'`
16084 if test -n "`git --git-dir="$srcdir"/.git --work-tree="$srcdir" status --porcelain --untracked-files=no`" ; then
16087 if test -f $srcdir/.git
/svn
/.metadata
; then
16088 git_sha
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%H'`
16089 svndate
=`git --git-dir="$srcdir"/.git rev-list ${git_sha} | while read sha; do
16090 svn_revision=\`git
--git-dir="$srcdir"/.git svn find-rev \
${sha}\
`
16091 if test -n "\${svn_revision}" ; then
16092 if test \${sha} = ${git_sha} ; then
16093 echo "rev. \${svn_revision}${modified}"
16095 echo "rev. \${svn_revision}+g${git_revision}${modified}"
16101 svndate
="rev. g${git_revision}${modified}"
16104 elif test -d "$srcdir"/.hg
; then
16106 hg_revision
=`hg --cwd "$srcdir" identify --id`
16107 hg_revid
=${hg_revision%+}
16108 if test ${hg_revision} != ${hg_revid} ; then
16111 if test -f "$srcdir"/.hg
/svn
/uuid
; then
16112 svndate
=`hg --cwd "$srcdir" log --follow --template='r{svnrev} {node|short}\n' | while read svn_revision hg_sha; do
16113 if test \${svn_revision} != r ; then
16114 if test \${hg_sha} = ${hg_revid} ; then
16115 echo "rev. \${svn_revision#r}${modified}"
16117 echo "rev. \${svn_revision#r}+h${hg_revision}"
16123 svndate
="rev. h${hg_revision}"
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
16130 $as_echo "${svndate:-None required}" >&6; }
16131 if test -n "$svndate"; then :
16134 cat >>confdefs.h
<<_ACEOF
16135 #define SVNDATE "$svndate"
16138 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
16146 # Check whether --with-denoise-level was given.
16147 if test "${with_denoise_level+set}" = set; then :
16148 withval
=$with_denoise_level;
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
16153 $as_echo_n "checking denoising level... " >&6; }
16154 if test ${with_denoise_level:-5} = yes; then :
16155 with_denoise_level
=5
16157 if test ${with_denoise_level:-5} = no
; then :
16158 with_denoise_level
=0
16160 if test ${with_denoise_level:-5} -gt 4; then :
16161 if test "${svndate:+set}" = "set"; then :
16162 with_denoise_level
=0
16164 with_denoise_level
=4
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
16168 $as_echo "$with_denoise_level" >&6; }
16170 ac_config_commands
="$ac_config_commands denoiser"
16175 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
16177 # Check whether --enable-ccache was given.
16178 if test "${enable_ccache+set}" = set; then :
16179 enableval
=$enable_ccache;
16185 # Check whether --with-ccache-prefix was given.
16186 if test "${with_ccache_prefix+set}" = set; then :
16187 withval
=$with_ccache_prefix;
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added" >&5
16192 $as_echo_n "checking whether ccache support should be added... " >&6; }
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16194 $as_echo "${enable_ccache:-no}" >&6; }
16196 if test ${enable_ccache:-no} = yes; then :
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache presence" >&5
16199 $as_echo_n "checking for ccache presence... " >&6; }
16200 if test -z "$with_ccache_prefix"; then :
16202 ccache_full
=`which ccache`
16203 with_ccache_prefix
=`dirname ${ccache_full}`
16206 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then :
16208 CC
="$with_ccache_prefix/ccache $CC"
16209 CXX
="$with_ccache_prefix/ccache $CXX"
16210 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16216 $as_echo "${enable_ccache:-no}" >&6; }
16223 if test x
$SYS = xwin32
; then
16225 SYS_WIN32_FALSE
='#'
16231 if test x
$SYS = xwin32
-a "$RC" != ":"; then
16239 if test x
$SYS = xdarwin
; then
16240 NEED_CORESERVICES_TRUE
=
16241 NEED_CORESERVICES_FALSE
='#'
16243 NEED_CORESERVICES_TRUE
='#'
16244 NEED_CORESERVICES_FALSE
=
16247 if test x
$USE_NLS = xyes
; then
16249 COMPILE_NLS_FALSE
='#'
16251 COMPILE_NLS_TRUE
='#'
16255 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
16256 GENERATE_FLEX_HEADER_TRUE
=
16257 GENERATE_FLEX_HEADER_FALSE
='#'
16259 GENERATE_FLEX_HEADER_TRUE
='#'
16260 GENERATE_FLEX_HEADER_FALSE
=
16263 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
16264 INSTALL_SKINS_TRUE
=
16265 INSTALL_SKINS_FALSE
='#'
16267 INSTALL_SKINS_TRUE
='#'
16268 INSTALL_SKINS_FALSE
=
16271 if test ${enable_plasmamule:-no} = yes; then
16273 PLASMAMULE_FALSE
='#'
16275 PLASMAMULE_TRUE
='#'
16280 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
16281 COMPILE_LIB_COMMON_TRUE
=
16282 COMPILE_LIB_COMMON_FALSE
='#'
16284 COMPILE_LIB_COMMON_TRUE
='#'
16285 COMPILE_LIB_COMMON_FALSE
=
16288 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
16289 COMPILE_LIB_EC_TRUE
=
16290 COMPILE_LIB_EC_FALSE
='#'
16292 COMPILE_LIB_EC_TRUE
='#'
16293 COMPILE_LIB_EC_FALSE
=
16297 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"
16300 if test x
$SYS = xwin32
; then :
16301 ac_config_files
="$ac_config_files version.rc"
16304 cat >confcache
<<\_ACEOF
16305 # This file is a shell script that caches the results of configure
16306 # tests run on this system so they can be shared between configure
16307 # scripts and configure runs, see configure's option --config-cache.
16308 # It is not useful on other systems. If it contains results you don't
16309 # want to keep, you may remove or edit it.
16311 # config.status only pays attention to the cache file if you give it
16312 # the --recheck option to rerun configure.
16314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16316 # following values.
16320 # The following way of writing the cache mishandles newlines in values,
16321 # but we know of no workaround that is simple, portable, and efficient.
16322 # So, we kill variables containing newlines.
16323 # Ultrix sh set writes to stderr and can't be redirected directly,
16324 # and sets the high bit in the cache file unless we assign to the vars.
16326 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16327 eval ac_val
=\$
$ac_var
16331 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16335 _ | IFS | as_nl
) ;; #(
16336 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16337 *) { eval $ac_var=; unset $ac_var;} ;;
16343 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16344 *${as_nl}ac_space
=\
*)
16345 # `set' does not quote correctly, so add quotes: double-quote
16346 # substitution turns \\\\ into \\, and sed turns \\ into \.
16349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16352 # `set' quotes correctly as required by POSIX, so do not add quotes.
16353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16366 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16367 if test -w "$cache_file"; then
16368 test "x$cache_file" != "x/dev/null" &&
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16370 $as_echo "$as_me: updating cache $cache_file" >&6;}
16371 cat confcache
>$cache_file
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16374 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16379 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16380 # Let make expand exec_prefix.
16381 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16383 DEFS
=-DHAVE_CONFIG_H
16387 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16388 # 1. Remove the extension, and $U if already installed.
16389 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16390 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16391 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16392 # will be set to the directory where LIBOBJS objects are built.
16393 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16394 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16396 LIBOBJS
=$ac_libobjs
16398 LTLIBOBJS
=$ac_ltlibobjs
16401 if test -n "$EXEEXT"; then
16403 am__EXEEXT_FALSE
='#'
16405 am__EXEEXT_TRUE
='#'
16409 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16410 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16413 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16414 as_fn_error
"conditional \"AMDEP\" was never defined.
16415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16417 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16418 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16421 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16422 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16425 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
16426 as_fn_error
"conditional \"MONOLITHIC\" was never defined.
16427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16429 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
16430 as_fn_error
"conditional \"AMULE_DAEMON\" was never defined.
16431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16433 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
16434 as_fn_error
"conditional \"COMPILE_CMD\" was never defined.
16435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16437 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
16438 as_fn_error
"conditional \"WEB\" was never defined.
16439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16441 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
16442 as_fn_error
"conditional \"AMULE_GUI\" was never defined.
16443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16445 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
16446 as_fn_error
"conditional \"CAS\" was never defined.
16447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16449 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
16450 as_fn_error
"conditional \"WXCAS\" was never defined.
16451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16453 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
16454 as_fn_error
"conditional \"ED2K\" was never defined.
16455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16457 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
16458 as_fn_error
"conditional \"ALC\" was never defined.
16459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16461 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
16462 as_fn_error
"conditional \"ALCC\" was never defined.
16463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16465 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
16466 as_fn_error
"conditional \"XAS\" was never defined.
16467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16469 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
16470 as_fn_error
"conditional \"FILEVIEW\" was never defined.
16471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16473 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
16474 as_fn_error
"conditional \"SYS_WIN32\" was never defined.
16475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16477 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
16478 as_fn_error
"conditional \"NEED_RC\" was never defined.
16479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16481 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
16482 as_fn_error
"conditional \"NEED_CORESERVICES\" was never defined.
16483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16485 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
16486 as_fn_error
"conditional \"COMPILE_NLS\" was never defined.
16487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16489 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
16490 as_fn_error
"conditional \"GENERATE_FLEX_HEADER\" was never defined.
16491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16493 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
16494 as_fn_error
"conditional \"INSTALL_SKINS\" was never defined.
16495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16497 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
16498 as_fn_error
"conditional \"PLASMAMULE\" was never defined.
16499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16501 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
16502 as_fn_error
"conditional \"COMPILE_LIB_COMMON\" was never defined.
16503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16505 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
16506 as_fn_error
"conditional \"COMPILE_LIB_EC\" was never defined.
16507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16510 : ${CONFIG_STATUS=./config.status}
16512 ac_clean_files_save
=$ac_clean_files
16513 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16519 # Generated by $as_me.
16520 # Run this file to recreate the current configuration.
16521 # Compiler output produced by configure, useful for debugging
16522 # configure, is in config.log if it exists.
16525 ac_cs_recheck=false
16528 SHELL=\${CONFIG_SHELL-$SHELL}
16531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16532 ## -------------------- ##
16533 ## M4sh Initialization. ##
16534 ## -------------------- ##
16536 # Be more Bourne compatible
16537 DUALCASE
=1; export DUALCASE
# for MKS sh
16538 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16542 # is contrary to our usage. Disable this feature.
16543 alias -g '${1+"$@"}'='"$@"'
16544 setopt NO_GLOB_SUBST
16546 case `(set -o) 2>/dev/null` in #(
16558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16559 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16562 # Prefer a ksh shell builtin over an external printf program on Solaris,
16563 # but without wasting forks for bash or zsh.
16564 if test -z "$BASH_VERSION$ZSH_VERSION" \
16565 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16566 as_echo='print
-r --'
16567 as_echo_n='print
-rn --'
16568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16569 as_echo='printf %s
\n'
16570 as_echo_n='printf %s
'
16572 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16573 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16574 as_echo_n='/usr
/ucb
/echo -n'
16576 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16577 as_echo_n_body='eval
16581 expr "X$arg" : "X\\(.*\\)$as_nl";
16582 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16584 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16586 export as_echo_n_body
16587 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16589 export as_echo_body
16590 as_echo='sh
-c $as_echo_body as_echo
'
16593 # The user is always right.
16594 if test "${PATH_SEPARATOR+set}" != set; then
16596 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16597 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16604 # We need space, tab and new line, in precisely that order. Quoting is
16605 # there to prevent editors from complaining about space-tab.
16606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16607 # splitting by setting IFS to empty value.)
16610 # Find who we are. Look in the path if we contain no directory separator.
16612 *[\\/]* ) as_myself=$0 ;;
16613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16614 for as_dir in $PATH
16617 test -z "$as_dir" && as_dir=.
16618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16624 # We did not find ourselves, most probably we were run as `sh COMMAND'
16625 # in which case we are not to be found in the path.
16626 if test "x$as_myself" = x
; then
16629 if test ! -f "$as_myself"; then
16630 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16634 # Unset variables that we do not need and which cause bugs (e.g. in
16635 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16636 # suppresses any "Segmentation fault" message there. '((' could
16637 # trigger a bug in pdksh 5.2.14.
16638 for as_var
in BASH_ENV ENV MAIL MAILPATH
16639 do eval test x\
${$as_var+set} = xset \
16640 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16653 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16656 # as_fn_error ERROR [LINENO LOG_FD]
16657 # ---------------------------------
16658 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16659 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16660 # script with status $?, using 1 if that was 0.
16663 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16665 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16666 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16668 $as_echo "$as_me: error: $1" >&2
16669 as_fn_exit
$as_status
16673 # as_fn_set_status STATUS
16674 # -----------------------
16675 # Set $? to STATUS, without forking.
16676 as_fn_set_status
()
16679 } # as_fn_set_status
16681 # as_fn_exit STATUS
16682 # -----------------
16683 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16687 as_fn_set_status
$1
16693 # Portably unset VAR.
16696 { eval $1=; unset $1;}
16698 as_unset
=as_fn_unset
16699 # as_fn_append VAR VALUE
16700 # ----------------------
16701 # Append the text in VALUE to the end of the definition contained in VAR. Take
16702 # advantage of any shell optimizations that allow amortized linear growth over
16703 # repeated appends, instead of the typical quadratic growth present in naive
16705 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16706 eval 'as_fn_append ()
16717 # as_fn_arith ARG...
16718 # ------------------
16719 # Perform arithmetic evaluation on the ARGs, and store the result in the
16720 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16721 # must be portable across $(()) and expr.
16722 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16723 eval 'as_fn_arith ()
16730 as_val
=`expr "$@" || test $? -eq 1`
16735 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16736 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16742 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16743 as_basename
=basename
16748 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16754 as_me
=`$as_basename -- "$0" ||
16755 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16756 X"$0" : 'X\(//\)$' \| \
16757 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16759 sed '/^.*\/\([^/][^/]*\)\/*$/{
16773 # Avoid depending upon Character Ranges.
16774 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16775 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16776 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16777 as_cr_digits
='0123456789'
16778 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16780 ECHO_C
= ECHO_N
= ECHO_T
=
16781 case `echo -n x` in #(((((
16783 case `echo 'xy\c'` in
16784 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16786 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16793 rm -f conf$$ conf$$.exe conf$$.
file
16794 if test -d conf$$.dir
; then
16795 rm -f conf$$.dir
/conf$$.
file
16798 mkdir conf$$.dir
2>/dev
/null
16800 if (echo >conf$$.
file) 2>/dev
/null
; then
16801 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16803 # ... but there are two gotchas:
16804 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16805 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16806 # In both cases, we have to default to `cp -p'.
16807 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16809 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16817 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16818 rmdir conf$$.dir
2>/dev
/null
16823 # Create "$as_dir" as a directory, including parents if necessary.
16828 -*) as_dir
=.
/$as_dir;;
16830 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16834 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16835 *) as_qdir
=$as_dir;;
16837 as_dirs
="'$as_qdir' $as_dirs"
16838 as_dir
=`$as_dirname -- "$as_dir" ||
16839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16840 X"$as_dir" : 'X\(//\)[^/]' \| \
16841 X"$as_dir" : 'X\(//\)$' \| \
16842 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16843 $as_echo X"$as_dir" |
16844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16848 /^X\(\/\/\)[^/].*/{
16861 test -d "$as_dir" && break
16863 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16864 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16868 if mkdir
-p .
2>/dev
/null
; then
16869 as_mkdir_p
='mkdir -p "$as_dir"'
16871 test -d .
/-p && rmdir .
/-p
16875 if test -x / >/dev
/null
2>&1; then
16876 as_test_x
='test -x'
16878 if ls -dL / >/dev
/null
2>&1; then
16885 if test -d "$1"; then
16891 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16892 ???[sx]*):;;*)false;;esac;fi
16896 as_executable_p
=$as_test_x
16898 # Sed expression to map a string onto a valid CPP name.
16899 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16901 # Sed expression to map a string onto a valid variable name.
16902 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16906 ## ----------------------------------- ##
16907 ## Main body of $CONFIG_STATUS script. ##
16908 ## ----------------------------------- ##
16910 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16913 # Save the log message, to keep $0 and so on meaningful, and to
16914 # report actual input values of CONFIG_FILES etc. instead of their
16915 # values after options handling.
16917 This file was extended by aMule $as_me SVN, which was
16918 generated by GNU Autoconf 2.65. Invocation command line was
16920 CONFIG_FILES = $CONFIG_FILES
16921 CONFIG_HEADERS = $CONFIG_HEADERS
16922 CONFIG_LINKS = $CONFIG_LINKS
16923 CONFIG_COMMANDS = $CONFIG_COMMANDS
16926 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16931 case $ac_config_files in *"
16932 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16935 case $ac_config_headers in *"
16936 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16941 # Files that config.status was made for.
16942 config_files="$ac_config_files"
16943 config_headers="$ac_config_headers"
16944 config_commands="$ac_config_commands"
16948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16950 \`$as_me' instantiates files and other configuration actions
16951 from templates according to the current configuration. Unless the files
16952 and actions are specified as TAGs, all are instantiated by default.
16954 Usage: $0 [OPTION]... [TAG]...
16956 -h, --help print this help, then exit
16957 -V, --version print version number and configuration settings, then exit
16958 --config print configuration, then exit
16959 -q, --quiet, --silent
16960 do not print progress messages
16961 -d, --debug don't remove temporary files
16962 --recheck update $as_me by reconfiguring in the same conditions
16963 --file=FILE[:TEMPLATE]
16964 instantiate the configuration file FILE
16965 --header=FILE[:TEMPLATE]
16966 instantiate the configuration header FILE
16968 Configuration files:
16971 Configuration headers:
16974 Configuration commands:
16977 Report bugs to <admin@amule.org>."
16980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16981 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16983 aMule config.status SVN
16984 configured by $0, generated by GNU Autoconf 2.65,
16985 with options \\"\$ac_cs_config\\"
16987 Copyright (C) 2009 Free Software Foundation, Inc.
16988 This config.status script is free software; the Free Software Foundation
16989 gives unlimited permission to copy, distribute and modify it."
16996 test -n "\$AWK" || AWK=awk
16999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17000 # The default lists apply if the user does not specify any file.
17006 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17007 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17018 # Handling of the options.
17019 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17021 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17022 $as_echo "$ac_cs_version"; exit ;;
17023 --config |
--confi |
--conf |
--con |
--co |
--c )
17024 $as_echo "$ac_cs_config"; exit ;;
17025 --debug |
--debu |
--deb |
--de |
--d |
-d )
17027 --file |
--fil |
--fi |
--f )
17030 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17032 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17033 ac_need_defaults
=false
;;
17034 --header |
--heade |
--head |
--hea )
17037 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17039 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17040 ac_need_defaults
=false
;;
17042 # Conflict between --help and --header
17043 as_fn_error
"ambiguous option: \`$1'
17044 Try \`$0 --help' for more information.";;
17045 --help |
--hel |
-h )
17046 $as_echo "$ac_cs_usage"; exit ;;
17047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17048 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17051 # This is an error.
17052 -*) as_fn_error
"unrecognized option: \`$1'
17053 Try \`$0 --help' for more information." ;;
17055 *) as_fn_append ac_config_targets
" $1"
17056 ac_need_defaults
=false
;;
17062 ac_configure_extra_args
=
17064 if $ac_cs_silent; then
17066 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17071 if \$ac_cs_recheck; then
17072 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17074 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17075 CONFIG_SHELL='$SHELL'
17076 export CONFIG_SHELL
17081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17086 ## Running $as_me. ##
17092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17096 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17097 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17098 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17100 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
17101 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17102 LINGUAS="${LINGUAS-%UNSET%}"
17104 denoiserlevel=$with_denoise_level
17108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17110 # Handling of arguments.
17111 for ac_config_target
in $ac_config_targets
17113 case $ac_config_target in
17114 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17115 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17116 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17117 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
17118 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17119 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
17120 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
17121 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
17122 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
17123 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
17124 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
17125 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
17126 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
17127 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
17128 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
17129 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
17130 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
17131 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
17132 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
17133 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
17134 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
17135 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
17136 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
17137 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
17138 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
17139 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
17140 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
17141 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
17142 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
17143 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
17144 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
17145 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
17146 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
17147 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
17148 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
17149 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
17150 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
17151 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
17153 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17158 # If the user did not use the arguments to specify the items to instantiate,
17159 # then the envvar interface is used. Set only those that are not.
17160 # We use the long form for the default assignment because of an extremely
17161 # bizarre bug on SunOS 4.1.3.
17162 if $ac_need_defaults; then
17163 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17164 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17165 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17168 # Have a temporary directory for convenience. Make it in the build tree
17169 # simply because there is no reason against having it here, and in addition,
17170 # creating and moving files from /tmp can sometimes cause problems.
17171 # Hook for its removal unless debugging.
17172 # Note that there is a small window in which the directory will not be cleaned:
17173 # after its creation but before its name has been assigned to `$tmp'.
17177 trap 'exit_status=$?
17178 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17180 trap 'as_fn_exit 1' 1 2 13 15
17182 # Create a (secure) tmp directory for tmp files.
17185 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17186 test -n "$tmp" && test -d "$tmp"
17189 tmp
=.
/conf$$
-$RANDOM
17190 (umask 077 && mkdir
"$tmp")
17191 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17193 # Set up the scripts for CONFIG_FILES section.
17194 # No need to generate them if there are no CONFIG_FILES.
17195 # This happens for instance with `./config.status config.h'.
17196 if test -n "$CONFIG_FILES"; then
17199 ac_cr
=`echo X | tr X '\015'`
17200 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17201 # But we know of no other shell where ac_cr would be empty at this
17202 # point, so we can use a bashism as a fallback.
17203 if test "x$ac_cr" = x
; then
17204 eval ac_cr
=\$
\'\\r
\'
17206 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17210 ac_cs_awk_cr
=$ac_cr
17213 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17218 echo "cat >conf$$subs.awk <<_ACEOF" &&
17219 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17221 } >conf$$subs.sh ||
17222 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17223 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17225 for ac_last_try in false false false false false :; do
17226 . ./conf$$subs.sh ||
17227 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17229 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17230 if test $ac_delim_n = $ac_delim_num; then
17232 elif $ac_last_try; then
17233 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17235 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17238 rm -f conf$$subs.sh
17240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17241 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17245 s/^/S["/; s
/!.
*/"]=/
17255 s/\(.\{148\}\)..*/\1/
17257 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17262 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17269 s/\(.\{148\}\)..*/\1/
17271 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17275 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17280 ' <conf$$subs.awk | sed '
17285 ' >>$CONFIG_STATUS || ac_write_fail=1
17286 rm -f conf$$subs.awk
17287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17289 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17290 for (key in S) S_is_set[key] = 1
17296 nfields = split(line, field, "@
")
17298 len = length(field[1])
17299 for (i = 2; i < nfields; i++) {
17301 keylen = length(key)
17302 if (S_is_set[key]) {
17304 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17305 len += length(value) + length(field[++i])
17316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17317 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17318 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17321 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17322 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17327 # trailing colons and then remove the whole line if VPATH becomes empty
17328 # (actually we leave an empty line to preserve line numbers).
17329 if test "x
$srcdir" = x.; then
17330 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17331 s/:*\$(srcdir):*/:/
17332 s/:*\${srcdir}:*/:/
17334 s/^\([^=]*=[ ]*\):*/\1/
17340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17341 fi # test -n "$CONFIG_FILES"
17343 # Set up the scripts for CONFIG_HEADERS section.
17344 # No need to generate them if there are no CONFIG_HEADERS.
17345 # This happens for instance with `./config.status Makefile'.
17346 if test -n "$CONFIG_HEADERS"; then
17347 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17351 # Transform confdefs.h into an awk script `defines.awk', embedded as
17352 # here-document in config.status, that substitutes the proper values into
17353 # config.h.in to produce config.h.
17355 # Create a delimiter string that does not exist in confdefs.h, to ease
17356 # handling of long lines.
17358 for ac_last_try in false false :; do
17359 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17360 if test -z "$ac_t"; then
17362 elif $ac_last_try; then
17363 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17365 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17369 # For the awk script, D is an array of macro values keyed by name,
17370 # likewise P contains macro parameters if any. Preserve backslash
17371 # newline sequences.
17373 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17375 s/.\{148\}/&'"$ac_delim"'/g
17378 s/^[ ]*#[ ]*define[ ][ ]*/ /
17385 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17387 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17392 D["\
1"]=" \
3\\\\\\n
"\\/p
17394 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17399 s/.\{148\}/&'"$ac_delim"'/g
17404 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17407 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17409 ' <confdefs.h | sed '
17410 s/'"$ac_delim"'/"\\\
17411 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17414 for (key in D) D_is_set[key] = 1
17417 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17419 split(line, arg, " ")
17420 if (arg[1] == "#") {
17424 defundef
= substr
(arg
[1], 2)
17427 split(mac1
, mac2
, "(") #)
17429 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17430 if (D_is_set
[macro
]) {
17431 # Preserve the white space surrounding the "#".
17432 print prefix
"define", macro P
[macro
] D
[macro
]
17435 # Replace #undef with comments. This is necessary, for example,
17436 # in the case of _POSIX_SOURCE, which is predefined and required
17437 # on some systems where configure will not decide to define it.
17438 if (defundef
== "undef") {
17439 print
"/*", prefix defundef
, macro
, "*/"
17447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17448 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17449 fi # test -n "$CONFIG_HEADERS"
17452 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17457 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17459 case $ac_mode$ac_tag in
17461 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17462 :[FH
]-) ac_tag
=-:-;;
17463 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17480 -) ac_f
="$tmp/stdin";;
17481 *) # Look for the file first in the build tree, then in the source tree
17482 # (if the path is not absolute). The absolute path cannot be DOS-style,
17483 # because $ac_f cannot contain `:'.
17487 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17489 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17491 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17492 as_fn_append ac_file_inputs
" '$ac_f'"
17495 # Let's still pretend it is `configure' which instantiates (i.e., don't
17496 # use $as_me), people would be surprised to read:
17497 # /* config.h. Generated by config.status. */
17498 configure_input
='Generated from '`
17499 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17501 if test x
"$ac_file" != x-
; then
17502 configure_input
="$ac_file. $configure_input"
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17504 $as_echo "$as_me: creating $ac_file" >&6;}
17506 # Neutralize special characters interpreted by sed in replacement strings.
17507 case $configure_input in #(
17508 *\
&* |
*\|
* |
*\\* )
17509 ac_sed_conf_input
=`$as_echo "$configure_input" |
17510 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17511 *) ac_sed_conf_input
=$configure_input;;
17515 *:-:* |
*:-) cat >"$tmp/stdin" \
17516 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17521 ac_dir
=`$as_dirname -- "$ac_file" ||
17522 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17523 X"$ac_file" : 'X\(//\)[^/]' \| \
17524 X"$ac_file" : 'X\(//\)$' \| \
17525 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17526 $as_echo X"$ac_file" |
17527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17531 /^X\(\/\/\)[^/].*/{
17544 as_dir
="$ac_dir"; as_fn_mkdir_p
17548 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17550 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17551 # A ".." for each directory in $ac_dir_suffix.
17552 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17553 case $ac_top_builddir_sub in
17554 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17555 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17558 ac_abs_top_builddir
=$ac_pwd
17559 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17560 # for backward compatibility:
17561 ac_top_builddir
=$ac_top_build_prefix
17564 .
) # We are building in place.
17566 ac_top_srcdir
=$ac_top_builddir_sub
17567 ac_abs_top_srcdir
=$ac_pwd ;;
17568 [\\/]* | ?
:[\\/]* ) # Absolute name.
17569 ac_srcdir
=$srcdir$ac_dir_suffix;
17570 ac_top_srcdir
=$srcdir
17571 ac_abs_top_srcdir
=$srcdir ;;
17572 *) # Relative name.
17573 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17574 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17575 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17577 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17587 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17588 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17590 ac_MKDIR_P
=$MKDIR_P
17592 [\\/$
]* | ?
:[\\/]* ) ;;
17593 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17598 # If the template does not know about datarootdir, expand it.
17599 # FIXME: This hack should be removed a few years after 2.60.
17600 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17611 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17612 *datarootdir
*) ac_datarootdir_seen
=yes;;
17613 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17615 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17618 ac_datarootdir_hack='
17619 s&@datadir@&$datadir&g
17620 s&@docdir@&$docdir&g
17621 s&@infodir@&$infodir&g
17622 s&@localedir@&$localedir&g
17623 s&@mandir@&$mandir&g
17624 s&\\\${datarootdir}&$datarootdir&g' ;;
17628 # Neutralize VPATH when `$srcdir' = `.'.
17629 # Shell code in configure.ac might set extrasub.
17630 # FIXME: do we really want to maintain this feature?
17631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17632 ac_sed_extra="$ac_vpsub
17635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17637 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17638 s|@configure_input@|
$ac_sed_conf_input|
;t t
17639 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17640 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17641 s
&@srcdir@
&$ac_srcdir&;t t
17642 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17643 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17644 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17645 s
&@builddir@
&$ac_builddir&;t t
17646 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17647 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17648 s
&@INSTALL@
&$ac_INSTALL&;t t
17649 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17650 $ac_datarootdir_hack
17652 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17653 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17657 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17659 which seems to be undefined. Please make sure it is defined." >&5
17660 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17661 which seems to be undefined. Please make sure it is defined." >&2;}
17665 -) cat "$tmp/out" && rm -f "$tmp/out";;
17666 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17668 || as_fn_error "could not create $ac_file" "$LINENO" 5
17674 if test x"$ac_file" != x-; then
17676 $as_echo "/* $configure_input */" \
17677 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17678 } >"$tmp/config.h" \
17679 || as_fn_error "could not create $ac_file" "$LINENO" 5
17680 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17682 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17685 mv "$tmp/config.h" "$ac_file" \
17686 || as_fn_error "could not create $ac_file" "$LINENO" 5
17689 $as_echo "/* $configure_input */" \
17690 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17691 || as_fn_error "could not create -" "$LINENO" 5
17693 # Compute "$ac_file"'s index
in $config_headers.
17696 for _am_header
in $config_headers :; do
17697 case $_am_header in
17698 $_am_arg |
$_am_arg:* )
17701 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17704 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17705 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17706 X"$_am_arg" : 'X\(//\)[^/]' \| \
17707 X"$_am_arg" : 'X\(//\)$' \| \
17708 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17709 $as_echo X"$_am_arg" |
17710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17714 /^X\(\/\/\)[^/].*/{
17726 s/.*/./; q'`/stamp-h
$_am_stamp_count
17729 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17730 $as_echo "$as_me: executing $ac_file commands" >&6;}
17735 case $ac_file$ac_mode in
17736 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17737 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17738 # are listed without --file. Let's play safe and only enable the eval
17739 # if we detect the quoting.
17740 case $CONFIG_FILES in
17741 *\'*) eval set x
"$CONFIG_FILES" ;;
17742 *) set x
$CONFIG_FILES ;;
17747 # Strip MF so we end up with the name of the file.
17748 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17749 # Check whether this is an Automake generated Makefile or not.
17750 # We used to match only the files named `Makefile.in', but
17751 # some people rename them; so instead we look at the file content.
17752 # Grep'ing the first line is not enough: some people post-process
17753 # each Makefile.in and add a new line on top of each file to say so.
17754 # Grep'ing the whole file is not good either: AIX grep has a line
17755 # limit of 2048, but all sed's we know have understand at least 4000.
17756 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17757 dirpart
=`$as_dirname -- "$mf" ||
17758 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17759 X"$mf" : 'X\(//\)[^/]' \| \
17760 X"$mf" : 'X\(//\)$' \| \
17761 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17767 /^X\(\/\/\)[^/].*/{
17783 # Extract the definition of DEPDIR, am__include, and am__quote
17784 # from the Makefile without running `make'.
17785 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17786 test -z "$DEPDIR" && continue
17787 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17788 test -z "am__include" && continue
17789 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17790 # When using ansi2knr, U may be empty or an underscore; expand it
17791 U
=`sed -n 's/^U = //p' < "$mf"`
17792 # Find all dependency output files, they are included files with
17793 # $(DEPDIR) in their names. We invoke sed twice because it is the
17794 # simplest approach to changing $(DEPDIR) to its actual value in the
17796 for file in `sed -n "
17797 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17798 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17799 # Make sure the directory exists.
17800 test -f "$dirpart/$file" && continue
17801 fdir
=`$as_dirname -- "$file" ||
17802 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17803 X"$file" : 'X\(//\)[^/]' \| \
17804 X"$file" : 'X\(//\)$' \| \
17805 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17806 $as_echo X"$file" |
17807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17811 /^X\(\/\/\)[^/].*/{
17824 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17825 # echo "creating $dirpart/$file"
17826 echo '# dummy' > "$dirpart/$file"
17832 for ac_file
in $CONFIG_FILES; do
17833 # Support "outfile[:infile[:infile...]]"
17835 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17837 # PO directories have a Makefile.in generated from Makefile.in.in.
17838 case "$ac_file" in */Makefile.
in)
17839 # Adjust a relative srcdir.
17840 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17841 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17842 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17843 # In autoconf-2.13 it is called $ac_given_srcdir.
17844 # In autoconf-2.50 it is called $srcdir.
17845 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17846 case "$ac_given_srcdir" in
17847 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17848 /*) top_srcdir
="$ac_given_srcdir" ;;
17849 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17851 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17852 rm -f "$ac_dir/POTFILES"
17853 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17854 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17855 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17856 # on $ac_dir but don't depend on user-specified configuration
17858 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17859 # The LINGUAS file contains the set of available languages.
17860 if test -n "$ALL_LINGUAS"; then
17861 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17863 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17864 # Hide the ALL_LINGUAS assigment from automake.
17865 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17867 case "$ac_given_srcdir" in
17869 *) srcdirpre
='$(srcdir)/' ;;
17875 for lang
in $ALL_LINGUAS; do
17876 POFILES
="$POFILES $srcdirpre$lang.po"
17877 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17878 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17879 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17881 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17882 # environment variable.
17884 if test -n "$ALL_LINGUAS"; then
17885 for presentlang
in $ALL_LINGUAS; do
17887 if test "%UNSET%" != "$LINGUAS"; then
17888 desiredlanguages
="$LINGUAS"
17890 desiredlanguages
="$ALL_LINGUAS"
17892 for desiredlang
in $desiredlanguages; do
17893 # Use the presentlang catalog if desiredlang is
17894 # a. equal to presentlang, or
17895 # b. a variant of presentlang (because in this case,
17896 # presentlang can be used as a fallback for messages
17897 # which are not translated in the desiredlang catalog).
17898 case "$desiredlang" in
17899 "$presentlang"*) useit
=yes;;
17902 if test $useit = yes; then
17903 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17908 if test -n "$INST_LINGUAS"; then
17909 for lang
in $INST_LINGUAS; do
17910 CATALOGS
="$CATALOGS $lang.gmo"
17913 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17914 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"
17915 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17916 if test -f "$f"; then
17918 *.orig |
*.bak |
*~
) ;;
17919 *) cat "$f" >> "$ac_dir/Makefile" ;;
17927 "denoiser":C
) if test $denoiserlevel -gt 0; then
17928 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
17929 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" \
17930 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
17931 for i
in `find . -name 'Makefile' -print`; do
17932 if test -n "`head -n 1 $i | grep '^#'`"; then
17933 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
17944 ac_clean_files
=$ac_clean_files_save
17946 test $ac_write_fail = 0 ||
17947 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17950 # configure is writing to config.log, and then calls config.status.
17951 # config.status does its own redirection, appending to config.log.
17952 # Unfortunately, on DOS this fails, as config.log is still kept open
17953 # by configure, so config.status won't be able to write to it; its
17954 # output is simply discarded. So we exec the FD to /dev/null,
17955 # effectively closing config.log, so it can be properly (re)opened and
17956 # appended to by config.status. When coming back to configure, we
17957 # need to make the FD available again.
17958 if test "$no_create" != yes; then
17960 ac_config_status_args
=
17961 test "$silent" = yes &&
17962 ac_config_status_args
="$ac_config_status_args --quiet"
17964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17967 # would make configure fail if this is the last instruction.
17968 $ac_cs_success || as_fn_exit $?
17970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17976 if test -n "$svndate"; then :
17977 SVN_REVISION
=" ($svndate)"
17984 echo " Configure script has finished system check."
17986 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
17988 echo " aMule enabled options:"
17990 echo " **** aMule Core ****"
17991 echo " Prefix where aMule should be installed? ${prefix:-none}"
17992 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
17993 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
17994 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
17995 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
17996 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
17997 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
17998 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
17999 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
18000 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
18003 echo " **** aMule TextClient ****"
18004 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
18006 echo " **** aMule WebServer ****"
18007 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
18009 echo " **** aMule ED2K Links Handler ****"
18010 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
18012 echo " **** aMuleLinkCreator ****"
18013 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
18014 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
18016 echo " **** aMule Statistics ****"
18017 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
18018 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
18019 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
18020 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
18023 echo " **** General Libraries and Tools ****"
18024 echo " Should ccache support be enabled? ${enable_ccache:-no}"
18025 echo " Libraries aMule will use to build:"
18026 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 :
18029 if test $WX_DEBUG -eq 1; then :
18030 wxinfo
="$wxinfo,debug"
18032 if test $WX_SHARED -eq 1; then :
18033 wxinfo
="$wxinfo,shared"
18035 wxinfo
="$wxinfo,static"
18037 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
18040 if test ${with_boost:-no} != no
; then :
18041 if test ${with_boost:-no} = disabled
; then
18042 echo " boost Not detected"
18043 elif test ${boost_cv_inc_path:-yes} != yes; then
18044 echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'` (in ${boost_cv_inc_path})"
18045 elif echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'`"; then
18050 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
18051 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (in ${CRYPTOPP_PREFIX})"
18053 if test ${enable_upnp:-yes} = yes; then :
18055 if test -n "$with_libupnp_prefix"; then :
18056 libupnp_place
=" (in $with_libupnp_prefix)"
18058 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
18061 if test ${enable_nls:-yes} = yes; then
18062 if test x
$USE_NLS = xno
; then :
18063 libintl_found
="Not detected"
18065 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
18066 libintl_found
="included"
18068 libintl_found
="system"
18071 echo " libintl $libintl_found"
18073 if test ${enable_geoip:-no} = yes; then :
18074 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
18079 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
18080 echo " libGeoIP ${geoip_style}"
18083 if test ${enable_webserver:-no} = yes; then :
18084 echo " libpng ${LIBPNG_VERSION:-Not detected}"
18086 if test ${enable_cas:-no} = yes; then :
18087 echo " libgd ${GDLIB_VERSION:-Not detected}"
18089 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 :
18090 echo " zlib ${ZLIB_VERSION:-Not detected}"
18092 if test ${enable_plasmamule:-no} = yes; then :
18093 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
18094 echo " qt-core-libs ${QT_CORE_LIBS}"
18095 echo " qt-gui-libs ${QT_GUI_LIBS}"
18096 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
18097 echo " kde-headers ${KDE_HEADER_DIR}"
18098 echo " kde-services-path ${KDE_SERVICE_PATH}"
18099 echo " kde-module-path ${KDE_MODULE_PATH}"
18100 echo " kde-icon-path ${KDE_ICON_PATH}"
18101 echo " kde-mime-path ${KDE_MIME_PATH}"
18102 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
18105 if test ${_mule_has_warnings:-no} = yes; then
18108 echo " *** Warnings during configuration ***"
18110 if test ${_mule_warning_0:-no} = yes; then
18113 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
18114 Please check that gdlib-config is in your default path, check out
18115 LD_LIBRARY_PATH or equivalent variable.
18116 Or this might also be that your gdlib-config has other name.
18117 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
18118 /usr/bin/gdlib-config with a valid path to your gdlib-config).
18119 If you use compiled packages check if you have devel pack installed.
18120 To download the latest version check http://www.boutell.com/gd for sources.
18123 if test ${_mule_warning_1:-no} = yes; then
18126 * libpng >= 1.2.0 not found.
18127 amuleweb will be compiled but file download progress bar images will NOT be
18131 if test ${_mule_warning_2:-no} = yes; then
18134 * File::Copy perl module is required by the mldonkey_importer script.
18135 If you want to use this script please install File::Copy from CPAN.
18138 if test ${_mule_warning_3:-no} = yes; then
18141 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
18144 if test ${_mule_warning_4:-no} = yes; then
18147 * GeoIP support has been disabled because the GeoIP libraries were not found
18150 if test ${_mule_warning_5:-no} = yes; then
18153 * GeoIP support has been disabled because the GeoIP header files were not
18157 if test ${_mule_warning_6:-no} = yes; then
18160 * UPnP code has been disabled because ${libupnp_error}.
18163 if test ${_mule_warning_7:-no} = yes; then
18166 * Cross-compilation detected, so exception handling cannot be tested.
18167 Note that broken exception handling in your compiler may lead to unexpected
18171 if test ${_mule_warning_8:-no} = yes; then
18174 * Boost support has been disabled because Boost.System not found
18177 if test ${_mule_warning_9:-no} = yes; then
18180 * Boost support has been disabled because Boost.Asio not found
18183 if test ${_mule_warning_10:-no} = yes; then
18186 * Boost support has been disabled because Boost.Asio not found
18189 if test ${_mule_warning_11:-no} = yes; then
18192 * Boost support has been disabled because of insufficient Boost version.
18195 if test ${_mule_warning_12:-no} = yes; then
18198 * configure cannot check whether malloc() and realloc() are GNU libc
18199 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
18200 configure with the --without-gnu-malloc switch.
18203 if test ${_mule_warning_13:-no} = yes; then
18206 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
18210 if test ${_mule_warning_14:-no} = yes; then
18213 * Cannot link to the library containing the bfd functions.
18216 if test ${_mule_warning_15:-no} = yes; then
18219 * bfd.h not found or unusable, please install binutils development package if
18220 you are a developer or want to help testing aMule