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 :
7326 CFLAGS="$mule_backup_CFLAGS"
7332 if test -n "$GDLIB_VERSION"; then :
7335 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7343 if test -z "$CAS_DEFS"; then :
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7345 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7346 Please check that gdlib-config is in your default path, check out
7347 LD_LIBRARY_PATH or equivalent variable.
7348 Or this might also be that your gdlib-config has other name.
7349 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7350 (replace /usr/bin/gdlib-config with a valid path to your
7352 If you use compiled packages check if you have devel pack installed.
7353 To download the latest version check http://www.boutell.com/gd for
7355 $as_echo "$as_me: WARNING:
7356 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7357 Please check that gdlib-config is in your default path, check out
7358 LD_LIBRARY_PATH or equivalent variable.
7359 Or this might also be that your gdlib-config has other name.
7360 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7361 (replace /usr/bin/gdlib-config with a valid path to your
7363 If you use compiled packages check if you have devel pack installed.
7364 To download the latest version check http://www.boutell.com/gd for
7367 _mule_has_warnings=yes
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
7374 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
7375 if test "${ac_cv_header_stdbool_h+set}" = set; then :
7376 $as_echo_n "(cached) " >&6
7378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7379 /* end confdefs.h. */
7381 #include <stdbool.h>
7383 "error: bool is not defined"
7386 "error: false is not defined"
7389 "error: false is not 0"
7392 "error: true is not defined"
7395 "error: true is not 1"
7397 #ifndef __bool_true_false_are_defined
7398 "error: __bool_true_false_are_defined is not defined"
7401 struct s { _Bool s: 1; _Bool t; } s;
7403 char a[true == 1 ? 1 : -1];
7404 char b[false == 0 ? 1 : -1];
7405 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7406 char d[(bool) 0.5 == true ? 1 : -1];
7408 char f[(_Bool) 0.0 == false ? 1 : -1];
7410 char h[sizeof (_Bool)];
7412 enum { j = false, k = true, l = false * true, m = true * 256 };
7413 /* The following fails for
7414 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7416 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7417 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7418 # if defined __xlc__ || defined __GNUC__
7419 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
7420 reported by James Lemley on 2005-10-05; see
7421 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
7422 This test is not quite right, since xlc is allowed to
7423 reject this program, as the initializer for xlcbug is
7424 not one of the forms that C requires support for.
7425 However, doing the test right would require a runtime
7426 test, and that would make cross-compilation harder.
7427 Let us hope that IBM fixes the xlc bug, and also adds
7428 support for this kind of constant expression. In the
7429 meantime, this test will reject xlc, which is OK, since
7430 our stdbool.h substitute should suffice. We also test
7431 this with GCC, where it should work, to detect more
7432 quickly whether someone messes up the test in the
7434 char digs[] = "0123456789";
7435 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
7437 /* Catch a bug in an HP-UX C compiler. See
7438 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7439 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7450 /* Refer to every declared value, to avoid compiler optimizations. */
7451 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7452 + !m + !n + !o + !p + !q + !pq);
7458 if ac_fn_c_try_compile "$LINENO"; then :
7459 ac_cv_header_stdbool_h=yes
7461 ac_cv_header_stdbool_h=no
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7466 $as_echo "$ac_cv_header_stdbool_h" >&6; }
7467 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7468 if test "x$ac_cv_type__Bool" = x""yes; then :
7470 cat >>confdefs.h <<_ACEOF
7471 #define HAVE__BOOL 1
7477 if test $ac_cv_header_stdbool_h = yes; then
7479 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7484 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7485 if test "${ac_cv_c_const+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7489 /* end confdefs.h. */
7494 /* FIXME: Include the comments suggested by Paul. */
7496 /* Ultrix mips cc rejects this. */
7497 typedef int charset[2];
7499 /* SunOS 4.1.1 cc rejects this. */
7500 char const *const *pcpcc;
7502 /* NEC SVR4.0.2 mips cc rejects this. */
7503 struct point {int x, y;};
7504 static struct point const zero = {0,0};
7505 /* AIX XL C 1.02.0.0 rejects this.
7506 It does not let you subtract one const X* pointer from another in
7507 an arm of an if-expression whose if-part is not a constant
7509 const char *g = "string";
7510 pcpcc = &g + (g ? g-g : 0);
7511 /* HPUX 7.0 cc rejects these. */
7513 ppc = (char**) pcpcc;
7514 pcpcc = (char const *const *) ppc;
7515 { /* SCO 3.2v4 cc rejects this. */
7517 char const *s = 0 ? (char *) 0 : (char const *) 0;
7522 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7524 const int *foo = &x[0];
7527 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7528 typedef const int *iptr;
7532 { /* AIX XL C 1.02.0.0 rejects this saying
7533 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7534 struct s { int j; const int *ap[3]; };
7535 struct s *b; b->j = 5;
7537 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7541 return !cs[0] && !zero.x;
7548 if ac_fn_c_try_compile "$LINENO"; then :
7553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7556 $as_echo "$ac_cv_c_const" >&6; }
7557 if test $ac_cv_c_const = no; then
7559 $as_echo "#define const /**/" >>confdefs.h
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7564 $as_echo_n "checking for inline... " >&6; }
7565 if test "${ac_cv_c_inline+set}" = set; then :
7566 $as_echo_n "(cached) " >&6
7569 for ac_kw in inline __inline__ __inline; do
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7574 static $ac_kw foo_t static_foo () {return 0; }
7575 $ac_kw foo_t foo () {return 0; }
7579 if ac_fn_c_try_compile "$LINENO"; then :
7580 ac_cv_c_inline=$ac_kw
7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7583 test "$ac_cv_c_inline" != no && break
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7588 $as_echo "$ac_cv_c_inline" >&6; }
7590 case $ac_cv_c_inline in
7593 case $ac_cv_c_inline in
7595 *) ac_val=$ac_cv_c_inline;;
7597 cat >>confdefs.h <<_ACEOF
7599 #define inline $ac_val
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
7606 $as_echo_n "checking for working volatile... " >&6; }
7607 if test "${ac_cv_c_volatile+set}" = set; then :
7608 $as_echo_n "(cached) " >&6
7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7618 int * volatile y = (int *) 0;
7624 if ac_fn_c_try_compile "$LINENO"; then :
7625 ac_cv_c_volatile=yes
7629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
7632 $as_echo "$ac_cv_c_volatile" >&6; }
7633 if test $ac_cv_c_volatile = no; then
7635 $as_echo "#define volatile /**/" >>confdefs.h
7641 ac_cpp='$CXXCPP $CPPFLAGS'
7642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7650 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 :
7653 # Check whether --with-zlib was given.
7654 if test "${with_zlib+set}" = set; then :
7659 case "${with_zlib:-yes}" in
7661 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
7666 zlib_prefix="$with_zlib"
7669 mule_backup_CPPFLAGS="$CPPFLAGS"
7670 mule_backup_LDFLAGS="$LDFLAGS"
7671 mule_backup_LIBS="$LIBS"
7672 if test -n "$zlib_prefix"; then :
7674 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
7675 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
7676 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
7677 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
7686 LIBS="$ZLIB_LIBS $LIBS"
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
7689 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
7690 if test "$cross_compiling" = yes; then :
7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7705 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
7713 if ac_fn_cxx_try_link "$LINENO"; then :
7715 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
7716 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
7717 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
7718 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
7719 if test "$cross_zver_max" -gt "1"; then
7721 elif test "$cross_zver_max" -eq "1"; then
7723 if test "$cross_zver_mid" -gt "1"; then
7725 elif test "$cross_zver_mid" -eq "1"; then
7726 if test "$cross_zver_min" -ge "4"; then
7735 if test ${result:-no} = yes; then :
7736 z_version=" (version $ZLIB_VERSION)"
7740 rm -f core conftest.err conftest.$ac_objext \
7741 conftest$ac_exeext conftest.$ac_ext
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
7743 $as_echo "$result$z_version" >&6; }
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7756 const char *zver = zlibVersion();
7757 FILE *f=fopen("conftestval", "w");
7764 zver[4] >= '4'))) ? "yes" : "no");
7766 f=fopen("conftestver", "w");
7768 fprintf(f, "%s", ZLIB_VERSION);
7777 if ac_fn_cxx_try_run "$LINENO"; then :
7779 if test -f conftestval; then :
7780 result=`cat conftestval
`
7784 if test ${result:-no} = yes; then :
7786 if test -f conftestver; then :
7788 ZLIB_VERSION=`cat conftestver
`
7789 z_version=" (version $ZLIB_VERSION)"
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
7797 $as_echo "$result$z_version" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7803 $as_echo "$result" >&6; }
7806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7807 conftest.$ac_objext conftest.beam conftest.$ac_ext
7811 CPPFLAGS="$mule_backup_CPPFLAGS"
7812 LDFLAGS="$mule_backup_LDFLAGS"
7813 LIBS="$mule_backup_LIBS"
7815 if test ${result:-no} = no; then :
7820 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
7829 if test ${enable_webserver:-no} = yes; then :
7832 # Check whether --with-libpng-prefix was given.
7833 if test "${with_libpng_prefix+set}" = set; then :
7834 withval=$with_libpng_prefix;
7838 # Check whether --with-libpng-config was given.
7839 if test "${with_libpng_config+set}" = set; then :
7840 withval=$with_libpng_config;
7846 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7847 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7848 LIBPNG_CONFIG_NAME=libpng-config
7850 if test -n "$with_libpng_config"; then :
7851 LIBPNG_CONFIG_NAME="$with_libpng_config"
7854 # deal with optional prefix
7855 if test -n "$with_libpng_prefix"; then :
7856 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7859 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7860 if test -x "$LIBPNG_CONFIG_NAME"; then :
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7863 $as_echo_n "checking for libpng-config... " >&6; }
7864 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7866 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7869 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7870 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7874 $as_echo_n "(cached) " >&6
7876 case $LIBPNG_CONFIG_PATH in
7878 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7883 for as_dir in $as_dummy
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7889 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7901 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7902 if test -n "$LIBPNG_CONFIG_PATH"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7904 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7913 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7916 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7918 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7920 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7921 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7922 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7923 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7926 if test $libpng_config_major_version -gt 1; then
7928 elif test $libpng_config_major_version -eq 1; then
7930 if test $libpng_config_minor_version -gt 2; then
7932 elif test $libpng_config_minor_version -eq 2; then
7933 if test $libpng_config_micro_version -ge 0; then
7943 if test -z "$libpng_ver_ok"; then :
7945 if test -z "$LIBPNG_VERSION"; then :
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7951 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7958 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7959 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7960 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7962 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libpng is usable" >&5
7965 $as_echo_n "checking if libpng is usable... " >&6; }
7967 SAVED_CFLAGS=$CFLAGS
7968 SAVED_LDFLAGS=$LDFLAGS
7971 CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
7972 LDFLAGS="$LDFLAGS $LIBPNG_LDFLAGS"
7973 LIBS="$LIBS $LIBPNG_LIBS"
7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7986 png_uint_32 libpng_vn = png_access_version_number();
7987 printf("\nlibpng version %i\n\n", libpng_vn);
7994 if ac_fn_cxx_try_link "$LINENO"; then :
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7997 $as_echo "yes" >&6; }
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (failed to compile and link test program)" >&5
8002 $as_echo "no (failed to compile and link test program)" >&6; }
8009 rm -f core conftest.err conftest.$ac_objext \
8010 conftest$ac_exeext conftest.$ac_ext
8012 CFLAGS=$SAVED_CFLAGS
8013 LDFLAGS=$SAVED_LDFLAGS
8020 if test -n "$LIBPNG_VERSION"; then :
8021 AMULEWEB_DEFS="-DWITH_LIBPNG"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8025 libpng >= 1.2.0 not found.
8026 amuleweb will be compiled but file download progress bar images will
8027 NOT be generated." >&5
8028 $as_echo "$as_me: WARNING:
8029 libpng >= 1.2.0 not found.
8030 amuleweb will be compiled but file download progress bar images will
8031 NOT be generated." >&2;}
8033 _mule_has_warnings=yes
8044 # Check for perl File::Copy
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
8046 $as_echo_n "checking for File::Copy... " >&6; }
8047 if perl -e "require File::Copy" 2>/dev/null; then :
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8049 $as_echo "ok" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8052 File::Copy perl module is required by the mldonkey_importer script.
8053 If you want to use this script please install File::Copy from CPAN." >&5
8054 $as_echo "$as_me: WARNING:
8055 File::Copy perl module is required by the mldonkey_importer script.
8056 If you want to use this script please install File::Copy from CPAN." >&2;}
8058 _mule_has_warnings=yes
8063 # Check for GeoIP (required for IP2Country capability)
8065 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
8067 # Check whether --enable-geoip was given.
8068 if test "${enable_geoip+set}" = set; then :
8069 enableval=$enable_geoip;
8074 if test ${enable_geoip:-no} = yes; then :
8077 # Check whether --with-geoip-headers was given.
8078 if test "${with_geoip_headers+set}" = set; then :
8079 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
8083 # Check whether --with-geoip-lib was given.
8084 if test "${with_geoip_lib+set}" = set; then :
8085 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
8089 mule_backup_CPPFLAGS="$CPPFLAGS"
8090 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
8091 mule_backup_LDFLAGS="$LDFLAGS"
8092 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
8094 ac_fn_cxx_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
8097 if test x$SYS = xwin32; then :
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
8100 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
8101 # Actually, we might not need any if GeoIP is linked as a .dll
8102 # - but that's even harder to check for
8103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8108 #if (defined _WINSOCK2API_ || defined _WINSOCK2_H)
8109 I do know it's not the best approach, but at least works with MinGW stock headers.
8110 (tested with w32api-3.12)
8122 if ac_fn_cxx_try_compile "$LINENO"; then :
8124 GEOIP_WINSOCK_LIB="-lwsock32"
8128 GEOIP_WINSOCK_LIB="-lws2_32"
8131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
8133 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
8137 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
8138 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
8139 $as_echo_n "(cached) " >&6
8141 ac_check_lib_save_LIBS=$LIBS
8142 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
8143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8146 /* Override any GCC internal prototype to avoid an error.
8147 Use char because int might match the return type of a GCC
8148 builtin and then its argument prototype would still apply. */
8156 return GeoIP_open ();
8161 if ac_fn_cxx_try_link "$LINENO"; then :
8162 ac_cv_lib_GeoIP_GeoIP_open=yes
8164 ac_cv_lib_GeoIP_GeoIP_open=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LIBS=$ac_check_lib_save_LIBS
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
8171 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
8172 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
8175 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
8177 GEOIP_LIBS="-lGeoIP"
8178 if test x$SYS = xwin32; then :
8179 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
8181 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
8183 # Check whether --with-geoip-static was given.
8184 if test "${with_geoip_static+set}" = set; then :
8185 withval=$with_geoip_static;
8186 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
8188 mule_backup_LIBS="$LIBS"
8189 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
8190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8200 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
8207 if ac_fn_cxx_try_link "$LINENO"; then :
8209 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8214 Cannot link GeoIP statically, because your linker ($LD) does not
8216 $as_echo "$as_me: WARNING:
8217 Cannot link GeoIP statically, because your linker ($LD) does not
8220 _mule_has_warnings=yes
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 LIBS="$mule_backup_LIBS"
8235 enable_geoip=disabled
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8237 GeoIP support has been disabled because the GeoIP libraries were not
8239 $as_echo "$as_me: WARNING:
8240 GeoIP support has been disabled because the GeoIP libraries were not
8243 _mule_has_warnings=yes
8251 enable_geoip=disabled
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8253 GeoIP support has been disabled because the GeoIP header files were
8255 $as_echo "$as_me: WARNING:
8256 GeoIP support has been disabled because the GeoIP header files were
8259 _mule_has_warnings=yes
8266 CPPFLAGS="$mule_backup_CPPFLAGS"
8267 LDFLAGS="$mule_backup_LDFLAGS"
8275 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 :
8278 # Check whether --with-wxdir was given.
8279 if test "${with_wxdir+set}" = set; then :
8280 withval=$with_wxdir; wx_config_name="$withval/wx-config"
8281 wx_config_args="--inplace"
8285 # Check whether --with-wx-config was given.
8286 if test "${with_wx_config+set}" = set; then :
8287 withval=$with_wx_config; wx_config_name="$withval"
8291 # Check whether --with-wx-prefix was given.
8292 if test "${with_wx_prefix+set}" = set; then :
8293 withval=$with_wx_prefix; wx_config_prefix="$withval"
8299 # Check whether --with-wx-exec-prefix was given.
8300 if test "${with_wx_exec_prefix+set}" = set; then :
8301 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
8303 wx_config_exec_prefix=""
8318 # Check whether --with-toolkit was given.
8319 if test "${with_toolkit+set}" = set; then :
8320 withval=$with_toolkit;
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
8327 $as_echo_n "checking for the --with-toolkit option... " >&6; }
8328 if test "$withval" = "auto" ; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8330 $as_echo "will be automatically detected" >&6; }
8335 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
8336 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
8337 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
8338 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
8339 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
8340 "$TOOLKIT" != "osx_cocoa"; then
8342 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
8347 $as_echo "$TOOLKIT" >&6; }
8354 # Check whether --with-wxshared was given.
8355 if test "${with_wxshared+set}" = set; then :
8356 withval=$with_wxshared;
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
8363 $as_echo_n "checking for the --with-wxshared option... " >&6; }
8364 if test "$withval" = "yes" ; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8366 $as_echo "yes" >&6; }
8369 elif test "1" = "1" -a "$withval" = "no" ; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8373 elif test "$withval" = "auto" ; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8375 $as_echo "will be automatically detected" >&6; }
8379 Unrecognized option value (allowed values: yes, auto)
8387 # Check whether --with-wxdebug was given.
8388 if test "${with_wxdebug+set}" = set; then :
8389 withval=$with_wxdebug;
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
8396 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
8397 if test "$withval" = "yes" ; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8399 $as_echo "yes" >&6; }
8402 elif test "1" = "1" -a "$withval" = "no" ; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8406 elif test "$withval" = "auto" ; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8408 $as_echo "will be automatically detected" >&6; }
8412 Unrecognized option value (allowed values: yes, auto)
8420 # Check whether --with-wxversion was given.
8421 if test "${with_wxversion+set}" = set; then :
8422 withval=$with_wxversion;
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
8429 $as_echo_n "checking for the --with-wxversion option... " >&6; }
8430 if test "$withval" = "auto" ; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8432 $as_echo "will be automatically detected" >&6; }
8436 wx_requested_major_version=`echo $withval | \
8437 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
8438 wx_requested_minor_version=`echo $withval | \
8439 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
8441 if test "${#wx_requested_major_version}" != "1" -o \
8442 "${#wx_requested_minor_version}" != "1" ; then
8444 Unrecognized option value (allowed values: auto, 2.8, 2.9)
8448 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
8450 $as_echo "$WX_VERSION" >&6; }
8454 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8455 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
8456 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
8457 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
8458 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
8459 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
8462 # Force using a static wxWidgets library if the executable is to be linked statically.
8463 if test ${enable_static:-no} = yes; then :
8466 # Force using a unicode build of the library
8467 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 :
8472 if test "$WX_SHARED" = "1" ; then
8473 WXCONFIG_FLAGS="--static=no "
8474 elif test "$WX_SHARED" = "0" ; then
8475 WXCONFIG_FLAGS="--static=yes "
8478 if test "$WX_DEBUG" = "1" ; then
8479 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
8480 elif test "$WX_DEBUG" = "0" ; then
8481 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
8484 if test "$WX_UNICODE" = "1" ; then
8485 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
8486 elif test "$WX_UNICODE" = "0" ; then
8487 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
8490 if test "$TOOLKIT" != "auto" ; then
8491 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
8494 if test "$WX_VERSION" != "auto" ; then
8495 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
8498 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
8500 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8501 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
8505 if test x${WX_CONFIG_NAME+set} != xset ; then
8506 WX_CONFIG_NAME=wx-config
8509 if test "x$wx_config_name" != x ; then
8510 WX_CONFIG_NAME="$wx_config_name"
8513 if test x$wx_config_exec_prefix != x ; then
8514 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
8515 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
8517 if test x$wx_config_prefix != x ; then
8518 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
8519 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
8521 if test "$cross_compiling" = "yes"; then
8522 wx_config_args="$wx_config_args --host=$host_alias"
8525 if test -x "$WX_CONFIG_NAME" ; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
8527 $as_echo_n "checking for wx-config... " >&6; }
8528 WX_CONFIG_PATH="$WX_CONFIG_NAME"
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8530 $as_echo "$WX_CONFIG_PATH" >&6; }
8532 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
8533 set dummy $WX_CONFIG_NAME; ac_word=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535 $as_echo_n "checking for $ac_word... " >&6; }
8536 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
8537 $as_echo_n "(cached) " >&6
8539 case $WX_CONFIG_PATH in
8541 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8545 as_dummy=""$WX_LOOKUP_PATH:$PATH""
8546 for as_dir in $as_dummy
8549 test -z "$as_dir" && as_dir=.
8550 for ac_exec_ext in '' $ac_executable_extensions; do
8551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8560 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
8564 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
8565 if test -n "$WX_CONFIG_PATH"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8567 $as_echo "$WX_CONFIG_PATH" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8576 if test "$WX_CONFIG_PATH" != "no" ; then
8579 min_wx_version=2.8.12
8580 if test -z "$WXCONFIG_FLAGS" ; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
8582 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
8585 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
8588 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
8590 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
8591 wx_config_major_version=`echo $WX_VERSION_FULL | \
8592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8593 wx_config_minor_version=`echo $WX_VERSION_FULL | \
8594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8595 wx_config_micro_version=`echo $WX_VERSION_FULL | \
8596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8598 wx_requested_major_version=`echo $min_wx_version | \
8599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8600 wx_requested_minor_version=`echo $min_wx_version | \
8601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8602 wx_requested_micro_version=`echo $min_wx_version | \
8603 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8607 if test "x$WX_VERSION_FULL" != x ; then
8608 if test $wx_config_major_version -gt $wx_requested_major_version; then
8611 if test $wx_config_major_version -eq $wx_requested_major_version; then
8612 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
8615 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
8616 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
8626 if test -n "$wx_ver_ok"; then
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
8629 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
8630 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
8632 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
8634 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
8635 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
8636 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
8638 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
8639 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
8645 if test "x$WX_VERSION_FULL" = x; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647 $as_echo "no" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
8650 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
8659 if test ! -z "$WXCONFIG_FLAGS"; then
8662 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8663 build with the following settings:
8665 but such build is not available.
8667 To see the wxWidgets builds available on this system, please use
8668 'wx-config --list' command. To use the default build, returned by
8669 'wx-config --selected-config', use the options with their 'auto'
8675 The requested wxWidgets build couldn't be found.
8678 If you still get this error, then check that 'wx-config' is
8679 in path, the directory where wxWidgets libraries are installed
8680 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8681 or equivalent variable and wxWidgets version is 2.8.12 or above."
8683 as_fn_error "$wx_error_message" "$LINENO" 5
8707 WX_VERSION_MAJOR="$wx_config_major_version"
8708 WX_VERSION_MINOR="$wx_config_minor_version"
8712 if test "$wxWin" != 1; then :
8714 wxWidgets must be installed on your system but wx-config
8715 script couldn't be found. Please check that wx-config is
8716 in path or specified by --with-wx-config=path flag, the
8717 directory where wxWidgets libraries are installed (returned
8718 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8719 equivalent variable and wxWidgets version is 2.8.12 or above.
8723 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8725 This version of wxWidgets is known to not work with aMule.
8726 Please upgrade to a newer version.
8731 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8733 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8735 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8736 echo "[dbg] Using wx-config --selected-config"
8737 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8741 if test $WX_SHARED = "1"; then
8743 elif test $WX_SHARED = "0"; then
8745 elif test $WX_SHARED = "auto"; then
8750 if test "$UNICODE" = "auto" ; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8753 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8755 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8757 if test "$WX_UNICODE" != "0"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8760 $as_echo "yes" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8774 if test "$DEBUG" = "auto" ; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8777 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8779 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8781 if test "$WX_DEBUG" != "0"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8784 $as_echo "yes" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8798 if test "$STATIC" = "auto" ; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8801 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8803 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8805 if test "$WX_STATIC" != "0"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8808 $as_echo "yes" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813 $as_echo "no" >&6; }
8822 if test "$WX_STATIC" != "0"; then
8832 if test "$TOOLKIT" = "auto" ; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8835 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8837 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8838 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8839 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8840 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8841 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8842 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8843 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8844 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8845 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8846 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8847 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8850 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8851 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8852 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8853 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8854 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8855 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8856 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8857 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8858 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8859 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8860 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8863 if test "$WX_PORT" = "unknown" ; then
8865 Cannot detect the currently installed wxWidgets port !
8866 Please check your 'wx-config --cxxflags'...
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8871 $as_echo "$WX_PORT" >&6; }
8874 if test -n "$TOOLKIT" ; then
8883 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8884 echo "[dbg] Values of all WX_* options after final detection:"
8885 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8886 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8887 echo "[dbg] WX_SHARED: $WX_SHARED"
8888 echo "[dbg] WX_VERSION: $WX_VERSION"
8889 echo "[dbg] WX_PORT: $WX_PORT"
8892 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8894 Cannot build shared library against a static build of wxWidgets !
8895 This error happens because the wxWidgets build which was selected
8896 has been detected as static while you asked to build $PACKAGE_NAME
8897 as shared library and this is not possible.
8898 Use the '--disable-shared' option to build $PACKAGE_NAME
8899 as static library or '--with-wxshared' to use wxWidgets as shared library.
8903 if test "$DEBUG" = "auto"; then
8906 if test "$DEBUG" = "1"; then
8908 elif test "$DEBUG" = ""; then
8912 if test "$UNICODE" = "auto"; then
8915 if test "$SHARED" = "auto"; then
8918 if test "$TOOLKIT" = "auto"; then
8923 # We also need wxBase
8924 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8925 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8926 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8928 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8932 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8933 if test "${WX_PORT}" = base; then :
8935 The selected components need a wxWidgets library with GUI,
8936 but your installation is base-only. Please install a GUI
8937 enabled version of wxWidgets and then retry.
8944 if test ${SYS:-unknown} = win32; then :
8945 if test -n "$ac_tool_prefix"; then
8946 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8947 set dummy ${ac_tool_prefix}windres; ac_word=$2
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8949 $as_echo_n "checking for $ac_word... " >&6; }
8950 if test "${ac_cv_prog_RC+set}" = set; then :
8951 $as_echo_n "(cached) " >&6
8953 if test -n "$RC"; then
8954 ac_cv_prog_RC="$RC" # Let the user override the test.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_RC="${ac_tool_prefix}windres"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974 if test -n "$RC"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8976 $as_echo "$RC" >&6; }
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8979 $as_echo "no" >&6; }
8984 if test -z "$ac_cv_prog_RC"; then
8986 # Extract the first word of "windres", so it can be a program name with args.
8987 set dummy windres; ac_word=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8989 $as_echo_n "checking for $ac_word... " >&6; }
8990 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8991 $as_echo_n "(cached) " >&6
8993 if test -n "$ac_ct_RC"; then
8994 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9000 test -z "$as_dir" && as_dir=.
9001 for ac_exec_ext in '' $ac_executable_extensions; do
9002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9003 ac_cv_prog_ac_ct_RC="windres"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9013 ac_ct_RC=$ac_cv_prog_ac_ct_RC
9014 if test -n "$ac_ct_RC"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
9016 $as_echo "$ac_ct_RC" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9022 if test "x$ac_ct_RC" = x; then
9025 case $cross_compiling:$ac_tool_warned in
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9029 ac_tool_warned=yes ;;
9041 # Check whether --enable-upnp was given.
9042 if test "${enable_upnp+set}" = set; then :
9043 enableval=$enable_upnp;
9047 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
9054 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9055 if test -n "$ac_tool_prefix"; then
9056 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9057 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9059 $as_echo_n "checking for $ac_word... " >&6; }
9060 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9061 $as_echo_n "(cached) " >&6
9065 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9072 test -z "$as_dir" && as_dir=.
9073 for ac_exec_ext in '' $ac_executable_extensions; do
9074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9075 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9086 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9087 if test -n "$PKG_CONFIG"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9089 $as_echo "$PKG_CONFIG" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9097 if test -z "$ac_cv_path_PKG_CONFIG"; then
9098 ac_pt_PKG_CONFIG=$PKG_CONFIG
9099 # Extract the first word of "pkg-config", so it can be a program name with args.
9100 set dummy pkg-config; ac_word=$2
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9102 $as_echo_n "checking for $ac_word... " >&6; }
9103 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9104 $as_echo_n "(cached) " >&6
9106 case $ac_pt_PKG_CONFIG in
9108 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9115 test -z "$as_dir" && as_dir=.
9116 for ac_exec_ext in '' $ac_executable_extensions; do
9117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9118 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9129 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9130 if test -n "$ac_pt_PKG_CONFIG"; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9132 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9135 $as_echo "no" >&6; }
9138 if test "x$ac_pt_PKG_CONFIG" = x; then
9141 case $cross_compiling:$ac_tool_warned in
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9145 ac_tool_warned=yes ;;
9147 PKG_CONFIG=$ac_pt_PKG_CONFIG
9150 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9154 if test -n "$PKG_CONFIG"; then
9155 _pkg_min_version=0.9.0
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9157 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9158 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9160 $as_echo "yes" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9163 $as_echo "no" >&6; }
9168 if test ${enable_upnp:-yes} = yes; then :
9172 # Check whether --with-libupnp-prefix was given.
9173 if test "${with_libupnp_prefix+set}" = set; then :
9174 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
9178 if test $cross_compiling = no; then :
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
9181 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
9182 if test -n "$PKG_CONFIG"; then :
9184 if $PKG_CONFIG libupnp --exists; then :
9186 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
9187 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
9190 resultstr=" (version $LIBUPNP_VERSION)"
9191 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
9192 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
9193 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
9194 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
9195 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
9200 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
9207 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
9214 resultstr=" (pkg-config not found)"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9218 $as_echo "$result$resultstr" >&6; }
9219 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
9224 libupnp_error="cross compiling"
9228 if test ${result:-no} = yes; then :
9229 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
9231 enable_upnp=disabled
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9233 UPnP code has been disabled because ${libupnp_error}." >&5
9234 $as_echo "$as_me: WARNING:
9235 UPnP code has been disabled because ${libupnp_error}." >&2;}
9237 _mule_has_warnings=yes
9246 # Check for Crypto++
9247 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
9250 # Check whether --with-crypto-prefix was given.
9251 if test "${with_crypto_prefix+set}" = set; then :
9252 withval=$with_crypto_prefix;
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
9257 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
9259 cryptopp_file_with_version="cryptlib.h"
9261 CRYPTOPP_STYLE="unknown"
9262 CRYPTOPP_LIB_NAME="unknown"
9263 cryptopp_includedir="unknown"
9264 CRYPTOPP_INCLUDE_PREFIX="unknown"
9265 cryptopp_libdir="unknown"
9267 if test -n "$with_crypto_prefix"; then :
9269 CRYPTOPP_PREFIX="$with_crypto_prefix"
9270 # Find the Cryptopp header in the user-provided location
9271 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
9273 CRYPTOPP_STYLE="sources"
9274 CRYPTOPP_LIB_NAME="cryptopp"
9275 cryptopp_includedir=
9276 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
9279 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
9281 CRYPTOPP_STYLE="installed"
9282 CRYPTOPP_LIB_NAME="cryptopp"
9283 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
9284 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9285 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
9287 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
9289 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
9290 CRYPTOPP_STYLE="gentoo_debian"
9291 CRYPTOPP_LIB_NAME="crypto++"
9292 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
9293 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9294 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
9301 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
9302 # Find the Cryptopp header in system locations
9303 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
9305 CRYPTOPP_STYLE="sources"
9306 CRYPTOPP_LIB_NAME="cryptopp"
9307 cryptopp_includedir=
9308 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
9312 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
9314 CRYPTOPP_STYLE="installed"
9315 CRYPTOPP_LIB_NAME="cryptopp"
9316 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
9317 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9318 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
9321 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
9323 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
9324 CRYPTOPP_STYLE="gentoo_debian"
9325 CRYPTOPP_LIB_NAME="crypto++"
9326 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
9327 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9328 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
9337 if test $CRYPTOPP_STYLE = "unknown"; then :
9338 result=no; resultstr=""
9341 # Find out the crypto++ version and check against the minimum required
9342 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
9343 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
9344 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9345 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9347 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
9350 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
9351 if test -n "$cryptopp_includedir"; then :
9352 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
9356 if test -n "$cryptopp_libdir"; then :
9358 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
9359 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
9364 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
9368 cat >>confdefs.h <<_ACEOF
9369 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
9376 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9383 $as_echo "$result$resultstr" >&6; }
9385 if test ${result:-no} = yes; then :
9387 # Check for CryptoPP >= 5.5
9388 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
9389 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
9395 Could not find crypto++ header file \"$cryptopp_file_with_version\".
9396 Please try again with --with-crypto-prefix=/my_crypto_prefix
9397 (replace /my_crypto_prefix with a valid path to your crypto++
9398 installation directory)." "$LINENO" 5
9407 # Check whether --enable-debug was given.
9408 if test "${enable_debug+set}" = set; then :
9409 enableval=$enable_debug;
9413 # Check whether --enable-profile was given.
9414 if test "${enable_profile+set}" = set; then :
9415 enableval=$enable_profile;
9419 # Check whether --enable-optimize was given.
9420 if test "${enable_optimize+set}" = set; then :
9421 enableval=$enable_optimize;
9426 if test ${enable_debug:-yes} = yes; then :
9428 MULECPPFLAGS="$MULECPPFLAGS -D__DEBUG__"
9430 MULECFLAGS="$MULECFLAGS -g"
9431 MULECXXFLAGS="$MULECXXFLAGS -g"
9433 if test ${GCC:-no} = yes; then :
9435 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9436 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9439 if test ${SYS:-unknown} = win32; then :
9440 MULERCFLAGS="$MULERCFLAGS -D__DEBUG__"
9445 if test ${GCC:-no} = yes; then :
9447 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef"
9448 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
9454 if test ${enable_profile:-no} = yes; then :
9457 MULECFLAGS="$MULECFLAGS -pg"
9458 MULECXXFLAGS="$MULECXXFLAGS -pg"
9460 MULELDFLAGS="$MULELDFLAGS -pg"
9464 if test ${enable_optimize:-no} = yes; then :
9466 MULECFLAGS="$MULECFLAGS -O2"
9467 MULECXXFLAGS="$MULECXXFLAGS -O2"
9471 MULECPPFLAGS="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
9475 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 :
9480 if test ${GCC:-no} = yes; then :
9482 mule_backup_CXXFLAGS="$CXXFLAGS"
9483 CXXFLAGS="$CXXFLAGS $MULECPPFLAGS $MULECFLAGS $MULECXXFLAGS -Werror"
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX) uses strict aliasing" >&5
9486 $as_echo_n "checking whether the C++ compiler ($CXX) uses strict aliasing... " >&6; }
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9496 short *b = (short*)&a;
9506 if ac_fn_cxx_try_compile "$LINENO"; then :
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 $as_echo "no" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9514 $as_echo "yes" >&6; }
9515 $as_echo "#define GCC_USES_STRICT_ALIASING 1" >>confdefs.h
9519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9521 CXXFLAGS="$mule_backup_CXXFLAGS"
9525 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
9527 mule_backup_CPPFLAGS="$CPPFLAGS"
9528 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
9531 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9537 #include <wx/filefn.h>
9538 #ifndef wxHAS_LARGE_FILES
9539 #error No LargeFile support!
9544 if ac_fn_cxx_try_cpp "$LINENO"; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9547 $as_echo "yes" >&6; }
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9552 $as_echo "no" >&6; }
9554 Support for large files in wxWidgets is required by aMule.
9555 To continue you must recompile wxWidgets with support for
9556 large files enabled." "$LINENO" 5
9559 rm -f conftest.err conftest.$ac_ext
9561 CPPFLAGS="$mule_backup_CPPFLAGS"
9565 # Check if the compiler is broken, wrt. exceptions.
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
9568 $as_echo_n "checking for exception-handling... " >&6; }
9569 if test "$cross_compiling" = yes; then :
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
9572 $as_echo "undeterminable" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9574 Cross-compilation detected, so exception handling cannot be tested.
9575 Note that broken exception handling in your compiler may lead to
9576 unexpected crashes." >&5
9577 $as_echo "$as_me: WARNING:
9578 Cross-compilation detected, so exception handling cannot be tested.
9579 Note that broken exception handling in your compiler may lead to
9580 unexpected crashes." >&2;}
9582 _mule_has_warnings=yes
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9606 if ac_fn_cxx_try_run "$LINENO"; then :
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9609 $as_echo "yes" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9615 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
9618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9619 conftest.$ac_objext conftest.beam conftest.$ac_ext
9625 for ac_header in typeinfo
9627 ac_fn_cxx_check_header_mongrel "$LINENO" "typeinfo" "ac_cv_header_typeinfo" "$ac_includes_default"
9628 if test "x$ac_cv_header_typeinfo" = x""yes; then :
9629 cat >>confdefs.h <<_ACEOF
9630 #define HAVE_TYPEINFO 1
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
9638 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9643 #ifdef HAVE_TYPEINFO
9644 # include <typeinfo>
9653 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
9654 std::type_info *ti = abi::__cxa_current_exception_type();
9661 if ac_fn_cxx_try_link "$LINENO"; then :
9664 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9667 $as_echo "yes" >&6; }
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9672 $as_echo "no" >&6; }
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9679 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 :
9682 # Check whether --with-boost was given.
9683 if test "${with_boost+set}" = set; then :
9684 withval=$with_boost;
9690 if test ${with_boost:-no} != no; then :
9692 echo "$as_me: this is boost.m4 serial 25" >&5
9694 boost_version_req=1.47
9696 set x $boost_version_req 0 0 0
9699 boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
9700 boost_version_req_string=$1.$2.$3
9701 # If BOOST_ROOT is set and the user has not provided a value to
9702 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
9703 if test x"$BOOST_ROOT" != x; then
9704 if test x"$with_boost" = x; then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
9706 $as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
9707 with_boost=$BOOST_ROOT
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
9710 $as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
9713 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
9714 boost_save_CPPFLAGS=$CPPFLAGS
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
9716 $as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
9717 if test "${boost_cv_inc_path+set}" = set; then :
9718 $as_echo_n "(cached) " >&6
9720 boost_cv_inc_path=no
9722 ac_cpp='$CXXCPP $CPPFLAGS'
9723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9728 #include <boost/version.hpp>
9729 #if !defined BOOST_VERSION
9730 # error BOOST_VERSION is not defined
9731 #elif BOOST_VERSION < $boost_version_req
9732 # error Boost headers version < $boost_version_req
9743 # If the user provided a value to --with-boost, use it and only it.
9744 case $with_boost in #(
9745 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
9746 /usr/include C:/Boost/include;; #(
9747 *) set x "$with_boost/include" "$with_boost";;
9752 # Without --layout=system, Boost (or at least some versions) installs
9753 # itself in <prefix>/include/boost-<version>. This inner loop helps to
9754 # find headers in such directories.
9756 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
9757 # order followed by ${boost_dir}. The final '.' is a sentinel for
9758 # searching $boost_dir" itself. Entries are whitespace separated.
9760 # I didn't indent this loop on purpose (to avoid over-indented code)
9761 boost_layout_system_search_list=`cd "$boost_dir" 2>/dev
/null \
9762 && ls -1 |
"${GREP}" '^boost-' |
sort -rn -t- -k2 \
9764 for boost_inc in $boost_layout_system_search_list
9766 if test x"$boost_inc" != x.; then
9767 boost_inc="$boost_dir/$boost_inc"
9769 boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
9771 if test x"$boost_inc" != x; then
9772 # We are going to check whether the version of Boost installed
9773 # in $boost_inc is usable by running a compilation that
9774 # #includes it. But if we pass a -I/some/path in which Boost
9775 # is not installed, the compiler will just skip this -I and
9776 # use other locations (either from CPPFLAGS, or from its list
9777 # of system include directories). As a result we would use
9778 # header installed on the machine instead of the /some/path
9779 # specified by the user. So in that precise case (trying
9780 # $boost_inc), make sure the version.hpp exists.
9782 # Use test -e as there can be symlinks.
9783 test -e "$boost_inc/boost/version.hpp" || continue
9784 CPPFLAGS="$CPPFLAGS -I$boost_inc"
9786 if ac_fn_cxx_try_compile "$LINENO"; then :
9787 boost_cv_inc_path=yes
9791 rm -f core conftest.err conftest.$ac_objext
9792 if test x"$boost_cv_inc_path" = xyes; then
9793 if test x"$boost_inc" != x; then
9794 boost_cv_inc_path=$boost_inc
9801 ac_cpp='$CXXCPP $CPPFLAGS'
9802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
9808 $as_echo "$boost_cv_inc_path" >&6; }
9809 case $boost_cv_inc_path in #(
9811 boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: $boost_errmsg" >&5
9813 $as_echo "$as_me: $boost_errmsg" >&6;}
9820 BOOST_CPPFLAGS="-I$boost_cv_inc_path"
9823 if test x"$boost_cv_inc_path" != xno; then
9825 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
9828 $as_echo_n "checking for Boost's header version... " >&6; }
9829 if test "${boost_cv_lib_version+set}" = set; then :
9830 $as_echo_n "(cached) " >&6
9833 ac_cpp='$CXXCPP $CPPFLAGS'
9834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9839 #include <boost/version.hpp>
9840 boost-lib-version = BOOST_LIB_VERSION
9842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9846 $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1; then :
9847 boost_cv_lib_version=`cat conftest.i
`
9851 ac_cpp='$CXXCPP $CPPFLAGS'
9852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
9858 $as_echo "$boost_cv_lib_version" >&6; }
9859 # e.g. "134" for 1_34_1 or "135" for 1_35
9860 boost_major_version=`echo "$boost_cv_lib_version" |
sed 's/_//;s/_.*//'`
9861 case $boost_major_version in #(
9863 as_fn_error "invalid value: boost_major_version='$boost_major_version'" "$LINENO" 5
9867 CPPFLAGS=$boost_save_CPPFLAGS
9869 if test ${with_boost:-no} != disabled; then :
9871 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9872 for cc_temp in $compiler""; do
9874 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9875 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9880 cc_basename=`echo "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
9881 # All known linkers require a `.a
' archive for static linking (except MSVC,
9882 # which needs '.lib
').
9884 case $cc_basename in
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
9889 $as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
9890 if test "${boost_cv_lib_tag+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9893 boost_cv_lib_tag=unknown
9894 if test x$boost_cv_inc_path != xno; then
9896 ac_cpp='$CXXCPP $CPPFLAGS'
9897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9898 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9900 # The following tests are mostly inspired by boost/config/auto_link.hpp
9901 # The list is sorted to most recent/common to oldest compiler (in order
9902 # to increase the likelihood of finding the right compiler with the
9903 # least number of compilation attempt).
9904 # Beware that some tests are sensible to the order (for instance, we must
9905 # look for MinGW before looking for GCC3).
9906 # I used one compilation test per compiler with a #error to recognize
9907 # each compiler so that it works even when cross-compiling (let me know
9908 # if you know a better approach).
9909 # Known missing tags (known from Boost's tools
/build
/v
2/tools
/common.jam
):
9910 # como, edg, kcc, bck, mp, sw, tru, xlc
9911 # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
9912 # the same defines as GCC's).
9914 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC && \
9915 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9916 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw52" \
9917 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc52" \
9918 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC && \
9919 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9920 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw51" \
9921 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc51" \
9922 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC && \
9923 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9924 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw50" \
9925 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc50" \
9926 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC && \
9927 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9928 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw410" \
9929 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC @ gcc410" \
9930 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC && \
9931 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9932 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw49" \
9933 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC @ gcc49" \
9934 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC && \
9935 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9936 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw48" \
9937 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC @ gcc48" \
9938 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC && \
9939 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9940 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw47" \
9941 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC @ gcc47" \
9942 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC && \
9943 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9944 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw46" \
9945 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC @ gcc46" \
9946 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC && \
9947 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9948 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw45" \
9949 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC @ gcc45" \
9950 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC && \
9951 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9952 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw44" \
9953 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc44" \
9954 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC && \
9955 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9956 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw43" \
9957 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc43" \
9958 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC && \
9959 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9960 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw42" \
9961 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc42" \
9962 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC && \
9963 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9964 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw41" \
9965 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc41" \
9966 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC && \
9967 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9968 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw40" \
9969 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc40" \
9970 "defined __GNUC__ && __GNUC__ == 3 && !defined __ICC \
9971 && (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
9972 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw" \
9973 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc34" \
9974 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc33" \
9975 "defined _MSC_VER && _MSC_VER >= 1500 @ vc90" \
9976 "defined _MSC_VER && _MSC_VER == 1400 @ vc80" \
9977 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc32" \
9978 "defined _MSC_VER && _MSC_VER == 1310 @ vc71" \
9979 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc31" \
9980 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc30" \
9981 "defined __BORLANDC__ @ bcb" \
9982 "defined __ICC && (defined __unix || defined ) @ il" \
9983 "defined __ICL @ iw" \
9984 "defined _MSC_VER && _MSC_VER == 1300 @ vc7" \
9985 "defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ == 95 && !defined __ICC @ gcc295" \
9986 "defined __MWERKS__ && __MWERKS__ <= 0x32FF @ cw9" \
9987 "defined _MSC_VER && _MSC_VER < 1300 && !defined UNDER_CE @ vc6" \
9988 "defined _MSC_VER && _MSC_VER < 1300 && defined UNDER_CE @ evc4" \
9989 "defined __MWERKS__ && __MWERKS__ <= 0x31FF @ cw8"
9991 boost_tag_test
=`expr "X$i" : 'X\([^@]*\) @ '`
9992 boost_tag
=`expr "X$i" : 'X[^@]* @ \(.*\)'`
9993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9999 # error $boost_tag_test
10010 if ac_fn_cxx_try_compile
"$LINENO"; then :
10011 boost_cv_lib_tag
=$boost_tag; break
10013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10016 ac_cpp
='$CXXCPP $CPPFLAGS'
10017 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10018 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10019 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10020 case $boost_cv_lib_tag in #(
10021 # Some newer (>= 1.35?) versions of Boost seem to only use "gcc" as opposed
10022 # to "gcc41" for instance.
10023 *-gcc |
*'-gcc ') :;; #( Don't re-add -gcc: it's already in there.
10026 case $host_os in #(
10028 if test $boost_major_version -ge 136; then
10029 # The `x' added in r46793 of Boost.
10033 # We can specify multiple tags in this variable because it's used by
10034 # BOOST_FIND_LIB that does a `for tag in -$boost_cv_lib_tag' ...
10035 boost_cv_lib_tag
="$boost_tag_x$boost_cv_lib_tag -${boost_tag_x}gcc"
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which toolset name to use for $CXX" >&5
10039 $as_echo "$as_me: WARNING: could not figure out which toolset name to use for $CXX" >&2;}
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
10046 $as_echo "$boost_cv_lib_tag" >&6; }
10047 # Check whether --enable-static-boost was given.
10048 if test "${enable_static_boost+set}" = set; then :
10049 enableval
=$enable_static_boost; enable_static_boost
=yes
10051 enable_static_boost
=no
10054 # Check whether we do better use `mt' even though we weren't ask to.
10056 ac_cpp
='$CXXCPP $CPPFLAGS'
10057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 #if defined _REENTRANT || defined _MT || defined __MT__
10066 # error MT not needed
10077 if ac_fn_cxx_try_compile
"$LINENO"; then :
10078 boost_guess_use_mt
=:
10080 boost_guess_use_mt
=false
10082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10084 ac_cpp
='$CXXCPP $CPPFLAGS'
10085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost sources" >&5
10090 $as_echo_n "checking for Boost sources... " >&6; }
10091 mule_backup_CPPFLAGS
="$CPPFLAGS"
10092 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10096 #include <boost/../libs/system/src/error_code.cpp>
10106 if ac_fn_cxx_try_compile
"$LINENO"; then :
10109 $as_echo "#define HAVE_BOOST_SOURCES 1" >>confdefs.h
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10112 $as_echo "yes" >&6; }
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10117 $as_echo "no" >&6; }
10118 if test x
"$boost_cv_inc_path" = xno
; then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for the Boost system library" >&5
10120 $as_echo "$as_me: Boost not available, not searching for the Boost system library" >&6;}
10123 ac_cpp
='$CXXCPP $CPPFLAGS'
10124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10127 if test x
"$boost_cv_inc_path" = xno
; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/system/error_code.hpp" >&5
10129 $as_echo "$as_me: Boost not available, not searching for boost/system/error_code.hpp" >&6;}
10132 ac_cpp
='$CXXCPP $CPPFLAGS'
10133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10136 boost_save_CPPFLAGS
=$CPPFLAGS
10137 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10138 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/system/error_code.hpp" "ac_cv_header_boost_system_error_code_hpp" "$ac_includes_default"
10139 if test "x$ac_cv_header_boost_system_error_code_hpp" = x
""yes; then :
10141 $as_echo "#define HAVE_BOOST_SYSTEM_ERROR_CODE_HPP 1" >>confdefs.h
10144 as_fn_error
"cannot find boost/system/error_code.hpp" "$LINENO" 5
10148 CPPFLAGS
=$boost_save_CPPFLAGS
10150 ac_cpp
='$CXXCPP $CPPFLAGS'
10151 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10152 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10153 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10156 boost_save_CPPFLAGS
=$CPPFLAGS
10157 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost system library" >&5
10159 $as_echo_n "checking for the Boost system library... " >&6; }
10160 if test "${boost_cv_lib_system+set}" = set; then :
10161 $as_echo_n "(cached) " >&6
10163 boost_cv_lib_system
=no
10165 (mt | mt-
) boost_mt
=-mt; boost_rtopt
=;; #(
10166 (mt
* | mt-
*) boost_mt
=-mt; boost_rtopt
=`expr "Xmt" : 'Xmt-*\(.*\)'`;; #(
10167 (*) boost_mt
=; boost_rtopt
=mt
;;
10169 if test $enable_static_boost = yes; then
10170 boost_rtopt
="s$boost_rtopt"
10172 # Find the proper debug variant depending on what we've been asked to find.
10173 case $boost_rtopt in #(
10174 (*d
*) boost_rt_d
=$boost_rtopt;; #(
10175 (*[sgpn
]*) # Insert the `d' at the right place (in between `sg' and `pn')
10176 boost_rt_d
=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #(
10177 (*) boost_rt_d
='-d';;
10179 # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
10180 test -n "$boost_rtopt" && boost_rtopt
="-$boost_rtopt"
10181 $boost_guess_use_mt && boost_mt
=-mt
10182 # Look for the abs path the static archive.
10183 # $libext is computed by Libtool but let's make sure it's non empty.
10184 test -z "$libext" &&
10185 as_fn_error
"the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
10186 boost_save_ac_objext
=$ac_objext
10187 # Generate the test file.
10188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 #include <boost/system/error_code.hpp>
10195 boost::system::error_code e; e.clear();
10200 if ac_fn_cxx_try_compile
"$LINENO"; then :
10201 ac_objext
=do_not_rm_me_plz
10203 as_fn_error
"cannot compile a test that uses Boost system" "$LINENO" 5
10205 rm -f core conftest.err conftest.
$ac_objext
10206 ac_objext
=$boost_save_ac_objext
10208 # Don't bother to ident the following nested for loops, only the 2
10209 # innermost ones matter.
10210 for boost_lib_
in system
; do
10211 for boost_tag_
in -$boost_cv_lib_tag ''; do
10212 for boost_ver_
in -$boost_cv_lib_version ''; do
10213 for boost_mt_
in $boost_mt -mt ''; do
10214 for boost_rtopt_
in $boost_rtopt '' -d; do
10216 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
10217 boost_
$boost_lib_$boost_tag_$boost_rtopt_$boost_ver_ \
10218 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_ver_ \
10219 boost_
$boost_lib_$boost_tag_$boost_ver_
10221 # Avoid testing twice the same lib
10222 case $boost_failed_libs in #(
10223 (*@
$boost_lib@
*) continue;;
10225 # If with_boost is empty, we'll search in /lib first, which is not quite
10226 # right so instead we'll try to a location based on where the headers are.
10227 boost_tmp_lib
=$with_boost
10228 test x
"$with_boost" = x
&& boost_tmp_lib
=${boost_cv_inc_path%/include}
10229 for boost_ldpath
in "$boost_tmp_lib/lib" '' \
10230 /opt
/local
/lib
* /usr
/local
/lib
* /opt
/lib
* /usr
/lib
* \
10231 "$with_boost" C
:/Boost
/lib
/lib
*
10233 # Don't waste time with directories that don't exist.
10234 if test x
"$boost_ldpath" != x
&& test ! -e "$boost_ldpath"; then
10237 boost_save_LDFLAGS
=$LDFLAGS
10238 # Are we looking for a static library?
10239 case $boost_ldpath:$boost_rtopt_ in #(
10240 (*?
*:*s
*) # Yes (Non empty boost_ldpath + s in rt opt)
10241 boost_cv_lib_system_LIBS
="$boost_ldpath/lib$boost_lib.$libext"
10242 test -e "$boost_cv_lib_system_LIBS" ||
continue;; #(
10243 (*) # No: use -lboost_foo to find the shared library.
10244 boost_cv_lib_system_LIBS
="-l$boost_lib";;
10246 boost_save_LIBS
=$LIBS
10247 LIBS
="$boost_cv_lib_system_LIBS $LIBS"
10248 test x
"$boost_ldpath" != x
&& LDFLAGS
="$LDFLAGS -L$boost_ldpath"
10249 rm -f conftest
$ac_exeext
10250 boost_save_ac_ext
=$ac_ext
10252 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10253 # tries to link the existing object file instead of compiling from source.
10254 test -f conftest.
$ac_objext && ac_ext
=$ac_objext && boost_use_source
=false
&&
10255 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10256 if { { ac_try
="$ac_link"
10257 case "(($ac_try" in
10258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10262 $as_echo "$ac_try_echo"; } >&5
10263 (eval "$ac_link") 2>conftest.err
10265 if test -s conftest.err; then
10266 grep -v '^ *+' conftest.err >conftest.er1
10267 cat conftest.er1 >&5
10268 mv -f conftest.er1 conftest.err
10270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10271 test $ac_status = 0; } && {
10272 test -z "$ac_cxx_werror_flag" ||
10273 test ! -s conftest.err
10274 } && test -s conftest$ac_exeext && {
10275 test "$cross_compiling" = yes ||
10276 $as_executable_p conftest$ac_exeext
10278 boost_cv_lib_system=yes
10280 if $boost_use_source; then
10281 $as_echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.$ac_ext >&5
10285 boost_cv_lib_system=no
10287 ac_objext=$boost_save_ac_objext
10288 ac_ext=$boost_save_ac_ext
10289 rm -f core conftest.err conftest_ipa8_conftest.oo \
10291 ac_objext=$boost_save_ac_objext
10292 LDFLAGS=$boost_save_LDFLAGS
10293 LIBS=$boost_save_LIBS
10294 if test x"$boost_cv_lib_system" = xyes; then
10295 # Check or used cached result of whether or not using -R or
10296 # -rpath makes sense. Some implementations of ld, such as for
10297 # Mac OSX, require -rpath but -R is the flag known to work on
10298 # other systems. https://github.com/tsuna/boost.m4/issues/19
10299 if test "${boost_cv_rpath_link_ldflag+set}" = set; then :
10300 $as_echo_n "(cached) " >&6
10302 case $boost_ldpath in
10303 '') # Nothing to do.
10304 boost_cv_rpath_link_ldflag=
10305 boost_rpath_link_ldflag_found=yes;;
10307 for boost_cv_rpath_link_ldflag in -Wl,-R, -Wl,-rpath,; do
10308 LDFLAGS="$boost_save_LDFLAGS -L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10309 LIBS="$boost_save_LIBS $boost_cv_lib_system_LIBS"
10310 rm -f conftest$ac_exeext
10311 boost_save_ac_ext=$ac_ext
10313 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10314 # tries to link the existing object file instead of compiling from source.
10315 test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
10316 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10317 if { { ac_try="$ac_link"
10318 case "(($ac_try" in
10319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10320 *) ac_try_echo
=$ac_try;;
10322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10323 $as_echo "$ac_try_echo"; } >&5
10324 (eval "$ac_link") 2>conftest.err
10326 if test -s conftest.err
; then
10327 grep -v '^ *+' conftest.err
>conftest.er1
10328 cat conftest.er1
>&5
10329 mv -f conftest.er1 conftest.err
10331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10332 test $ac_status = 0; } && {
10333 test -z "$ac_cxx_werror_flag" ||
10334 test ! -s conftest.err
10335 } && test -s conftest
$ac_exeext && {
10336 test "$cross_compiling" = yes ||
10337 $as_executable_p conftest
$ac_exeext
10339 boost_rpath_link_ldflag_found
=yes
10342 if $boost_use_source; then
10343 $as_echo "$as_me: failed program was:" >&5
10344 sed 's/^/| /' conftest.
$ac_ext >&5
10347 boost_rpath_link_ldflag_found
=no
10349 ac_objext
=$boost_save_ac_objext
10350 ac_ext
=$boost_save_ac_ext
10351 rm -f core conftest.err conftest_ipa8_conftest.oo \
10356 if test "x$boost_rpath_link_ldflag_found" != "xyes"; then :
10357 as_fn_error
"Unable to determine whether to use -R or -rpath" "$LINENO" 5
10359 LDFLAGS
=$boost_save_LDFLAGS
10360 LIBS
=$boost_save_LIBS
10364 test x
"$boost_ldpath" != x
&&
10365 boost_cv_lib_system_LDFLAGS
="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10366 boost_cv_lib_system_LDPATH
="$boost_ldpath"
10369 boost_failed_libs
="$boost_failed_libs@$boost_lib@"
10378 rm -f conftest.
$ac_objext
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_system" >&5
10382 $as_echo "$boost_cv_lib_system" >&6; }
10383 case $boost_cv_lib_system in #(
10384 (no
) $as_echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.
$ac_ext >&5
10387 as_fn_error
"cannot find the flags to link with Boost system" "$LINENO" 5
10390 BOOST_SYSTEM_LDFLAGS
=$boost_cv_lib_system_LDFLAGS
10391 BOOST_SYSTEM_LDPATH
=$boost_cv_lib_system_LDPATH
10392 BOOST_LDPATH
=$boost_cv_lib_system_LDPATH
10393 BOOST_SYSTEM_LIBS
=$boost_cv_lib_system_LIBS
10394 CPPFLAGS
=$boost_save_CPPFLAGS
10396 ac_cpp
='$CXXCPP $CPPFLAGS'
10397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10404 if test ${boost_cv_lib_system:-no} != yes; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10407 Boost support has been disabled because Boost.System not found" >&5
10408 $as_echo "$as_me: WARNING:
10409 Boost support has been disabled because Boost.System not found" >&2;}
10410 _mule_warning_8
=yes
10411 _mule_has_warnings
=yes
10413 with_boost
=disabled
10418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10419 CPPFLAGS
="$mule_backup_CPPFLAGS"
10420 if test x
"$boost_cv_inc_path" = xno
; then
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10423 Boost support has been disabled because Boost.Asio not found" >&5
10424 $as_echo "$as_me: WARNING:
10425 Boost support has been disabled because Boost.Asio not found" >&2;}
10426 _mule_warning_9
=yes
10427 _mule_has_warnings
=yes
10429 with_boost
=disabled
10433 ac_cpp
='$CXXCPP $CPPFLAGS'
10434 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10435 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10436 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10437 boost_save_CPPFLAGS
=$CPPFLAGS
10438 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10439 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/asio.hpp" "ac_cv_header_boost_asio_hpp" "$ac_includes_default"
10440 if test "x$ac_cv_header_boost_asio_hpp" = x
""yes; then :
10442 $as_echo "#define ASIO_SOCKETS 1" >>confdefs.h
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10447 Boost support has been disabled because Boost.Asio not found" >&5
10448 $as_echo "$as_me: WARNING:
10449 Boost support has been disabled because Boost.Asio not found" >&2;}
10450 _mule_warning_10
=yes
10451 _mule_has_warnings
=yes
10453 with_boost
=disabled
10458 CPPFLAGS
=$boost_save_CPPFLAGS
10460 ac_cpp
='$CXXCPP $CPPFLAGS'
10461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10469 Boost support has been disabled because of insufficient Boost version." >&5
10470 $as_echo "$as_me: WARNING:
10471 Boost support has been disabled because of insufficient Boost version." >&2;}
10472 _mule_warning_11
=yes
10473 _mule_has_warnings
=yes
10483 # Ok, we have all needed libs, now checking for other stuff
10484 if test "$LEX" = "flex"; then :
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
10487 $as_echo_n "checking for extended flex capabilities... " >&6; }
10489 extended_flex
=`flex --help | grep header-file`
10490 if test -n "$extended_flex"; then :
10491 HAVE_FLEX_EXTENDED
=yes
10493 HAVE_FLEX_EXTENDED
=no
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
10496 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
10498 if test $HAVE_FLEX_EXTENDED = no
; then :
10499 { $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
10500 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
10504 HAVE_FLEX_EXTENDED
=no
10508 # Checks for header files.
10509 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10510 # for constant arguments. Useless!
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
10512 $as_echo_n "checking for working alloca.h... " >&6; }
10513 if test "${ac_cv_working_alloca_h+set}" = set; then :
10514 $as_echo_n "(cached) " >&6
10516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10518 #include <alloca.h>
10522 char *p = (char *) alloca (2 * sizeof (int));
10528 if ac_fn_cxx_try_link
"$LINENO"; then :
10529 ac_cv_working_alloca_h
=yes
10531 ac_cv_working_alloca_h
=no
10533 rm -f core conftest.err conftest.
$ac_objext \
10534 conftest
$ac_exeext conftest.
$ac_ext
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
10537 $as_echo "$ac_cv_working_alloca_h" >&6; }
10538 if test $ac_cv_working_alloca_h = yes; then
10540 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
10545 $as_echo_n "checking for alloca... " >&6; }
10546 if test "${ac_cv_func_alloca_works+set}" = set; then :
10547 $as_echo_n "(cached) " >&6
10549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 # define alloca __builtin_alloca
10555 # include <malloc.h>
10556 # define alloca _alloca
10558 # ifdef HAVE_ALLOCA_H
10559 # include <alloca.h>
10564 # ifndef alloca /* predefined by HP cc +Olibcalls */
10575 char *p = (char *) alloca (1);
10581 if ac_fn_cxx_try_link
"$LINENO"; then :
10582 ac_cv_func_alloca_works
=yes
10584 ac_cv_func_alloca_works
=no
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
10590 $as_echo "$ac_cv_func_alloca_works" >&6; }
10592 if test $ac_cv_func_alloca_works = yes; then
10594 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
10597 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10598 # that cause trouble. Some versions do not even contain alloca or
10599 # contain a buggy version. If you still want to use their alloca,
10600 # use ar to extract alloca.o from them instead of compiling alloca.c.
10602 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
10604 $as_echo "#define C_ALLOCA 1" >>confdefs.h
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
10608 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
10609 if test "${ac_cv_os_cray+set}" = set; then :
10610 $as_echo_n "(cached) " >&6
10612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10614 #if defined CRAY && ! defined CRAY2
10621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10622 $EGREP "webecray" >/dev
/null
2>&1; then :
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
10631 $as_echo "$ac_cv_os_cray" >&6; }
10632 if test $ac_cv_os_cray = yes; then
10633 for ac_func
in _getb67 GETB67 getb67
; do
10634 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10635 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10636 eval as_val
=\$
$as_ac_var
10637 if test "x$as_val" = x
""yes; then :
10639 cat >>confdefs.h
<<_ACEOF
10640 #define CRAY_STACKSEG_END $ac_func
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
10650 $as_echo_n "checking stack direction for C alloca... " >&6; }
10651 if test "${ac_cv_c_stack_direction+set}" = set; then :
10652 $as_echo_n "(cached) " >&6
10654 if test "$cross_compiling" = yes; then :
10655 ac_cv_c_stack_direction
=0
10657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 $ac_includes_default
10661 find_stack_direction ()
10663 static char *addr = 0;
10668 return find_stack_direction ();
10671 return (&dummy > addr) ? 1 : -1;
10677 return find_stack_direction () < 0;
10680 if ac_fn_cxx_try_run
"$LINENO"; then :
10681 ac_cv_c_stack_direction
=1
10683 ac_cv_c_stack_direction
=-1
10685 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10686 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
10691 $as_echo "$ac_cv_c_stack_direction" >&6; }
10692 cat >>confdefs.h
<<_ACEOF
10693 #define STACK_DIRECTION $ac_cv_c_stack_direction
10699 ac_header_dirent
=no
10700 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
10701 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
10703 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
10704 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
10705 $as_echo_n "(cached) " >&6
10707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 #include <sys/types.h>
10721 if ac_fn_cxx_try_compile
"$LINENO"; then :
10722 eval "$as_ac_Header=yes"
10724 eval "$as_ac_Header=no"
10726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10728 eval ac_res
=\$
$as_ac_Header
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10730 $as_echo "$ac_res" >&6; }
10731 eval as_val
=\$
$as_ac_Header
10732 if test "x$as_val" = x
""yes; then :
10733 cat >>confdefs.h
<<_ACEOF
10734 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10737 ac_header_dirent
=$ac_hdr; break
10741 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10742 if test $ac_header_dirent = dirent.h
; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10744 $as_echo_n "checking for library containing opendir... " >&6; }
10745 if test "${ac_cv_search_opendir+set}" = set; then :
10746 $as_echo_n "(cached) " >&6
10748 ac_func_search_save_LIBS
=$LIBS
10749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10767 for ac_lib
in '' dir
; do
10768 if test -z "$ac_lib"; then
10769 ac_res
="none required"
10772 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10774 if ac_fn_cxx_try_link
"$LINENO"; then :
10775 ac_cv_search_opendir
=$ac_res
10777 rm -f core conftest.err conftest.
$ac_objext \
10779 if test "${ac_cv_search_opendir+set}" = set; then :
10783 if test "${ac_cv_search_opendir+set}" = set; then :
10786 ac_cv_search_opendir
=no
10788 rm conftest.
$ac_ext
10789 LIBS
=$ac_func_search_save_LIBS
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10792 $as_echo "$ac_cv_search_opendir" >&6; }
10793 ac_res
=$ac_cv_search_opendir
10794 if test "$ac_res" != no
; then :
10795 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10801 $as_echo_n "checking for library containing opendir... " >&6; }
10802 if test "${ac_cv_search_opendir+set}" = set; then :
10803 $as_echo_n "(cached) " >&6
10805 ac_func_search_save_LIBS
=$LIBS
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10824 for ac_lib
in '' x
; do
10825 if test -z "$ac_lib"; then
10826 ac_res
="none required"
10829 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10831 if ac_fn_cxx_try_link
"$LINENO"; then :
10832 ac_cv_search_opendir
=$ac_res
10834 rm -f core conftest.err conftest.
$ac_objext \
10836 if test "${ac_cv_search_opendir+set}" = set; then :
10840 if test "${ac_cv_search_opendir+set}" = set; then :
10843 ac_cv_search_opendir
=no
10845 rm conftest.
$ac_ext
10846 LIBS
=$ac_func_search_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10849 $as_echo "$ac_cv_search_opendir" >&6; }
10850 ac_res
=$ac_cv_search_opendir
10851 if test "$ac_res" != no
; then :
10852 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10859 $as_echo_n "checking for ANSI C header files... " >&6; }
10860 if test "${ac_cv_header_stdc+set}" = set; then :
10861 $as_echo_n "(cached) " >&6
10863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865 #include <stdlib.h>
10866 #include <stdarg.h>
10867 #include <string.h>
10878 if ac_fn_cxx_try_compile
"$LINENO"; then :
10879 ac_cv_header_stdc
=yes
10881 ac_cv_header_stdc
=no
10883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10885 if test $ac_cv_header_stdc = yes; then
10886 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10889 #include <string.h>
10892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10893 $EGREP "memchr" >/dev
/null
2>&1; then :
10896 ac_cv_header_stdc
=no
10902 if test $ac_cv_header_stdc = yes; then
10903 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10906 #include <stdlib.h>
10909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10910 $EGREP "free" >/dev
/null
2>&1; then :
10913 ac_cv_header_stdc
=no
10919 if test $ac_cv_header_stdc = yes; then
10920 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10921 if test "$cross_compiling" = yes; then :
10924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10927 #include <stdlib.h>
10928 #if ((' ' & 0x0FF) == 0x020)
10929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10932 # define ISLOWER(c) \
10933 (('a' <= (c) && (c) <= 'i') \
10934 || ('j' <= (c) && (c) <= 'r') \
10935 || ('s' <= (c) && (c) <= 'z'))
10936 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10939 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10944 for (i = 0; i < 256; i++)
10945 if (XOR (islower (i), ISLOWER (i))
10946 || toupper (i) != TOUPPER (i))
10951 if ac_fn_cxx_try_run
"$LINENO"; then :
10954 ac_cv_header_stdc
=no
10956 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10957 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10963 $as_echo "$ac_cv_header_stdc" >&6; }
10964 if test $ac_cv_header_stdc = yes; then
10966 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10970 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
10972 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10973 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10974 eval as_val
=\$
$as_ac_Header
10975 if test "x$as_val" = x
""yes; then :
10976 cat >>confdefs.h
<<_ACEOF
10977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
10985 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
10986 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
10987 $as_echo_n "(cached) " >&6
10989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 #include <sys/types.h>
10992 #include <sys/wait.h>
10993 #ifndef WEXITSTATUS
10994 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
10997 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11005 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11010 if ac_fn_cxx_try_compile
"$LINENO"; then :
11011 ac_cv_header_sys_wait_h
=yes
11013 ac_cv_header_sys_wait_h
=no
11015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
11018 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11019 if test $ac_cv_header_sys_wait_h = yes; then
11021 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
11027 # Checks for typedefs, structures, and compiler characteristics.
11028 ac_fn_cxx_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11029 if test "x$ac_cv_type_mode_t" = x
""yes; then :
11033 cat >>confdefs.h
<<_ACEOF
11039 ac_fn_cxx_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
11040 if test "x$ac_cv_type_off_t" = x
""yes; then :
11044 cat >>confdefs.h
<<_ACEOF
11045 #define off_t long int
11050 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11051 if test "x$ac_cv_type_size_t" = x
""yes; then :
11055 cat >>confdefs.h
<<_ACEOF
11056 #define size_t unsigned int
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11062 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11063 if test "${ac_cv_header_time+set}" = set; then :
11064 $as_echo_n "(cached) " >&6
11066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11068 #include <sys/types.h>
11069 #include <sys/time.h>
11075 if ((struct tm *) 0)
11081 if ac_fn_cxx_try_compile
"$LINENO"; then :
11082 ac_cv_header_time
=yes
11084 ac_cv_header_time
=no
11086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11089 $as_echo "$ac_cv_header_time" >&6; }
11090 if test $ac_cv_header_time = yes; then
11092 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11097 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11098 if test "${ac_cv_struct_tm+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 #include <sys/types.h>
11110 int *p = &tm.tm_sec;
11116 if ac_fn_cxx_try_compile
"$LINENO"; then :
11117 ac_cv_struct_tm
=time.h
11119 ac_cv_struct_tm
=sys
/time.h
11121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
11124 $as_echo "$ac_cv_struct_tm" >&6; }
11125 if test $ac_cv_struct_tm = sys
/time.h
; then
11127 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11132 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11133 if test "${ac_cv_type_uid_t+set}" = set; then :
11134 $as_echo_n "(cached) " >&6
11136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 #include <sys/types.h>
11141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11142 $EGREP "uid_t" >/dev
/null
2>&1; then :
11143 ac_cv_type_uid_t
=yes
11145 ac_cv_type_uid_t
=no
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11151 $as_echo "$ac_cv_type_uid_t" >&6; }
11152 if test $ac_cv_type_uid_t = no
; then
11154 $as_echo "#define uid_t int" >>confdefs.h
11157 $as_echo "#define gid_t int" >>confdefs.h
11161 ac_fn_cxx_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
11162 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
11164 cat >>confdefs.h
<<_ACEOF
11165 #define HAVE_PTRDIFF_T 1
11173 # Checks for library functions.
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
11175 $as_echo_n "checking whether closedir returns void... " >&6; }
11176 if test "${ac_cv_func_closedir_void+set}" = set; then :
11177 $as_echo_n "(cached) " >&6
11179 if test "$cross_compiling" = yes; then :
11180 ac_cv_func_closedir_void
=yes
11182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11184 $ac_includes_default
11185 #include <$ac_header_dirent>
11186 #ifndef __cplusplus
11193 return closedir (opendir (".")) != 0;
11198 if ac_fn_cxx_try_run
"$LINENO"; then :
11199 ac_cv_func_closedir_void
=no
11201 ac_cv_func_closedir_void
=yes
11203 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11204 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
11209 $as_echo "$ac_cv_func_closedir_void" >&6; }
11210 if test $ac_cv_func_closedir_void = yes; then
11212 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
11216 if test $ac_cv_c_compiler_gnu = yes; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11218 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11219 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11222 ac_pattern
="Autoconf.*'x'"
11223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11229 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11230 ac_cv_prog_gcc_traditional
=yes
11232 ac_cv_prog_gcc_traditional
=no
11237 if test $ac_cv_prog_gcc_traditional = no
; then
11238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11240 #include <termio.h>
11243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11244 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11245 ac_cv_prog_gcc_traditional
=yes
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11252 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11253 if test $ac_cv_prog_gcc_traditional = yes; then
11254 CC
="$CC -traditional"
11258 ac_fn_cxx_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11259 if test "x$ac_cv_type_pid_t" = x
""yes; then :
11263 cat >>confdefs.h
<<_ACEOF
11269 for ac_header
in vfork.h
11271 ac_fn_cxx_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11272 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
11273 cat >>confdefs.h
<<_ACEOF
11274 #define HAVE_VFORK_H 1
11281 for ac_func
in fork vfork
11283 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11284 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11285 eval as_val
=\$
$as_ac_var
11286 if test "x$as_val" = x
""yes; then :
11287 cat >>confdefs.h
<<_ACEOF
11288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11294 if test "x$ac_cv_func_fork" = xyes
; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11296 $as_echo_n "checking for working fork... " >&6; }
11297 if test "${ac_cv_func_fork_works+set}" = set; then :
11298 $as_echo_n "(cached) " >&6
11300 if test "$cross_compiling" = yes; then :
11301 ac_cv_func_fork_works
=cross
11303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11305 $ac_includes_default
11310 /* By Ruediger Kuhlmann. */
11311 return fork () < 0;
11317 if ac_fn_cxx_try_run
"$LINENO"; then :
11318 ac_cv_func_fork_works
=yes
11320 ac_cv_func_fork_works
=no
11322 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11323 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
11328 $as_echo "$ac_cv_func_fork_works" >&6; }
11331 ac_cv_func_fork_works
=$ac_cv_func_fork
11333 if test "x$ac_cv_func_fork_works" = xcross
; then
11335 *-*-amigaos* |
*-*-msdosdjgpp*)
11336 # Override, as these systems have only a dummy fork() stub
11337 ac_cv_func_fork_works
=no
11340 ac_cv_func_fork_works
=yes
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11344 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11346 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11347 if test "x$ac_cv_func_vfork" = xyes
; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11349 $as_echo_n "checking for working vfork... " >&6; }
11350 if test "${ac_cv_func_vfork_works+set}" = set; then :
11351 $as_echo_n "(cached) " >&6
11353 if test "$cross_compiling" = yes; then :
11354 ac_cv_func_vfork_works
=cross
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11358 /* Thanks to Paul Eggert for this test. */
11359 $ac_includes_default
11360 #include <sys/wait.h>
11361 #ifdef HAVE_VFORK_H
11362 # include <vfork.h>
11364 /* On some sparc systems, changes by the child to local and incoming
11365 argument registers are propagated back to the parent. The compiler
11366 is told about this with #include <vfork.h>, but some compilers
11367 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11368 static variable whose address is put into a register that is
11369 clobbered by the vfork. */
11372 sparc_address_test (int arg)
11374 sparc_address_test (arg) int arg;
11377 static pid_t child;
11395 pid_t parent = getpid ();
11398 sparc_address_test (0);
11403 /* Here is another test for sparc vfork register problems. This
11404 test uses lots of local variables, at least as many local
11405 variables as main has allocated so far including compiler
11406 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11407 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11408 reuse the register of parent for one of the local variables,
11409 since it will think that parent can't possibly be used any more
11410 in this routine. Assigning to the local variable will thus
11411 munge parent in the parent process. */
11413 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11414 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11415 /* Convince the compiler that p..p7 are live; otherwise, it might
11416 use the same hardware register for all 8 local variables. */
11417 if (p != p1 || p != p2 || p != p3 || p != p4
11418 || p != p5 || p != p6 || p != p7)
11421 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11422 from child file descriptors. If the child closes a descriptor
11423 before it execs or exits, this munges the parent's descriptor
11424 as well. Test for this by closing stdout in the child. */
11425 _exit(close(fileno(stdout)) != 0);
11430 while (wait(&status) != child)
11433 /* Was there some problem with vforking? */
11436 /* Did the child fail? (This shouldn't happen.) */
11439 /* Did the vfork/compiler bug occur? */
11440 || parent != getpid()
11442 /* Did the file descriptor bug occur? */
11443 || fstat(fileno(stdout), &st) != 0
11448 if ac_fn_cxx_try_run
"$LINENO"; then :
11449 ac_cv_func_vfork_works
=yes
11451 ac_cv_func_vfork_works
=no
11453 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11454 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11459 $as_echo "$ac_cv_func_vfork_works" >&6; }
11462 if test "x$ac_cv_func_fork_works" = xcross
; then
11463 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11465 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11468 if test "x$ac_cv_func_vfork_works" = xyes
; then
11470 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
11474 $as_echo "#define vfork fork" >>confdefs.h
11477 if test "x$ac_cv_func_fork_works" = xyes
; then
11479 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11484 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11485 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
11486 $as_echo_n "(cached) " >&6
11488 rm -f conftest.sym conftest.
file
11489 echo >conftest.
file
11490 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11491 if test "$cross_compiling" = yes; then :
11492 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 $ac_includes_default
11501 /* Linux will dereference the symlink and fail, as required by POSIX.
11502 That is better in the sense that it means we will not
11503 have to compile and use the lstat wrapper. */
11504 return lstat ("conftest.sym/", &sbuf) == 0;
11509 if ac_fn_cxx_try_run
"$LINENO"; then :
11510 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11512 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11514 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11515 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11519 # If the `ln -s' command failed, then we probably don't even
11520 # have an lstat function.
11521 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11523 rm -f conftest.sym conftest.
file
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11527 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11529 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11531 cat >>confdefs.h
<<_ACEOF
11532 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11536 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11537 case " $LIBOBJS " in
11538 *" lstat.$ac_objext "* ) ;;
11539 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11545 if test x
$SYS != xwin32
; then :
11547 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
11548 # -lseq on Dynix/PTX, -lgen on Unixware.
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
11550 $as_echo_n "checking for library containing getmntent... " >&6; }
11551 if test "${ac_cv_search_getmntent+set}" = set; then :
11552 $as_echo_n "(cached) " >&6
11554 ac_func_search_save_LIBS
=$LIBS
11555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11568 return getmntent ();
11573 for ac_lib
in '' sun
seq gen
; do
11574 if test -z "$ac_lib"; then
11575 ac_res
="none required"
11578 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11580 if ac_fn_cxx_try_link
"$LINENO"; then :
11581 ac_cv_search_getmntent
=$ac_res
11583 rm -f core conftest.err conftest.
$ac_objext \
11585 if test "${ac_cv_search_getmntent+set}" = set; then :
11589 if test "${ac_cv_search_getmntent+set}" = set; then :
11592 ac_cv_search_getmntent
=no
11594 rm conftest.
$ac_ext
11595 LIBS
=$ac_func_search_save_LIBS
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
11598 $as_echo "$ac_cv_search_getmntent" >&6; }
11599 ac_res
=$ac_cv_search_getmntent
11600 if test "$ac_res" != no
; then :
11601 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11602 ac_cv_func_getmntent
=yes
11604 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
11607 ac_cv_func_getmntent
=no
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
11612 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
11613 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11616 if test "$cross_compiling" = yes; then :
11617 ac_cv_func_lstat_empty_string_bug
=yes
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11621 $ac_includes_default
11626 return lstat ("", &sbuf) == 0;
11631 if ac_fn_cxx_try_run
"$LINENO"; then :
11632 ac_cv_func_lstat_empty_string_bug
=no
11634 ac_cv_func_lstat_empty_string_bug
=yes
11636 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11637 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
11642 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
11643 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11644 case " $LIBOBJS " in
11645 *" lstat.$ac_objext "* ) ;;
11646 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11651 cat >>confdefs.h
<<_ACEOF
11652 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11658 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11659 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
11660 $as_echo_n "(cached) " >&6
11662 rm -f conftest.sym conftest.
file
11663 echo >conftest.
file
11664 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11665 if test "$cross_compiling" = yes; then :
11666 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 $ac_includes_default
11675 /* Linux will dereference the symlink and fail, as required by POSIX.
11676 That is better in the sense that it means we will not
11677 have to compile and use the lstat wrapper. */
11678 return lstat ("conftest.sym/", &sbuf) == 0;
11683 if ac_fn_cxx_try_run
"$LINENO"; then :
11684 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11686 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11688 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11689 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11693 # If the `ln -s' command failed, then we probably don't even
11694 # have an lstat function.
11695 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11697 rm -f conftest.sym conftest.
file
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11701 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11703 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11705 cat >>confdefs.h
<<_ACEOF
11706 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11710 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11711 case " $LIBOBJS " in
11712 *" lstat.$ac_objext "* ) ;;
11713 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
11722 $as_echo_n "checking for working memcmp... " >&6; }
11723 if test "${ac_cv_func_memcmp_working+set}" = set; then :
11724 $as_echo_n "(cached) " >&6
11726 if test "$cross_compiling" = yes; then :
11727 ac_cv_func_memcmp_working
=no
11729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11731 $ac_includes_default
11736 /* Some versions of memcmp are not 8-bit clean. */
11737 char c0 = '\100', c1 = '\200', c2 = '\201';
11738 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11741 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11742 or more and with at least one buffer not starting on a 4-byte boundary.
11743 William Lewis provided this test program. */
11748 for (i = 0; i < 4; i++)
11752 strcpy (a, "--------01111111");
11753 strcpy (b, "--------10000000");
11754 if (memcmp (a, b, 16) >= 0)
11764 if ac_fn_cxx_try_run
"$LINENO"; then :
11765 ac_cv_func_memcmp_working
=yes
11767 ac_cv_func_memcmp_working
=no
11769 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11770 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
11775 $as_echo "$ac_cv_func_memcmp_working" >&6; }
11776 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
11777 *" memcmp.$ac_objext "* ) ;;
11778 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
11783 for ac_header
in sys
/select.h sys
/socket.h
11785 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11786 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11787 eval as_val
=\$
$as_ac_Header
11788 if test "x$as_val" = x
""yes; then :
11789 cat >>confdefs.h
<<_ACEOF
11790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
11798 $as_echo_n "checking types of arguments for select... " >&6; }
11799 if test "${ac_cv_func_select_args+set}" = set; then :
11800 $as_echo_n "(cached) " >&6
11802 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
11803 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
11804 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
11805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11807 $ac_includes_default
11808 #ifdef HAVE_SYS_SELECT_H
11809 # include <sys/select.h>
11811 #ifdef HAVE_SYS_SOCKET_H
11812 # include <sys/socket.h>
11818 extern int select ($ac_arg1,
11819 $ac_arg234, $ac_arg234, $ac_arg234,
11825 if ac_fn_cxx_try_compile
"$LINENO"; then :
11826 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11832 # Provide a safe default value.
11833 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
11837 $as_echo "$ac_cv_func_select_args" >&6; }
11838 ac_save_IFS
=$IFS; IFS
=','
11839 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11843 cat >>confdefs.h
<<_ACEOF
11844 #define SELECT_TYPE_ARG1 $1
11848 cat >>confdefs.h
<<_ACEOF
11849 #define SELECT_TYPE_ARG234 ($2)
11853 cat >>confdefs.h
<<_ACEOF
11854 #define SELECT_TYPE_ARG5 ($3)
11859 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
11860 $as_echo_n "(cached) " >&6
11862 ac_cv_func_setvbuf_reversed
=no
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11867 $as_echo_n "checking return type of signal handlers... " >&6; }
11868 if test "${ac_cv_type_signal+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11873 #include <sys/types.h>
11874 #include <signal.h>
11879 return *(signal (0, 0)) (0) == 1;
11884 if ac_fn_cxx_try_compile
"$LINENO"; then :
11885 ac_cv_type_signal
=int
11887 ac_cv_type_signal
=void
11889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11892 $as_echo "$ac_cv_type_signal" >&6; }
11894 cat >>confdefs.h
<<_ACEOF
11895 #define RETSIGTYPE $ac_cv_type_signal
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
11900 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
11901 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
11902 $as_echo_n "(cached) " >&6
11904 if test "$cross_compiling" = yes; then :
11905 ac_cv_func_stat_empty_string_bug
=yes
11907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11909 $ac_includes_default
11914 return stat ("", &sbuf) == 0;
11919 if ac_fn_cxx_try_run
"$LINENO"; then :
11920 ac_cv_func_stat_empty_string_bug
=no
11922 ac_cv_func_stat_empty_string_bug
=yes
11924 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11925 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
11930 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
11931 if test $ac_cv_func_stat_empty_string_bug = yes; then
11932 case " $LIBOBJS " in
11933 *" stat.$ac_objext "* ) ;;
11934 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
11939 cat >>confdefs.h
<<_ACEOF
11940 #define HAVE_STAT_EMPTY_STRING_BUG 1
11945 for ac_func
in strftime
11947 ac_fn_cxx_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
11948 if test "x$ac_cv_func_strftime" = x
""yes; then :
11949 cat >>confdefs.h
<<_ACEOF
11950 #define HAVE_STRFTIME 1
11954 # strftime is in -lintl on SCO UNIX.
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
11956 $as_echo_n "checking for strftime in -lintl... " >&6; }
11957 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_check_lib_save_LIBS
=$LIBS
11961 LIBS
="-lintl $LIBS"
11962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11975 return strftime ();
11980 if ac_fn_cxx_try_link
"$LINENO"; then :
11981 ac_cv_lib_intl_strftime
=yes
11983 ac_cv_lib_intl_strftime
=no
11985 rm -f core conftest.err conftest.
$ac_objext \
11986 conftest
$ac_exeext conftest.
$ac_ext
11987 LIBS
=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
11990 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
11991 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
11992 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
11994 LIBS
="-lintl $LIBS"
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12001 $as_echo_n "checking for working strtod... " >&6; }
12002 if test "${ac_cv_func_strtod+set}" = set; then :
12003 $as_echo_n "(cached) " >&6
12005 if test "$cross_compiling" = yes; then :
12006 ac_cv_func_strtod
=no
12008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 $ac_includes_default
12019 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12020 char *string = " +69";
12023 value = strtod (string, &term);
12024 if (value != 69 || term != (string + 4))
12029 /* Under Solaris 2.4, strtod returns the wrong value for the
12030 terminating character under some conditions. */
12031 char *string = "NaN";
12033 strtod (string, &term);
12034 if (term != string && *(term - 1) == 0)
12041 if ac_fn_cxx_try_run
"$LINENO"; then :
12042 ac_cv_func_strtod
=yes
12044 ac_cv_func_strtod
=no
12046 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12047 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12052 $as_echo "$ac_cv_func_strtod" >&6; }
12053 if test $ac_cv_func_strtod = no
; then
12054 case " $LIBOBJS " in
12055 *" strtod.$ac_objext "* ) ;;
12056 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
12060 ac_fn_cxx_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12061 if test "x$ac_cv_func_pow" = x
""yes; then :
12065 if test $ac_cv_func_pow = no
; then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12067 $as_echo_n "checking for pow in -lm... " >&6; }
12068 if test "${ac_cv_lib_m_pow+set}" = set; then :
12069 $as_echo_n "(cached) " >&6
12071 ac_check_lib_save_LIBS
=$LIBS
12073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12091 if ac_fn_cxx_try_link
"$LINENO"; then :
12092 ac_cv_lib_m_pow
=yes
12096 rm -f core conftest.err conftest.
$ac_objext \
12097 conftest
$ac_exeext conftest.
$ac_ext
12098 LIBS
=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12101 $as_echo "$ac_cv_lib_m_pow" >&6; }
12102 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12106 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12113 for ac_func
in vprintf
12115 ac_fn_cxx_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
12116 if test "x$ac_cv_func_vprintf" = x
""yes; then :
12117 cat >>confdefs.h
<<_ACEOF
12118 #define HAVE_VPRINTF 1
12121 ac_fn_cxx_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
12122 if test "x$ac_cv_func__doprnt" = x
""yes; then :
12124 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12132 if test $cross_compiling = yes -a $gnumalloc = yes; then :
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12135 configure cannot check whether malloc() and realloc() are GNU libc
12136 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12137 run configure with the --without-gnu-malloc switch." >&5
12138 $as_echo "$as_me: WARNING:
12139 configure cannot check whether malloc() and realloc() are GNU libc
12140 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12141 run configure with the --without-gnu-malloc switch." >&2;}
12142 _mule_warning_12
=yes
12143 _mule_has_warnings
=yes
12145 ac_cv_func_malloc_0_nonnull
=yes
12146 ac_cv_func_realloc_0_nonnull
=yes
12149 for ac_header
in stdlib.h
12151 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12152 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
12153 cat >>confdefs.h
<<_ACEOF
12154 #define HAVE_STDLIB_H 1
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12162 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12163 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
12164 $as_echo_n "(cached) " >&6
12166 if test "$cross_compiling" = yes; then :
12167 ac_cv_func_malloc_0_nonnull
=no
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12172 # include <stdlib.h>
12180 return ! malloc (0);
12185 if ac_fn_cxx_try_run
"$LINENO"; then :
12186 ac_cv_func_malloc_0_nonnull
=yes
12188 ac_cv_func_malloc_0_nonnull
=no
12190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12191 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12196 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12197 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12199 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12202 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12204 case " $LIBOBJS " in
12205 *" malloc.$ac_objext "* ) ;;
12206 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
12211 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12216 for ac_header
in stdlib.h
12218 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12219 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
12220 cat >>confdefs.h
<<_ACEOF
12221 #define HAVE_STDLIB_H 1
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12229 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12230 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
12231 $as_echo_n "(cached) " >&6
12233 if test "$cross_compiling" = yes; then :
12234 ac_cv_func_realloc_0_nonnull
=no
12236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12238 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12239 # include <stdlib.h>
12247 return ! realloc (0, 0);
12252 if ac_fn_cxx_try_run
"$LINENO"; then :
12253 ac_cv_func_realloc_0_nonnull
=yes
12255 ac_cv_func_realloc_0_nonnull
=no
12257 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12258 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12263 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12264 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12266 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12269 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12271 case " $LIBOBJS " in
12272 *" realloc.$ac_objext "* ) ;;
12273 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
12278 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12283 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
12285 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12286 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12287 eval as_val
=\$
$as_ac_var
12288 if test "x$as_val" = x
""yes; then :
12289 cat >>confdefs.h
<<_ACEOF
12290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12301 for ac_header
in $ac_header_list
12303 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12304 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12306 eval as_val
=\$
$as_ac_Header
12307 if test "x$as_val" = x
""yes; then :
12308 cat >>confdefs.h
<<_ACEOF
12309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12322 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12324 # Check whether --enable-mmap was given.
12325 if test "${enable_mmap+set}" = set; then :
12326 enableval
=$enable_mmap;
12333 if test ${enable_mmap:-no} = yes; then :
12335 $as_echo "#define ENABLE_MMAP 1" >>confdefs.h
12338 for ac_func
in getpagesize
12340 ac_fn_cxx_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12341 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
12342 cat >>confdefs.h
<<_ACEOF
12343 #define HAVE_GETPAGESIZE 1
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12350 $as_echo_n "checking for working mmap... " >&6; }
12351 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12352 $as_echo_n "(cached) " >&6
12354 if test "$cross_compiling" = yes; then :
12355 ac_cv_func_mmap_fixed_mapped
=no
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12359 $ac_includes_default
12360 /* malloc might have been renamed as rpl_malloc. */
12363 /* Thanks to Mike Haertel and Jim Avera for this test.
12364 Here is a matrix of mmap possibilities:
12365 mmap private not fixed
12366 mmap private fixed at somewhere currently unmapped
12367 mmap private fixed at somewhere already mapped
12368 mmap shared not fixed
12369 mmap shared fixed at somewhere currently unmapped
12370 mmap shared fixed at somewhere already mapped
12371 For private mappings, we should verify that changes cannot be read()
12372 back from the file, nor mmap's back from the file at a different
12373 address. (There have been systems where private was not correctly
12374 implemented like the infamous i386 svr4.0, and systems where the
12375 VM page cache was not coherent with the file system buffer cache
12376 like early versions of FreeBSD and possibly contemporary NetBSD.)
12377 For shared mappings, we should conversely verify that changes get
12378 propagated back to all the places they're supposed to be.
12380 Grep wants private fixed already mapped.
12381 The main things grep needs to know about mmap are:
12382 * does it exist and is it safe to write into the mmap'd area
12383 * how to use it (BSD variants) */
12386 #include <sys/mman.h>
12388 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12392 /* This mess was copied from the GNU getpagesize.h. */
12393 #ifndef HAVE_GETPAGESIZE
12394 # ifdef _SC_PAGESIZE
12395 # define getpagesize() sysconf(_SC_PAGESIZE)
12396 # else /* no _SC_PAGESIZE */
12397 # ifdef HAVE_SYS_PARAM_H
12398 # include <sys/param.h>
12399 # ifdef EXEC_PAGESIZE
12400 # define getpagesize() EXEC_PAGESIZE
12401 # else /* no EXEC_PAGESIZE */
12403 # define getpagesize() NBPG * CLSIZE
12406 # endif /* no CLSIZE */
12407 # else /* no NBPG */
12409 # define getpagesize() NBPC
12410 # else /* no NBPC */
12412 # define getpagesize() PAGESIZE
12413 # endif /* PAGESIZE */
12414 # endif /* no NBPC */
12415 # endif /* no NBPG */
12416 # endif /* no EXEC_PAGESIZE */
12417 # else /* no HAVE_SYS_PARAM_H */
12418 # define getpagesize() 8192 /* punt totally */
12419 # endif /* no HAVE_SYS_PARAM_H */
12420 # endif /* no _SC_PAGESIZE */
12422 #endif /* no HAVE_GETPAGESIZE */
12427 char *data, *data2, *data3;
12431 pagesize = getpagesize ();
12433 /* First, make a file with some known garbage in it. */
12434 data = (char *) malloc (pagesize);
12437 for (i = 0; i < pagesize; ++i)
12438 *(data + i) = rand ();
12440 fd = creat ("conftest.mmap", 0600);
12443 if (write (fd, data, pagesize) != pagesize)
12447 /* Next, check that the tail of a page is zero-filled. File must have
12448 non-zero length, otherwise we risk SIGBUS for entire page. */
12449 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12452 data2 = (char *) "";
12453 if (write (fd2, data2, 1) != 1)
12455 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12456 if (data2 == MAP_FAILED)
12458 for (i = 0; i < pagesize; ++i)
12462 if (munmap (data2, pagesize))
12465 /* Next, try to mmap the file at a fixed address which already has
12466 something else allocated at it. If we can, also make sure that
12467 we see the same garbage. */
12468 fd = open ("conftest.mmap", O_RDWR);
12471 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12472 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12474 for (i = 0; i < pagesize; ++i)
12475 if (*(data + i) != *(data2 + i))
12478 /* Finally, make sure that changes to the mapped area do not
12479 percolate back to the file as seen by read(). (This is a bug on
12480 some variants of i386 svr4.0.) */
12481 for (i = 0; i < pagesize; ++i)
12482 *(data2 + i) = *(data2 + i) + 1;
12483 data3 = (char *) malloc (pagesize);
12486 if (read (fd, data3, pagesize) != pagesize)
12488 for (i = 0; i < pagesize; ++i)
12489 if (*(data + i) != *(data3 + i))
12495 if ac_fn_cxx_try_run
"$LINENO"; then :
12496 ac_cv_func_mmap_fixed_mapped
=yes
12498 ac_cv_func_mmap_fixed_mapped
=no
12500 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12501 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12506 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12507 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12509 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12512 rm -f conftest.mmap conftest.txt
12514 for ac_func
in munmap sysconf
12516 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12517 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12518 eval as_val
=\$
$as_ac_var
12519 if test "x$as_val" = x
""yes; then :
12520 cat >>confdefs.h
<<_ACEOF
12521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12527 if test $ac_cv_func_sysconf = yes; then :
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
12530 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12535 #include <unistd.h>
12541 return sysconf(_SC_PAGESIZE);
12548 if ac_fn_cxx_try_link
"$LINENO"; then :
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
12551 $as_echo "_SC_PAGESIZE" >&6; }
12553 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
12558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12562 #include <unistd.h>
12568 return sysconf(_SC_PAGE_SIZE);
12575 if ac_fn_cxx_try_link
"$LINENO"; then :
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
12578 $as_echo "_SC_PAGE_SIZE" >&6; }
12580 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
12586 $as_echo "none" >&6; }
12589 rm -f core conftest.err conftest.
$ac_objext \
12590 conftest
$ac_exeext conftest.
$ac_ext
12593 rm -f core conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12603 # Look for a way to preallocate disk space for files.
12604 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
12607 $as_echo_n "checking for fallocate... " >&6; }
12608 mule_backup_CPPFLAGS
="$CPPFLAGS"
12609 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12614 #ifndef _GNU_SOURCE
12615 # define _GNU_SOURCE
12617 #ifdef HAVE_FCNTL_H
12618 # include <fcntl.h>
12620 #include <linux/falloc.h>
12626 fallocate(0, 0, 0, 0);
12633 if ac_fn_cxx_try_link
"$LINENO"; then :
12636 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12639 $as_echo "yes" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 CPPFLAGS
="$mule_backup_CPPFLAGS"
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
12653 $as_echo_n "checking for SYS_fallocate... " >&6; }
12654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12658 #include <sys/syscall.h>
12659 #include <sys/types.h>
12660 #include <unistd.h>
12666 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
12673 if ac_fn_cxx_try_link
"$LINENO"; then :
12676 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12679 $as_echo "yes" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12687 rm -f core conftest.err conftest.
$ac_objext \
12688 conftest
$ac_exeext conftest.
$ac_ext
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
12691 $as_echo_n "checking for posix_fallocate... " >&6; }
12692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12696 #define _XOPEN_SOURCE 600
12697 #include <stdlib.h>
12698 #ifdef HAVE_FCNTL_H
12699 # include <fcntl.h>
12706 posix_fallocate(0, 0, 0);
12713 if ac_fn_cxx_try_link
"$LINENO"; then :
12716 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12719 $as_echo "yes" >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12727 rm -f core conftest.err conftest.
$ac_objext \
12728 conftest
$ac_exeext conftest.
$ac_ext
12734 ac_cpp
='$CPP $CPPFLAGS'
12735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12739 # Checking Native Language Support
12743 if test -n "$ac_aux_dir"; then
12744 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
12746 if test -z "$MKINSTALLDIRS"; then
12747 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12754 # Extract the first word of "msgfmt", so it can be a program name with args.
12755 set dummy msgfmt
; ac_word
=$2
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12757 $as_echo_n "checking for $ac_word... " >&6; }
12758 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12759 $as_echo_n "(cached) " >&6
12763 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12766 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12767 for ac_dir
in $PATH; do
12768 test -z "$ac_dir" && ac_dir
=.
12769 if test -f $ac_dir/$ac_word; then
12770 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12771 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12772 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
12778 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12782 MSGFMT
="$ac_cv_path_MSGFMT"
12783 if test "$MSGFMT" != ":"; then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12785 $as_echo "$MSGFMT" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12788 $as_echo "no" >&6; }
12791 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12792 set dummy gmsgfmt
; ac_word
=$2
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12794 $as_echo_n "checking for $ac_word... " >&6; }
12795 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12796 $as_echo_n "(cached) " >&6
12800 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12804 for as_dir
in $PATH
12807 test -z "$as_dir" && as_dir
=.
12808 for ac_exec_ext
in '' $ac_executable_extensions; do
12809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12810 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12818 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12822 GMSGFMT
=$ac_cv_path_GMSGFMT
12823 if test -n "$GMSGFMT"; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12825 $as_echo "$GMSGFMT" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12833 # Extract the first word of "xgettext", so it can be a program name with args.
12834 set dummy xgettext
; ac_word
=$2
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12836 $as_echo_n "checking for $ac_word... " >&6; }
12837 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12838 $as_echo_n "(cached) " >&6
12840 case "$XGETTEXT" in
12842 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12845 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12846 for ac_dir
in $PATH; do
12847 test -z "$ac_dir" && ac_dir
=.
12848 if test -f $ac_dir/$ac_word; then
12849 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
12850 (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
12851 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
12857 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12861 XGETTEXT
="$ac_cv_path_XGETTEXT"
12862 if test "$XGETTEXT" != ":"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12864 $as_echo "$XGETTEXT" >&6; }
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12867 $as_echo "no" >&6; }
12872 # Extract the first word of "msgmerge", so it can be a program name with args.
12873 set dummy msgmerge
; ac_word
=$2
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12875 $as_echo_n "checking for $ac_word... " >&6; }
12876 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12877 $as_echo_n "(cached) " >&6
12879 case "$MSGMERGE" in
12881 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12884 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12885 for ac_dir
in $PATH; do
12886 test -z "$ac_dir" && ac_dir
=.
12887 if test -f $ac_dir/$ac_word; then
12888 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12889 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
12895 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12899 MSGMERGE
="$ac_cv_path_MSGMERGE"
12900 if test "$MSGMERGE" != ":"; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12902 $as_echo "$MSGMERGE" >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12905 $as_echo "no" >&6; }
12909 if test "$GMSGFMT" != ":"; then
12910 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12911 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12914 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12916 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12921 if test "$XGETTEXT" != ":"; then
12922 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
12923 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12927 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12933 ac_config_commands
="$ac_config_commands default-1"
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
12938 $as_echo_n "checking for strerror in -lcposix... " >&6; }
12939 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
12940 $as_echo_n "(cached) " >&6
12942 ac_check_lib_save_LIBS
=$LIBS
12943 LIBS
="-lcposix $LIBS"
12944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12957 return strerror ();
12962 if ac_fn_c_try_link
"$LINENO"; then :
12963 ac_cv_lib_cposix_strerror
=yes
12965 ac_cv_lib_cposix_strerror
=no
12967 rm -f core conftest.err conftest.
$ac_objext \
12968 conftest
$ac_exeext conftest.
$ac_ext
12969 LIBS
=$ac_check_lib_save_LIBS
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
12972 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
12973 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
12974 LIBS
="$LIBS -lcposix"
12980 for ac_func
in getpagesize
12982 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12983 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
12984 cat >>confdefs.h
<<_ACEOF
12985 #define HAVE_GETPAGESIZE 1
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12992 $as_echo_n "checking for working mmap... " >&6; }
12993 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12994 $as_echo_n "(cached) " >&6
12996 if test "$cross_compiling" = yes; then :
12997 ac_cv_func_mmap_fixed_mapped
=no
12999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13001 $ac_includes_default
13002 /* malloc might have been renamed as rpl_malloc. */
13005 /* Thanks to Mike Haertel and Jim Avera for this test.
13006 Here is a matrix of mmap possibilities:
13007 mmap private not fixed
13008 mmap private fixed at somewhere currently unmapped
13009 mmap private fixed at somewhere already mapped
13010 mmap shared not fixed
13011 mmap shared fixed at somewhere currently unmapped
13012 mmap shared fixed at somewhere already mapped
13013 For private mappings, we should verify that changes cannot be read()
13014 back from the file, nor mmap's back from the file at a different
13015 address. (There have been systems where private was not correctly
13016 implemented like the infamous i386 svr4.0, and systems where the
13017 VM page cache was not coherent with the file system buffer cache
13018 like early versions of FreeBSD and possibly contemporary NetBSD.)
13019 For shared mappings, we should conversely verify that changes get
13020 propagated back to all the places they're supposed to be.
13022 Grep wants private fixed already mapped.
13023 The main things grep needs to know about mmap are:
13024 * does it exist and is it safe to write into the mmap'd area
13025 * how to use it (BSD variants) */
13028 #include <sys/mman.h>
13030 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13034 /* This mess was copied from the GNU getpagesize.h. */
13035 #ifndef HAVE_GETPAGESIZE
13036 # ifdef _SC_PAGESIZE
13037 # define getpagesize() sysconf(_SC_PAGESIZE)
13038 # else /* no _SC_PAGESIZE */
13039 # ifdef HAVE_SYS_PARAM_H
13040 # include <sys/param.h>
13041 # ifdef EXEC_PAGESIZE
13042 # define getpagesize() EXEC_PAGESIZE
13043 # else /* no EXEC_PAGESIZE */
13045 # define getpagesize() NBPG * CLSIZE
13048 # endif /* no CLSIZE */
13049 # else /* no NBPG */
13051 # define getpagesize() NBPC
13052 # else /* no NBPC */
13054 # define getpagesize() PAGESIZE
13055 # endif /* PAGESIZE */
13056 # endif /* no NBPC */
13057 # endif /* no NBPG */
13058 # endif /* no EXEC_PAGESIZE */
13059 # else /* no HAVE_SYS_PARAM_H */
13060 # define getpagesize() 8192 /* punt totally */
13061 # endif /* no HAVE_SYS_PARAM_H */
13062 # endif /* no _SC_PAGESIZE */
13064 #endif /* no HAVE_GETPAGESIZE */
13069 char *data, *data2, *data3;
13073 pagesize = getpagesize ();
13075 /* First, make a file with some known garbage in it. */
13076 data = (char *) malloc (pagesize);
13079 for (i = 0; i < pagesize; ++i)
13080 *(data + i) = rand ();
13082 fd = creat ("conftest.mmap", 0600);
13085 if (write (fd, data, pagesize) != pagesize)
13089 /* Next, check that the tail of a page is zero-filled. File must have
13090 non-zero length, otherwise we risk SIGBUS for entire page. */
13091 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13095 if (write (fd2, data2, 1) != 1)
13097 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13098 if (data2 == MAP_FAILED)
13100 for (i = 0; i < pagesize; ++i)
13104 if (munmap (data2, pagesize))
13107 /* Next, try to mmap the file at a fixed address which already has
13108 something else allocated at it. If we can, also make sure that
13109 we see the same garbage. */
13110 fd = open ("conftest.mmap", O_RDWR);
13113 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13114 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13116 for (i = 0; i < pagesize; ++i)
13117 if (*(data + i) != *(data2 + i))
13120 /* Finally, make sure that changes to the mapped area do not
13121 percolate back to the file as seen by read(). (This is a bug on
13122 some variants of i386 svr4.0.) */
13123 for (i = 0; i < pagesize; ++i)
13124 *(data2 + i) = *(data2 + i) + 1;
13125 data3 = (char *) malloc (pagesize);
13128 if (read (fd, data3, pagesize) != pagesize)
13130 for (i = 0; i < pagesize; ++i)
13131 if (*(data + i) != *(data3 + i))
13137 if ac_fn_c_try_run
"$LINENO"; then :
13138 ac_cv_func_mmap_fixed_mapped
=yes
13140 ac_cv_func_mmap_fixed_mapped
=no
13142 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13143 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13148 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13149 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13151 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13154 rm -f conftest.mmap conftest.txt
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
13158 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
13159 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
13160 $as_echo_n "(cached) " >&6
13162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13165 #include <features.h>
13166 #ifdef __GNU_LIBRARY__
13167 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
13173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13174 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
13175 ac_cv_gnu_library_2_1
=yes
13177 ac_cv_gnu_library_2_1
=no
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
13185 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
13187 GLIBC21
="$ac_cv_gnu_library_2_1"
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
13193 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
13194 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
13195 $as_echo_n "(cached) " >&6
13198 if test "$cross_compiling" = yes; then :
13200 # Guess based on the CPU.
13201 case "$host_cpu" in
13202 alpha
* | i3456786 | m68k | s390
*)
13203 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
13205 gt_cv_int_divbyzero_sigfpe
="guessing no";;
13209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 #include <stdlib.h>
13213 #include <signal.h>
13217 sigfpe_handler (int sig)
13219 sigfpe_handler (sig) int sig;
13222 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
13223 exit (sig != SIGFPE);
13233 signal (SIGFPE, sigfpe_handler);
13234 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
13235 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
13236 signal (SIGTRAP, sigfpe_handler);
13238 /* Linux/SPARC yields signal SIGILL. */
13239 #if defined (__sparc__) && defined (__linux__)
13240 signal (SIGILL, sigfpe_handler);
13249 if ac_fn_c_try_run
"$LINENO"; then :
13250 gt_cv_int_divbyzero_sigfpe
=yes
13252 gt_cv_int_divbyzero_sigfpe
=no
13254 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13255 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
13261 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
13262 case "$gt_cv_int_divbyzero_sigfpe" in
13267 cat >>confdefs.h
<<_ACEOF
13268 #define INTDIV0_RAISES_SIGFPE $value
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13274 $as_echo_n "checking for inttypes.h... " >&6; }
13275 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
13276 $as_echo_n "(cached) " >&6
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13280 #include <sys/types.h>
13281 #include <inttypes.h>
13285 uintmax_t i = (uintmax_t) -1;
13290 if ac_fn_c_try_compile
"$LINENO"; then :
13291 jm_ac_cv_header_inttypes_h
=yes
13293 jm_ac_cv_header_inttypes_h
=no
13295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
13298 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
13299 if test $jm_ac_cv_header_inttypes_h = yes; then
13301 cat >>confdefs.h
<<_ACEOF
13302 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
13309 $as_echo_n "checking for stdint.h... " >&6; }
13310 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
13311 $as_echo_n "(cached) " >&6
13313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13315 #include <sys/types.h>
13316 #include <stdint.h>
13320 uintmax_t i = (uintmax_t) -1;
13325 if ac_fn_c_try_compile
"$LINENO"; then :
13326 jm_ac_cv_header_stdint_h
=yes
13328 jm_ac_cv_header_stdint_h
=no
13330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
13333 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
13334 if test $jm_ac_cv_header_stdint_h = yes; then
13336 cat >>confdefs.h
<<_ACEOF
13337 #define HAVE_STDINT_H_WITH_UINTMAX 1
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
13344 $as_echo_n "checking for unsigned long long... " >&6; }
13345 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
13346 $as_echo_n "(cached) " >&6
13348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13350 unsigned long long ull = 1; int i = 63;
13354 unsigned long long ullmax = (unsigned long long) -1;
13355 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
13360 if ac_fn_c_try_link
"$LINENO"; then :
13361 ac_cv_type_unsigned_long_long
=yes
13363 ac_cv_type_unsigned_long_long
=no
13365 rm -f core conftest.err conftest.
$ac_objext \
13366 conftest
$ac_exeext conftest.
$ac_ext
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
13369 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
13370 if test $ac_cv_type_unsigned_long_long = yes; then
13372 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
13379 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
13381 test $ac_cv_type_unsigned_long_long = yes \
13382 && ac_type
='unsigned long long' \
13383 || ac_type
='unsigned long'
13385 cat >>confdefs.h
<<_ACEOF
13386 #define uintmax_t $ac_type
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13393 $as_echo_n "checking for inttypes.h... " >&6; }
13394 if test "${gt_cv_header_inttypes_h+set}" = set; then :
13395 $as_echo_n "(cached) " >&6
13398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13400 #include <sys/types.h>
13401 #include <inttypes.h>
13410 if ac_fn_c_try_compile
"$LINENO"; then :
13411 gt_cv_header_inttypes_h
=yes
13413 gt_cv_header_inttypes_h
=no
13415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
13419 $as_echo "$gt_cv_header_inttypes_h" >&6; }
13420 if test $gt_cv_header_inttypes_h = yes; then
13422 cat >>confdefs.h
<<_ACEOF
13423 #define HAVE_INTTYPES_H 1
13430 if test $gt_cv_header_inttypes_h = yes; then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
13432 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
13433 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
13434 $as_echo_n "(cached) " >&6
13437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13439 #include <inttypes.h>
13452 if ac_fn_c_try_compile
"$LINENO"; then :
13453 gt_cv_inttypes_pri_broken
=no
13455 gt_cv_inttypes_pri_broken
=yes
13457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
13461 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
13463 if test "$gt_cv_inttypes_pri_broken" = yes; then
13465 cat >>confdefs.h
<<_ACEOF
13466 #define PRI_MACROS_BROKEN 1
13472 if test "X$prefix" = "XNONE"; then
13473 acl_final_prefix
="$ac_default_prefix"
13475 acl_final_prefix
="$prefix"
13477 if test "X$exec_prefix" = "XNONE"; then
13478 acl_final_exec_prefix
='${prefix}'
13480 acl_final_exec_prefix
="$exec_prefix"
13482 acl_save_prefix
="$prefix"
13483 prefix
="$acl_final_prefix"
13484 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13485 prefix
="$acl_save_prefix"
13488 # Check whether --with-gnu-ld was given.
13489 if test "${with_gnu_ld+set}" = set; then :
13490 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13496 if test "$GCC" = yes; then
13497 # Check if gcc -print-prog-name=ld gives a path.
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13499 $as_echo_n "checking for ld used by GCC... " >&6; }
13502 # gcc leaves a trailing carriage return which upsets mingw
13503 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13505 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13508 # Accept absolute paths.
13509 [\\/]* |
[A-Za-z
]:[\\/]*)
13510 re_direlt
='/[^/][^/]*/\.\./'
13511 # Canonicalize the path of ld
13512 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13513 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13514 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13516 test -z "$LD" && LD
="$ac_prog"
13519 # If it fails, then pretend we aren't using GCC.
13523 # If it is relative, then search for the first ld in PATH.
13524 with_gnu_ld
=unknown
13527 elif test "$with_gnu_ld" = yes; then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13529 $as_echo_n "checking for GNU ld... " >&6; }
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13532 $as_echo_n "checking for non-GNU ld... " >&6; }
13534 if test "${acl_cv_path_LD+set}" = set; then :
13535 $as_echo_n "(cached) " >&6
13537 if test -z "$LD"; then
13538 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13539 for ac_dir
in $PATH; do
13540 test -z "$ac_dir" && ac_dir
=.
13541 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13542 acl_cv_path_LD
="$ac_dir/$ac_prog"
13543 # Check to see if the program is GNU ld. I'd rather use --version,
13544 # but apparently some GNU ld's only accept -v.
13545 # Break only if it was the GNU/non-GNU ld that we prefer.
13546 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13547 test "$with_gnu_ld" != no
&& break
13549 test "$with_gnu_ld" != yes && break
13555 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13559 LD
="$acl_cv_path_LD"
13560 if test -n "$LD"; then
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13562 $as_echo "$LD" >&6; }
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13565 $as_echo "no" >&6; }
13567 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13569 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13570 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13571 $as_echo_n "(cached) " >&6
13573 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13574 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
13575 acl_cv_prog_gnu_ld
=yes
13577 acl_cv_prog_gnu_ld
=no
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13581 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13582 with_gnu_ld
=$acl_cv_prog_gnu_ld
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13587 $as_echo_n "checking for shared library run path origin... " >&6; }
13588 if test "${acl_cv_rpath+set}" = set; then :
13589 $as_echo_n "(cached) " >&6
13592 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13593 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13595 rm -f .
/conftest.sh
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13600 $as_echo "$acl_cv_rpath" >&6; }
13602 libext
="$acl_cv_libext"
13603 shlibext
="$acl_cv_shlibext"
13604 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13605 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13606 hardcode_direct
="$acl_cv_hardcode_direct"
13607 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13608 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
13609 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
13610 # Check whether --enable-rpath was given.
13611 if test "${enable_rpath+set}" = set; then :
13612 enableval
=$enable_rpath; :
13626 acl_save_prefix
="$prefix"
13627 prefix
="$acl_final_prefix"
13628 acl_save_exec_prefix
="$exec_prefix"
13629 exec_prefix
="$acl_final_exec_prefix"
13631 eval additional_includedir
=\"$includedir\"
13632 eval additional_libdir
=\"$libdir\"
13634 exec_prefix
="$acl_save_exec_prefix"
13635 prefix
="$acl_save_prefix"
13638 # Check whether --with-libiconv-prefix was given.
13639 if test "${with_libiconv_prefix+set}" = set; then :
13640 withval
=$with_libiconv_prefix;
13641 if test "X$withval" = "Xno"; then
13644 if test "X$withval" = "X"; then
13646 acl_save_prefix
="$prefix"
13647 prefix
="$acl_final_prefix"
13648 acl_save_exec_prefix
="$exec_prefix"
13649 exec_prefix
="$acl_final_exec_prefix"
13651 eval additional_includedir
=\"$includedir\"
13652 eval additional_libdir
=\"$libdir\"
13654 exec_prefix
="$acl_save_exec_prefix"
13655 prefix
="$acl_save_prefix"
13658 additional_includedir
="$withval/include"
13659 additional_libdir
="$withval/lib"
13670 names_already_handled
=
13671 names_next_round
='iconv '
13672 while test -n "$names_next_round"; do
13673 names_this_round
="$names_next_round"
13675 for name
in $names_this_round; do
13677 for n
in $names_already_handled; do
13678 if test "$n" = "$name"; then
13679 already_handled
=yes
13683 if test -z "$already_handled"; then
13684 names_already_handled
="$names_already_handled $name"
13685 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13686 eval value
=\"\
$HAVE_LIB$uppername\"
13687 if test -n "$value"; then
13688 if test "$value" = yes; then
13689 eval value
=\"\
$LIB$uppername\"
13690 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13691 eval value
=\"\
$LTLIB$uppername\"
13692 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13701 if test $use_additional = yes; then
13702 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13703 found_dir
="$additional_libdir"
13704 found_so
="$additional_libdir/lib$name.$shlibext"
13705 if test -f "$additional_libdir/lib$name.la"; then
13706 found_la
="$additional_libdir/lib$name.la"
13709 if test -f "$additional_libdir/lib$name.$libext"; then
13710 found_dir
="$additional_libdir"
13711 found_a
="$additional_libdir/lib$name.$libext"
13712 if test -f "$additional_libdir/lib$name.la"; then
13713 found_la
="$additional_libdir/lib$name.la"
13718 if test "X$found_dir" = "X"; then
13719 for x
in $LDFLAGS $LTLIBICONV; do
13721 acl_save_prefix
="$prefix"
13722 prefix
="$acl_final_prefix"
13723 acl_save_exec_prefix
="$exec_prefix"
13724 exec_prefix
="$acl_final_exec_prefix"
13726 exec_prefix
="$acl_save_exec_prefix"
13727 prefix
="$acl_save_prefix"
13731 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13732 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13734 found_so
="$dir/lib$name.$shlibext"
13735 if test -f "$dir/lib$name.la"; then
13736 found_la
="$dir/lib$name.la"
13739 if test -f "$dir/lib$name.$libext"; then
13741 found_a
="$dir/lib$name.$libext"
13742 if test -f "$dir/lib$name.la"; then
13743 found_la
="$dir/lib$name.la"
13749 if test "X$found_dir" != "X"; then
13754 if test "X$found_dir" != "X"; then
13755 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13756 if test "X$found_so" != "X"; then
13757 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13758 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13761 for x
in $ltrpathdirs; do
13762 if test "X$x" = "X$found_dir"; then
13767 if test -z "$haveit"; then
13768 ltrpathdirs
="$ltrpathdirs $found_dir"
13770 if test "$hardcode_direct" = yes; then
13771 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13773 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13774 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13776 for x
in $rpathdirs; do
13777 if test "X$x" = "X$found_dir"; then
13782 if test -z "$haveit"; then
13783 rpathdirs
="$rpathdirs $found_dir"
13787 for x
in $LDFLAGS $LIBICONV; do
13789 acl_save_prefix
="$prefix"
13790 prefix
="$acl_final_prefix"
13791 acl_save_exec_prefix
="$exec_prefix"
13792 exec_prefix
="$acl_final_exec_prefix"
13794 exec_prefix
="$acl_save_exec_prefix"
13795 prefix
="$acl_save_prefix"
13797 if test "X$x" = "X-L$found_dir"; then
13802 if test -z "$haveit"; then
13803 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13805 if test "$hardcode_minus_L" != no
; then
13806 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13808 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13814 if test "X$found_a" != "X"; then
13815 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13817 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13820 additional_includedir
=
13821 case "$found_dir" in
13823 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13824 additional_includedir
="$basedir/include"
13827 if test "X$additional_includedir" != "X"; then
13828 if test "X$additional_includedir" != "X/usr/include"; then
13830 if test "X$additional_includedir" = "X/usr/local/include"; then
13831 if test -n "$GCC"; then
13833 linux
*) haveit
=yes;;
13837 if test -z "$haveit"; then
13838 for x
in $CPPFLAGS $INCICONV; do
13840 acl_save_prefix
="$prefix"
13841 prefix
="$acl_final_prefix"
13842 acl_save_exec_prefix
="$exec_prefix"
13843 exec_prefix
="$acl_final_exec_prefix"
13845 exec_prefix
="$acl_save_exec_prefix"
13846 prefix
="$acl_save_prefix"
13848 if test "X$x" = "X-I$additional_includedir"; then
13853 if test -z "$haveit"; then
13854 if test -d "$additional_includedir"; then
13855 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13861 if test -n "$found_la"; then
13862 save_libdir
="$libdir"
13863 case "$found_la" in
13864 */* |
*\\*) .
"$found_la" ;;
13865 *) .
"./$found_la" ;;
13867 libdir
="$save_libdir"
13868 for dep
in $dependency_libs; do
13871 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13872 if test "X$additional_libdir" != "X/usr/lib"; then
13874 if test "X$additional_libdir" = "X/usr/local/lib"; then
13875 if test -n "$GCC"; then
13877 linux
*) haveit
=yes;;
13881 if test -z "$haveit"; then
13883 for x
in $LDFLAGS $LIBICONV; do
13885 acl_save_prefix
="$prefix"
13886 prefix
="$acl_final_prefix"
13887 acl_save_exec_prefix
="$exec_prefix"
13888 exec_prefix
="$acl_final_exec_prefix"
13890 exec_prefix
="$acl_save_exec_prefix"
13891 prefix
="$acl_save_prefix"
13893 if test "X$x" = "X-L$additional_libdir"; then
13898 if test -z "$haveit"; then
13899 if test -d "$additional_libdir"; then
13900 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13904 for x
in $LDFLAGS $LTLIBICONV; do
13906 acl_save_prefix
="$prefix"
13907 prefix
="$acl_final_prefix"
13908 acl_save_exec_prefix
="$exec_prefix"
13909 exec_prefix
="$acl_final_exec_prefix"
13911 exec_prefix
="$acl_save_exec_prefix"
13912 prefix
="$acl_save_prefix"
13914 if test "X$x" = "X-L$additional_libdir"; then
13919 if test -z "$haveit"; then
13920 if test -d "$additional_libdir"; then
13921 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13928 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13929 if test "$enable_rpath" != no
; then
13931 for x
in $rpathdirs; do
13932 if test "X$x" = "X$dir"; then
13937 if test -z "$haveit"; then
13938 rpathdirs
="$rpathdirs $dir"
13941 for x
in $ltrpathdirs; do
13942 if test "X$x" = "X$dir"; then
13947 if test -z "$haveit"; then
13948 ltrpathdirs
="$ltrpathdirs $dir"
13953 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13956 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13959 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
13960 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13966 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13967 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13973 if test "X$rpathdirs" != "X"; then
13974 if test -n "$hardcode_libdir_separator"; then
13976 for found_dir
in $rpathdirs; do
13977 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13979 acl_save_libdir
="$libdir"
13981 eval flag
=\"$hardcode_libdir_flag_spec\"
13982 libdir
="$acl_save_libdir"
13983 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13985 for found_dir
in $rpathdirs; do
13986 acl_save_libdir
="$libdir"
13987 libdir
="$found_dir"
13988 eval flag
=\"$hardcode_libdir_flag_spec\"
13989 libdir
="$acl_save_libdir"
13990 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13994 if test "X$ltrpathdirs" != "X"; then
13995 for found_dir
in $ltrpathdirs; do
13996 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14003 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
14004 stdlib.h string.h unistd.h sys
/param.h
14006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14007 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14008 eval as_val
=\$
$as_ac_Header
14009 if test "x$as_val" = x
""yes; then :
14010 cat >>confdefs.h
<<_ACEOF
14011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14018 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
14019 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
14020 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
14022 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14023 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14024 eval as_val
=\$
$as_ac_var
14025 if test "x$as_val" = x
""yes; then :
14026 cat >>confdefs.h
<<_ACEOF
14027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14039 am_save_CPPFLAGS
="$CPPFLAGS"
14041 for element
in $INCICONV; do
14043 for x
in $CPPFLAGS; do
14045 acl_save_prefix
="$prefix"
14046 prefix
="$acl_final_prefix"
14047 acl_save_exec_prefix
="$exec_prefix"
14048 exec_prefix
="$acl_final_exec_prefix"
14050 exec_prefix
="$acl_save_exec_prefix"
14051 prefix
="$acl_save_prefix"
14053 if test "X$x" = "X$element"; then
14058 if test -z "$haveit"; then
14059 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14065 $as_echo_n "checking for iconv... " >&6; }
14066 if test "${am_cv_func_iconv+set}" = set; then :
14067 $as_echo_n "(cached) " >&6
14070 am_cv_func_iconv
="no, consider installing GNU libiconv"
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 #include <stdlib.h>
14079 iconv_t cd = iconv_open("","");
14080 iconv(cd,NULL,NULL,NULL,NULL);
14086 if ac_fn_c_try_link
"$LINENO"; then :
14087 am_cv_func_iconv
=yes
14089 rm -f core conftest.err conftest.
$ac_objext \
14090 conftest
$ac_exeext conftest.
$ac_ext
14091 if test "$am_cv_func_iconv" != yes; then
14092 am_save_LIBS
="$LIBS"
14093 LIBS
="$LIBS $LIBICONV"
14094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 #include <stdlib.h>
14101 iconv_t cd = iconv_open("","");
14102 iconv(cd,NULL,NULL,NULL,NULL);
14108 if ac_fn_c_try_link
"$LINENO"; then :
14109 am_cv_lib_iconv
=yes
14110 am_cv_func_iconv
=yes
14112 rm -f core conftest.err conftest.
$ac_objext \
14113 conftest
$ac_exeext conftest.
$ac_ext
14114 LIBS
="$am_save_LIBS"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14119 $as_echo "$am_cv_func_iconv" >&6; }
14120 if test "$am_cv_func_iconv" = yes; then
14122 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14125 if test "$am_cv_lib_iconv" = yes; then
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14127 $as_echo_n "checking how to link with libiconv... " >&6; }
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14129 $as_echo "$LIBICONV" >&6; }
14131 CPPFLAGS
="$am_save_CPPFLAGS"
14138 if test "$am_cv_func_iconv" = yes; then
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14140 $as_echo_n "checking for iconv declaration... " >&6; }
14141 if test "${am_cv_proto_iconv+set}" = set; then :
14142 $as_echo_n "(cached) " >&6
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 #include <stdlib.h>
14154 #if defined(__STDC__) || defined(__cplusplus)
14155 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14168 if ac_fn_c_try_compile
"$LINENO"; then :
14169 am_cv_proto_iconv_arg1
=""
14171 am_cv_proto_iconv_arg1
="const"
14173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14174 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);"
14177 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
14179 }$am_cv_proto_iconv" >&5
14181 }$am_cv_proto_iconv" >&6; }
14183 cat >>confdefs.h
<<_ACEOF
14184 #define ICONV_CONST $am_cv_proto_iconv_arg1
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14191 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14192 if test "${am_cv_langinfo_codeset+set}" = set; then :
14193 $as_echo_n "(cached) " >&6
14195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14197 #include <langinfo.h>
14201 char* cs = nl_langinfo(CODESET);
14206 if ac_fn_c_try_link
"$LINENO"; then :
14207 am_cv_langinfo_codeset
=yes
14209 am_cv_langinfo_codeset
=no
14211 rm -f core conftest.err conftest.
$ac_objext \
14212 conftest
$ac_exeext conftest.
$ac_ext
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
14216 $as_echo "$am_cv_langinfo_codeset" >&6; }
14217 if test $am_cv_langinfo_codeset = yes; then
14219 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14223 if test $ac_cv_header_locale_h = yes; then
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14226 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14227 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14228 $as_echo_n "(cached) " >&6
14230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 #include <locale.h>
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 am_cv_val_LC_MESSAGES
=yes
14244 am_cv_val_LC_MESSAGES
=no
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14250 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14251 if test $am_cv_val_LC_MESSAGES = yes; then
14253 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14259 for ac_prog
in bison
14261 # Extract the first word of "$ac_prog", so it can be a program name with args.
14262 set dummy
$ac_prog; ac_word
=$2
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14264 $as_echo_n "checking for $ac_word... " >&6; }
14265 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
14266 $as_echo_n "(cached) " >&6
14268 if test -n "$INTLBISON"; then
14269 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
14271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14272 for as_dir
in $PATH
14275 test -z "$as_dir" && as_dir
=.
14276 for ac_exec_ext
in '' $ac_executable_extensions; do
14277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14278 ac_cv_prog_INTLBISON
="$ac_prog"
14279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 INTLBISON
=$ac_cv_prog_INTLBISON
14289 if test -n "$INTLBISON"; then
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
14291 $as_echo "$INTLBISON" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14294 $as_echo "no" >&6; }
14298 test -n "$INTLBISON" && break
14301 if test -z "$INTLBISON"; then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
14305 $as_echo_n "checking version of bison... " >&6; }
14306 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
14307 case $ac_prog_version in
14308 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
14309 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
14310 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
14311 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
14314 $as_echo "$ac_prog_version" >&6; }
14316 if test $ac_verc_fail = yes; then
14322 # Check whether --with-language was given.
14323 if test "${with_language+set}" = set; then :
14324 withval
=$with_language; if test "$withval" != "all"; then :
14325 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14345 $as_echo_n "checking whether NLS is requested... " >&6; }
14346 # Check whether --enable-nls was given.
14347 if test "${enable_nls+set}" = set; then :
14348 enableval
=$enable_nls; USE_NLS
=$enableval
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14354 $as_echo "$USE_NLS" >&6; }
14358 BUILD_INCLUDED_LIBINTL
=no
14359 USE_INCLUDED_LIBINTL
=no
14365 if test "$USE_NLS" = "yes"; then
14366 gt_use_preinstalled_gnugettext
=no
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
14369 $as_echo_n "checking whether included gettext is requested... " >&6; }
14371 # Check whether --with-included-gettext was given.
14372 if test "${with_included_gettext+set}" = set; then :
14373 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
14375 nls_cv_force_use_gnu_gettext
=no
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
14379 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
14381 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
14382 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14390 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14391 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
14392 $as_echo_n "(cached) " >&6
14394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 #include <libintl.h>
14397 extern int _nl_msg_cat_cntr;
14398 extern int *_nl_domain_bindings;
14402 bindtextdomain ("", "");
14403 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
14408 if ac_fn_c_try_link
"$LINENO"; then :
14409 gt_cv_func_gnugettext2_libc
=yes
14411 gt_cv_func_gnugettext2_libc
=no
14413 rm -f core conftest.err conftest.
$ac_objext \
14414 conftest
$ac_exeext conftest.
$ac_ext
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
14417 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
14419 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
14425 acl_save_prefix
="$prefix"
14426 prefix
="$acl_final_prefix"
14427 acl_save_exec_prefix
="$exec_prefix"
14428 exec_prefix
="$acl_final_exec_prefix"
14430 eval additional_includedir
=\"$includedir\"
14431 eval additional_libdir
=\"$libdir\"
14433 exec_prefix
="$acl_save_exec_prefix"
14434 prefix
="$acl_save_prefix"
14437 # Check whether --with-libintl-prefix was given.
14438 if test "${with_libintl_prefix+set}" = set; then :
14439 withval
=$with_libintl_prefix;
14440 if test "X$withval" = "Xno"; then
14443 if test "X$withval" = "X"; then
14445 acl_save_prefix
="$prefix"
14446 prefix
="$acl_final_prefix"
14447 acl_save_exec_prefix
="$exec_prefix"
14448 exec_prefix
="$acl_final_exec_prefix"
14450 eval additional_includedir
=\"$includedir\"
14451 eval additional_libdir
=\"$libdir\"
14453 exec_prefix
="$acl_save_exec_prefix"
14454 prefix
="$acl_save_prefix"
14457 additional_includedir
="$withval/include"
14458 additional_libdir
="$withval/lib"
14469 names_already_handled
=
14470 names_next_round
='intl '
14471 while test -n "$names_next_round"; do
14472 names_this_round
="$names_next_round"
14474 for name
in $names_this_round; do
14476 for n
in $names_already_handled; do
14477 if test "$n" = "$name"; then
14478 already_handled
=yes
14482 if test -z "$already_handled"; then
14483 names_already_handled
="$names_already_handled $name"
14484 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14485 eval value
=\"\
$HAVE_LIB$uppername\"
14486 if test -n "$value"; then
14487 if test "$value" = yes; then
14488 eval value
=\"\
$LIB$uppername\"
14489 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14490 eval value
=\"\
$LTLIB$uppername\"
14491 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14500 if test $use_additional = yes; then
14501 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14502 found_dir
="$additional_libdir"
14503 found_so
="$additional_libdir/lib$name.$shlibext"
14504 if test -f "$additional_libdir/lib$name.la"; then
14505 found_la
="$additional_libdir/lib$name.la"
14508 if test -f "$additional_libdir/lib$name.$libext"; then
14509 found_dir
="$additional_libdir"
14510 found_a
="$additional_libdir/lib$name.$libext"
14511 if test -f "$additional_libdir/lib$name.la"; then
14512 found_la
="$additional_libdir/lib$name.la"
14517 if test "X$found_dir" = "X"; then
14518 for x
in $LDFLAGS $LTLIBINTL; do
14520 acl_save_prefix
="$prefix"
14521 prefix
="$acl_final_prefix"
14522 acl_save_exec_prefix
="$exec_prefix"
14523 exec_prefix
="$acl_final_exec_prefix"
14525 exec_prefix
="$acl_save_exec_prefix"
14526 prefix
="$acl_save_prefix"
14530 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14531 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14533 found_so
="$dir/lib$name.$shlibext"
14534 if test -f "$dir/lib$name.la"; then
14535 found_la
="$dir/lib$name.la"
14538 if test -f "$dir/lib$name.$libext"; then
14540 found_a
="$dir/lib$name.$libext"
14541 if test -f "$dir/lib$name.la"; then
14542 found_la
="$dir/lib$name.la"
14548 if test "X$found_dir" != "X"; then
14553 if test "X$found_dir" != "X"; then
14554 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14555 if test "X$found_so" != "X"; then
14556 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14557 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14560 for x
in $ltrpathdirs; do
14561 if test "X$x" = "X$found_dir"; then
14566 if test -z "$haveit"; then
14567 ltrpathdirs
="$ltrpathdirs $found_dir"
14569 if test "$hardcode_direct" = yes; then
14570 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14572 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14573 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14575 for x
in $rpathdirs; do
14576 if test "X$x" = "X$found_dir"; then
14581 if test -z "$haveit"; then
14582 rpathdirs
="$rpathdirs $found_dir"
14586 for x
in $LDFLAGS $LIBINTL; do
14588 acl_save_prefix
="$prefix"
14589 prefix
="$acl_final_prefix"
14590 acl_save_exec_prefix
="$exec_prefix"
14591 exec_prefix
="$acl_final_exec_prefix"
14593 exec_prefix
="$acl_save_exec_prefix"
14594 prefix
="$acl_save_prefix"
14596 if test "X$x" = "X-L$found_dir"; then
14601 if test -z "$haveit"; then
14602 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14604 if test "$hardcode_minus_L" != no
; then
14605 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14607 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14613 if test "X$found_a" != "X"; then
14614 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14616 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14619 additional_includedir
=
14620 case "$found_dir" in
14622 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14623 additional_includedir
="$basedir/include"
14626 if test "X$additional_includedir" != "X"; then
14627 if test "X$additional_includedir" != "X/usr/include"; then
14629 if test "X$additional_includedir" = "X/usr/local/include"; then
14630 if test -n "$GCC"; then
14632 linux
*) haveit
=yes;;
14636 if test -z "$haveit"; then
14637 for x
in $CPPFLAGS $INCINTL; do
14639 acl_save_prefix
="$prefix"
14640 prefix
="$acl_final_prefix"
14641 acl_save_exec_prefix
="$exec_prefix"
14642 exec_prefix
="$acl_final_exec_prefix"
14644 exec_prefix
="$acl_save_exec_prefix"
14645 prefix
="$acl_save_prefix"
14647 if test "X$x" = "X-I$additional_includedir"; then
14652 if test -z "$haveit"; then
14653 if test -d "$additional_includedir"; then
14654 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14660 if test -n "$found_la"; then
14661 save_libdir
="$libdir"
14662 case "$found_la" in
14663 */* |
*\\*) .
"$found_la" ;;
14664 *) .
"./$found_la" ;;
14666 libdir
="$save_libdir"
14667 for dep
in $dependency_libs; do
14670 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14671 if test "X$additional_libdir" != "X/usr/lib"; then
14673 if test "X$additional_libdir" = "X/usr/local/lib"; then
14674 if test -n "$GCC"; then
14676 linux
*) haveit
=yes;;
14680 if test -z "$haveit"; then
14682 for x
in $LDFLAGS $LIBINTL; do
14684 acl_save_prefix
="$prefix"
14685 prefix
="$acl_final_prefix"
14686 acl_save_exec_prefix
="$exec_prefix"
14687 exec_prefix
="$acl_final_exec_prefix"
14689 exec_prefix
="$acl_save_exec_prefix"
14690 prefix
="$acl_save_prefix"
14692 if test "X$x" = "X-L$additional_libdir"; then
14697 if test -z "$haveit"; then
14698 if test -d "$additional_libdir"; then
14699 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14703 for x
in $LDFLAGS $LTLIBINTL; do
14705 acl_save_prefix
="$prefix"
14706 prefix
="$acl_final_prefix"
14707 acl_save_exec_prefix
="$exec_prefix"
14708 exec_prefix
="$acl_final_exec_prefix"
14710 exec_prefix
="$acl_save_exec_prefix"
14711 prefix
="$acl_save_prefix"
14713 if test "X$x" = "X-L$additional_libdir"; then
14718 if test -z "$haveit"; then
14719 if test -d "$additional_libdir"; then
14720 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14727 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14728 if test "$enable_rpath" != no
; then
14730 for x
in $rpathdirs; do
14731 if test "X$x" = "X$dir"; then
14736 if test -z "$haveit"; then
14737 rpathdirs
="$rpathdirs $dir"
14740 for x
in $ltrpathdirs; do
14741 if test "X$x" = "X$dir"; then
14746 if test -z "$haveit"; then
14747 ltrpathdirs
="$ltrpathdirs $dir"
14752 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14755 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14758 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14759 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14765 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14766 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14772 if test "X$rpathdirs" != "X"; then
14773 if test -n "$hardcode_libdir_separator"; then
14775 for found_dir
in $rpathdirs; do
14776 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14778 acl_save_libdir
="$libdir"
14780 eval flag
=\"$hardcode_libdir_flag_spec\"
14781 libdir
="$acl_save_libdir"
14782 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14784 for found_dir
in $rpathdirs; do
14785 acl_save_libdir
="$libdir"
14786 libdir
="$found_dir"
14787 eval flag
=\"$hardcode_libdir_flag_spec\"
14788 libdir
="$acl_save_libdir"
14789 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14793 if test "X$ltrpathdirs" != "X"; then
14794 for found_dir
in $ltrpathdirs; do
14795 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14800 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14801 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
14802 $as_echo_n "(cached) " >&6
14804 gt_save_CPPFLAGS
="$CPPFLAGS"
14805 CPPFLAGS
="$CPPFLAGS $INCINTL"
14806 gt_save_LIBS
="$LIBS"
14807 LIBS
="$LIBS $LIBINTL"
14808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14810 #include <libintl.h>
14811 extern int _nl_msg_cat_cntr;
14816 const char *_nl_expand_alias ();
14820 bindtextdomain ("", "");
14821 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
14826 if ac_fn_c_try_link
"$LINENO"; then :
14827 gt_cv_func_gnugettext2_libintl
=yes
14829 gt_cv_func_gnugettext2_libintl
=no
14831 rm -f core conftest.err conftest.
$ac_objext \
14832 conftest
$ac_exeext conftest.
$ac_ext
14833 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
14834 LIBS
="$LIBS $LIBICONV"
14835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14837 #include <libintl.h>
14838 extern int _nl_msg_cat_cntr;
14843 const char *_nl_expand_alias ();
14847 bindtextdomain ("", "");
14848 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
14853 if ac_fn_c_try_link
"$LINENO"; then :
14854 LIBINTL
="$LIBINTL $LIBICONV"
14855 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14856 gt_cv_func_gnugettext2_libintl
=yes
14859 rm -f core conftest.err conftest.
$ac_objext \
14860 conftest
$ac_exeext conftest.
$ac_ext
14862 CPPFLAGS
="$gt_save_CPPFLAGS"
14863 LIBS
="$gt_save_LIBS"
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
14866 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
14869 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
14870 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
14871 && test "$PACKAGE" != gettext; }; then
14872 gt_use_preinstalled_gnugettext
=yes
14880 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
14881 nls_cv_use_gnu_gettext
=yes
14885 if test "$nls_cv_use_gnu_gettext" = "yes"; then
14886 INTLOBJS
="\$(GETTOBJS)"
14887 BUILD_INCLUDED_LIBINTL
=yes
14888 USE_INCLUDED_LIBINTL
=yes
14889 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
14890 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
14891 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
14894 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14895 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14900 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14901 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14903 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14910 if test "$USE_NLS" = "yes"; then
14912 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14913 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14915 $as_echo_n "checking how to link with libintl... " >&6; }
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14917 $as_echo "$LIBINTL" >&6; }
14919 for element
in $INCINTL; do
14921 for x
in $CPPFLAGS; do
14923 acl_save_prefix
="$prefix"
14924 prefix
="$acl_final_prefix"
14925 acl_save_exec_prefix
="$exec_prefix"
14926 exec_prefix
="$acl_final_exec_prefix"
14928 exec_prefix
="$acl_save_exec_prefix"
14929 prefix
="$acl_save_prefix"
14931 if test "X$x" = "X$element"; then
14936 if test -z "$haveit"; then
14937 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14944 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14947 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14955 if test "$PACKAGE" = gettext; then
14956 BUILD_INCLUDED_LIBINTL
=yes
14964 nls_cv_header_intl
=
14965 nls_cv_header_libgt
=
14976 INTL_LIBTOOL_SUFFIX_PREFIX
=
14980 INTLLIBS
="$LIBINTL"
14987 if test $USE_INCLUDED_LIBINTL = yes; then :
14988 INCINTL
=-I\
${top_builddir}/intl
14991 if test x
$USE_NLS = xyes
; then :
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
14994 $as_echo_n "checking for autopoint... " >&6; }
14995 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
14996 if test -n "$autopoint_version"; then :
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
14999 $as_echo "yes ($autopoint_version)" >&6; }
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15005 $as_echo "no" >&6; }
15011 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15013 You need to install GNU gettext/gettext-tools to compile aMule with
15015 $as_echo "$as_me: WARNING:
15016 You need to install GNU gettext/gettext-tools to compile aMule with
15017 i18n support." >&2;}
15018 _mule_warning_13
=yes
15019 _mule_has_warnings
=yes
15023 if test ${USE_NLS:-no} = yes; then :
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
15026 $as_echo_n "checking for requested languages... " >&6; }
15027 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
15029 if test ${enable_amule_daemon:-no} = yes; then :
15031 if test -z "$LINGUAS"; then :
15032 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
15035 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15036 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
15039 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
15042 AMULE_DAEMON_MANPAGES
=
15047 if test ${enable_amulecmd:-no} = yes; then :
15049 if test -z "$LINGUAS"; then :
15050 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
15053 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15054 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
15057 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
15065 if test ${enable_webserver:-no} = yes; then :
15067 if test -z "$LINGUAS"; then :
15068 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
15071 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15072 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
15075 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
15078 WEBSERVER_MANPAGES
=
15083 if test ${enable_amule_gui:-no} = yes; then :
15085 if test -z "$LINGUAS"; then :
15086 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
15089 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15090 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
15093 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
15096 AMULE_GUI_MANPAGES
=
15101 if test ${enable_cas:-no} = yes; then :
15103 if test -z "$LINGUAS"; then :
15104 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
15107 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15108 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
15111 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
15119 if test ${enable_wxcas:-no} = yes; then :
15121 if test -z "$LINGUAS"; then :
15122 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
15125 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15126 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
15129 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
15137 if test ${enable_ed2k:-yes} = yes; then :
15139 if test -z "$LINGUAS"; then :
15140 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
15143 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15144 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
15147 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
15155 if test ${enable_alc:-no} = yes; then :
15157 if test -z "$LINGUAS"; then :
15158 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
15161 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15162 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
15165 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
15173 if test ${enable_alcc:-no} = yes; then :
15175 if test -z "$LINGUAS"; then :
15176 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
15179 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15180 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
15183 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
15191 if test ${enable_monolithic:-yes} = yes; then :
15193 if test -z "$LINGUAS"; then :
15194 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
15197 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15198 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
15201 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
15204 MONOLITHIC_MANPAGES
=
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
15209 $as_echo "${LINGUAS:-all}" >&6; }
15215 ac_cpp
='$CXXCPP $CPPFLAGS'
15216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15222 # Check for bfd.h (to have proper backtraces without using wxExecute)
15224 for ac_header
in ansidecl.h bfd.h
15226 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15227 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15228 eval as_val
=\$
$as_ac_Header
15229 if test "x$as_val" = x
""yes; then :
15230 cat >>confdefs.h
<<_ACEOF
15231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15238 if test $ac_cv_header_ansidecl_h = yes -a $ac_cv_header_bfd_h = yes; then :
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link with bfd" >&5
15241 $as_echo_n "checking for libraries required to link with bfd... " >&6; }
15242 if test "${mule_cv_lib_bfd+set}" = set; then :
15243 $as_echo_n "(cached) " >&6
15246 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
15247 # Doing some black magic to prevent multiple tests for the same set of
15248 # libraries when any of the shell variables above expand to nothing.
15250 done |
sed -e 's/^ *//;s/ *$//;s/ */ /g' |
${AWK} '!x[$0]++' >conftest.bfd_ldadd
15251 while read bfd_ldadd
; do
15252 mule_backup_LIBS
="$LIBS"
15253 mule_backup_LDFLAGS
="$LDFLAGS"
15254 LIBS
="${bfd_ldadd} $LIBS"
15255 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
15256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15260 #include <ansidecl.h>
15266 const char *dummy = bfd_errmsg(bfd_get_error());
15272 if ac_fn_cxx_try_link
"$LINENO"; then :
15274 LIBS
="$mule_backup_LIBS"
15275 LDFLAGS
="$mule_backup_LDFLAGS"
15276 mule_cv_lib_bfd
="${bfd_ldadd}"
15279 rm -f core conftest.err conftest.
$ac_objext \
15280 conftest
$ac_exeext conftest.
$ac_ext
15281 LIBS
="$mule_backup_LIBS"
15282 LDFLAGS
="$mule_backup_LDFLAGS"
15283 if ${mule_cv_lib_bfd+:} false
; then :
15286 done <conftest.bfd_ldadd
15287 rm -f conftest.bfd_ldadd
15292 if ${mule_cv_lib_bfd+:} false
; then :
15294 BFD_CPPFLAGS
="-DHAVE_BFD"
15295 BFD_LIBS
="${mule_cv_lib_bfd}"
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BFD_LIBS:-none required}" >&5
15297 $as_echo "${BFD_LIBS:-none required}" >&6; }
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15302 $as_echo "not found" >&6; }
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15304 Cannot link to the library containing the bfd functions." >&5
15305 $as_echo "$as_me: WARNING:
15306 Cannot link to the library containing the bfd functions." >&2;}
15307 _mule_warning_14
=yes
15308 _mule_has_warnings
=yes
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15316 bfd.h not found or unusable, please install binutils development
15317 package if you are a developer or want to help testing aMule" >&5
15318 $as_echo "$as_me: WARNING:
15319 bfd.h not found or unusable, please install binutils development
15320 package if you are a developer or want to help testing aMule" >&2;}
15321 _mule_warning_15
=yes
15322 _mule_has_warnings
=yes
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
15330 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
15331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15335 #include <execinfo.h>
15342 int n = backtrace((void **)&bt, 1);
15343 char **bt_syms = backtrace_symbols(bt, n);
15350 if ac_fn_cxx_try_link
"$LINENO"; then :
15353 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15356 $as_echo "yes" >&6; }
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361 $as_echo "no" >&6; }
15364 rm -f core conftest.err conftest.
$ac_objext \
15365 conftest
$ac_exeext conftest.
$ac_ext
15369 # aMule plasma widget
15370 if test ${enable_plasmamule:-no} = yes; then :
15373 if test -z ${QT_MOC}; then :
15375 for ac_prog
in moc-qt4 moc
15377 # Extract the first word of "$ac_prog", so it can be a program name with args.
15378 set dummy
$ac_prog; ac_word
=$2
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15380 $as_echo_n "checking for $ac_word... " >&6; }
15381 if test "${ac_cv_path_QT_MOC+set}" = set; then :
15382 $as_echo_n "(cached) " >&6
15386 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15390 for as_dir
in $PATH
15393 test -z "$as_dir" && as_dir
=.
15394 for ac_exec_ext
in '' $ac_executable_extensions; do
15395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15396 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15407 QT_MOC
=$ac_cv_path_QT_MOC
15408 if test -n "$QT_MOC"; then
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15410 $as_echo "$QT_MOC" >&6; }
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15413 $as_echo "no" >&6; }
15417 test -n "$QT_MOC" && break
15420 if test -z ${QT_MOC}; then :
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15430 $as_echo_n "checking for moc... " >&6; }
15431 if test -x ${QT_MOC}; then :
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15434 $as_echo "${QT_MOC}" >&6; }
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15440 $as_echo "\"not found\"" >&6; }
15449 if test "${QT_MOC}" != "not found"; then :
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15452 $as_echo_n "checking for moc version >= 4... " >&6; }
15453 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15454 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15457 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15462 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15470 if test "${QT_MOC}" = "not found"; then :
15471 enable_plasmamule
=disabled
15474 if test ${enable_plasmamule:-no} = yes; then :
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15479 $as_echo_n "checking for qt... " >&6; }
15480 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15483 $as_echo "found" >&6; }
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15485 $as_echo_n "checking for qt core cflags... " >&6; }
15486 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15488 $as_echo "$QT_CORE_CFLAGS" >&6; }
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15490 $as_echo_n "checking for qt core libs... " >&6; }
15491 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15493 $as_echo "$QT_CORE_LIBS" >&6; }
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15495 $as_echo_n "checking for qt gui cflags... " >&6; }
15496 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15498 $as_echo "$QT_GUI_CFLAGS" >&6; }
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15500 $as_echo_n "checking for qt gui libs... " >&6; }
15501 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15503 $as_echo "$QT_GUI_LIBS" >&6; }
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15507 $as_echo "not found" >&6; }
15512 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
15514 QT_DBUS_LDFLAGS
="-lQtDBus"
15524 if test -z "${QT_CORE_CXXFLAGS}"; then :
15525 enable_plasmamule
=disabled
15530 if test ${enable_plasmamule:-no} = yes; then :
15533 if test -z ${KDE4_CONFIG}; then :
15535 # Extract the first word of "kde4-config", so it can be a program name with args.
15536 set dummy kde4-config
; ac_word
=$2
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15538 $as_echo_n "checking for $ac_word... " >&6; }
15539 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
15540 $as_echo_n "(cached) " >&6
15542 case $KDE4_CONFIG in
15544 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15548 for as_dir
in $PATH
15551 test -z "$as_dir" && as_dir
=.
15552 for ac_exec_ext
in '' $ac_executable_extensions; do
15553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15554 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15565 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15566 if test -n "$KDE4_CONFIG"; then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15568 $as_echo "$KDE4_CONFIG" >&6; }
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15571 $as_echo "no" >&6; }
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15579 $as_echo_n "checking for kde4-config... " >&6; }
15580 if test ! -x KDE4_CONFIG
; then :
15582 KDE4_CONFIG
="not found"
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15584 $as_echo "not found" >&6; }
15591 if test "${KDE4_CONFIG}" != "not found"; then :
15593 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15594 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15597 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15602 $as_echo "at least version
4 required
" >&6; }
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15610 $as_echo "not found
" >&6; }
15616 if test "${KDE4_CONFIG}" = "not found
"; then :
15617 enable_plasmamule=disabled
15622 if test ${enable_plasmamule:-no} = yes; then :
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15626 $as_echo_n "checking
for kde4 headers...
" >&6; }
15627 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15629 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15631 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15634 $as_echo "${KDE_HEADER_DIR}" >&6; }
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15639 $as_echo "dataengine.h not found
" >&6; }
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15647 $as_echo "kdirwatch.h not found
" >&6; }
15653 if test -z ${KDE_HEADER_DIR}; then :
15654 enable_plasmamule=disabled
15659 if test ${enable_plasmamule:-no} = yes; then :
15661 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15662 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15667 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15668 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15673 if test ${KDE_IN_HOME} = "yes"; then :
15675 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15679 if test -n ${prefix}; then :
15681 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15682 if test -n ${KDE_APPLNK_PATH}; then :
15684 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15690 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15696 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15702 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15703 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15708 if test ${KDE_IN_HOME} = "yes"; then :
15710 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15714 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15718 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15724 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15725 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15730 if test ${KDE_IN_HOME} = "yes"; then :
15732 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15736 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15740 $as_echo "${KDE_MODULE_PATH}" >&6; }
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15746 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15747 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15752 if test ${KDE_IN_HOME} = "yes"; then :
15754 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15758 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15761 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15763 $as_echo "${KDE_ICON_PATH}" >&6; }
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15769 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15770 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15775 if test ${KDE_IN_HOME} = "yes"; then :
15777 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15781 if test -n ${prefix}; then :
15783 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15784 if test -n ${KDE_MIME_PATH}; then :
15786 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15792 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15798 $as_echo "${KDE_MIME_PATH}" >&6; }
15803 enable_plasmamule=disabled
15808 if test ${enable_debug:-yes} = yes; then :
15810 DEBUGFLAG="-D__DEBUG__"
15818 # Check for readline library
15819 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
15822 $as_echo_n "checking
for a readline compatible library...
" >&6; }
15823 if test "${vl_cv_lib_readline+set}" = set; then :
15824 $as_echo_n "(cached
) " >&6
15828 for readline_lib in readline edit editline; do
15829 for termcap_lib in "" termcap curses ncurses; do
15830 if test -z "$termcap_lib"; then
15831 TRY_LIB="-l$readline_lib"
15833 TRY_LIB="-l$readline_lib -l$termcap_lib"
15835 LIBS="$ORIG_LIBS $TRY_LIB"
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15849 return readline ();
15854 if ac_fn_cxx_try_link "$LINENO"; then :
15855 vl_cv_lib_readline="$TRY_LIB"
15857 rm -f core conftest.err conftest.$ac_objext \
15858 conftest$ac_exeext conftest.$ac_ext
15859 if test -n "$vl_cv_lib_readline"; then
15863 if test -n "$vl_cv_lib_readline"; then
15867 if test -z "$vl_cv_lib_readline"; then
15868 vl_cv_lib_readline="no
"
15872 READLINE_LIBS="$vl_cv_lib_readline"
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
15877 $as_echo "$vl_cv_lib_readline" >&6; }
15879 if test "$vl_cv_lib_readline" != "no
"; then
15881 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
15883 for ac_header
in readline.h readline
/readline.h
15885 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15886 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15887 eval as_val
=\$
$as_ac_Header
15888 if test "x$as_val" = x
""yes; then :
15889 cat >>confdefs.h
<<_ACEOF
15890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
15898 $as_echo_n "checking whether readline supports history... " >&6; }
15899 if test "${vl_cv_lib_readline_history+set}" = set; then :
15900 $as_echo_n "(cached) " >&6
15903 vl_cv_lib_readline_history
="no"
15904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15913 char add_history ();
15917 return add_history ();
15922 if ac_fn_cxx_try_link
"$LINENO"; then :
15923 vl_cv_lib_readline_history
="yes"
15925 rm -f core conftest.err conftest.
$ac_objext \
15926 conftest
$ac_exeext conftest.
$ac_ext
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
15930 $as_echo "$vl_cv_lib_readline_history" >&6; }
15931 if test "$vl_cv_lib_readline_history" = "yes"; then
15933 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
15935 for ac_header
in history.h readline
/history.h
15937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15938 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15939 eval as_val
=\$
$as_ac_Header
15940 if test "x$as_val" = x
""yes; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15958 ac_cpp
='$CPP $CPPFLAGS'
15959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15964 # Check for strerror_r
15965 mule_backup_CPPFLAGS
="$CPPFLAGS"
15966 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
15967 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
15968 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define HAVE_DECL_STRERROR_R $ac_have_decl
15978 for ac_func
in strerror_r
15980 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
15981 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_STRERROR_R 1
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
15990 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
15991 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
15992 $as_echo_n "(cached) " >&6
15995 ac_cv_func_strerror_r_char_p
=no
15996 if test $ac_cv_have_decl_strerror_r = yes; then
15997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
15999 $ac_includes_default
16005 char x = *strerror_r (0, buf, sizeof buf);
16006 char *p = strerror_r (0, buf, sizeof buf);
16013 if ac_fn_c_try_compile
"$LINENO"; then :
16014 ac_cv_func_strerror_r_char_p
=yes
16016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16018 # strerror_r is not declared. Choose between
16019 # systems that have relatively inaccessible declarations for the
16020 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
16021 # former has a strerror_r that returns char*, while the latter
16022 # has a strerror_r that returns `int'.
16023 # This test should segfault on the DEC system.
16024 if test "$cross_compiling" = yes; then :
16027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16029 $ac_includes_default
16030 extern char *strerror_r ();
16035 char x = *strerror_r (0, buf, sizeof buf);
16036 return ! isalpha (x);
16041 if ac_fn_c_try_run
"$LINENO"; then :
16042 ac_cv_func_strerror_r_char_p
=yes
16044 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16045 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
16052 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
16053 if test $ac_cv_func_strerror_r_char_p = yes; then
16055 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
16059 CPPFLAGS
="$mule_backup_CPPFLAGS"
16064 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
16066 $as_echo_n "checking for docdir... " >&6; }
16067 if test -z "$docdir"; then :
16068 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
16071 $as_echo "$docdir" >&6; }
16074 # Try to set the SVN checkout-date
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
16076 $as_echo_n "checking for SVNDATE... " >&6; }
16078 if test -f "$srcdir/.svn-revision"; then
16079 svndate
="rev. `cat $srcdir/.svn-revision`"
16080 elif test -d "$srcdir"/.svn
; then
16081 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'`"
16082 elif test -d "$srcdir"/.git
; then
16084 git_revision
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%h'`
16085 if test -n "`git --git-dir="$srcdir"/.git --work-tree="$srcdir" status --porcelain --untracked-files=no`" ; then
16088 if test -f $srcdir/.git
/svn
/.metadata
; then
16089 git_sha
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%H'`
16090 svndate
=`git --git-dir="$srcdir"/.git rev-list ${git_sha} | while read sha; do
16091 svn_revision=\`git
--git-dir="$srcdir"/.git svn find-rev \
${sha}\
`
16092 if test -n "\${svn_revision}" ; then
16093 if test \${sha} = ${git_sha} ; then
16094 echo "rev. \${svn_revision}${modified}"
16096 echo "rev. \${svn_revision}+g${git_revision}${modified}"
16102 svndate
="rev. g${git_revision}${modified}"
16105 elif test -d "$srcdir"/.hg
; then
16107 hg_revision
=`hg --cwd "$srcdir" identify --id`
16108 hg_revid
=${hg_revision%+}
16109 if test ${hg_revision} != ${hg_revid} ; then
16112 if test -f "$srcdir"/.hg
/svn
/uuid
; then
16113 svndate
=`hg --cwd "$srcdir" log --follow --template='r{svnrev} {node|short}\n' | while read svn_revision hg_sha; do
16114 if test \${svn_revision} != r ; then
16115 if test \${hg_sha} = ${hg_revid} ; then
16116 echo "rev. \${svn_revision#r}${modified}"
16118 echo "rev. \${svn_revision#r}+h${hg_revision}"
16124 svndate
="rev. h${hg_revision}"
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
16131 $as_echo "${svndate:-None required}" >&6; }
16132 if test -n "$svndate"; then :
16135 cat >>confdefs.h
<<_ACEOF
16136 #define SVNDATE "$svndate"
16139 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
16147 # Check whether --with-denoise-level was given.
16148 if test "${with_denoise_level+set}" = set; then :
16149 withval
=$with_denoise_level;
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
16154 $as_echo_n "checking denoising level... " >&6; }
16155 if test ${with_denoise_level:-5} = yes; then :
16156 with_denoise_level
=5
16158 if test ${with_denoise_level:-5} = no
; then :
16159 with_denoise_level
=0
16161 if test ${with_denoise_level:-5} -gt 4; then :
16162 if test "${svndate:+set}" = "set"; then :
16163 with_denoise_level
=0
16165 with_denoise_level
=4
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
16169 $as_echo "$with_denoise_level" >&6; }
16171 ac_config_commands
="$ac_config_commands denoiser"
16176 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
16178 # Check whether --enable-ccache was given.
16179 if test "${enable_ccache+set}" = set; then :
16180 enableval
=$enable_ccache;
16186 # Check whether --with-ccache-prefix was given.
16187 if test "${with_ccache_prefix+set}" = set; then :
16188 withval
=$with_ccache_prefix;
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added" >&5
16193 $as_echo_n "checking whether ccache support should be added... " >&6; }
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16195 $as_echo "${enable_ccache:-no}" >&6; }
16197 if test ${enable_ccache:-no} = yes; then :
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache presence" >&5
16200 $as_echo_n "checking for ccache presence... " >&6; }
16201 if test -z "$with_ccache_prefix"; then :
16203 ccache_full
=`which ccache`
16204 with_ccache_prefix
=`dirname ${ccache_full}`
16207 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then :
16209 CC
="$with_ccache_prefix/ccache $CC"
16210 CXX
="$with_ccache_prefix/ccache $CXX"
16211 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16217 $as_echo "${enable_ccache:-no}" >&6; }
16224 if test x
$SYS = xwin32
; then
16226 SYS_WIN32_FALSE
='#'
16232 if test x
$SYS = xwin32
-a "$RC" != ":"; then
16240 if test x
$SYS = xdarwin
; then
16241 NEED_CORESERVICES_TRUE
=
16242 NEED_CORESERVICES_FALSE
='#'
16244 NEED_CORESERVICES_TRUE
='#'
16245 NEED_CORESERVICES_FALSE
=
16248 if test x
$USE_NLS = xyes
; then
16250 COMPILE_NLS_FALSE
='#'
16252 COMPILE_NLS_TRUE
='#'
16256 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
16257 GENERATE_FLEX_HEADER_TRUE
=
16258 GENERATE_FLEX_HEADER_FALSE
='#'
16260 GENERATE_FLEX_HEADER_TRUE
='#'
16261 GENERATE_FLEX_HEADER_FALSE
=
16264 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
16265 INSTALL_SKINS_TRUE
=
16266 INSTALL_SKINS_FALSE
='#'
16268 INSTALL_SKINS_TRUE
='#'
16269 INSTALL_SKINS_FALSE
=
16272 if test ${enable_plasmamule:-no} = yes; then
16274 PLASMAMULE_FALSE
='#'
16276 PLASMAMULE_TRUE
='#'
16281 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
16282 COMPILE_LIB_COMMON_TRUE
=
16283 COMPILE_LIB_COMMON_FALSE
='#'
16285 COMPILE_LIB_COMMON_TRUE
='#'
16286 COMPILE_LIB_COMMON_FALSE
=
16289 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
16290 COMPILE_LIB_EC_TRUE
=
16291 COMPILE_LIB_EC_FALSE
='#'
16293 COMPILE_LIB_EC_TRUE
='#'
16294 COMPILE_LIB_EC_FALSE
=
16298 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"
16301 if test x
$SYS = xwin32
; then :
16302 ac_config_files
="$ac_config_files version.rc"
16305 cat >confcache
<<\_ACEOF
16306 # This file is a shell script that caches the results of configure
16307 # tests run on this system so they can be shared between configure
16308 # scripts and configure runs, see configure's option --config-cache.
16309 # It is not useful on other systems. If it contains results you don't
16310 # want to keep, you may remove or edit it.
16312 # config.status only pays attention to the cache file if you give it
16313 # the --recheck option to rerun configure.
16315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16317 # following values.
16321 # The following way of writing the cache mishandles newlines in values,
16322 # but we know of no workaround that is simple, portable, and efficient.
16323 # So, we kill variables containing newlines.
16324 # Ultrix sh set writes to stderr and can't be redirected directly,
16325 # and sets the high bit in the cache file unless we assign to the vars.
16327 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16328 eval ac_val
=\$
$ac_var
16332 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16333 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16336 _ | IFS | as_nl
) ;; #(
16337 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16338 *) { eval $ac_var=; unset $ac_var;} ;;
16344 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16345 *${as_nl}ac_space
=\
*)
16346 # `set' does not quote correctly, so add quotes: double-quote
16347 # substitution turns \\\\ into \\, and sed turns \\ into \.
16350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16353 # `set' quotes correctly as required by POSIX, so do not add quotes.
16354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16365 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16367 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16368 if test -w "$cache_file"; then
16369 test "x$cache_file" != "x/dev/null" &&
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16371 $as_echo "$as_me: updating cache $cache_file" >&6;}
16372 cat confcache
>$cache_file
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16375 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16380 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16381 # Let make expand exec_prefix.
16382 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16384 DEFS
=-DHAVE_CONFIG_H
16388 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16389 # 1. Remove the extension, and $U if already installed.
16390 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16391 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16392 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16393 # will be set to the directory where LIBOBJS objects are built.
16394 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16395 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16397 LIBOBJS
=$ac_libobjs
16399 LTLIBOBJS
=$ac_ltlibobjs
16402 if test -n "$EXEEXT"; then
16404 am__EXEEXT_FALSE
='#'
16406 am__EXEEXT_TRUE
='#'
16410 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16411 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16414 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16415 as_fn_error
"conditional \"AMDEP\" was never defined.
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16418 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16419 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16422 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16423 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16426 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
16427 as_fn_error
"conditional \"MONOLITHIC\" was never defined.
16428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16430 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
16431 as_fn_error
"conditional \"AMULE_DAEMON\" was never defined.
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16434 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
16435 as_fn_error
"conditional \"COMPILE_CMD\" was never defined.
16436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16438 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
16439 as_fn_error
"conditional \"WEB\" was never defined.
16440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16442 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
16443 as_fn_error
"conditional \"AMULE_GUI\" was never defined.
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16446 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
16447 as_fn_error
"conditional \"CAS\" was never defined.
16448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16450 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
16451 as_fn_error
"conditional \"WXCAS\" was never defined.
16452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16454 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
16455 as_fn_error
"conditional \"ED2K\" was never defined.
16456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16458 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
16459 as_fn_error
"conditional \"ALC\" was never defined.
16460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16462 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
16463 as_fn_error
"conditional \"ALCC\" was never defined.
16464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16466 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
16467 as_fn_error
"conditional \"XAS\" was never defined.
16468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16470 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
16471 as_fn_error
"conditional \"FILEVIEW\" was never defined.
16472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16474 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
16475 as_fn_error
"conditional \"SYS_WIN32\" was never defined.
16476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16478 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
16479 as_fn_error
"conditional \"NEED_RC\" was never defined.
16480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16482 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
16483 as_fn_error
"conditional \"NEED_CORESERVICES\" was never defined.
16484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16486 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
16487 as_fn_error
"conditional \"COMPILE_NLS\" was never defined.
16488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16490 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
16491 as_fn_error
"conditional \"GENERATE_FLEX_HEADER\" was never defined.
16492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16494 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
16495 as_fn_error
"conditional \"INSTALL_SKINS\" was never defined.
16496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16498 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
16499 as_fn_error
"conditional \"PLASMAMULE\" was never defined.
16500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16502 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
16503 as_fn_error
"conditional \"COMPILE_LIB_COMMON\" was never defined.
16504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16506 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
16507 as_fn_error
"conditional \"COMPILE_LIB_EC\" was never defined.
16508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16511 : ${CONFIG_STATUS=./config.status}
16513 ac_clean_files_save
=$ac_clean_files
16514 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16520 # Generated by $as_me.
16521 # Run this file to recreate the current configuration.
16522 # Compiler output produced by configure, useful for debugging
16523 # configure, is in config.log if it exists.
16526 ac_cs_recheck=false
16529 SHELL=\${CONFIG_SHELL-$SHELL}
16532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16533 ## -------------------- ##
16534 ## M4sh Initialization. ##
16535 ## -------------------- ##
16537 # Be more Bourne compatible
16538 DUALCASE
=1; export DUALCASE
# for MKS sh
16539 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16543 # is contrary to our usage. Disable this feature.
16544 alias -g '${1+"$@"}'='"$@"'
16545 setopt NO_GLOB_SUBST
16547 case `(set -o) 2>/dev/null` in #(
16559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16560 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16563 # Prefer a ksh shell builtin over an external printf program on Solaris,
16564 # but without wasting forks for bash or zsh.
16565 if test -z "$BASH_VERSION$ZSH_VERSION" \
16566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16567 as_echo='print
-r --'
16568 as_echo_n='print
-rn --'
16569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16570 as_echo='printf %s
\n'
16571 as_echo_n='printf %s
'
16573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16574 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16575 as_echo_n='/usr
/ucb
/echo -n'
16577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16578 as_echo_n_body='eval
16582 expr "X$arg" : "X\\(.*\\)$as_nl";
16583 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16585 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16587 export as_echo_n_body
16588 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16590 export as_echo_body
16591 as_echo='sh
-c $as_echo_body as_echo
'
16594 # The user is always right.
16595 if test "${PATH_SEPARATOR+set}" != set; then
16597 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16598 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16605 # We need space, tab and new line, in precisely that order. Quoting is
16606 # there to prevent editors from complaining about space-tab.
16607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16608 # splitting by setting IFS to empty value.)
16611 # Find who we are. Look in the path if we contain no directory separator.
16613 *[\\/]* ) as_myself=$0 ;;
16614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16615 for as_dir in $PATH
16618 test -z "$as_dir" && as_dir=.
16619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16625 # We did not find ourselves, most probably we were run as `sh COMMAND'
16626 # in which case we are not to be found in the path.
16627 if test "x$as_myself" = x
; then
16630 if test ! -f "$as_myself"; then
16631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16635 # Unset variables that we do not need and which cause bugs (e.g. in
16636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16637 # suppresses any "Segmentation fault" message there. '((' could
16638 # trigger a bug in pdksh 5.2.14.
16639 for as_var
in BASH_ENV ENV MAIL MAILPATH
16640 do eval test x\
${$as_var+set} = xset \
16641 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16654 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16657 # as_fn_error ERROR [LINENO LOG_FD]
16658 # ---------------------------------
16659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16661 # script with status $?, using 1 if that was 0.
16664 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16666 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16669 $as_echo "$as_me: error: $1" >&2
16670 as_fn_exit
$as_status
16674 # as_fn_set_status STATUS
16675 # -----------------------
16676 # Set $? to STATUS, without forking.
16677 as_fn_set_status
()
16680 } # as_fn_set_status
16682 # as_fn_exit STATUS
16683 # -----------------
16684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16688 as_fn_set_status
$1
16694 # Portably unset VAR.
16697 { eval $1=; unset $1;}
16699 as_unset
=as_fn_unset
16700 # as_fn_append VAR VALUE
16701 # ----------------------
16702 # Append the text in VALUE to the end of the definition contained in VAR. Take
16703 # advantage of any shell optimizations that allow amortized linear growth over
16704 # repeated appends, instead of the typical quadratic growth present in naive
16706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16707 eval 'as_fn_append ()
16718 # as_fn_arith ARG...
16719 # ------------------
16720 # Perform arithmetic evaluation on the ARGs, and store the result in the
16721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16722 # must be portable across $(()) and expr.
16723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16724 eval 'as_fn_arith ()
16731 as_val
=`expr "$@" || test $? -eq 1`
16736 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16737 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16743 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16744 as_basename
=basename
16749 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16755 as_me
=`$as_basename -- "$0" ||
16756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16757 X"$0" : 'X\(//\)$' \| \
16758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16760 sed '/^.*\/\([^/][^/]*\)\/*$/{
16774 # Avoid depending upon Character Ranges.
16775 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16776 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16777 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16778 as_cr_digits
='0123456789'
16779 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16781 ECHO_C
= ECHO_N
= ECHO_T
=
16782 case `echo -n x` in #(((((
16784 case `echo 'xy\c'` in
16785 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16787 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16794 rm -f conf$$ conf$$.exe conf$$.
file
16795 if test -d conf$$.dir
; then
16796 rm -f conf$$.dir
/conf$$.
file
16799 mkdir conf$$.dir
2>/dev
/null
16801 if (echo >conf$$.
file) 2>/dev
/null
; then
16802 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16804 # ... but there are two gotchas:
16805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16807 # In both cases, we have to default to `cp -p'.
16808 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16810 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16818 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16819 rmdir conf$$.dir
2>/dev
/null
16824 # Create "$as_dir" as a directory, including parents if necessary.
16829 -*) as_dir
=.
/$as_dir;;
16831 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16835 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16836 *) as_qdir
=$as_dir;;
16838 as_dirs
="'$as_qdir' $as_dirs"
16839 as_dir
=`$as_dirname -- "$as_dir" ||
16840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16841 X"$as_dir" : 'X\(//\)[^/]' \| \
16842 X"$as_dir" : 'X\(//\)$' \| \
16843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16844 $as_echo X"$as_dir" |
16845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16849 /^X\(\/\/\)[^/].*/{
16862 test -d "$as_dir" && break
16864 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16865 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16869 if mkdir
-p .
2>/dev
/null
; then
16870 as_mkdir_p
='mkdir -p "$as_dir"'
16872 test -d .
/-p && rmdir .
/-p
16876 if test -x / >/dev
/null
2>&1; then
16877 as_test_x
='test -x'
16879 if ls -dL / >/dev
/null
2>&1; then
16886 if test -d "$1"; then
16892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16893 ???[sx]*):;;*)false;;esac;fi
16897 as_executable_p
=$as_test_x
16899 # Sed expression to map a string onto a valid CPP name.
16900 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16902 # Sed expression to map a string onto a valid variable name.
16903 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16907 ## ----------------------------------- ##
16908 ## Main body of $CONFIG_STATUS script. ##
16909 ## ----------------------------------- ##
16911 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16914 # Save the log message, to keep $0 and so on meaningful, and to
16915 # report actual input values of CONFIG_FILES etc. instead of their
16916 # values after options handling.
16918 This file was extended by aMule $as_me SVN, which was
16919 generated by GNU Autoconf 2.65. Invocation command line was
16921 CONFIG_FILES = $CONFIG_FILES
16922 CONFIG_HEADERS = $CONFIG_HEADERS
16923 CONFIG_LINKS = $CONFIG_LINKS
16924 CONFIG_COMMANDS = $CONFIG_COMMANDS
16927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16932 case $ac_config_files in *"
16933 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16936 case $ac_config_headers in *"
16937 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16942 # Files that config.status was made for.
16943 config_files="$ac_config_files"
16944 config_headers="$ac_config_headers"
16945 config_commands="$ac_config_commands"
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16951 \`$as_me' instantiates files and other configuration actions
16952 from templates according to the current configuration. Unless the files
16953 and actions are specified as TAGs, all are instantiated by default.
16955 Usage: $0 [OPTION]... [TAG]...
16957 -h, --help print this help, then exit
16958 -V, --version print version number and configuration settings, then exit
16959 --config print configuration, then exit
16960 -q, --quiet, --silent
16961 do not print progress messages
16962 -d, --debug don't remove temporary files
16963 --recheck update $as_me by reconfiguring in the same conditions
16964 --file=FILE[:TEMPLATE]
16965 instantiate the configuration file FILE
16966 --header=FILE[:TEMPLATE]
16967 instantiate the configuration header FILE
16969 Configuration files:
16972 Configuration headers:
16975 Configuration commands:
16978 Report bugs to <admin@amule.org>."
16981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16982 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16984 aMule config.status SVN
16985 configured by $0, generated by GNU Autoconf 2.65,
16986 with options \\"\$ac_cs_config\\"
16988 Copyright (C) 2009 Free Software Foundation, Inc.
16989 This config.status script is free software; the Free Software Foundation
16990 gives unlimited permission to copy, distribute and modify it."
16997 test -n "\$AWK" || AWK=awk
17000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17001 # The default lists apply if the user does not specify any file.
17007 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17008 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17019 # Handling of the options.
17020 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17022 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17023 $as_echo "$ac_cs_version"; exit ;;
17024 --config |
--confi |
--conf |
--con |
--co |
--c )
17025 $as_echo "$ac_cs_config"; exit ;;
17026 --debug |
--debu |
--deb |
--de |
--d |
-d )
17028 --file |
--fil |
--fi |
--f )
17031 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17033 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17034 ac_need_defaults
=false
;;
17035 --header |
--heade |
--head |
--hea )
17038 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17040 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17041 ac_need_defaults
=false
;;
17043 # Conflict between --help and --header
17044 as_fn_error
"ambiguous option: \`$1'
17045 Try \`$0 --help' for more information.";;
17046 --help |
--hel |
-h )
17047 $as_echo "$ac_cs_usage"; exit ;;
17048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17049 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17052 # This is an error.
17053 -*) as_fn_error
"unrecognized option: \`$1'
17054 Try \`$0 --help' for more information." ;;
17056 *) as_fn_append ac_config_targets
" $1"
17057 ac_need_defaults
=false
;;
17063 ac_configure_extra_args
=
17065 if $ac_cs_silent; then
17067 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17072 if \$ac_cs_recheck; then
17073 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17075 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17076 CONFIG_SHELL='$SHELL'
17077 export CONFIG_SHELL
17082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17087 ## Running $as_me. ##
17093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17097 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17098 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17099 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17101 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
17102 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17103 LINGUAS="${LINGUAS-%UNSET%}"
17105 denoiserlevel=$with_denoise_level
17109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17111 # Handling of arguments.
17112 for ac_config_target
in $ac_config_targets
17114 case $ac_config_target in
17115 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17116 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17117 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17118 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
17119 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17120 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
17121 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
17122 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
17123 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
17124 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
17125 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
17126 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
17127 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
17128 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
17129 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
17130 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
17131 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
17132 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
17133 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
17134 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
17135 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
17136 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
17137 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
17138 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
17139 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
17140 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
17141 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
17142 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
17143 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
17144 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
17145 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
17146 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
17147 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
17148 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
17149 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
17150 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
17151 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
17152 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
17154 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17159 # If the user did not use the arguments to specify the items to instantiate,
17160 # then the envvar interface is used. Set only those that are not.
17161 # We use the long form for the default assignment because of an extremely
17162 # bizarre bug on SunOS 4.1.3.
17163 if $ac_need_defaults; then
17164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17166 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17169 # Have a temporary directory for convenience. Make it in the build tree
17170 # simply because there is no reason against having it here, and in addition,
17171 # creating and moving files from /tmp can sometimes cause problems.
17172 # Hook for its removal unless debugging.
17173 # Note that there is a small window in which the directory will not be cleaned:
17174 # after its creation but before its name has been assigned to `$tmp'.
17178 trap 'exit_status=$?
17179 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17181 trap 'as_fn_exit 1' 1 2 13 15
17183 # Create a (secure) tmp directory for tmp files.
17186 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17187 test -n "$tmp" && test -d "$tmp"
17190 tmp
=.
/conf$$
-$RANDOM
17191 (umask 077 && mkdir
"$tmp")
17192 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17194 # Set up the scripts for CONFIG_FILES section.
17195 # No need to generate them if there are no CONFIG_FILES.
17196 # This happens for instance with `./config.status config.h'.
17197 if test -n "$CONFIG_FILES"; then
17200 ac_cr
=`echo X | tr X '\015'`
17201 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17202 # But we know of no other shell where ac_cr would be empty at this
17203 # point, so we can use a bashism as a fallback.
17204 if test "x$ac_cr" = x
; then
17205 eval ac_cr
=\$
\'\\r
\'
17207 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17208 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17211 ac_cs_awk_cr
=$ac_cr
17214 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17219 echo "cat >conf$$subs.awk <<_ACEOF" &&
17220 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17222 } >conf$$subs.sh ||
17223 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17224 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17226 for ac_last_try in false false false false false :; do
17227 . ./conf$$subs.sh ||
17228 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17230 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17231 if test $ac_delim_n = $ac_delim_num; then
17233 elif $ac_last_try; then
17234 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17236 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17239 rm -f conf$$subs.sh
17241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17242 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17246 s/^/S["/; s
/!.
*/"]=/
17256 s/\(.\{148\}\)..*/\1/
17258 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17263 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17270 s/\(.\{148\}\)..*/\1/
17272 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17276 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17281 ' <conf$$subs.awk | sed '
17286 ' >>$CONFIG_STATUS || ac_write_fail=1
17287 rm -f conf$$subs.awk
17288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17290 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17291 for (key in S) S_is_set[key] = 1
17297 nfields = split(line, field, "@
")
17299 len = length(field[1])
17300 for (i = 2; i < nfields; i++) {
17302 keylen = length(key)
17303 if (S_is_set[key]) {
17305 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17306 len += length(value) + length(field[++i])
17317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17318 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17319 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17322 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17323 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17326 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17327 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17328 # trailing colons and then remove the whole line if VPATH becomes empty
17329 # (actually we leave an empty line to preserve line numbers).
17330 if test "x
$srcdir" = x.; then
17331 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17332 s/:*\$(srcdir):*/:/
17333 s/:*\${srcdir}:*/:/
17335 s/^\([^=]*=[ ]*\):*/\1/
17341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17342 fi # test -n "$CONFIG_FILES"
17344 # Set up the scripts for CONFIG_HEADERS section.
17345 # No need to generate them if there are no CONFIG_HEADERS.
17346 # This happens for instance with `./config.status Makefile'.
17347 if test -n "$CONFIG_HEADERS"; then
17348 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17352 # Transform confdefs.h into an awk script `defines.awk', embedded as
17353 # here-document in config.status, that substitutes the proper values into
17354 # config.h.in to produce config.h.
17356 # Create a delimiter string that does not exist in confdefs.h, to ease
17357 # handling of long lines.
17359 for ac_last_try in false false :; do
17360 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17361 if test -z "$ac_t"; then
17363 elif $ac_last_try; then
17364 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17366 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17370 # For the awk script, D is an array of macro values keyed by name,
17371 # likewise P contains macro parameters if any. Preserve backslash
17372 # newline sequences.
17374 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17376 s/.\{148\}/&'"$ac_delim"'/g
17379 s/^[ ]*#[ ]*define[ ][ ]*/ /
17386 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17388 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17392 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17393 D["\
1"]=" \
3\\\\\\n
"\\/p
17395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17400 s/.\{148\}/&'"$ac_delim"'/g
17405 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17408 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17410 ' <confdefs.h | sed '
17411 s/'"$ac_delim"'/"\\\
17412 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17415 for (key in D) D_is_set[key] = 1
17418 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17420 split(line, arg, " ")
17421 if (arg[1] == "#") {
17425 defundef
= substr
(arg
[1], 2)
17428 split(mac1
, mac2
, "(") #)
17430 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17431 if (D_is_set
[macro
]) {
17432 # Preserve the white space surrounding the "#".
17433 print prefix
"define", macro P
[macro
] D
[macro
]
17436 # Replace #undef with comments. This is necessary, for example,
17437 # in the case of _POSIX_SOURCE, which is predefined and required
17438 # on some systems where configure will not decide to define it.
17439 if (defundef
== "undef") {
17440 print
"/*", prefix defundef
, macro
, "*/"
17448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17449 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17450 fi # test -n "$CONFIG_HEADERS"
17453 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17458 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17460 case $ac_mode$ac_tag in
17462 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17463 :[FH
]-) ac_tag
=-:-;;
17464 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17481 -) ac_f
="$tmp/stdin";;
17482 *) # Look for the file first in the build tree, then in the source tree
17483 # (if the path is not absolute). The absolute path cannot be DOS-style,
17484 # because $ac_f cannot contain `:'.
17488 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17490 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17492 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17493 as_fn_append ac_file_inputs
" '$ac_f'"
17496 # Let's still pretend it is `configure' which instantiates (i.e., don't
17497 # use $as_me), people would be surprised to read:
17498 # /* config.h. Generated by config.status. */
17499 configure_input
='Generated from '`
17500 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17502 if test x
"$ac_file" != x-
; then
17503 configure_input
="$ac_file. $configure_input"
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17505 $as_echo "$as_me: creating $ac_file" >&6;}
17507 # Neutralize special characters interpreted by sed in replacement strings.
17508 case $configure_input in #(
17509 *\
&* |
*\|
* |
*\\* )
17510 ac_sed_conf_input
=`$as_echo "$configure_input" |
17511 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17512 *) ac_sed_conf_input
=$configure_input;;
17516 *:-:* |
*:-) cat >"$tmp/stdin" \
17517 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17522 ac_dir
=`$as_dirname -- "$ac_file" ||
17523 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17524 X"$ac_file" : 'X\(//\)[^/]' \| \
17525 X"$ac_file" : 'X\(//\)$' \| \
17526 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17527 $as_echo X"$ac_file" |
17528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17532 /^X\(\/\/\)[^/].*/{
17545 as_dir
="$ac_dir"; as_fn_mkdir_p
17549 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17551 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17552 # A ".." for each directory in $ac_dir_suffix.
17553 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17554 case $ac_top_builddir_sub in
17555 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17556 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17559 ac_abs_top_builddir
=$ac_pwd
17560 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17561 # for backward compatibility:
17562 ac_top_builddir
=$ac_top_build_prefix
17565 .
) # We are building in place.
17567 ac_top_srcdir
=$ac_top_builddir_sub
17568 ac_abs_top_srcdir
=$ac_pwd ;;
17569 [\\/]* | ?
:[\\/]* ) # Absolute name.
17570 ac_srcdir
=$srcdir$ac_dir_suffix;
17571 ac_top_srcdir
=$srcdir
17572 ac_abs_top_srcdir
=$srcdir ;;
17573 *) # Relative name.
17574 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17575 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17576 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17578 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17588 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17589 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17591 ac_MKDIR_P
=$MKDIR_P
17593 [\\/$
]* | ?
:[\\/]* ) ;;
17594 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17599 # If the template does not know about datarootdir, expand it.
17600 # FIXME: This hack should be removed a few years after 2.60.
17601 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17612 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17613 *datarootdir
*) ac_datarootdir_seen
=yes;;
17614 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17616 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17619 ac_datarootdir_hack='
17620 s&@datadir@&$datadir&g
17621 s&@docdir@&$docdir&g
17622 s&@infodir@&$infodir&g
17623 s&@localedir@&$localedir&g
17624 s&@mandir@&$mandir&g
17625 s&\\\${datarootdir}&$datarootdir&g' ;;
17629 # Neutralize VPATH when `$srcdir' = `.'.
17630 # Shell code in configure.ac might set extrasub.
17631 # FIXME: do we really want to maintain this feature?
17632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17633 ac_sed_extra="$ac_vpsub
17636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17638 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17639 s|@configure_input@|
$ac_sed_conf_input|
;t t
17640 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17641 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17642 s
&@srcdir@
&$ac_srcdir&;t t
17643 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17644 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17645 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17646 s
&@builddir@
&$ac_builddir&;t t
17647 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17648 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17649 s
&@INSTALL@
&$ac_INSTALL&;t t
17650 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17651 $ac_datarootdir_hack
17653 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17654 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17656 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17657 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17658 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17660 which seems to be undefined. Please make sure it is defined." >&5
17661 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17662 which seems to be undefined. Please make sure it is defined." >&2;}
17666 -) cat "$tmp/out" && rm -f "$tmp/out";;
17667 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17669 || as_fn_error "could not create $ac_file" "$LINENO" 5
17675 if test x"$ac_file" != x-; then
17677 $as_echo "/* $configure_input */" \
17678 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17679 } >"$tmp/config.h" \
17680 || as_fn_error "could not create $ac_file" "$LINENO" 5
17681 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17683 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17686 mv "$tmp/config.h" "$ac_file" \
17687 || as_fn_error "could not create $ac_file" "$LINENO" 5
17690 $as_echo "/* $configure_input */" \
17691 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17692 || as_fn_error "could not create -" "$LINENO" 5
17694 # Compute "$ac_file"'s index
in $config_headers.
17697 for _am_header
in $config_headers :; do
17698 case $_am_header in
17699 $_am_arg |
$_am_arg:* )
17702 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17705 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17706 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17707 X"$_am_arg" : 'X\(//\)[^/]' \| \
17708 X"$_am_arg" : 'X\(//\)$' \| \
17709 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17710 $as_echo X"$_am_arg" |
17711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17715 /^X\(\/\/\)[^/].*/{
17727 s/.*/./; q'`/stamp-h
$_am_stamp_count
17730 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17731 $as_echo "$as_me: executing $ac_file commands" >&6;}
17736 case $ac_file$ac_mode in
17737 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17738 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17739 # are listed without --file. Let's play safe and only enable the eval
17740 # if we detect the quoting.
17741 case $CONFIG_FILES in
17742 *\'*) eval set x
"$CONFIG_FILES" ;;
17743 *) set x
$CONFIG_FILES ;;
17748 # Strip MF so we end up with the name of the file.
17749 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17750 # Check whether this is an Automake generated Makefile or not.
17751 # We used to match only the files named `Makefile.in', but
17752 # some people rename them; so instead we look at the file content.
17753 # Grep'ing the first line is not enough: some people post-process
17754 # each Makefile.in and add a new line on top of each file to say so.
17755 # Grep'ing the whole file is not good either: AIX grep has a line
17756 # limit of 2048, but all sed's we know have understand at least 4000.
17757 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17758 dirpart
=`$as_dirname -- "$mf" ||
17759 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17760 X"$mf" : 'X\(//\)[^/]' \| \
17761 X"$mf" : 'X\(//\)$' \| \
17762 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17768 /^X\(\/\/\)[^/].*/{
17784 # Extract the definition of DEPDIR, am__include, and am__quote
17785 # from the Makefile without running `make'.
17786 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17787 test -z "$DEPDIR" && continue
17788 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17789 test -z "am__include" && continue
17790 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17791 # When using ansi2knr, U may be empty or an underscore; expand it
17792 U
=`sed -n 's/^U = //p' < "$mf"`
17793 # Find all dependency output files, they are included files with
17794 # $(DEPDIR) in their names. We invoke sed twice because it is the
17795 # simplest approach to changing $(DEPDIR) to its actual value in the
17797 for file in `sed -n "
17798 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17799 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17800 # Make sure the directory exists.
17801 test -f "$dirpart/$file" && continue
17802 fdir
=`$as_dirname -- "$file" ||
17803 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17804 X"$file" : 'X\(//\)[^/]' \| \
17805 X"$file" : 'X\(//\)$' \| \
17806 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17807 $as_echo X"$file" |
17808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17812 /^X\(\/\/\)[^/].*/{
17825 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17826 # echo "creating $dirpart/$file"
17827 echo '# dummy' > "$dirpart/$file"
17833 for ac_file
in $CONFIG_FILES; do
17834 # Support "outfile[:infile[:infile...]]"
17836 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17838 # PO directories have a Makefile.in generated from Makefile.in.in.
17839 case "$ac_file" in */Makefile.
in)
17840 # Adjust a relative srcdir.
17841 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17842 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17843 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17844 # In autoconf-2.13 it is called $ac_given_srcdir.
17845 # In autoconf-2.50 it is called $srcdir.
17846 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17847 case "$ac_given_srcdir" in
17848 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17849 /*) top_srcdir
="$ac_given_srcdir" ;;
17850 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17852 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17853 rm -f "$ac_dir/POTFILES"
17854 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17855 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17856 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17857 # on $ac_dir but don't depend on user-specified configuration
17859 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17860 # The LINGUAS file contains the set of available languages.
17861 if test -n "$ALL_LINGUAS"; then
17862 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17864 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17865 # Hide the ALL_LINGUAS assigment from automake.
17866 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17868 case "$ac_given_srcdir" in
17870 *) srcdirpre
='$(srcdir)/' ;;
17876 for lang
in $ALL_LINGUAS; do
17877 POFILES
="$POFILES $srcdirpre$lang.po"
17878 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17879 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17880 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17882 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17883 # environment variable.
17885 if test -n "$ALL_LINGUAS"; then
17886 for presentlang
in $ALL_LINGUAS; do
17888 if test "%UNSET%" != "$LINGUAS"; then
17889 desiredlanguages
="$LINGUAS"
17891 desiredlanguages
="$ALL_LINGUAS"
17893 for desiredlang
in $desiredlanguages; do
17894 # Use the presentlang catalog if desiredlang is
17895 # a. equal to presentlang, or
17896 # b. a variant of presentlang (because in this case,
17897 # presentlang can be used as a fallback for messages
17898 # which are not translated in the desiredlang catalog).
17899 case "$desiredlang" in
17900 "$presentlang"*) useit
=yes;;
17903 if test $useit = yes; then
17904 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17909 if test -n "$INST_LINGUAS"; then
17910 for lang
in $INST_LINGUAS; do
17911 CATALOGS
="$CATALOGS $lang.gmo"
17914 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17915 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"
17916 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17917 if test -f "$f"; then
17919 *.orig |
*.bak |
*~
) ;;
17920 *) cat "$f" >> "$ac_dir/Makefile" ;;
17928 "denoiser":C
) if test $denoiserlevel -gt 0; then
17929 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
17930 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" \
17931 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
17932 for i
in `find . -name 'Makefile' -print`; do
17933 if test -n "`head -n 1 $i | grep '^#'`"; then
17934 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
17945 ac_clean_files
=$ac_clean_files_save
17947 test $ac_write_fail = 0 ||
17948 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17951 # configure is writing to config.log, and then calls config.status.
17952 # config.status does its own redirection, appending to config.log.
17953 # Unfortunately, on DOS this fails, as config.log is still kept open
17954 # by configure, so config.status won't be able to write to it; its
17955 # output is simply discarded. So we exec the FD to /dev/null,
17956 # effectively closing config.log, so it can be properly (re)opened and
17957 # appended to by config.status. When coming back to configure, we
17958 # need to make the FD available again.
17959 if test "$no_create" != yes; then
17961 ac_config_status_args
=
17962 test "$silent" = yes &&
17963 ac_config_status_args
="$ac_config_status_args --quiet"
17965 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17967 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17968 # would make configure fail if this is the last instruction.
17969 $ac_cs_success || as_fn_exit $?
17971 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17973 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17977 if test -n "$svndate"; then :
17978 SVN_REVISION
=" ($svndate)"
17985 echo " Configure script has finished system check."
17987 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
17989 echo " aMule enabled options:"
17991 echo " **** aMule Core ****"
17992 echo " Prefix where aMule should be installed? ${prefix:-none}"
17993 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
17994 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
17995 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
17996 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
17997 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
17998 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
17999 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
18000 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
18001 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
18002 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
18005 echo " **** aMule TextClient ****"
18006 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
18008 echo " **** aMule WebServer ****"
18009 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
18011 echo " **** aMule ED2K Links Handler ****"
18012 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
18014 echo " **** aMuleLinkCreator ****"
18015 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
18016 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
18018 echo " **** aMule Statistics ****"
18019 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
18020 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
18021 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
18022 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
18025 echo " **** General Libraries and Tools ****"
18026 echo " Should ccache support be enabled? ${enable_ccache:-no}"
18027 echo " Libraries aMule will use to build:"
18028 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 :
18031 if test $WX_DEBUG -eq 1; then :
18032 wxinfo
="$wxinfo,debug"
18034 if test $WX_SHARED -eq 1; then :
18035 wxinfo
="$wxinfo,shared"
18037 wxinfo
="$wxinfo,static"
18039 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
18042 if test ${with_boost:-no} != no
; then :
18043 if test ${with_boost:-no} = disabled
; then
18044 echo " boost Not detected"
18045 elif test ${boost_cv_inc_path:-yes} != yes; then
18046 echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'` (in ${boost_cv_inc_path})"
18047 elif echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'`"; then
18052 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
18053 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
18055 if test ${enable_upnp:-yes} = yes; then :
18057 if test -n "$with_libupnp_prefix"; then :
18058 libupnp_place
=" (in $with_libupnp_prefix)"
18060 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
18063 if test ${enable_nls:-yes} = yes; then
18064 if test x
$USE_NLS = xno
; then :
18065 libintl_found
="Not detected"
18067 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
18068 libintl_found
="included"
18070 libintl_found
="system"
18073 echo " libintl $libintl_found"
18075 if test ${enable_geoip:-no} = yes; then :
18076 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
18081 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
18082 echo " libGeoIP ${geoip_style}"
18085 if test ${enable_webserver:-no} = yes; then :
18086 echo " libpng ${LIBPNG_VERSION:-Not detected}"
18088 if test ${enable_cas:-no} = yes; then :
18089 echo " libgd ${GDLIB_VERSION:-Not detected}"
18091 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 :
18092 echo " zlib ${ZLIB_VERSION:-Not detected}"
18094 if test ${enable_plasmamule:-no} = yes; then :
18095 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
18096 echo " qt-core-libs ${QT_CORE_LIBS}"
18097 echo " qt-gui-libs ${QT_GUI_LIBS}"
18098 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
18099 echo " kde-headers ${KDE_HEADER_DIR}"
18100 echo " kde-services-path ${KDE_SERVICE_PATH}"
18101 echo " kde-module-path ${KDE_MODULE_PATH}"
18102 echo " kde-icon-path ${KDE_ICON_PATH}"
18103 echo " kde-mime-path ${KDE_MIME_PATH}"
18104 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
18107 if test ${_mule_has_warnings:-no} = yes; then
18110 echo " *** Warnings during configuration ***"
18112 if test ${_mule_warning_0:-no} = yes; then
18115 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
18116 Please check that gdlib-config is in your default path, check out
18117 LD_LIBRARY_PATH or equivalent variable.
18118 Or this might also be that your gdlib-config has other name.
18119 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
18120 /usr/bin/gdlib-config with a valid path to your gdlib-config).
18121 If you use compiled packages check if you have devel pack installed.
18122 To download the latest version check http://www.boutell.com/gd for sources.
18125 if test ${_mule_warning_1:-no} = yes; then
18128 * libpng >= 1.2.0 not found.
18129 amuleweb will be compiled but file download progress bar images will NOT be
18133 if test ${_mule_warning_2:-no} = yes; then
18136 * File::Copy perl module is required by the mldonkey_importer script.
18137 If you want to use this script please install File::Copy from CPAN.
18140 if test ${_mule_warning_3:-no} = yes; then
18143 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
18146 if test ${_mule_warning_4:-no} = yes; then
18149 * GeoIP support has been disabled because the GeoIP libraries were not found
18152 if test ${_mule_warning_5:-no} = yes; then
18155 * GeoIP support has been disabled because the GeoIP header files were not
18159 if test ${_mule_warning_6:-no} = yes; then
18162 * UPnP code has been disabled because ${libupnp_error}.
18165 if test ${_mule_warning_7:-no} = yes; then
18168 * Cross-compilation detected, so exception handling cannot be tested.
18169 Note that broken exception handling in your compiler may lead to unexpected
18173 if test ${_mule_warning_8:-no} = yes; then
18176 * Boost support has been disabled because Boost.System not found
18179 if test ${_mule_warning_9:-no} = yes; then
18182 * Boost support has been disabled because Boost.Asio not found
18185 if test ${_mule_warning_10:-no} = yes; then
18188 * Boost support has been disabled because Boost.Asio not found
18191 if test ${_mule_warning_11:-no} = yes; then
18194 * Boost support has been disabled because of insufficient Boost version.
18197 if test ${_mule_warning_12:-no} = yes; then
18200 * configure cannot check whether malloc() and realloc() are GNU libc
18201 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
18202 configure with the --without-gnu-malloc switch.
18205 if test ${_mule_warning_13:-no} = yes; then
18208 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
18212 if test ${_mule_warning_14:-no} = yes; then
18215 * Cannot link to the library containing the bfd functions.
18218 if test ${_mule_warning_15:-no} = yes; then
18221 * bfd.h not found or unusable, please install binutils development package if
18222 you are a developer or want to help testing aMule