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
604 COMPILE_LIB_COMMON_FALSE
605 COMPILE_LIB_COMMON_TRUE
610 GENERATE_FLEX_HEADER_FALSE
611 GENERATE_FLEX_HEADER_TRUE
614 NEED_CORESERVICES_FALSE
615 NEED_CORESERVICES_TRUE
645 AMULE_DAEMON_MANPAGES
650 INTL_LIBTOOL_SUFFIX_PREFIX
657 BUILD_INCLUDED_LIBINTL
790 MAINTAINER_MODE_FALSE
800 INSTALL_STRIP_PROGRAM
842 program_transform_name
858 enable_option_checking
859 enable_maintainer_mode
860 enable_dependency_tracking
905 with_included_gettext
914 ac_precious_vars
='build_alias
934 # Initialize some variables set by options.
936 ac_init_version
=false
937 ac_unrecognized_opts
=
939 # The variables have the same names as the options, with
940 # dashes changed to underlines.
948 program_transform_name
=s
,x
,x
,
956 # Installation directory options.
957 # These are left unexpanded so users can "make install exec_prefix=/foo"
958 # and all the variables that are supposed to be based on exec_prefix
959 # by default will actually change.
960 # Use braces instead of parens because sh, perl, etc. also accept them.
961 # (The list follows the same order as the GNU Coding Standards.)
962 bindir
='${exec_prefix}/bin'
963 sbindir
='${exec_prefix}/sbin'
964 libexecdir
='${exec_prefix}/libexec'
965 datarootdir
='${prefix}/share'
966 datadir
='${datarootdir}'
967 sysconfdir
='${prefix}/etc'
968 sharedstatedir
='${prefix}/com'
969 localstatedir
='${prefix}/var'
970 includedir
='${prefix}/include'
971 oldincludedir
='/usr/include'
972 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
973 infodir
='${datarootdir}/info'
978 libdir
='${exec_prefix}/lib'
979 localedir
='${datarootdir}/locale'
980 mandir
='${datarootdir}/man'
986 # If the previous option needs an argument, assign it.
987 if test -n "$ac_prev"; then
988 eval $ac_prev=\
$ac_option
994 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998 # Accept the important Cygnus configure options, so we can diagnose typos.
1000 case $ac_dashdash$ac_option in
1004 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1006 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1007 bindir
=$ac_optarg ;;
1009 -build |
--build |
--buil |
--bui |
--bu)
1010 ac_prev
=build_alias
;;
1011 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1012 build_alias
=$ac_optarg ;;
1014 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1015 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1016 ac_prev
=cache_file
;;
1017 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1018 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1019 cache_file
=$ac_optarg ;;
1021 --config-cache |
-C)
1022 cache_file
=config.cache
;;
1024 -datadir |
--datadir |
--datadi |
--datad)
1026 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1027 datadir
=$ac_optarg ;;
1029 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1030 |
--dataroo |
--dataro |
--datar)
1031 ac_prev
=datarootdir
;;
1032 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1033 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1034 datarootdir
=$ac_optarg ;;
1036 -disable-* |
--disable-*)
1037 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1040 as_fn_error
"invalid feature name: $ac_useropt"
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_
$ac_useropt"
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval enable_
$ac_useropt=no
;;
1052 -docdir |
--docdir |
--docdi |
--doc |
--do)
1054 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1055 docdir
=$ac_optarg ;;
1057 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1059 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1060 dvidir
=$ac_optarg ;;
1062 -enable-* |
--enable-*)
1063 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 as_fn_error
"invalid feature name: $ac_useropt"
1067 ac_useropt_orig
=$ac_useropt
1068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_
$ac_useropt"
1073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1074 ac_unrecognized_sep
=', ';;
1076 eval enable_
$ac_useropt=\
$ac_optarg ;;
1078 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1079 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1080 |
--exec |
--exe |
--ex)
1081 ac_prev
=exec_prefix
;;
1082 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1083 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1084 |
--exec=* |
--exe=* |
--ex=*)
1085 exec_prefix
=$ac_optarg ;;
1087 -gas |
--gas |
--ga |
--g)
1088 # Obsolete; use --with-gas.
1091 -help |
--help |
--hel |
--he |
-h)
1092 ac_init_help
=long
;;
1093 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1094 ac_init_help
=recursive
;;
1095 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1096 ac_init_help
=short
;;
1098 -host |
--host |
--hos |
--ho)
1099 ac_prev
=host_alias
;;
1100 -host=* |
--host=* |
--hos=* |
--ho=*)
1101 host_alias
=$ac_optarg ;;
1103 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1105 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1107 htmldir
=$ac_optarg ;;
1109 -includedir |
--includedir |
--includedi |
--included |
--include \
1110 |
--includ |
--inclu |
--incl |
--inc)
1111 ac_prev
=includedir
;;
1112 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1113 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1114 includedir
=$ac_optarg ;;
1116 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1118 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1119 infodir
=$ac_optarg ;;
1121 -libdir |
--libdir |
--libdi |
--libd)
1123 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1124 libdir
=$ac_optarg ;;
1126 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1127 |
--libexe |
--libex |
--libe)
1128 ac_prev
=libexecdir
;;
1129 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1130 |
--libexe=* |
--libex=* |
--libe=*)
1131 libexecdir
=$ac_optarg ;;
1133 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1134 ac_prev
=localedir
;;
1135 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1136 localedir
=$ac_optarg ;;
1138 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1139 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1140 ac_prev
=localstatedir
;;
1141 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1142 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1143 localstatedir
=$ac_optarg ;;
1145 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1147 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1148 mandir
=$ac_optarg ;;
1150 -nfp |
--nfp |
--nf)
1151 # Obsolete; use --without-fp.
1154 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1155 |
--no-cr |
--no-c |
-n)
1158 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1159 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1162 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1163 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1164 |
--oldin |
--oldi |
--old |
--ol |
--o)
1165 ac_prev
=oldincludedir
;;
1166 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1167 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1168 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1169 oldincludedir
=$ac_optarg ;;
1171 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1173 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1174 prefix
=$ac_optarg ;;
1176 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1177 |
--program-pre |
--program-pr |
--program-p)
1178 ac_prev
=program_prefix
;;
1179 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1180 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1181 program_prefix
=$ac_optarg ;;
1183 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1184 |
--program-suf |
--program-su |
--program-s)
1185 ac_prev
=program_suffix
;;
1186 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1187 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1188 program_suffix
=$ac_optarg ;;
1190 -program-transform-name |
--program-transform-name \
1191 |
--program-transform-nam |
--program-transform-na \
1192 |
--program-transform-n |
--program-transform- \
1193 |
--program-transform |
--program-transfor \
1194 |
--program-transfo |
--program-transf \
1195 |
--program-trans |
--program-tran \
1196 |
--progr-tra |
--program-tr |
--program-t)
1197 ac_prev
=program_transform_name
;;
1198 -program-transform-name=* |
--program-transform-name=* \
1199 |
--program-transform-nam=* |
--program-transform-na=* \
1200 |
--program-transform-n=* |
--program-transform-=* \
1201 |
--program-transform=* |
--program-transfor=* \
1202 |
--program-transfo=* |
--program-transf=* \
1203 |
--program-trans=* |
--program-tran=* \
1204 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1205 program_transform_name
=$ac_optarg ;;
1207 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1209 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1210 pdfdir
=$ac_optarg ;;
1212 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1214 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1217 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1218 |
-silent |
--silent |
--silen |
--sile |
--sil)
1221 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1223 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1225 sbindir
=$ac_optarg ;;
1227 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1228 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1229 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1231 ac_prev
=sharedstatedir
;;
1232 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1233 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1234 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1236 sharedstatedir
=$ac_optarg ;;
1238 -site |
--site |
--sit)
1240 -site=* |
--site=* |
--sit=*)
1243 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1245 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1246 srcdir
=$ac_optarg ;;
1248 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1249 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1250 ac_prev
=sysconfdir
;;
1251 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1252 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1253 sysconfdir
=$ac_optarg ;;
1255 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1256 ac_prev
=target_alias
;;
1257 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1258 target_alias
=$ac_optarg ;;
1260 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1263 -version |
--version |
--versio |
--versi |
--vers |
-V)
1264 ac_init_version
=: ;;
1267 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1270 as_fn_error
"invalid package name: $ac_useropt"
1271 ac_useropt_orig
=$ac_useropt
1272 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1278 ac_unrecognized_sep
=', ';;
1280 eval with_
$ac_useropt=\
$ac_optarg ;;
1282 -without-* |
--without-*)
1283 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1294 ac_unrecognized_sep
=', ';;
1296 eval with_
$ac_useropt=no
;;
1299 # Obsolete; use --with-x.
1302 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1303 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1304 ac_prev
=x_includes
;;
1305 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1306 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1307 x_includes
=$ac_optarg ;;
1309 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1310 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1311 ac_prev
=x_libraries
;;
1312 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1313 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1314 x_libraries
=$ac_optarg ;;
1316 -*) as_fn_error
"unrecognized option: \`$ac_option'
1317 Try \`$0 --help' for more information."
1321 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 case $ac_envvar in #(
1324 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1325 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1327 eval $ac_envvar=\
$ac_optarg
1328 export $ac_envvar ;;
1331 # FIXME: should be removed in autoconf 3.0.
1332 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1334 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1341 if test -n "$ac_prev"; then
1342 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1343 as_fn_error
"missing argument to $ac_option"
1346 if test -n "$ac_unrecognized_opts"; then
1347 case $enable_option_checking in
1349 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val
=\$
$ac_var
1361 # Remove trailing slashes.
1364 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\
$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$
]* | ?
:[\\/]* ) continue;;
1370 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1372 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1375 # There might be people who depend on the old broken behavior: `$host'
1376 # used to hold the argument of --host etc.
1377 # FIXME: To remove some day.
1380 target
=$target_alias
1382 # FIXME: To remove some day.
1383 if test "x$host_alias" != x
; then
1384 if test "x$build_alias" = x
; then
1385 cross_compiling
=maybe
1386 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1387 If a cross compiler is detected then cross compile mode will be used." >&2
1388 elif test "x$build_alias" != "x$host_alias"; then
1394 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1396 test "$silent" = yes && exec 6>/dev
/null
1399 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1400 ac_ls_di
=`ls -di .` &&
1401 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1402 as_fn_error
"working directory cannot be determined"
1403 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1404 as_fn_error
"pwd does not report name of working directory"
1407 # Find the source files, if location was not specified.
1408 if test -z "$srcdir"; then
1409 ac_srcdir_defaulted
=yes
1410 # Try the directory containing this script, then the parent directory.
1411 ac_confdir
=`$as_dirname -- "$as_myself" ||
1412 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1413 X"$as_myself" : 'X\(//\)[^/]' \| \
1414 X"$as_myself" : 'X\(//\)$' \| \
1415 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1416 $as_echo X"$as_myself" |
1417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1439 ac_srcdir_defaulted
=no
1441 if test ! -r "$srcdir/$ac_unique_file"; then
1442 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1443 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1445 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1447 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1449 # When building in place, set srcdir=.
1450 if test "$ac_abs_confdir" = "$ac_pwd"; then
1453 # Remove unnecessary trailing slashes from srcdir.
1454 # Double slashes in file names in object file debugging info
1455 # mess up M-x gdb in Emacs.
1457 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1459 for ac_var
in $ac_precious_vars; do
1460 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1461 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1462 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1463 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1467 # Report the --help message.
1469 if test "$ac_init_help" = "long"; then
1470 # Omit some internal or obsolete options to make the list less imposing.
1471 # This message is too long to be a string in the A/UX 3.1 sh.
1473 \`configure' configures aMule SVN to adapt to many kinds of systems.
1475 Usage: $0 [OPTION]... [VAR=VALUE]...
1477 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1478 VAR=VALUE. See below for descriptions of some of the useful variables.
1480 Defaults for the options are specified in brackets.
1483 -h, --help display this help and exit
1484 --help=short display options specific to this package
1485 --help=recursive display the short help of all the included packages
1486 -V, --version display version information and exit
1487 -q, --quiet, --silent do not print \`checking...' messages
1488 --cache-file=FILE cache test results in FILE [disabled]
1489 -C, --config-cache alias for \`--cache-file=config.cache'
1490 -n, --no-create do not create output files
1491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1493 Installation directories:
1494 --prefix=PREFIX install architecture-independent files in PREFIX
1495 [$ac_default_prefix]
1496 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1499 By default, \`make install' will install all the files in
1500 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1501 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1502 for instance \`--prefix=\$HOME'.
1504 For better control, use the options below.
1506 Fine tuning of the installation directories:
1507 --bindir=DIR user executables [EPREFIX/bin]
1508 --sbindir=DIR system admin executables [EPREFIX/sbin]
1509 --libexecdir=DIR program executables [EPREFIX/libexec]
1510 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1511 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1512 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1513 --libdir=DIR object code libraries [EPREFIX/lib]
1514 --includedir=DIR C header files [PREFIX/include]
1515 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1516 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1517 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1518 --infodir=DIR info documentation [DATAROOTDIR/info]
1519 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1520 --mandir=DIR man documentation [DATAROOTDIR/man]
1521 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1522 --htmldir=DIR html documentation [DOCDIR]
1523 --dvidir=DIR dvi documentation [DOCDIR]
1524 --pdfdir=DIR pdf documentation [DOCDIR]
1525 --psdir=DIR ps documentation [DOCDIR]
1531 --program-prefix=PREFIX prepend PREFIX to installed program names
1532 --program-suffix=SUFFIX append SUFFIX to installed program names
1533 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1536 --build=BUILD configure
for building on BUILD
[guessed
]
1537 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1541 if test -n "$ac_init_help"; then
1542 case $ac_init_help in
1543 short | recursive
) echo "Configuration of aMule SVN:";;
1548 --disable-option-checking ignore unrecognized
--enable/--with options
1549 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1550 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1551 --enable-maintainer-mode enable make rules and dependencies not useful
1552 (and sometimes confusing
) to the casual installer
1553 --disable-dependency-tracking speeds up one-time build
1554 --enable-dependency-tracking do not reject slow dependency extractors
1555 --disable-monolithic disable building of the monolithic aMule app
1556 --enable-amule-daemon compile aMule daemon version
1557 --enable-amulecmd compile aMule
command line client
1558 --enable-webserver compile aMule WebServer
1559 --enable-amule-gui compile aMule remote GUI
(EXPERIMENTAL
)
1560 --enable-cas compile C aMule Statistics
1561 --enable-wxcas compile aMule GUI Statistics
1562 --disable-ed2k don
't compile aMule ed2k links handler
1563 --enable-alc compile aMuleLinkCreator GUI version
1564 --enable-alcc compile aMuleLinkCreator for console
1565 --enable-xas install xas XChat2 plugin
1566 --enable-fileview compile aMule file viewer for console (EXPERIMENTAL)
1567 --enable-plasmamule compile aMule plasma applet and engine
1568 --enable-static produce a statically linked executable
1569 --enable-kde-in-home install KDE related stuff in your home dir
1570 --enable-geoip compile with GeoIP IP2Country library
1571 --disable-upnp do not compile UPnP code
1572 --enable-mmap enable using mapped memory if supported
1573 --disable-rpath do not hardcode runtime library paths
1574 --disable-nls do not use Native Language Support
1575 --disable-debug disable additional debugging output
1576 --enable-profile enable code profiling
1577 --enable-optimize enable code optimization
1578 --enable-ccache enable ccache support for fast recompilation
1581 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1582 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1583 --with-kde4-config=PATH kde4-config script to use
1584 --with-moc=PATH Search in PATH for Qt's meta object compiler
1585 --without-gnu-malloc Don
't assume that we use GNU libc compatible
1586 malloc/realloc when cross-compiling
1587 --with-zlib=PREFIX use zlib in PREFIX
1588 --with-gdlib-prefix=PREFIX
1589 prefix where gdlib is installed (optional)
1590 --with-gdlib-config=CONFIG
1591 gdlib-config script to use (optional)
1592 --with-libpng-prefix=PREFIX
1593 prefix where libpng is installed (optional)
1594 --with-libpng-config=CONFIG
1595 libpng-config script to use (optional)
1596 --with-geoip-headers=DIR
1597 GeoIP include files location
1598 --with-geoip-lib=DIR GeoIP library location
1599 --with-geoip-static Explicitly link GeoIP statically (default=no)
1600 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1601 --with-wx-config=CONFIG wx-config script to use (optional)
1602 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1603 --with-wx-exec-prefix=PREFIX
1604 Exec prefix where wxWidgets is installed (optional)
1605 --with-toolkit Build against a specific wxWidgets toolkit (default
1607 --with-wxshared Force building against a shared build of wxWidgets,
1608 even if --disable-shared is given (default is auto)
1609 --with-wxdebug Force building against a debug build of wxWidgets,
1610 even if --disable-debug is given (default is auto)
1611 --with-wxversion Build against a specific version of wxWidgets
1613 --with-libupnp-prefix=PREFIX
1614 UPnP library location
1615 --with-crypto-prefix=PREFIX
1616 prefix where crypto++ is installed
1617 --with-language=<langs> Specify a comma-separated list of languages you want
1618 to have installed. See po/LINGUAS for available
1620 --with-gnu-ld assume the C compiler uses GNU ld default=no
1621 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1622 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1623 --with-included-gettext use the GNU
gettext library included here
1624 --with-libintl-prefix=DIR search
for libintl
in DIR
/include and DIR
/lib
1625 --without-libintl-prefix don
't search for libintl in includedir and libdir
1626 --with-denoise-level=<level>
1627 Specifies denoising level (0-4):
1629 4 - Suppress all normal output
1630 (for more information see
1631 src/utils/scripts/denoiser.rules)
1633 --with-ccache-prefix=PREFIX
1634 prefix where ccache is installed
1636 Some influential environment variables:
1637 CXX C++ compiler command
1638 CXXFLAGS C++ compiler flags
1639 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1640 nonstandard directory <lib dir>
1641 LIBS libraries to pass to the linker, e.g. -l<library>
1642 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1643 you have headers in a nonstandard directory <include dir>
1644 CXXCPP C++ preprocessor
1645 CC C compiler command
1646 CFLAGS C compiler flags
1648 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1649 the first program found out of
: `bison -y', `byacc
', `yacc'.
1650 YFLAGS The list of arguments that will be passed by default to
$YACC.
1651 This
script will default YFLAGS to the empty string to avoid a
1652 default value of
`-d' given by some make applications.
1653 RC Resource Compiler
1654 RCFLAGS Resource Compiler Flags
1655 PKG_CONFIG path to pkg-config utility
1657 Use these variables to override the choices made by `configure
' or to help
1658 it to find libraries and programs with nonstandard names/locations.
1660 Report bugs to <admin@amule.org>.
1665 if test "$ac_init_help" = "recursive"; then
1666 # If there are subdirs, report their specific --help.
1667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1668 test -d "$ac_dir" ||
1669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1677 # A ".." for each directory in $ac_dir_suffix.
1678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1679 case $ac_top_builddir_sub in
1680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1684 ac_abs_top_builddir=$ac_pwd
1685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1686 # for backward compatibility:
1687 ac_top_builddir=$ac_top_build_prefix
1690 .) # We are building in place.
1692 ac_top_srcdir=$ac_top_builddir_sub
1693 ac_abs_top_srcdir=$ac_pwd ;;
1694 [\\/]* | ?:[\\/]* ) # Absolute name.
1695 ac_srcdir=$srcdir$ac_dir_suffix;
1696 ac_top_srcdir=$srcdir
1697 ac_abs_top_srcdir=$srcdir ;;
1699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1700 ac_top_srcdir=$ac_top_build_prefix$srcdir
1701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1705 cd "$ac_dir" || { ac_status=$?; continue; }
1706 # Check for guested configure.
1707 if test -f "$ac_srcdir/configure.gnu"; then
1709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1710 elif test -f "$ac_srcdir/configure"; then
1712 $SHELL "$ac_srcdir/configure" --help=recursive
1714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1716 cd "$ac_pwd" || { ac_status=$?; break; }
1720 test -n "$ac_init_help" && exit $ac_status
1721 if $ac_init_version; then
1724 generated by GNU Autoconf 2.65
1726 Copyright (C) 2009 Free Software Foundation, Inc.
1727 This configure script is free software; the Free Software Foundation
1728 gives unlimited permission to copy, distribute and modify it.
1733 ## ------------------------ ##
1734 ## Autoconf initialization. ##
1735 ## ------------------------ ##
1737 # ac_fn_cxx_try_compile LINENO
1738 # ----------------------------
1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_cxx_try_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext
1744 if { { ac_try="$ac_compile"
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_compile") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^
*+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_cxx_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest.$ac_objext; then :
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's
/^
/|
/' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_cxx_try_compile
1775 # ac_fn_cxx_try_cpp LINENO
1776 # ------------------------
1777 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_cxx_try_cpp ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 if { { ac_try="$ac_cpp conftest.$ac_ext"
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1790 if test -s conftest.err; then
1791 grep -v '^
*+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } >/dev/null && {
1797 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1798 test ! -s conftest.err
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's
/^
/|
/' conftest.$ac_ext >&5
1807 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1808 as_fn_set_status $ac_retval
1810 } # ac_fn_cxx_try_cpp
1812 # ac_fn_c_try_compile LINENO
1813 # --------------------------
1814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_c_try_compile ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 rm -f conftest.$ac_objext
1819 if { { ac_try="$ac_compile"
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_compile") 2>conftest.err
1828 if test -s conftest.err; then
1829 grep -v '^
*+' conftest.err >conftest.er1
1830 cat conftest.er1 >&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && {
1835 test -z "$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1837 } && test -s conftest.$ac_objext; then :
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's
/^
/|
/' conftest.$ac_ext >&5
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 as_fn_set_status $ac_retval
1848 } # ac_fn_c_try_compile
1850 # ac_fn_c_try_cpp LINENO
1851 # ----------------------
1852 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if { { ac_try="$ac_cpp conftest.$ac_ext"
1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1865 if test -s conftest.err; then
1866 grep -v '^
*+' conftest.err >conftest.er1
1867 cat conftest.er1 >&5
1868 mv -f conftest.er1 conftest.err
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } >/dev/null && {
1872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1873 test ! -s conftest.err
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's
/^
/|
/' conftest.$ac_ext >&5
1882 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1883 as_fn_set_status $ac_retval
1887 # ac_fn_c_try_link LINENO
1888 # -----------------------
1889 # Try to link conftest.$ac_ext, and return whether this succeeded.
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 rm -f conftest.$ac_objext conftest$ac_exeext
1894 if { { ac_try="$ac_link"
1896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_link") 2>conftest.err
1903 if test -s conftest.err; then
1904 grep -v '^
*+' conftest.err >conftest.er1
1905 cat conftest.er1 >&5
1906 mv -f conftest.er1 conftest.err
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } && {
1910 test -z "$ac_c_werror_flag" ||
1911 test ! -s conftest.err
1912 } && test -s conftest$ac_exeext && {
1913 test "$cross_compiling" = yes ||
1914 $as_test_x conftest$ac_exeext
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's
/^
/|
/' conftest.$ac_ext >&5
1923 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1924 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1925 # interfere with the next link command; also delete a directory that is
1926 # left behind by Apple's compiler. We
do this before executing the actions.
1927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1929 as_fn_set_status
$ac_retval
1931 } # ac_fn_c_try_link
1933 # ac_fn_c_try_run LINENO
1934 # ----------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1936 # that executables *can* be run.
1939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1940 if { { ac_try
="$ac_link"
1942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1943 *) ac_try_echo=$ac_try;;
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link") 2>&5
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1951 { { case "(($ac_try" in
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_try") 2>&5
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; }; }; then :
1963 $as_echo "$as_me: program exited with status $ac_status" >&5
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.
$ac_ext >&5
1967 ac_retval
=$ac_status
1969 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1971 as_fn_set_status
$ac_retval
1975 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 # -------------------------------------------------------
1977 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 # the include files in INCLUDES and setting the cache variable VAR
1980 ac_fn_c_check_header_mongrel
()
1982 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1983 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987 $as_echo_n "(cached) " >&6
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1993 # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile
"$LINENO"; then :
2002 ac_header_compiler
=yes
2004 ac_header_compiler
=no
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2017 if ac_fn_c_try_cpp
"$LINENO"; then :
2018 ac_header_preproc
=yes
2020 ac_header_preproc
=no
2022 rm -f conftest.err conftest.
$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2026 # So? What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046 ## ------------------------------ ##
2047 ## Report this to admin@amule.org ##
2048 ## ------------------------------ ##
2050 ) |
sed "s/^/$as_me: WARNING: /" >&2
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2056 $as_echo_n "(cached) " >&6
2058 eval "$3=\$ac_header_compiler"
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 $as_echo "$ac_res" >&6; }
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2066 } # ac_fn_c_check_header_mongrel
2068 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2069 # -------------------------------------------------------
2070 # Tests whether HEADER exists and can be compiled using the include files in
2071 # INCLUDES, setting the cache variable VAR accordingly.
2072 ac_fn_c_check_header_compile
()
2074 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076 $as_echo_n "checking for $2... " >&6; }
2077 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 $as_echo_n "(cached) " >&6
2080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2085 if ac_fn_c_try_compile
"$LINENO"; then :
2090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094 $as_echo "$ac_res" >&6; }
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2097 } # ac_fn_c_check_header_compile
2099 # ac_fn_cxx_try_run LINENO
2100 # ------------------------
2101 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2102 # that executables *can* be run.
2103 ac_fn_cxx_try_run
()
2105 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2106 if { { ac_try
="$ac_link"
2108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2112 $as_echo "$ac_try_echo"; } >&5
2113 (eval "$ac_link") 2>&5
2115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2116 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2117 { { case "(($ac_try" in
2118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2119 *) ac_try_echo
=$ac_try;;
2121 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_try") 2>&5
2125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2126 test $ac_status = 0; }; }; then :
2129 $as_echo "$as_me: program exited with status $ac_status" >&5
2130 $as_echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.
$ac_ext >&5
2133 ac_retval
=$ac_status
2135 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2136 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2137 as_fn_set_status
$ac_retval
2139 } # ac_fn_cxx_try_run
2141 # ac_fn_cxx_try_link LINENO
2142 # -------------------------
2143 # Try to link conftest.$ac_ext, and return whether this succeeded.
2144 ac_fn_cxx_try_link
()
2146 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2147 rm -f conftest.
$ac_objext conftest
$ac_exeext
2148 if { { ac_try
="$ac_link"
2150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2151 *) ac_try_echo=$ac_try;;
2153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2154 $as_echo "$ac_try_echo"; } >&5
2155 (eval "$ac_link") 2>conftest.err
2157 if test -s conftest.err; then
2158 grep -v '^ *+' conftest.err >conftest.er1
2159 cat conftest.er1 >&5
2160 mv -f conftest.er1 conftest.err
2162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2163 test $ac_status = 0; } && {
2164 test -z "$ac_cxx_werror_flag" ||
2165 test ! -s conftest.err
2166 } && test -s conftest$ac_exeext && {
2167 test "$cross_compiling" = yes ||
2168 $as_test_x conftest$ac_exeext
2172 $as_echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.$ac_ext >&5
2177 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2178 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2179 # interfere with the next link command; also delete a directory that is
2180 # left behind by Apple's compiler. We do this before executing the actions.
2181 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2183 as_fn_set_status $ac_retval
2185 } # ac_fn_cxx_try_link
2187 # ac_fn_c_check_func LINENO FUNC VAR
2188 # ----------------------------------
2189 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2190 ac_fn_c_check_func ()
2192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2200 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2202 #define $2 innocuous_$2
2204 /* System header to define __stub macros and hopefully few prototypes,
2205 which can conflict with char $2 (); below.
2206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2207 <limits.h> exists even on freestanding compilers. */
2210 # include <limits.h>
2212 # include <assert.h>
2217 /* Override any GCC internal prototype to avoid an error.
2218 Use char because int might match the return type of a GCC
2219 builtin and then its argument prototype would still apply. */
2224 /* The GNU C library defines this for functions which it implements
2225 to always fail with ENOSYS. Some functions are actually named
2226 something starting with __ and the normal name is an alias. */
2227 #if defined __stub_$2 || defined __stub___$2
2239 if ac_fn_c_try_link "$LINENO"; then :
2244 rm -f core conftest.err conftest.$ac_objext \
2245 conftest$ac_exeext conftest.$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2249 $as_echo "$ac_res" >&6; }
2250 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2252 } # ac_fn_c_check_func
2254 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2255 # -------------------------------------------
2256 # Tests whether TYPE exists after having included INCLUDES, setting cache
2257 # variable VAR accordingly.
2258 ac_fn_c_check_type ()
2260 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2262 $as_echo_n "checking for $2... " >&6; }
2263 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2264 $as_echo_n "(cached) " >&6
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2279 if ac_fn_c_try_compile "$LINENO"; then :
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2292 if ac_fn_c_try_compile "$LINENO"; then :
2297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2306 } # ac_fn_c_check_type
2308 # ac_fn_c_check_decl LINENO SYMBOL VAR
2309 # ------------------------------------
2310 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2311 ac_fn_c_check_decl ()
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2315 $as_echo_n "checking whether $2 is declared... " >&6; }
2316 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2317 $as_echo_n "(cached) " >&6
2319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320 /* end confdefs.h. */
2333 if ac_fn_c_try_compile "$LINENO"; then :
2338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2342 $as_echo "$ac_res" >&6; }
2343 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2345 } # ac_fn_c_check_decl
2346 cat >config.log <<_ACEOF
2347 This file contains any messages produced by compilers while
2348 running configure, to aid debugging if configure makes a mistake.
2350 It was created by aMule $as_me SVN, which was
2351 generated by GNU Autoconf 2.65. Invocation command line was
2363 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2364 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2365 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2366 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2367 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2369 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2370 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2372 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2373 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2374 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2375 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2376 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2377 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2378 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir=.
2387 $as_echo "PATH: $as_dir"
2403 # Keep a trace of the command line.
2404 # Strip out --no-create and --no-recursion so they do not pile up.
2405 # Strip out --silent because we don't want to record it for future runs.
2406 # Also quote any args containing shell meta-characters.
2407 # Make two passes to allow for proper duplicate-argument suppression.
2411 ac_must_keep_next=false
2417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2419 | -silent | --silent | --silen | --sile | --sil)
2422 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2425 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2427 as_fn_append ac_configure_args1 " '$ac_arg'"
2428 if test $ac_must_keep_next = true; then
2429 ac_must_keep_next=false # Got value, back to normal.
2432 *=* | --config-cache | -C | -disable-* | --disable-* \
2433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2435 | -with-* | --with-* | -without-* | --without-* | --x)
2436 case "$ac_configure_args0 " in
2437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2440 -* ) ac_must_keep_next=true ;;
2443 as_fn_append ac_configure_args " '$ac_arg'"
2448 { ac_configure_args0=; unset ac_configure_args0;}
2449 { ac_configure_args1=; unset ac_configure_args1;}
2451 # When interrupted or exit'd, cleanup temporary files, and complete
2452 # config.log. We remove comments because anyway the quotes in there
2453 # would cause problems or look ugly.
2454 # WARNING: Use '\'' to represent an apostrophe within the trap.
2455 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2456 trap 'exit_status=$?
2457 # Save into config.log some information that might help in debugging.
2462 ## ---------------- ##
2463 ## Cache variables. ##
2464 ## ---------------- ##
2467 # The following way of writing the cache mishandles newlines in values,
2469 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2470 eval ac_val=\$$ac_var
2474 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2475 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2478 _ | IFS | as_nl) ;; #(
2479 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2480 *) { eval $ac_var=; unset $ac_var;} ;;
2485 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2486 *${as_nl}ac_space=\ *)
2488 "s/'\''/'\''\\\\'\'''\''/g;
2489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2500 ## ----------------- ##
2501 ## Output variables. ##
2502 ## ----------------- ##
2505 for ac_var in $ac_subst_vars
2507 eval ac_val=\$$ac_var
2509 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2511 $as_echo "$ac_var='\''$ac_val'\''"
2515 if test -n "$ac_subst_files"; then
2517 ## ------------------- ##
2518 ## File substitutions. ##
2519 ## ------------------- ##
2522 for ac_var in $ac_subst_files
2524 eval ac_val=\$$ac_var
2526 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2528 $as_echo "$ac_var='\''$ac_val'\''"
2533 if test -s confdefs.h; then
2543 test "$ac_signal" != 0 &&
2544 $as_echo "$as_me: caught signal $ac_signal"
2545 $as_echo "$as_me: exit $exit_status"
2547 rm -f core *.core core.conftest.* &&
2548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2551 for ac_signal in 1 2 13 15; do
2552 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2556 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2557 rm -f -r conftest* confdefs.h
2559 $as_echo "/* confdefs.h */" > confdefs.h
2561 # Predefined preprocessor variables.
2563 cat >>confdefs.h <<_ACEOF
2564 #define PACKAGE_NAME "$PACKAGE_NAME"
2567 cat >>confdefs.h <<_ACEOF
2568 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_STRING "$PACKAGE_STRING"
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2583 cat >>confdefs.h <<_ACEOF
2584 #define PACKAGE_URL "$PACKAGE_URL"
2588 # Let the site file select an alternate cache file if it wants to.
2589 # Prefer an explicitly selected file to automatically selected ones.
2592 if test -n "$CONFIG_SITE"; then
2593 ac_site_file1=$CONFIG_SITE
2594 elif test "x$prefix" != xNONE; then
2595 ac_site_file1=$prefix/share/config.site
2596 ac_site_file2=$prefix/etc/config.site
2598 ac_site_file1=$ac_default_prefix/share/config.site
2599 ac_site_file2=$ac_default_prefix/etc/config.site
2601 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2603 test "x$ac_site_file" = xNONE && continue
2604 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2606 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2607 sed 's/^/| /' "$ac_site_file" >&5
2612 if test -r "$cache_file"; then
2613 # Some versions of bash will fail to source /dev/null (special files
2614 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2615 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2617 $as_echo "$as_me: loading cache $cache_file" >&6;}
2619 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2620 *) . "./$cache_file";;
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2625 $as_echo "$as_me: creating cache $cache_file" >&6;}
2629 as_fn_append ac_header_list " stdlib.h"
2630 as_fn_append ac_header_list " unistd.h"
2631 as_fn_append ac_header_list " sys/param.h"
2632 # Check that the precious variables saved in the cache have kept the same
2634 ac_cache_corrupted=false
2635 for ac_var in $ac_precious_vars; do
2636 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2637 eval ac_new_set=\$ac_env_${ac_var}_set
2638 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2639 eval ac_new_val=\$ac_env_${ac_var}_value
2640 case $ac_old_set,$ac_new_set in
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2643 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2644 ac_cache_corrupted=: ;;
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2647 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2648 ac_cache_corrupted=: ;;
2651 if test "x$ac_old_val" != "x$ac_new_val"; then
2652 # differences in whitespace do not lead to failure.
2653 ac_old_val_w=`echo x
$ac_old_val`
2654 ac_new_val_w=`echo x
$ac_new_val`
2655 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2657 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2658 ac_cache_corrupted=:
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2661 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2662 eval $ac_var=\$ac_old_val
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2665 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2667 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2670 # Pass precious variables to config.status.
2671 if test "$ac_new_set" = set; then
2673 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2674 *) ac_arg=$ac_var=$ac_new_val ;;
2676 case " $ac_configure_args " in
2677 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2678 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2682 if $ac_cache_corrupted; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2686 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2687 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2689 ## -------------------- ##
2690 ## Main body of script. ##
2691 ## -------------------- ##
2694 ac_cpp='$CPP $CPPFLAGS'
2695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2700 am__api_version='1.11'
2703 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2704 for ac_t in install-sh install.sh shtool; do
2705 if test -f "$ac_dir/$ac_t"; then
2707 ac_install_sh="$ac_aux_dir/$ac_t -c"
2712 if test -z "$ac_aux_dir"; then
2713 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2716 # These three variables are undocumented and unsupported,
2717 # and are intended to be withdrawn in a future Autoconf release.
2718 # They can cause serious problems if a builder's source tree is in a directory
2719 # whose full name contains unusual characters.
2720 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2721 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2722 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2725 # Find a good install program. We prefer a C program (faster),
2726 # so one script is as good as another. But avoid the broken or
2727 # incompatible versions:
2728 # SysV /etc/install, /usr/sbin/install
2729 # SunOS /usr/etc/install
2730 # IRIX /sbin/install
2732 # AmigaOS /C/install, which installs bootblocks on floppy discs
2733 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2734 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2735 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2736 # OS/2's system install, which has a completely different semantic
2737 # ./install, which can be erroneously created by make from ./install.sh.
2738 # Reject install programs that cannot install multiple files.
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2740 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2741 if test -z "$INSTALL"; then
2742 if test "${ac_cv_path_install+set}" = set; then :
2743 $as_echo_n "(cached) " >&6
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 # Account for people who put trailing slashes in PATH elements.
2751 case $as_dir/ in #((
2752 ./ | .// | /[cC]/* | \
2753 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2754 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2757 # OSF1 and SCO ODT 3.0 have their own names for install.
2758 # Don't use installbsd from OSF since it installs stuff as root
2760 for ac_prog in ginstall scoinst install; do
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2763 if test $ac_prog = install &&
2764 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2765 # AIX install. It has an incompatible calling convention.
2767 elif test $ac_prog = install &&
2768 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2769 # program-specific install script used by HP pwplus--don't use.
2772 rm -rf conftest.one conftest.two conftest.dir
2773 echo one > conftest.one
2774 echo two > conftest.two
2776 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2777 test -s conftest.one && test -s conftest.two &&
2778 test -s conftest.dir/conftest.one &&
2779 test -s conftest.dir/conftest.two
2781 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2794 rm -rf conftest.one conftest.two conftest.dir
2797 if test "${ac_cv_path_install+set}" = set; then
2798 INSTALL=$ac_cv_path_install
2800 # As a last resort, use the slow shell script. Don't cache a
2801 # value for INSTALL within a source directory, because that will
2802 # break other packages using the cache if that directory is
2803 # removed, or if the value is a relative name.
2804 INSTALL=$ac_install_sh
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2808 $as_echo "$INSTALL" >&6; }
2810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2811 # It thinks the first close brace ends the variable substitution.
2812 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2814 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2816 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2819 $as_echo_n "checking whether build environment is sane... " >&6; }
2822 echo timestamp > conftest.file
2823 # Reject unsafe characters in $srcdir or the absolute working directory
2824 # name. Accept space and tab only in the latter.
2828 *[\\\"\#\$\&\'\`$am_lf]*)
2829 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2832 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2833 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2836 # Do `set' in a subshell so we don't clobber the current shell's
2837 # arguments. Must try -L first in case configure is actually a
2838 # symlink; some systems play weird games with the mod time of symlinks
2839 # (eg FreeBSD returns the mod time of the symlink's containing
2842 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2843 if test "$*" = "X"; then
2845 set X
`ls -t "$srcdir/configure" conftest.file`
2848 if test "$*" != "X $srcdir/configure conftest.file" \
2849 && test "$*" != "X conftest.file $srcdir/configure"; then
2851 # If neither matched, then we have a broken ls. This can happen
2852 # if, for instance, CONFIG_SHELL is bash and it inherits a
2853 # broken ls alias from the environment. This has actually
2854 # happened. Such a system could not be considered "sane".
2855 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2856 alias in your environment" "$LINENO" 5
2859 test "$2" = conftest.
file
2865 as_fn_error
"newly created file is older than distributed files!
2866 Check your system clock" "$LINENO" 5
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2869 $as_echo "yes" >&6; }
2870 test "$program_prefix" != NONE
&&
2871 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2872 # Use a double $ so make ignores it.
2873 test "$program_suffix" != NONE
&&
2874 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2875 # Double any \ or $.
2876 # By default was `s,x,x', remove it if useless.
2877 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2878 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2880 # expand $ac_aux_dir to an absolute path
2881 am_aux_dir
=`cd $ac_aux_dir && pwd`
2883 if test x
"${MISSING+set}" != xset
; then
2886 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2888 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2891 # Use eval to expand $SHELL
2892 if eval "$MISSING --run true"; then
2893 am_missing_run
="$MISSING --run "
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2897 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2900 if test x
"${install_sh}" != xset
; then
2903 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2905 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2909 # Installed binaries are usually stripped using `strip' when the user
2910 # run `make install-strip'. However `strip' might not be the right
2911 # tool to use in cross-compilation environments, therefore Automake
2912 # will honor the `STRIP' environment variable to overrule this program.
2913 if test "$cross_compiling" != no
; then
2914 if test -n "$ac_tool_prefix"; then
2915 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2916 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if test "${ac_cv_prog_STRIP+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$STRIP"; then
2923 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 STRIP
=$ac_cv_prog_STRIP
2943 if test -n "$STRIP"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2945 $as_echo "$STRIP" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2953 if test -z "$ac_cv_prog_STRIP"; then
2955 # Extract the first word of "strip", so it can be a program name with args.
2956 set dummy strip
; ac_word
=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_STRIP"; then
2963 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir
=.
2970 for ac_exec_ext
in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_ac_ct_STRIP
="strip"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2983 if test -n "$ac_ct_STRIP"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2985 $as_echo "$ac_ct_STRIP" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2991 if test "x$ac_ct_STRIP" = x
; then
2994 case $cross_compiling:$ac_tool_warned in
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2998 ac_tool_warned
=yes ;;
3003 STRIP
="$ac_cv_prog_STRIP"
3007 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3010 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3011 if test -z "$MKDIR_P"; then
3012 if test "${ac_cv_path_mkdir+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3019 test -z "$as_dir" && as_dir
=.
3020 for ac_prog
in mkdir gmkdir
; do
3021 for ac_exec_ext
in '' $ac_executable_extensions; do
3022 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3023 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3024 'mkdir (GNU coreutils) '* | \
3025 'mkdir (coreutils) '* | \
3026 'mkdir (fileutils) '4.1*)
3027 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3037 test -d .
/--version && rmdir .
/--version
3038 if test "${ac_cv_path_mkdir+set}" = set; then
3039 MKDIR_P
="$ac_cv_path_mkdir -p"
3041 # As a last resort, use the slow shell script. Don't cache a
3042 # value for MKDIR_P within a source directory, because that will
3043 # break other packages using the cache if that directory is
3044 # removed, or if the value is a relative name.
3045 MKDIR_P
="$ac_install_sh -d"
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3049 $as_echo "$MKDIR_P" >&6; }
3053 [\\/$
]* | ?
:[\\/]*) ;;
3054 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3057 for ac_prog
in gawk mawk nawk
awk
3059 # Extract the first word of "$ac_prog", so it can be a program name with args.
3060 set dummy
$ac_prog; ac_word
=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if test "${ac_cv_prog_AWK+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$AWK"; then
3067 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_AWK
="$ac_prog"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$AWK"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3089 $as_echo "$AWK" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3096 test -n "$AWK" && break
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3100 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3102 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3103 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3104 $as_echo_n "(cached) " >&6
3106 cat >conftest.
make <<\_ACEOF
3109 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3111 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3112 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3114 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3116 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3120 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3122 $as_echo "yes" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3127 SET_MAKE
="MAKE=${MAKE-make}"
3130 rm -rf .tst
2>/dev
/null
3131 mkdir .tst
2>/dev
/null
3132 if test -d .tst
; then
3137 rmdir .tst
2>/dev
/null
3139 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3140 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3141 # is not polluted with repeated "-I."
3142 am__isrc
=' -I$(srcdir)'
3143 # test to see if srcdir already configured
3144 if test -f $srcdir/config.status
; then
3145 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3149 # test whether we have cygpath
3150 if test -z "$CYGPATH_W"; then
3151 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3152 CYGPATH_W
='cygpath -w'
3159 # Define the identity of the package.
3164 cat >>confdefs.h
<<_ACEOF
3165 #define PACKAGE "$PACKAGE"
3169 cat >>confdefs.h
<<_ACEOF
3170 #define VERSION "$VERSION"
3173 # Some tools Automake needs.
3175 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3178 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3181 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3184 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3187 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3189 # We need awk for the "check" target. The system "awk" is bad on
3191 # Always define AMTAR for backward compatibility.
3193 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3195 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3205 ac_config_headers
="$ac_config_headers config.h"
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3209 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3210 # Check whether --enable-maintainer-mode was given.
3211 if test "${enable_maintainer_mode+set}" = set; then :
3212 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3214 USE_MAINTAINER_MODE
=no
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3218 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3219 if test $USE_MAINTAINER_MODE = yes; then
3220 MAINTAINER_MODE_TRUE
=
3221 MAINTAINER_MODE_FALSE
='#'
3223 MAINTAINER_MODE_TRUE
='#'
3224 MAINTAINER_MODE_FALSE
=
3227 MAINT
=$MAINTAINER_MODE_TRUE
3231 # Make sure we can run config.sub.
3232 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3233 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3236 $as_echo_n "checking build system type... " >&6; }
3237 if test "${ac_cv_build+set}" = set; then :
3238 $as_echo_n "(cached) " >&6
3240 ac_build_alias
=$build_alias
3241 test "x$ac_build_alias" = x
&&
3242 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3243 test "x$ac_build_alias" = x
&&
3244 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3245 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3246 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3250 $as_echo "$ac_cv_build" >&6; }
3251 case $ac_cv_build in
3253 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3256 ac_save_IFS
=$IFS; IFS
='-'
3262 # Remember, the first character of IFS is used to create $*,
3263 # except with old shells:
3266 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3270 $as_echo_n "checking host system type... " >&6; }
3271 if test "${ac_cv_host+set}" = set; then :
3272 $as_echo_n "(cached) " >&6
3274 if test "x$host_alias" = x
; then
3275 ac_cv_host
=$ac_cv_build
3277 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3278 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3283 $as_echo "$ac_cv_host" >&6; }
3286 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3289 ac_save_IFS
=$IFS; IFS
='-'
3295 # Remember, the first character of IFS is used to create $*,
3296 # except with old shells:
3299 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3303 case "${host_os}" in
3306 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3307 MULELDFLAGS
="-bind_at_load"
3308 touch src
/Scanner.cpp
3312 LIBS
="$LIBS -L/usr/local/lib"
3313 MULECPPFLAGS
="-D__OPENBSD__"
3315 *cygwin
* |
*mingw32
*)
3317 MULECPPFLAGS
="-DNOMINMAX"
3321 RESOLV_LIB
="-lresolv -lnsl"
3326 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3327 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3328 # Still, we prepend them, instead of adding, so the user may override them.
3329 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3330 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3334 MULECPPFLAGS
="-D__IRIX__"
3341 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3342 if test ${SYS:-unknown} != win32
; then :
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3345 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3346 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3348 MULELDFLAGS
="$MULELDFLAGS -pthread"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3350 $as_echo "yes" >&6; }
3354 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3364 mule_backup_CFLAGS
="$CFLAGS"
3365 mule_backup_CXXFLAGS
="$CXXFLAGS"
3366 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3368 ac_cpp
='$CXXCPP $CPPFLAGS'
3369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3372 if test -z "$CXX"; then
3373 if test -n "$CCC"; then
3376 if test -n "$ac_tool_prefix"; then
3377 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3380 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 $as_echo_n "checking for $ac_word... " >&6; }
3383 if test "${ac_cv_prog_CXX+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3386 if test -n "$CXX"; then
3387 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_exec_ext
in '' $ac_executable_extensions; do
3395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3396 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 if test -n "$CXX"; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3409 $as_echo "$CXX" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3416 test -n "$CXX" && break
3419 if test -z "$CXX"; then
3421 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3423 # Extract the first word of "$ac_prog", so it can be a program name with args.
3424 set dummy
$ac_prog; ac_word
=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3428 $as_echo_n "(cached) " >&6
3430 if test -n "$ac_ct_CXX"; then
3431 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3437 test -z "$as_dir" && as_dir
=.
3438 for ac_exec_ext
in '' $ac_executable_extensions; do
3439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3440 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3451 if test -n "$ac_ct_CXX"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3453 $as_echo "$ac_ct_CXX" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3460 test -n "$ac_ct_CXX" && break
3463 if test "x$ac_ct_CXX" = x
; then
3466 case $cross_compiling:$ac_tool_warned in
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3470 ac_tool_warned
=yes ;;
3478 # Provide some information about the compiler.
3479 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3482 for ac_option
in --version -v -V -qversion; do
3483 { { ac_try
="$ac_compiler $ac_option >&5"
3485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3492 if test -s conftest.err; then
3494 ... rest of stderr output deleted ...
3495 10q' conftest.err >conftest.er1
3496 cat conftest.er1 >&5
3498 rm -f conftest.er1 conftest.err
3499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3500 test $ac_status = 0; }
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 ac_clean_files_save=$ac_clean_files
3515 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3516 # Try to create an executable without -o first, disregard a.out.
3517 # It will help us diagnose broken compilers, and finding out an intuition
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3520 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3521 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3523 # The possible output files:
3524 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3527 for ac_file in $ac_files
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3531 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3536 if { { ac_try="$ac_link_default"
3538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3539 *) ac_try_echo
=$ac_try;;
3541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3542 $as_echo "$ac_try_echo"; } >&5
3543 (eval "$ac_link_default") 2>&5
3545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3546 test $ac_status = 0; }; then :
3547 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3548 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3549 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3550 # so that the user can short-circuit this test for compilers unknown to
3552 for ac_file
in $ac_files ''
3554 test -f "$ac_file" ||
continue
3556 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3559 # We found the default executable, but exeext='' is most
3563 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3565 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3567 # We set ac_cv_exeext here because the later test for it is not
3568 # safe: cross compilers may not add the suffix if given an `-o'
3569 # argument, so we may need to know it at that point already.
3570 # Even if this section looks crufty: it has the advantage of
3577 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3582 if test -z "$ac_file"; then :
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3585 $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.
$ac_ext >&5
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 { as_fn_set_status
77
3591 as_fn_error
"C++ compiler cannot create executables
3592 See \`config.log' for more details." "$LINENO" 5; }; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3598 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3600 $as_echo "$ac_file" >&6; }
3601 ac_exeext
=$ac_cv_exeext
3603 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3604 ac_clean_files
=$ac_clean_files_save
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3606 $as_echo_n "checking for suffix of executables... " >&6; }
3607 if { { ac_try
="$ac_link"
3609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_link") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; then :
3618 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3619 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3620 # work properly (i.e., refer to `conftest.exe'), while it won't with
3622 for ac_file
in conftest.exe conftest conftest.
*; do
3623 test -f "$ac_file" ||
continue
3625 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3626 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3635 See \`config.log' for more details." "$LINENO" 5; }
3637 rm -f conftest conftest
$ac_cv_exeext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3639 $as_echo "$ac_cv_exeext" >&6; }
3641 rm -f conftest.
$ac_ext
3642 EXEEXT
=$ac_cv_exeext
3644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3650 FILE *f = fopen ("conftest.out", "w");
3651 return ferror (f) || fclose (f) != 0;
3657 ac_clean_files
="$ac_clean_files conftest.out"
3658 # Check that the compiler produces executables we can run. If not, either
3659 # the compiler is broken, or we cross compile.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3661 $as_echo_n "checking whether we are cross compiling... " >&6; }
3662 if test "$cross_compiling" != yes; then
3663 { { ac_try
="$ac_link"
3665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_link") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }
3674 if { ac_try='./conftest$ac_cv_exeext'
3675 { { case "(($ac_try" in
3676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3677 *) ac_try_echo
=$ac_try;;
3679 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681 (eval "$ac_try") 2>&5
3683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684 test $ac_status = 0; }; }; then
3687 if test "$cross_compiling" = maybe
; then
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error
"cannot run C++ compiled programs.
3693 If you meant to cross compile, use \`--host'.
3694 See \`config.log' for more details." "$LINENO" 5; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3699 $as_echo "$cross_compiling" >&6; }
3701 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3702 ac_clean_files
=$ac_clean_files_save
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3704 $as_echo_n "checking for suffix of object files... " >&6; }
3705 if test "${ac_cv_objext+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3719 rm -f conftest.o conftest.obj
3720 if { { ac_try
="$ac_compile"
3722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_compile") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }; then :
3731 for ac_file in conftest.o conftest.obj conftest.*; do
3732 test -f "$ac_file" || continue;
3734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3740 $as_echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3745 as_fn_error "cannot compute suffix of object files
: cannot compile
3746 See \
`config.log' for more details." "$LINENO" 5; }
3748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3751 $as_echo "$ac_cv_objext" >&6; }
3752 OBJEXT=$ac_cv_objext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3755 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3756 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3773 if ac_fn_cxx_try_compile "$LINENO"; then :
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3783 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3784 if test $ac_compiler_gnu = yes; then
3789 ac_test_CXXFLAGS=${CXXFLAGS+set}
3790 ac_save_CXXFLAGS=$CXXFLAGS
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3792 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3793 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3796 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3797 ac_cxx_werror_flag=yes
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3811 if ac_fn_cxx_try_compile "$LINENO"; then :
3812 ac_cv_prog_cxx_g=yes
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_cxx_try_compile "$LINENO"; then :
3829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3842 if ac_fn_cxx_try_compile "$LINENO"; then :
3843 ac_cv_prog_cxx_g=yes
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3853 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3854 if test "$ac_test_CXXFLAGS" = set; then
3855 CXXFLAGS=$ac_save_CXXFLAGS
3856 elif test $ac_cv_prog_cxx_g = yes; then
3857 if test "$GXX" = yes; then
3863 if test "$GXX" = yes; then
3870 ac_cpp='$CPP $CPPFLAGS'
3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3874 DEPDIR="${am__leading_dot}deps"
3876 ac_config_commands="$ac_config_commands depfiles"
3879 am_make=${MAKE-make}
3880 cat > confinc << 'END'
3882 @echo this is the am__doit target
3885 # If we don't find an include directive, just comment out the code.
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3887 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3891 # First try GNU make style include.
3892 echo "include confinc" > confmf
3893 # Ignore all kinds of additional output from `make'.
3894 case `$am_make -s -f confmf 2> /dev/null` in #(
3895 *the\ am__doit\ target*)
3901 # Now try BSD make style include.
3902 if test "$am__include" = "#"; then
3903 echo '.include
"confinc"' > confmf
3904 case `$am_make -s -f confmf 2> /dev/null` in #(
3905 *the\ am__doit\ target*)
3906 am__include=.include
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3915 $as_echo "$_am_result" >&6; }
3916 rm -f confinc confmf
3918 # Check whether --enable-dependency-tracking was given.
3919 if test "${enable_dependency_tracking+set}" = set; then :
3920 enableval=$enable_dependency_tracking;
3923 if test "x$enable_dependency_tracking" != xno; then
3924 am_depcomp="$ac_aux_dir/depcomp"
3927 if test "x$enable_dependency_tracking" != xno
; then
3937 depcc
="$CXX" am_compiler_list
=
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3940 $as_echo_n "checking dependency style of $depcc... " >&6; }
3941 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3942 $as_echo_n "(cached) " >&6
3944 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3945 # We make a subdir and do the tests there. Otherwise we can end up
3946 # making bogus files that we don't know about and never remove. For
3947 # instance it was reported that on HP-UX the gcc test will end up
3948 # making a dummy file named `D' -- because `-MD' means `put the output
3951 # Copy depcomp to subdir because otherwise we won't find it if we're
3952 # using a relative directory.
3953 cp "$am_depcomp" conftest.dir
3955 # We will build objects and dependencies in a subdirectory because
3956 # it helps to detect inapplicable dependency modes. For instance
3957 # both Tru64's cc and ICC support -MD to output dependencies as a
3958 # side effect of compilation, but ICC will put the dependencies in
3959 # the current directory while Tru64 will put them in the object
3963 am_cv_CXX_dependencies_compiler_type
=none
3964 if test "$am_compiler_list" = ""; then
3965 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3968 case " $depcc " in #(
3969 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3972 for depmode
in $am_compiler_list; do
3973 # Setup a source with many dependencies, because some compilers
3974 # like to wrap large dependency lists on column 80 (with \), and
3975 # we should not choose a depcomp mode which is confused by this.
3977 # We need to recreate these files for each test, as the compiler may
3978 # overwrite some of them when testing with obscure command lines.
3979 # This happens at least with the AIX C compiler.
3981 for i
in 1 2 3 4 5 6; do
3982 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3983 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3984 # Solaris 8's {/usr,}/bin/sh.
3985 touch sub
/conftst
$i.h
3987 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3989 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3990 # mode. It turns out that the SunPro C++ compiler does not properly
3991 # handle `-M -o', and we need to detect this. Also, some Intel
3992 # versions had trouble with output in subdirs
3993 am__obj
=sub
/conftest.
${OBJEXT-o}
3994 am__minus_obj
="-o $am__obj"
3997 # This depmode causes a compiler race in universal mode.
3998 test "$am__universal" = false ||
continue
4001 # after this tag, mechanisms are not by side-effect, so they'll
4002 # only be used when explicitly requested
4003 if test "x$enable_dependency_tracking" = xyes
; then
4009 msvisualcpp | msvcmsys
)
4010 # This compiler won't grok `-c -o', but also, the minuso test has
4011 # not run yet. These depmodes are late enough in the game, and
4012 # so weak that their functioning should not be impacted.
4013 am__obj
=conftest.
${OBJEXT-o}
4018 if depmode
=$depmode \
4019 source=sub
/conftest.c object
=$am__obj \
4020 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4021 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4022 >/dev
/null
2>conftest.err
&&
4023 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4024 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4025 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4026 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4027 # icc doesn't choke on unknown options, it will just issue warnings
4028 # or remarks (even with -Werror). So we grep stderr for any message
4029 # that says an option was ignored or not supported.
4030 # When given -MP, icc 7.0 and 7.1 complain thusly:
4031 # icc: Command line warning: ignoring option '-M'; no argument required
4032 # The diagnosis changed in icc 8.0:
4033 # icc: Command line remark: option '-MP' not supported
4034 if (grep 'ignoring option' conftest.err ||
4035 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4036 am_cv_CXX_dependencies_compiler_type
=$depmode
4045 am_cv_CXX_dependencies_compiler_type
=none
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4050 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4051 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4054 test "x$enable_dependency_tracking" != xno \
4055 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4056 am__fastdepCXX_TRUE
=
4057 am__fastdepCXX_FALSE
='#'
4059 am__fastdepCXX_TRUE
='#'
4060 am__fastdepCXX_FALSE
=
4065 ac_cpp
='$CXXCPP $CPPFLAGS'
4066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4070 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4071 if test -z "$CXXCPP"; then
4072 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 # Double quotes because CXXCPP needs to be expanded
4076 for CXXCPP
in "$CXX -E" "/lib/cpp"
4079 for ac_cxx_preproc_warn_flag
in '' yes
4081 # Use a header file that comes with gcc, so configuring glibc
4082 # with a fresh cross-compiler works.
4083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4084 # <limits.h> exists even on freestanding compilers.
4085 # On the NeXT, cc -E runs the code through the compiler's parser,
4086 # not just through cpp. "Syntax error" is here to catch this case.
4087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4090 # include <limits.h>
4092 # include <assert.h>
4096 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4099 # Broken: fails on valid input.
4102 rm -f conftest.err conftest.
$ac_ext
4104 # OK, works on sane cases. Now check whether nonexistent headers
4105 # can be detected and how.
4106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4108 #include <ac_nonexistent.h>
4110 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4111 # Broken: success on invalid input.
4114 # Passes both tests.
4118 rm -f conftest.err conftest.
$ac_ext
4121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4122 rm -f conftest.err conftest.
$ac_ext
4123 if $ac_preproc_ok; then :
4128 ac_cv_prog_CXXCPP
=$CXXCPP
4131 CXXCPP
=$ac_cv_prog_CXXCPP
4133 ac_cv_prog_CXXCPP
=$CXXCPP
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4136 $as_echo "$CXXCPP" >&6; }
4138 for ac_cxx_preproc_warn_flag
in '' yes
4140 # Use a header file that comes with gcc, so configuring glibc
4141 # with a fresh cross-compiler works.
4142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4143 # <limits.h> exists even on freestanding compilers.
4144 # On the NeXT, cc -E runs the code through the compiler's parser,
4145 # not just through cpp. "Syntax error" is here to catch this case.
4146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4149 # include <limits.h>
4151 # include <assert.h>
4155 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4158 # Broken: fails on valid input.
4161 rm -f conftest.err conftest.
$ac_ext
4163 # OK, works on sane cases. Now check whether nonexistent headers
4164 # can be detected and how.
4165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167 #include <ac_nonexistent.h>
4169 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4170 # Broken: success on invalid input.
4173 # Passes both tests.
4177 rm -f conftest.err conftest.
$ac_ext
4180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4181 rm -f conftest.err conftest.
$ac_ext
4182 if $ac_preproc_ok; then :
4185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4187 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4188 See \`config.log' for more details." "$LINENO" 5; }
4192 ac_cpp
='$CPP $CPPFLAGS'
4193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4198 ac_cpp
='$CPP $CPPFLAGS'
4199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4202 if test -n "$ac_tool_prefix"; then
4203 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4204 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if test "${ac_cv_prog_CC+set}" = set; then :
4208 $as_echo_n "(cached) " >&6
4210 if test -n "$CC"; then
4211 ac_cv_prog_CC
="$CC" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4220 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 if test -n "$CC"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4233 $as_echo "$CC" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4241 if test -z "$ac_cv_prog_CC"; then
4243 # Extract the first word of "gcc", so it can be a program name with args.
4244 set dummy gcc
; ac_word
=$2
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246 $as_echo_n "checking for $ac_word... " >&6; }
4247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4250 if test -n "$ac_ct_CC"; then
4251 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4260 ac_cv_prog_ac_ct_CC
="gcc"
4261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4271 if test -n "$ac_ct_CC"; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4273 $as_echo "$ac_ct_CC" >&6; }
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4276 $as_echo "no" >&6; }
4279 if test "x$ac_ct_CC" = x
; then
4282 case $cross_compiling:$ac_tool_warned in
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4286 ac_tool_warned
=yes ;;
4294 if test -z "$CC"; then
4295 if test -n "$ac_tool_prefix"; then
4296 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4297 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if test "${ac_cv_prog_CC+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4303 if test -n "$CC"; then
4304 ac_cv_prog_CC
="$CC" # Let the user override the test.
4306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir
=.
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 if test -n "$CC"; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4326 $as_echo "$CC" >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4335 if test -z "$CC"; then
4336 # Extract the first word of "cc", so it can be a program name with args.
4337 set dummy cc
; ac_word
=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if test "${ac_cv_prog_CC+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$CC"; then
4344 ac_cv_prog_CC
="$CC" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4355 ac_prog_rejected
=yes
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 if test $ac_prog_rejected = yes; then
4367 # We found a bogon in the path, so make sure we never use it.
4368 set dummy
$ac_cv_prog_CC
4370 if test $# != 0; then
4371 # We chose a different compiler from the bogus one.
4372 # However, it has the same basename, so the bogon will be chosen
4373 # first if we set CC to just the basename; use the full file name.
4375 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4381 if test -n "$CC"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4383 $as_echo "$CC" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4391 if test -z "$CC"; then
4392 if test -n "$ac_tool_prefix"; then
4393 for ac_prog
in cl.exe
4395 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4396 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if test "${ac_cv_prog_CC+set}" = set; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$CC"; then
4403 ac_cv_prog_CC
="$CC" # Let the user override the test.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4412 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 if test -n "$CC"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4425 $as_echo "$CC" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$CC" && break
4435 if test -z "$CC"; then
4437 for ac_prog
in cl.exe
4439 # Extract the first word of "$ac_prog", so it can be a program name with args.
4440 set dummy
$ac_prog; ac_word
=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4444 $as_echo_n "(cached) " >&6
4446 if test -n "$ac_ct_CC"; then
4447 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir
=.
4454 for ac_exec_ext
in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_prog_ac_ct_CC
="$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4467 if test -n "$ac_ct_CC"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4469 $as_echo "$ac_ct_CC" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$ac_ct_CC" && break
4479 if test "x$ac_ct_CC" = x
; then
4482 case $cross_compiling:$ac_tool_warned in
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4486 ac_tool_warned
=yes ;;
4495 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4497 as_fn_error
"no acceptable C compiler found in \$PATH
4498 See \`config.log' for more details." "$LINENO" 5; }
4500 # Provide some information about the compiler.
4501 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4504 for ac_option
in --version -v -V -qversion; do
4505 { { ac_try
="$ac_compiler $ac_option >&5"
4507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4508 *) ac_try_echo=$ac_try;;
4510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4511 $as_echo "$ac_try_echo"; } >&5
4512 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4514 if test -s conftest.err; then
4516 ... rest of stderr output deleted ...
4517 10q' conftest.err >conftest.er1
4518 cat conftest.er1 >&5
4520 rm -f conftest.er1 conftest.err
4521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4522 test $ac_status = 0; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4526 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4527 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4544 if ac_fn_c_try_compile "$LINENO"; then :
4549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4554 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4555 if test $ac_compiler_gnu = yes; then
4560 ac_test_CFLAGS=${CFLAGS+set}
4561 ac_save_CFLAGS=$CFLAGS
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4563 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4564 if test "${ac_cv_prog_cc_g+set}" = set; then :
4565 $as_echo_n "(cached) " >&6
4567 ac_save_c_werror_flag=$ac_c_werror_flag
4568 ac_c_werror_flag=yes
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 if ac_fn_c_try_compile "$LINENO"; then :
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4597 if ac_fn_c_try_compile "$LINENO"; then :
4600 ac_c_werror_flag=$ac_save_c_werror_flag
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4613 if ac_fn_c_try_compile "$LINENO"; then :
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 ac_c_werror_flag=$ac_save_c_werror_flag
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4624 $as_echo "$ac_cv_prog_cc_g" >&6; }
4625 if test "$ac_test_CFLAGS" = set; then
4626 CFLAGS=$ac_save_CFLAGS
4627 elif test $ac_cv_prog_cc_g = yes; then
4628 if test "$GCC" = yes; then
4634 if test "$GCC" = yes; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4642 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 ac_cv_prog_cc_c89=no
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4651 #include <sys/types.h>
4652 #include <sys/stat.h>
4653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4654 struct buf { int x; };
4655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4656 static char *e (p, i)
4662 static char *f (char * (*g) (char **, int), char **p, ...)
4667 s = g (p, va_arg (v,int));
4672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4673 function prototypes and stuff, but not '\xHH' hex character constants.
4674 These don't provoke an error unfortunately, instead are silently treated
4675 as 'x'. The following induces an error, until -std is added to get
4676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4677 array size at least. It's necessary to write '\x00'==0 to get something
4678 that's true only with -std. */
4679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4682 inside strings and character constants. */
4684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4686 int test (int i, double x);
4687 struct s1 {int (*f) (int a);};
4688 struct s2 {int (*f) (double a);};
4689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4703 CC="$ac_save_CC $ac_arg"
4704 if ac_fn_c_try_compile "$LINENO"; then :
4705 ac_cv_prog_cc_c89=$ac_arg
4707 rm -f core conftest.err conftest.$ac_objext
4708 test "x$ac_cv_prog_cc_c89" != "xno" && break
4710 rm -f conftest.$ac_ext
4715 case "x$ac_cv_prog_cc_c89" in
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4718 $as_echo "none needed" >&6; } ;;
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4721 $as_echo "unsupported" >&6; } ;;
4723 CC="$CC $ac_cv_prog_cc_c89"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4727 if test "x$ac_cv_prog_cc_c89" != xno; then :
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4737 depcc="$CC" am_compiler_list=
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4740 $as_echo_n "checking dependency style of $depcc... " >&6; }
4741 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4742 $as_echo_n "(cached) " >&6
4744 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4745 # We make a subdir and do the tests there. Otherwise we can end up
4746 # making bogus files that we don't know about and never remove. For
4747 # instance it was reported that on HP-UX the gcc test will end up
4748 # making a dummy file named `D
' -- because `-MD' means
`put the output
4751 # Copy depcomp to subdir because otherwise we won't find it if we're
4752 # using a relative directory.
4753 cp "$am_depcomp" conftest.dir
4755 # We will build objects and dependencies in a subdirectory because
4756 # it helps to detect inapplicable dependency modes. For instance
4757 # both Tru64's cc and ICC support -MD to output dependencies as a
4758 # side effect of compilation, but ICC will put the dependencies in
4759 # the current directory while Tru64 will put them in the object
4763 am_cv_CC_dependencies_compiler_type=none
4764 if test "$am_compiler_list" = ""; then
4765 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4768 case " $depcc " in #(
4769 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4772 for depmode in $am_compiler_list; do
4773 # Setup a source with many dependencies, because some compilers
4774 # like to wrap large dependency lists on column 80 (with \), and
4775 # we should not choose a depcomp mode which is confused by this.
4777 # We need to recreate these files for each test, as the compiler may
4778 # overwrite some of them when testing with obscure command lines.
4779 # This happens at least with the AIX C compiler.
4781 for i in 1 2 3 4 5 6; do
4782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4783 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4784 # Solaris 8's
{/usr
,}/bin
/sh.
4785 touch sub
/conftst
$i.h
4787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4789 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4790 # mode. It turns out that the SunPro C++ compiler does not properly
4791 # handle `-M -o', and we need to detect this. Also, some Intel
4792 # versions had trouble with output in subdirs
4793 am__obj
=sub
/conftest.
${OBJEXT-o}
4794 am__minus_obj
="-o $am__obj"
4797 # This depmode causes a compiler race in universal mode.
4798 test "$am__universal" = false ||
continue
4801 # after this tag, mechanisms are not by side-effect, so they'll
4802 # only be used when explicitly requested
4803 if test "x$enable_dependency_tracking" = xyes
; then
4809 msvisualcpp | msvcmsys
)
4810 # This compiler won't grok `-c -o', but also, the minuso test has
4811 # not run yet. These depmodes are late enough in the game, and
4812 # so weak that their functioning should not be impacted.
4813 am__obj
=conftest.
${OBJEXT-o}
4818 if depmode
=$depmode \
4819 source=sub
/conftest.c object
=$am__obj \
4820 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4821 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4822 >/dev
/null
2>conftest.err
&&
4823 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4824 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4825 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4826 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4827 # icc doesn't choke on unknown options, it will just issue warnings
4828 # or remarks (even with -Werror). So we grep stderr for any message
4829 # that says an option was ignored or not supported.
4830 # When given -MP, icc 7.0 and 7.1 complain thusly:
4831 # icc: Command line warning: ignoring option '-M'; no argument required
4832 # The diagnosis changed in icc 8.0:
4833 # icc: Command line remark: option '-MP' not supported
4834 if (grep 'ignoring option' conftest.err ||
4835 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4836 am_cv_CC_dependencies_compiler_type
=$depmode
4845 am_cv_CC_dependencies_compiler_type
=none
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4850 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4851 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4854 test "x$enable_dependency_tracking" != xno \
4855 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4857 am__fastdepCC_FALSE
='#'
4859 am__fastdepCC_TRUE
='#'
4860 am__fastdepCC_FALSE
=
4865 ac_cpp
='$CPP $CPPFLAGS'
4866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4870 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4871 # On Suns, sometimes $CPP names a directory.
4872 if test -n "$CPP" && test -d "$CPP"; then
4875 if test -z "$CPP"; then
4876 if test "${ac_cv_prog_CPP+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 # Double quotes because CPP needs to be expanded
4880 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4883 for ac_c_preproc_warn_flag
in '' yes
4885 # Use a header file that comes with gcc, so configuring glibc
4886 # with a fresh cross-compiler works.
4887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4888 # <limits.h> exists even on freestanding compilers.
4889 # On the NeXT, cc -E runs the code through the compiler's parser,
4890 # not just through cpp. "Syntax error" is here to catch this case.
4891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4894 # include <limits.h>
4896 # include <assert.h>
4900 if ac_fn_c_try_cpp
"$LINENO"; then :
4903 # Broken: fails on valid input.
4906 rm -f conftest.err conftest.
$ac_ext
4908 # OK, works on sane cases. Now check whether nonexistent headers
4909 # can be detected and how.
4910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4912 #include <ac_nonexistent.h>
4914 if ac_fn_c_try_cpp
"$LINENO"; then :
4915 # Broken: success on invalid input.
4918 # Passes both tests.
4922 rm -f conftest.err conftest.
$ac_ext
4925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4926 rm -f conftest.err conftest.
$ac_ext
4927 if $ac_preproc_ok; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4940 $as_echo "$CPP" >&6; }
4942 for ac_c_preproc_warn_flag
in '' yes
4944 # Use a header file that comes with gcc, so configuring glibc
4945 # with a fresh cross-compiler works.
4946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4947 # <limits.h> exists even on freestanding compilers.
4948 # On the NeXT, cc -E runs the code through the compiler's parser,
4949 # not just through cpp. "Syntax error" is here to catch this case.
4950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4953 # include <limits.h>
4955 # include <assert.h>
4959 if ac_fn_c_try_cpp
"$LINENO"; then :
4962 # Broken: fails on valid input.
4965 rm -f conftest.err conftest.
$ac_ext
4967 # OK, works on sane cases. Now check whether nonexistent headers
4968 # can be detected and how.
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4971 #include <ac_nonexistent.h>
4973 if ac_fn_c_try_cpp
"$LINENO"; then :
4974 # Broken: success on invalid input.
4977 # Passes both tests.
4981 rm -f conftest.err conftest.
$ac_ext
4984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4985 rm -f conftest.err conftest.
$ac_ext
4986 if $ac_preproc_ok; then :
4989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4991 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4992 See \`config.log' for more details." "$LINENO" 5; }
4996 ac_cpp
='$CPP $CPPFLAGS'
4997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5002 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5004 if test "$cross_compiling" = yes; then :
5006 # Even if we're cross-compiling, we want a compiler here
5007 # that is not a cross-compiler.
5008 saved_cross
=$cross_compiling
5012 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5013 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5014 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5016 if test -n "$ac_build_prefix"; then
5017 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5018 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5024 if test -n "$BUILD_CC"; then
5025 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir
=.
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 BUILD_CC
=$ac_cv_prog_BUILD_CC
5045 if test -n "$BUILD_CC"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5047 $as_echo "$BUILD_CC" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5055 if test -z "$ac_cv_prog_BUILD_CC"; then
5056 ac_ct_BUILD_CC
=$BUILD_CC
5057 # Extract the first word of "gcc", so it can be a program name with args.
5058 set dummy gcc
; ac_word
=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -n "$ac_ct_BUILD_CC"; then
5065 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir
=.
5072 for ac_exec_ext
in '' $ac_executable_extensions; do
5073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5085 if test -n "$ac_ct_BUILD_CC"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5087 $as_echo "$ac_ct_BUILD_CC" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5093 if test "x$ac_ct_BUILD_CC" = x
; then
5096 case $cross_compiling:$ac_tool_warned in
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned
=yes ;;
5102 BUILD_CC
=$ac_ct_BUILD_CC
5105 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5108 if test -z "$BUILD_CC"; then
5109 if test -n "$ac_build_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5111 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -n "$BUILD_CC"; then
5118 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_exec_ext
in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 BUILD_CC
=$ac_cv_prog_BUILD_CC
5138 if test -n "$BUILD_CC"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5140 $as_echo "$BUILD_CC" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5148 if test -z "$ac_cv_prog_BUILD_CC"; then
5149 ac_ct_BUILD_CC
=$BUILD_CC
5150 # Extract the first word of "cc", so it can be a program name with args.
5151 set dummy cc
; ac_word
=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5155 $as_echo_n "(cached) " >&6
5157 if test -n "$ac_ct_BUILD_CC"; then
5158 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir
=.
5165 for ac_exec_ext
in '' $ac_executable_extensions; do
5166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5167 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5178 if test -n "$ac_ct_BUILD_CC"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5180 $as_echo "$ac_ct_BUILD_CC" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5186 if test "x$ac_ct_BUILD_CC" = x
; then
5189 case $cross_compiling:$ac_tool_warned in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 ac_tool_warned
=yes ;;
5195 BUILD_CC
=$ac_ct_BUILD_CC
5198 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5202 if test -z "$BUILD_CC"; then
5203 # Extract the first word of "cc", so it can be a program name with args.
5204 set dummy cc
; ac_word
=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5208 $as_echo_n "(cached) " >&6
5210 if test -n "$BUILD_CC"; then
5211 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5222 ac_prog_rejected
=yes
5225 ac_cv_prog_BUILD_CC
="cc"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 if test $ac_prog_rejected = yes; then
5234 # We found a bogon in the path, so make sure we never use it.
5235 set dummy
$ac_cv_prog_BUILD_CC
5237 if test $# != 0; then
5238 # We chose a different compiler from the bogus one.
5239 # However, it has the same basename, so the bogon will be chosen
5240 # first if we set BUILD_CC to just the basename; use the full file name.
5242 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5247 BUILD_CC
=$ac_cv_prog_BUILD_CC
5248 if test -n "$BUILD_CC"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5250 $as_echo "$BUILD_CC" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5258 if test -z "$BUILD_CC"; then
5259 if test -n "$ac_build_prefix"; then
5262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5263 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$BUILD_CC"; then
5270 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 BUILD_CC
=$ac_cv_prog_BUILD_CC
5290 if test -n "$BUILD_CC"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5292 $as_echo "$BUILD_CC" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$BUILD_CC" && break
5302 if test -z "$BUILD_CC"; then
5303 ac_ct_BUILD_CC
=$BUILD_CC
5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
5307 set dummy
$ac_prog; ac_word
=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5311 $as_echo_n "(cached) " >&6
5313 if test -n "$ac_ct_BUILD_CC"; then
5314 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5320 test -z "$as_dir" && as_dir
=.
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5323 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5334 if test -n "$ac_ct_BUILD_CC"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5336 $as_echo "$ac_ct_BUILD_CC" >&6; }
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 test -n "$ac_ct_BUILD_CC" && break
5346 if test "x$ac_ct_BUILD_CC" = x
; then
5349 case $cross_compiling:$ac_tool_warned in
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5353 ac_tool_warned
=yes ;;
5355 BUILD_CC
=$ac_ct_BUILD_CC
5362 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error
"no acceptable C compiler found in \$PATH
5365 See \`config.log' for more details." "$LINENO" 5; }
5367 # Provide some information about the compiler.
5368 echo "$as_me:$LINENO:" \
5369 "checking for C compiler version" >&5
5370 ac_compiler
=`set X $ac_compile; echo $2`
5371 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5372 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5375 test $ac_status = 0; }
5376 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5377 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5380 test $ac_status = 0; }
5381 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5382 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5385 test $ac_status = 0; }
5387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5398 ac_clean_files_save
=$ac_clean_files
5399 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5400 # Try to create an executable without -o first, disregard a.out.
5401 # It will help us diagnose broken compilers, and finding out an intuition
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5404 $as_echo_n "checking whether the C compiler works... " >&6; }
5405 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5407 # The possible output files:
5408 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5411 for ac_file
in $ac_files
5414 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5415 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5420 if { { ac_try
="$ac_link_default"
5422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5423 *) ac_try_echo=$ac_try;;
5425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5426 $as_echo "$ac_try_echo"; } >&5
5427 (eval "$ac_link_default") 2>&5
5429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5430 test $ac_status = 0; }; then :
5431 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5432 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5433 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5434 # so that the user can short-circuit this test for compilers unknown to
5436 for ac_file in $ac_files ''
5438 test -f "$ac_file" || continue
5440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5443 # We found the default executable, but exeext='' is most
5447 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5449 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5451 # We set ac_cv_exeext here because the later test for it is not
5452 # safe: cross compilers may not add the suffix if given an `-o'
5453 # argument, so we may need to know it at that point already.
5454 # Even if this section looks crufty: it has the advantage of
5461 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5466 if test -z "$ac_file"; then :
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5469 $as_echo "$as_me: failed program was:" >&5
5470 sed 's
/^
/|
/' conftest.$ac_ext >&5
5472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5473 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5474 { as_fn_set_status 77
5475 as_fn_error "C compiler cannot create executables
5476 See \`config.log
' for more details." "$LINENO" 5; }; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5479 $as_echo "yes" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5482 $as_echo_n "checking for C compiler default output file name... " >&6; }
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5484 $as_echo "$ac_file" >&6; }
5485 ac_build_exeext=$ac_cv_build_exeext
5487 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5488 ac_clean_files=$ac_clean_files_save
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5490 $as_echo_n "checking for suffix of executables... " >&6; }
5491 if { { ac_try="$ac_link"
5493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5494 *) ac_try_echo=$ac_try;;
5496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5497 $as_echo "$ac_try_echo"; } >&5
5498 (eval "$ac_link") 2>&5
5500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5501 test $ac_status = 0; }; then :
5502 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5503 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5504 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5506 for ac_file
in conftest.exe conftest conftest.
*; do
5507 test -f "$ac_file" ||
continue
5509 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5510 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5518 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5519 See \`config.log' for more details." "$LINENO" 5; }
5521 rm -f conftest conftest
$ac_cv_build_exeext
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5523 $as_echo "$ac_cv_build_exeext" >&6; }
5525 rm -f conftest.
$ac_ext
5526 BUILD_EXEEXT
=$ac_cv_build_exeext
5527 ac_build_exeext
=$BUILD_EXEEXT
5528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5534 FILE *f = fopen ("conftest.out", "w");
5535 return ferror (f) || fclose (f) != 0;
5541 ac_clean_files
="$ac_clean_files conftest.out"
5542 # Check that the compiler produces executables we can run. If not, either
5543 # the compiler is broken, or we cross compile.
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5545 $as_echo_n "checking whether we are cross compiling... " >&6; }
5546 if test "$cross_compiling" != yes; then
5547 { { ac_try
="$ac_link"
5549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5550 *) ac_try_echo=$ac_try;;
5552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5553 $as_echo "$ac_try_echo"; } >&5
5554 (eval "$ac_link") 2>&5
5556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5557 test $ac_status = 0; }
5558 if { ac_try='./conftest$ac_cv_build_exeext'
5559 { { case "(($ac_try" in
5560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5561 *) ac_try_echo
=$ac_try;;
5563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5564 $as_echo "$ac_try_echo"; } >&5
5565 (eval "$ac_try") 2>&5
5567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5568 test $ac_status = 0; }; }; then
5571 if test "$cross_compiling" = maybe
; then
5574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5576 as_fn_error
"cannot run C compiled programs.
5577 If you meant to cross compile, use \`--host'.
5578 See \`config.log' for more details." "$LINENO" 5; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5583 $as_echo "$cross_compiling" >&6; }
5585 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5586 ac_clean_files
=$ac_clean_files_save
5589 # Restore configuration environment
5590 cross_compiling
=$saved_cross
5593 ac_cpp
='$CPP $CPPFLAGS'
5594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5599 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5601 CFLAGS
="$mule_backup_CFLAGS"
5602 CXXFLAGS
="$mule_backup_CXXFLAGS"
5603 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5604 for ac_prog
in gawk mawk nawk
awk
5606 # Extract the first word of "$ac_prog", so it can be a program name with args.
5607 set dummy
$ac_prog; ac_word
=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if test "${ac_cv_prog_AWK+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$AWK"; then
5614 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_AWK
="$ac_prog"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 if test -n "$AWK"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5636 $as_echo "$AWK" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5643 test -n "$AWK" && break
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5647 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5648 if test "${ac_cv_path_GREP+set}" = set; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -z "$GREP"; then
5652 ac_path_GREP_found
=false
5653 # Loop through the user's path and test for each of PROGNAME-LIST
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_prog
in grep ggrep
; do
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5662 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5663 # Check for GNU ac_path_GREP and select it if it is found.
5664 # Check for GNU $ac_path_GREP
5665 case `"$ac_path_GREP" --version 2>&1` in
5667 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5670 $as_echo_n 0123456789 >"conftest.in"
5673 cat "conftest.in" "conftest.in" >"conftest.tmp"
5674 mv "conftest.tmp" "conftest.in"
5675 cp "conftest.in" "conftest.nl"
5676 $as_echo 'GREP' >> "conftest.nl"
5677 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5678 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5679 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5680 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5681 # Best one so far, save it but keep looking for a better one
5682 ac_cv_path_GREP
="$ac_path_GREP"
5683 ac_path_GREP_max
=$ac_count
5685 # 10*(2^10) chars as input seems more than enough
5686 test $ac_count -gt 10 && break
5688 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5691 $ac_path_GREP_found && break 3
5696 if test -z "$ac_cv_path_GREP"; then
5697 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5700 ac_cv_path_GREP
=$GREP
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5705 $as_echo "$ac_cv_path_GREP" >&6; }
5706 GREP
="$ac_cv_path_GREP"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5710 $as_echo_n "checking for egrep... " >&6; }
5711 if test "${ac_cv_path_EGREP+set}" = set; then :
5712 $as_echo_n "(cached) " >&6
5714 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5715 then ac_cv_path_EGREP
="$GREP -E"
5717 if test -z "$EGREP"; then
5718 ac_path_EGREP_found
=false
5719 # Loop through the user's path and test for each of PROGNAME-LIST
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5721 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_prog
in egrep; do
5726 for ac_exec_ext
in '' $ac_executable_extensions; do
5727 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5728 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5729 # Check for GNU ac_path_EGREP and select it if it is found.
5730 # Check for GNU $ac_path_EGREP
5731 case `"$ac_path_EGREP" --version 2>&1` in
5733 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5736 $as_echo_n 0123456789 >"conftest.in"
5739 cat "conftest.in" "conftest.in" >"conftest.tmp"
5740 mv "conftest.tmp" "conftest.in"
5741 cp "conftest.in" "conftest.nl"
5742 $as_echo 'EGREP' >> "conftest.nl"
5743 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5744 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5745 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5746 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5747 # Best one so far, save it but keep looking for a better one
5748 ac_cv_path_EGREP
="$ac_path_EGREP"
5749 ac_path_EGREP_max
=$ac_count
5751 # 10*(2^10) chars as input seems more than enough
5752 test $ac_count -gt 10 && break
5754 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5757 $ac_path_EGREP_found && break 3
5762 if test -z "$ac_cv_path_EGREP"; then
5763 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5766 ac_cv_path_EGREP
=$EGREP
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5772 $as_echo "$ac_cv_path_EGREP" >&6; }
5773 EGREP
="$ac_cv_path_EGREP"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5777 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5779 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5780 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5781 $as_echo_n "(cached) " >&6
5783 cat >conftest.
make <<\_ACEOF
5786 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5789 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5791 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5793 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5797 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5799 $as_echo "yes" >&6; }
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5804 SET_MAKE
="MAKE=${MAKE-make}"
5808 for ac_prog
in flex
lex
5810 # Extract the first word of "$ac_prog", so it can be a program name with args.
5811 set dummy
$ac_prog; ac_word
=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_LEX+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$LEX"; then
5818 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_LEX
="$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 if test -n "$LEX"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5840 $as_echo "$LEX" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 test -n "$LEX" && break
5849 test -n "$LEX" || LEX
=":"
5851 if test "x$LEX" != "x:"; then
5852 cat >conftest.l
<<_ACEOF
5858 e { yyless (input () != 0); }
5859 f { unput (yytext[0]); }
5860 . { BEGIN INITIAL; }
5862 #ifdef YYTEXT_POINTER
5863 extern char *yytext;
5868 return ! yylex () + ! yywrap ();
5871 { { ac_try
="$LEX conftest.l"
5873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5874 *) ac_try_echo=$ac_try;;
5876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5877 $as_echo "$ac_try_echo"; } >&5
5878 (eval "$LEX conftest.l") 2>&5
5880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5881 test $ac_status = 0; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5883 $as_echo_n "checking lex output file root... " >&6; }
5884 if test "${ac_cv_prog_lex_root+set}" = set; then :
5885 $as_echo_n "(cached) " >&6
5888 if test -f lex.yy.c; then
5889 ac_cv_prog_lex_root=lex.yy
5890 elif test -f lexyy.c; then
5891 ac_cv_prog_lex_root=lexyy
5893 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5897 $as_echo "$ac_cv_prog_lex_root" >&6; }
5898 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5900 if test -z "${LEXLIB+set}"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5902 $as_echo_n "checking lex library... " >&6; }
5903 if test "${ac_cv_lib_lex+set}" = set; then :
5904 $as_echo_n "(cached) " >&6
5908 ac_cv_lib_lex='none needed'
5909 for ac_lib in '' -lfl -ll; do
5910 LIBS="$ac_lib $ac_save_LIBS"
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5913 `cat $LEX_OUTPUT_ROOT.c
`
5915 if ac_fn_c_try_link "$LINENO"; then :
5916 ac_cv_lib_lex=$ac_lib
5918 rm -f core conftest.err conftest.$ac_objext \
5919 conftest$ac_exeext conftest.$ac_ext
5920 test "$ac_cv_lib_lex" != 'none needed' && break
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5926 $as_echo "$ac_cv_lib_lex" >&6; }
5927 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5932 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5933 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5934 $as_echo_n "(cached) " >&6
5936 # POSIX says lex can declare yytext either as a pointer or an array; the
5937 # default is implementation-dependent. Figure out which it is, since
5938 # not all implementations provide the %pointer and %array declarations.
5939 ac_cv_prog_lex_yytext_pointer=no
5941 LIBS="$LEXLIB $ac_save_LIBS"
5942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5944 #define YYTEXT_POINTER 1
5945 `cat $LEX_OUTPUT_ROOT.c
`
5947 if ac_fn_c_try_link "$LINENO"; then :
5948 ac_cv_prog_lex_yytext_pointer=yes
5950 rm -f core conftest.err conftest.$ac_objext \
5951 conftest$ac_exeext conftest.$ac_ext
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5956 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5957 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5959 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5962 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5966 if test -n "$ac_tool_prefix"; then
5967 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5968 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5972 $as_echo_n "(cached) " >&6
5974 if test -n "$RANLIB"; then
5975 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 RANLIB=$ac_cv_prog_RANLIB
5995 if test -n "$RANLIB"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5997 $as_echo "$RANLIB" >&6; }
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6005 if test -z "$ac_cv_prog_RANLIB"; then
6006 ac_ct_RANLIB=$RANLIB
6007 # Extract the first word of "ranlib", so it can be a program name with args.
6008 set dummy ranlib; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6012 $as_echo_n "(cached) " >&6
6014 if test -n "$ac_ct_RANLIB"; then
6015 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024 ac_cv_prog_ac_ct_RANLIB="ranlib"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6035 if test -n "$ac_ct_RANLIB"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6037 $as_echo "$ac_ct_RANLIB" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6043 if test "x$ac_ct_RANLIB" = x; then
6046 case $cross_compiling:$ac_tool_warned in
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6050 ac_tool_warned=yes ;;
6052 RANLIB=$ac_ct_RANLIB
6055 RANLIB="$ac_cv_prog_RANLIB"
6058 for ac_prog in 'bison -y' byacc
6060 # Extract the first word of "$ac_prog", so it can be a program name with args.
6061 set dummy $ac_prog; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if test "${ac_cv_prog_YACC+set}" = set; then :
6065 $as_echo_n "(cached) " >&6
6067 if test -n "$YACC"; then
6068 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077 ac_cv_prog_YACC="$ac_prog"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 YACC=$ac_cv_prog_YACC
6088 if test -n "$YACC"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6090 $as_echo "$YACC" >&6; }
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6097 test -n "$YACC" && break
6099 test -n "$YACC" || YACC="yacc"
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$RANLIB"; then
6111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 RANLIB=$ac_cv_prog_RANLIB
6131 if test -n "$RANLIB"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6133 $as_echo "$RANLIB" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_RANLIB"; then
6142 ac_ct_RANLIB=$RANLIB
6143 # Extract the first word of "ranlib", so it can be a program name with args.
6144 set dummy ranlib; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$ac_ct_RANLIB"; then
6151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_ac_ct_RANLIB="ranlib"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6171 if test -n "$ac_ct_RANLIB"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6173 $as_echo "$ac_ct_RANLIB" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_RANLIB" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6188 RANLIB=$ac_ct_RANLIB
6191 RANLIB="$ac_cv_prog_RANLIB"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}strip; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if test "${ac_cv_prog_STRIP+set}" = set; then :
6200 $as_echo_n "(cached) " >&6
6202 if test -n "$STRIP"; then
6203 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 STRIP=$ac_cv_prog_STRIP
6223 if test -n "$STRIP"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6225 $as_echo "$STRIP" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6233 if test -z "$ac_cv_prog_STRIP"; then
6235 # Extract the first word of "strip", so it can be a program name with args.
6236 set dummy strip; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6240 $as_echo_n "(cached) " >&6
6242 if test -n "$ac_ct_STRIP"; then
6243 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252 ac_cv_prog_ac_ct_STRIP="strip"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6263 if test -n "$ac_ct_STRIP"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6265 $as_echo "$ac_ct_STRIP" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6271 if test "x$ac_ct_STRIP" = x; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6278 ac_tool_warned=yes ;;
6283 STRIP="$ac_cv_prog_STRIP"
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6288 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then :
6292 $as_echo_n "(cached) " >&6
6294 if test -n "$AR"; then
6295 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 if test -n "$AR"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6317 $as_echo "$AR" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6325 if test -z "$ac_cv_prog_AR"; then
6327 # Extract the first word of "ar", so it can be a program name with args.
6328 set dummy ar; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -n "$ac_ct_AR"; then
6335 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_ac_ct_AR="ar"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6355 if test -n "$ac_ct_AR"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6357 $as_echo "$ac_ct_AR" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6363 if test "x$ac_ct_AR" = x; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6370 ac_tool_warned=yes ;;
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6380 set dummy ${ac_tool_prefix}ld; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if test "${ac_cv_prog_LD+set}" = set; then :
6384 $as_echo_n "(cached) " >&6
6386 if test -n "$LD"; then
6387 ac_cv_prog_LD="$LD" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396 ac_cv_prog_LD="${ac_tool_prefix}ld"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 if test -n "$LD"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6409 $as_echo "$LD" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6417 if test -z "$ac_cv_prog_LD"; then
6419 # Extract the first word of "ld", so it can be a program name with args.
6420 set dummy ld; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6424 $as_echo_n "(cached) " >&6
6426 if test -n "$ac_ct_LD"; then
6427 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436 ac_cv_prog_ac_ct_LD="ld"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6447 if test -n "$ac_ct_LD"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6449 $as_echo "$ac_ct_LD" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6455 if test "x$ac_ct_LD" = x; then
6458 case $cross_compiling:$ac_tool_warned in
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6462 ac_tool_warned=yes ;;
6471 # Check whether --enable-monolithic was given.
6472 if test "${enable_monolithic+set}" = set; then :
6473 enableval=$enable_monolithic;
6476 if test ${enable_monolithic:-yes} = yes; then
6478 MONOLITHIC_FALSE='#'
6485 # Check whether --enable-amule-daemon was given.
6486 if test "${enable_amule_daemon+set}" = set; then :
6487 enableval=$enable_amule_daemon;
6490 if test ${enable_amule_daemon:-no} = yes; then
6492 AMULE_DAEMON_FALSE='#'
6494 AMULE_DAEMON_TRUE='#'
6499 # Check whether --enable-amulecmd was given.
6500 if test "${enable_amulecmd+set}" = set; then :
6501 enableval=$enable_amulecmd;
6504 if test ${enable_amulecmd:-no} = yes; then
6506 COMPILE_CMD_FALSE='#'
6508 COMPILE_CMD_TRUE='#'
6513 # Check whether --enable-webserver was given.
6514 if test "${enable_webserver+set}" = set; then :
6515 enableval=$enable_webserver;
6518 if test ${enable_webserver:-no} = yes; then
6527 # Check whether --enable-amule-gui was given.
6528 if test "${enable_amule_gui+set}" = set; then :
6529 enableval=$enable_amule_gui;
6532 if test ${enable_amule_gui:-no} = yes; then
6541 # Check whether --enable-cas was given.
6542 if test "${enable_cas+set}" = set; then :
6543 enableval=$enable_cas;
6546 if test ${enable_cas:-no} = yes; then
6555 # Check whether --enable-wxcas was given.
6556 if test "${enable_wxcas+set}" = set; then :
6557 enableval=$enable_wxcas;
6560 if test ${enable_wxcas:-no} = yes; then
6569 # Check whether --enable-ed2k was given.
6570 if test "${enable_ed2k+set}" = set; then :
6571 enableval=$enable_ed2k;
6574 if test ${enable_ed2k:-yes} = yes; then
6583 # Check whether --enable-alc was given.
6584 if test "${enable_alc+set}" = set; then :
6585 enableval=$enable_alc;
6588 if test ${enable_alc:-no} = yes; then
6597 # Check whether --enable-alcc was given.
6598 if test "${enable_alcc+set}" = set; then :
6599 enableval=$enable_alcc;
6602 if test ${enable_alcc:-no} = yes; then
6611 # Check whether --enable-xas was given.
6612 if test "${enable_xas+set}" = set; then :
6613 enableval=$enable_xas;
6616 if test ${enable_xas:-no} = yes; then
6625 # Check whether --enable-fileview was given.
6626 if test "${enable_fileview+set}" = set; then :
6627 enableval=$enable_fileview;
6630 if test ${enable_fileview:-no} = yes; then
6639 # Check whether --enable-plasmamule was given.
6640 if test "${enable_plasmamule+set}" = set; then :
6641 enableval=$enable_plasmamule;
6646 # Run all the tests with static linkage if we want a statically linked binary
6647 # Check whether --enable-static was given.
6648 if test "${enable_static+set}" = set; then :
6649 enableval=$enable_static;
6653 if test ${enable_static:-no} = yes; then :
6654 LDFLAGS="$LDFLAGS -static"
6659 # Check whether --with-kde4-config was given.
6660 if test "${with_kde4_config+set}" = set; then :
6661 withval=$with_kde4_config; KDE4_CONFIG=$withval
6666 # Check whether --enable-kde-in-home was given.
6667 if test "${enable_kde_in_home+set}" = set; then :
6668 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
6676 # Check whether --with-moc was given.
6677 if test "${with_moc+set}" = set; then :
6678 withval=$with_moc; QT_MOC=$withval
6685 # Default is yes, because they're most likely compatible.
6686 # However, this is only used when cross-compiling.
6688 # Check whether --with-gnu-malloc was given.
6689 if test "${with_gnu_malloc+set}" = set; then :
6690 withval=$with_gnu_malloc; gnumalloc=$withval
6697 # Checking for libs before all other stuff to break
6698 # configure as soon as possible in case of a missing one
6699 # to avoid losing too much time
6702 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 :
6705 # Check whether --with-zlib was given.
6706 if test "${with_zlib+set}" = set; then :
6711 case "${with_zlib:-yes}" in
6713 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6718 zlib_prefix="$with_zlib"
6721 mule_backup_CPPFLAGS="$CPPFLAGS"
6722 mule_backup_LDFLAGS="$LDFLAGS"
6723 mule_backup_LIBS="$LIBS"
6724 if test -n "$zlib_prefix"; then :
6726 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
6727 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
6728 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
6729 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
6738 LIBS="$ZLIB_LIBS $LIBS"
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
6741 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
6742 if test "$cross_compiling" = yes; then :
6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6757 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
6765 if ac_fn_c_try_link "$LINENO"; then :
6767 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
6768 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
6769 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
6770 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
6771 if test "$cross_zver_max" -gt "1"; then
6773 elif test "$cross_zver_max" -eq "1"; then
6775 if test "$cross_zver_mid" -gt "1"; then
6777 elif test "$cross_zver_mid" -eq "1"; then
6778 if test "$cross_zver_min" -ge "4"; then
6787 if test ${result:-no} = yes; then :
6788 z_version=" (version $ZLIB_VERSION)"
6792 rm -f core conftest.err conftest.$ac_objext \
6793 conftest$ac_exeext conftest.$ac_ext
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6795 $as_echo "$result$z_version" >&6; }
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6808 char *zver = zlibVersion();
6809 FILE *f=fopen("conftestval", "w");
6816 zver[4] >= '4'))) ? "yes" : "no");
6818 f=fopen("conftestver", "w");
6820 fprintf(f, "%s", ZLIB_VERSION);
6829 if ac_fn_c_try_run "$LINENO"; then :
6831 if test -f conftestval; then :
6832 result=`cat conftestval
`
6836 if test ${result:-no} = yes; then :
6838 if test -f conftestver; then :
6840 ZLIB_VERSION=`cat conftestver
`
6841 z_version=" (version $ZLIB_VERSION)"
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6849 $as_echo "$result$z_version" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6855 $as_echo "$result" >&6; }
6858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6859 conftest.$ac_objext conftest.beam conftest.$ac_ext
6863 CPPFLAGS="$mule_backup_CPPFLAGS"
6864 LDFLAGS="$mule_backup_LDFLAGS"
6865 LIBS="$mule_backup_LIBS"
6867 if test ${result:-no} = no; then :
6872 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6881 $as_echo_n "checking for ANSI C header files... " >&6; }
6882 if test "${ac_cv_header_stdc+set}" = set; then :
6883 $as_echo_n "(cached) " >&6
6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6900 if ac_fn_c_try_compile "$LINENO"; then :
6901 ac_cv_header_stdc=yes
6903 ac_cv_header_stdc=no
6905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6907 if test $ac_cv_header_stdc = yes; then
6908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6915 $EGREP "memchr" >/dev/null 2>&1; then :
6918 ac_cv_header_stdc=no
6924 if test $ac_cv_header_stdc = yes; then
6925 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6932 $EGREP "free" >/dev/null 2>&1; then :
6935 ac_cv_header_stdc=no
6941 if test $ac_cv_header_stdc = yes; then
6942 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6943 if test "$cross_compiling" = yes; then :
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6950 #if ((' ' & 0x0FF) == 0x020)
6951 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6952 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6954 # define ISLOWER(c) \
6955 (('a' <= (c) && (c) <= 'i') \
6956 || ('j' <= (c) && (c) <= 'r') \
6957 || ('s' <= (c) && (c) <= 'z'))
6958 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6961 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6966 for (i = 0; i < 256; i++)
6967 if (XOR (islower (i), ISLOWER (i))
6968 || toupper (i) != TOUPPER (i))
6973 if ac_fn_c_try_run "$LINENO"; then :
6976 ac_cv_header_stdc=no
6978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6979 conftest.$ac_objext conftest.beam conftest.$ac_ext
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6985 $as_echo "$ac_cv_header_stdc" >&6; }
6986 if test $ac_cv_header_stdc = yes; then
6988 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6992 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6993 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6994 inttypes.h stdint.h unistd.h
6996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6997 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6999 eval as_val=\$$as_ac_Header
7000 if test "x$as_val" = x""yes; then :
7001 cat >>confdefs.h <<_ACEOF
7002 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7010 if test ${enable_cas:-no} = yes; then :
7015 # Check whether --with-gdlib-prefix was given.
7016 if test "${with_gdlib_prefix+set}" = set; then :
7017 withval=$with_gdlib_prefix;
7021 # Check whether --with-gdlib-config was given.
7022 if test "${with_gdlib_config+set}" = set; then :
7023 withval=$with_gdlib_config;
7029 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7030 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7031 GDLIB_CONFIG_NAME=gdlib-config
7033 if test -n "$with_gdlib_config"; then :
7034 GDLIB_CONFIG_NAME="$with_gdlib_config"
7037 # deal with optional prefix
7038 if test -n "$with_gdlib_prefix"; then :
7039 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7042 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7043 if test -x "$GDLIB_CONFIG_NAME"; then :
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7046 $as_echo_n "checking for gdlib-config... " >&6; }
7047 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7049 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7052 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7053 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7057 $as_echo_n "(cached) " >&6
7059 case $GDLIB_CONFIG_PATH in
7061 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7066 for as_dir in $as_dummy
7069 test -z "$as_dir" && as_dir=.
7070 for ac_exec_ext in '' $ac_executable_extensions; do
7071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7072 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7084 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7085 if test -n "$GDLIB_CONFIG_PATH"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7087 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090 $as_echo "no" >&6; }
7096 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7099 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7100 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7102 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7103 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7104 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7105 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7108 if test $gdlib_config_major_version -gt 2; then
7110 elif test $gdlib_config_major_version -eq 2; then
7112 if test $gdlib_config_minor_version -gt 0; then
7114 elif test $gdlib_config_minor_version -eq 0; then
7115 if test $gdlib_config_micro_version -ge 0; then
7125 if test -z "$gdlib_ver_ok"; then :
7127 if test -z "$GDLIB_VERSION"; then :
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7133 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7141 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7142 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7143 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7144 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7145 mule_backup_CFLAGS="$CFLAGS"
7146 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7147 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7148 if test "x$ac_cv_header_gd_h" = x""yes; then :
7155 CFLAGS="$mule_backup_CFLAGS"
7161 if test -n "$GDLIB_VERSION"; then :
7164 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7172 if test -z "$CAS_DEFS"; then :
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7174 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7175 Please check that gdlib-config is in your default path, check out
7176 LD_LIBRARY_PATH or equivalent variable.
7177 Or this might also be that your gdlib-config has other name.
7178 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7179 (replace /usr/bin/gdlib-config with a valid path to your
7181 If you use compiled packages check if you have devel pack installed.
7182 To download the latest version check http://www.boutell.com/gd for
7184 $as_echo "$as_me: WARNING:
7185 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7186 Please check that gdlib-config is in your default path, check out
7187 LD_LIBRARY_PATH or equivalent variable.
7188 Or this might also be that your gdlib-config has other name.
7189 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7190 (replace /usr/bin/gdlib-config with a valid path to your
7192 If you use compiled packages check if you have devel pack installed.
7193 To download the latest version check http://www.boutell.com/gd for
7196 _mule_has_warnings=yes
7202 if test ${enable_webserver:-no} = yes; then :
7205 # Check whether --with-libpng-prefix was given.
7206 if test "${with_libpng_prefix+set}" = set; then :
7207 withval=$with_libpng_prefix;
7211 # Check whether --with-libpng-config was given.
7212 if test "${with_libpng_config+set}" = set; then :
7213 withval=$with_libpng_config;
7219 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7220 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7221 LIBPNG_CONFIG_NAME=libpng-config
7223 if test -n "$with_libpng_config"; then :
7224 LIBPNG_CONFIG_NAME="$with_libpng_config"
7227 # deal with optional prefix
7228 if test -n "$with_libpng_prefix"; then :
7229 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7232 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7233 if test -x "$LIBPNG_CONFIG_NAME"; then :
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7236 $as_echo_n "checking for libpng-config... " >&6; }
7237 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7239 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7242 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7243 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7247 $as_echo_n "(cached) " >&6
7249 case $LIBPNG_CONFIG_PATH in
7251 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7256 for as_dir in $as_dummy
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7262 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7270 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7274 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7275 if test -n "$LIBPNG_CONFIG_PATH"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7277 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7286 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7289 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7291 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7293 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7294 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7295 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7296 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7299 if test $libpng_config_major_version -gt 1; then
7301 elif test $libpng_config_major_version -eq 1; then
7303 if test $libpng_config_minor_version -gt 2; then
7305 elif test $libpng_config_minor_version -eq 2; then
7306 if test $libpng_config_micro_version -ge 0; then
7316 if test -z "$libpng_ver_ok"; then :
7318 if test -z "$LIBPNG_VERSION"; then :
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7324 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7331 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7332 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7333 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7335 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7341 if test -n "$LIBPNG_VERSION"; then :
7342 AMULEWEB_DEFS="-DWITH_LIBPNG"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7346 libpng >= 1.2.0 not found.
7347 amuleweb will be compiled but file download progress bar images will
7348 NOT be generated." >&5
7349 $as_echo "$as_me: WARNING:
7350 libpng >= 1.2.0 not found.
7351 amuleweb will be compiled but file download progress bar images will
7352 NOT be generated." >&2;}
7354 _mule_has_warnings=yes
7364 # Check for perl File::Copy
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
7366 $as_echo_n "checking for File::Copy... " >&6; }
7367 if perl -e "require File::Copy" 2>/dev/null; then :
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7369 $as_echo "ok" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7372 File::Copy perl module is required by the mldonkey_importer script.
7373 If you want to use this script please install File::Copy from CPAN." >&5
7374 $as_echo "$as_me: WARNING:
7375 File::Copy perl module is required by the mldonkey_importer script.
7376 If you want to use this script please install File::Copy from CPAN." >&2;}
7378 _mule_has_warnings=yes
7382 # Check if we need to install skins
7383 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7389 # Check for GeoIP (required for IP2Country capability)
7390 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7392 # Check whether --enable-geoip was given.
7393 if test "${enable_geoip+set}" = set; then :
7394 enableval=$enable_geoip;
7399 if test ${enable_geoip:-no} = yes; then :
7402 # Check whether --with-geoip-headers was given.
7403 if test "${with_geoip_headers+set}" = set; then :
7404 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
7408 # Check whether --with-geoip-lib was given.
7409 if test "${with_geoip_lib+set}" = set; then :
7410 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
7414 mule_backup_CPPFLAGS="$CPPFLAGS"
7415 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
7416 mule_backup_LDFLAGS="$LDFLAGS"
7417 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
7419 ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
7420 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
7422 if test x$SYS = xwin32; then :
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
7425 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
7426 # Actually, we might not need any if GeoIP is linked as a .dll
7427 # - but that's even harder to check for
7428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429 /* end confdefs.h. */
7434 I do know it's not the best approach, but at least works with MinGW stock headers.
7435 (tested with w32api-3.12)
7447 if ac_fn_c_try_compile "$LINENO"; then :
7449 GEOIP_WINSOCK_LIB="-lwsock32"
7453 GEOIP_WINSOCK_LIB="-lws2_32"
7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
7458 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
7462 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
7463 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
7464 $as_echo_n "(cached) " >&6
7466 ac_check_lib_save_LIBS=$LIBS
7467 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
7468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7469 /* end confdefs.h. */
7471 /* Override any GCC internal prototype to avoid an error.
7472 Use char because int might match the return type of a GCC
7473 builtin and then its argument prototype would still apply. */
7481 return GeoIP_open ();
7486 if ac_fn_c_try_link "$LINENO"; then :
7487 ac_cv_lib_GeoIP_GeoIP_open=yes
7489 ac_cv_lib_GeoIP_GeoIP_open=no
7491 rm -f core conftest.err conftest.$ac_objext \
7492 conftest$ac_exeext conftest.$ac_ext
7493 LIBS=$ac_check_lib_save_LIBS
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7496 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
7497 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
7500 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
7502 GEOIP_LIBS="-lGeoIP"
7503 if test x$SYS = xwin32; then :
7504 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7506 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7508 # Check whether --with-geoip-static was given.
7509 if test "${with_geoip_static+set}" = set; then :
7510 withval=$with_geoip_static;
7511 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
7513 mule_backup_LIBS="$LIBS"
7514 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7516 /* end confdefs.h. */
7525 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7532 if ac_fn_c_try_link "$LINENO"; then :
7534 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7539 Cannot link GeoIP statically, because your linker ($LD) does not
7541 $as_echo "$as_me: WARNING:
7542 Cannot link GeoIP statically, because your linker ($LD) does not
7545 _mule_has_warnings=yes
7549 rm -f core conftest.err conftest.$ac_objext \
7550 conftest$ac_exeext conftest.$ac_ext
7551 LIBS="$mule_backup_LIBS"
7560 enable_geoip=disabled
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7562 GeoIP support has been disabled because the GeoIP libraries were not
7564 $as_echo "$as_me: WARNING:
7565 GeoIP support has been disabled because the GeoIP libraries were not
7568 _mule_has_warnings=yes
7576 enable_geoip=disabled
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7578 GeoIP support has been disabled because the GeoIP header files were
7580 $as_echo "$as_me: WARNING:
7581 GeoIP support has been disabled because the GeoIP header files were
7584 _mule_has_warnings=yes
7591 CPPFLAGS="$mule_backup_CPPFLAGS"
7592 LDFLAGS="$mule_backup_LDFLAGS"
7599 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 :
7602 # Check whether --with-wxdir was given.
7603 if test "${with_wxdir+set}" = set; then :
7604 withval=$with_wxdir; wx_config_name="$withval/wx-config"
7605 wx_config_args="--inplace"
7609 # Check whether --with-wx-config was given.
7610 if test "${with_wx_config+set}" = set; then :
7611 withval=$with_wx_config; wx_config_name="$withval"
7615 # Check whether --with-wx-prefix was given.
7616 if test "${with_wx_prefix+set}" = set; then :
7617 withval=$with_wx_prefix; wx_config_prefix="$withval"
7623 # Check whether --with-wx-exec-prefix was given.
7624 if test "${with_wx_exec_prefix+set}" = set; then :
7625 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
7627 wx_config_exec_prefix=""
7642 # Check whether --with-toolkit was given.
7643 if test "${with_toolkit+set}" = set; then :
7644 withval=$with_toolkit;
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
7651 $as_echo_n "checking for the --with-toolkit option... " >&6; }
7652 if test "$withval" = "auto" ; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7654 $as_echo "will be automatically detected" >&6; }
7659 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7660 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7661 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7662 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7663 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7664 "$TOOLKIT" != "osx_cocoa"; then
7666 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
7671 $as_echo "$TOOLKIT" >&6; }
7678 # Check whether --with-wxshared was given.
7679 if test "${with_wxshared+set}" = set; then :
7680 withval=$with_wxshared;
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
7687 $as_echo_n "checking for the --with-wxshared option... " >&6; }
7688 if test "$withval" = "yes" ; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7690 $as_echo "yes" >&6; }
7693 elif test "1" = "1" -a "$withval" = "no" ; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7697 elif test "$withval" = "auto" ; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7699 $as_echo "will be automatically detected" >&6; }
7703 Unrecognized option value (allowed values: yes, auto)
7711 # Check whether --with-wxdebug was given.
7712 if test "${with_wxdebug+set}" = set; then :
7713 withval=$with_wxdebug;
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
7720 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
7721 if test "$withval" = "yes" ; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7723 $as_echo "yes" >&6; }
7726 elif test "1" = "1" -a "$withval" = "no" ; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728 $as_echo "no" >&6; }
7730 elif test "$withval" = "auto" ; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7732 $as_echo "will be automatically detected" >&6; }
7736 Unrecognized option value (allowed values: yes, auto)
7744 # Check whether --with-wxversion was given.
7745 if test "${with_wxversion+set}" = set; then :
7746 withval=$with_wxversion;
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
7753 $as_echo_n "checking for the --with-wxversion option... " >&6; }
7754 if test "$withval" = "auto" ; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7756 $as_echo "will be automatically detected" >&6; }
7760 wx_requested_major_version=`echo $withval | \
7761 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7762 wx_requested_minor_version=`echo $withval | \
7763 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7765 if test "${#wx_requested_major_version}" != "1" -o \
7766 "${#wx_requested_minor_version}" != "1" ; then
7768 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7772 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
7774 $as_echo "$WX_VERSION" >&6; }
7778 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7779 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7780 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7781 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7782 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7783 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7786 # Force using a static wxWidgets library if the executable is to be linked statically.
7787 if test ${enable_static:-no} = yes; then :
7790 # Force using a unicode build of the library
7791 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 :
7796 if test "$WX_SHARED" = "1" ; then
7797 WXCONFIG_FLAGS="--static=no "
7798 elif test "$WX_SHARED" = "0" ; then
7799 WXCONFIG_FLAGS="--static=yes "
7802 if test "$WX_DEBUG" = "1" ; then
7803 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
7804 elif test "$WX_DEBUG" = "0" ; then
7805 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
7808 if test "$WX_UNICODE" = "1" ; then
7809 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
7810 elif test "$WX_UNICODE" = "0" ; then
7811 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
7814 if test "$TOOLKIT" != "auto" ; then
7815 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7818 if test "$WX_VERSION" != "auto" ; then
7819 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7822 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
7824 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7825 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7829 if test x${WX_CONFIG_NAME+set} != xset ; then
7830 WX_CONFIG_NAME=wx-config
7833 if test "x$wx_config_name" != x ; then
7834 WX_CONFIG_NAME="$wx_config_name"
7837 if test x$wx_config_exec_prefix != x ; then
7838 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7839 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
7841 if test x$wx_config_prefix != x ; then
7842 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
7843 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7845 if test "$cross_compiling" = "yes"; then
7846 wx_config_args="$wx_config_args --host=$host_alias"
7849 if test -x "$WX_CONFIG_NAME" ; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
7851 $as_echo_n "checking for wx-config... " >&6; }
7852 WX_CONFIG_PATH="$WX_CONFIG_NAME"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7854 $as_echo "$WX_CONFIG_PATH" >&6; }
7856 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7857 set dummy $WX_CONFIG_NAME; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
7861 $as_echo_n "(cached) " >&6
7863 case $WX_CONFIG_PATH in
7865 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 as_dummy=""$WX_LOOKUP_PATH:$PATH""
7870 for as_dir in $as_dummy
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7884 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
7888 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
7889 if test -n "$WX_CONFIG_PATH"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7891 $as_echo "$WX_CONFIG_PATH" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7900 if test "$WX_CONFIG_PATH" != "no" ; then
7903 min_wx_version=2.8.8
7904 if test -z "$WXCONFIG_FLAGS" ; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
7906 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7909 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
7912 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7914 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
7915 wx_config_major_version=`echo $WX_VERSION_FULL | \
7916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7917 wx_config_minor_version=`echo $WX_VERSION_FULL | \
7918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7919 wx_config_micro_version=`echo $WX_VERSION_FULL | \
7920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7922 wx_requested_major_version=`echo $min_wx_version | \
7923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7924 wx_requested_minor_version=`echo $min_wx_version | \
7925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7926 wx_requested_micro_version=`echo $min_wx_version | \
7927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7931 if test "x$WX_VERSION_FULL" != x ; then
7932 if test $wx_config_major_version -gt $wx_requested_major_version; then
7935 if test $wx_config_major_version -eq $wx_requested_major_version; then
7936 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7939 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7940 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7950 if test -n "$wx_ver_ok"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
7953 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
7954 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
7956 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
7958 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
7959 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
7960 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
7962 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
7963 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
7969 if test "x$WX_VERSION_FULL" = x; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7974 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
7983 if test ! -z "$WXCONFIG_FLAGS"; then
7986 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7987 build with the following settings:
7989 but such build is not available.
7991 To see the wxWidgets builds available on this system, please use
7992 'wx-config --list' command. To use the default build, returned by
7993 'wx-config --selected-config', use the options with their 'auto'
7999 The requested wxWidgets build couldn't be found.
8002 If you still get this error, then check that 'wx-config' is
8003 in path, the directory where wxWidgets libraries are installed
8004 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8005 or equivalent variable and wxWidgets version is 2.8.8 or above."
8007 as_fn_error "$wx_error_message" "$LINENO" 5
8031 WX_VERSION_MAJOR="$wx_config_major_version"
8032 WX_VERSION_MINOR="$wx_config_minor_version"
8036 if test "$wxWin" != 1; then :
8038 wxWidgets must be installed on your system but wx-config
8039 script couldn't be found. Please check that wx-config is
8040 in path or specified by --with-wx-config=path flag, the
8041 directory where wxWidgets libraries are installed (returned
8042 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8043 equivalent variable and wxWidgets version is 2.8.8 or above.
8047 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8049 This version of wxWidgets is known to not work with aMule.
8050 Please upgrade to a newer version.
8055 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8057 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8059 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8060 echo "[dbg] Using wx-config --selected-config"
8061 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8065 if test $WX_SHARED = "1"; then
8067 elif test $WX_SHARED = "0"; then
8069 elif test $WX_SHARED = "auto"; then
8074 if test "$UNICODE" = "auto" ; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8077 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8079 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8081 if test "$WX_UNICODE" != "0"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8084 $as_echo "yes" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8098 if test "$DEBUG" = "auto" ; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8101 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8103 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8105 if test "$WX_DEBUG" != "0"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8108 $as_echo "yes" >&6; }
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8122 if test "$STATIC" = "auto" ; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8125 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8127 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8129 if test "$WX_STATIC" != "0"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8132 $as_echo "yes" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8146 if test "$WX_STATIC" != "0"; then
8156 if test "$TOOLKIT" = "auto" ; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8159 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8161 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8162 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8163 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8164 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8165 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8166 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8167 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8168 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8169 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8170 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8171 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8174 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8175 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8176 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8177 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8178 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8179 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8180 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8181 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8182 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8183 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8184 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8187 if test "$WX_PORT" = "unknown" ; then
8189 Cannot detect the currently installed wxWidgets port !
8190 Please check your 'wx-config --cxxflags'...
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8195 $as_echo "$WX_PORT" >&6; }
8198 if test -n "$TOOLKIT" ; then
8207 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8208 echo "[dbg] Values of all WX_* options after final detection:"
8209 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8210 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8211 echo "[dbg] WX_SHARED: $WX_SHARED"
8212 echo "[dbg] WX_VERSION: $WX_VERSION"
8213 echo "[dbg] WX_PORT: $WX_PORT"
8216 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8218 Cannot build shared library against a static build of wxWidgets !
8219 This error happens because the wxWidgets build which was selected
8220 has been detected as static while you asked to build $PACKAGE_NAME
8221 as shared library and this is not possible.
8222 Use the '--disable-shared' option to build $PACKAGE_NAME
8223 as static library or '--with-wxshared' to use wxWidgets as shared library.
8227 if test "$DEBUG" = "auto"; then
8230 if test "$DEBUG" = "1"; then
8232 elif test "$DEBUG" = ""; then
8236 if test "$UNICODE" = "auto"; then
8239 if test "$SHARED" = "auto"; then
8242 if test "$TOOLKIT" = "auto"; then
8247 # We also need wxBase
8248 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8249 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8250 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8252 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8256 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8257 if test "${WX_PORT}" = base; then :
8259 The selected components need a wxWidgets library with GUI,
8260 but your installation is base-only. Please install a GUI
8261 enabled version of wxWidgets and then retry.
8267 if test ${SYS:-unknown} = win32; then :
8268 if test -n "$ac_tool_prefix"; then
8269 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8270 set dummy ${ac_tool_prefix}windres; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272 $as_echo_n "checking for $ac_word... " >&6; }
8273 if test "${ac_cv_prog_RC+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8276 if test -n "$RC"; then
8277 ac_cv_prog_RC="$RC" # Let the user override the test.
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_RC="${ac_tool_prefix}windres"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8297 if test -n "$RC"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8299 $as_echo "$RC" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8307 if test -z "$ac_cv_prog_RC"; then
8309 # Extract the first word of "windres", so it can be a program name with args.
8310 set dummy windres; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8316 if test -n "$ac_ct_RC"; then
8317 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326 ac_cv_prog_ac_ct_RC="windres"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336 ac_ct_RC=$ac_cv_prog_ac_ct_RC
8337 if test -n "$ac_ct_RC"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
8339 $as_echo "$ac_ct_RC" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8345 if test "x$ac_ct_RC" = x; then
8348 case $cross_compiling:$ac_tool_warned in
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8352 ac_tool_warned=yes ;;
8364 # Check whether --enable-upnp was given.
8365 if test "${enable_upnp+set}" = set; then :
8366 enableval=$enable_upnp;
8370 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
8377 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8378 if test -n "$ac_tool_prefix"; then
8379 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8380 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382 $as_echo_n "checking for $ac_word... " >&6; }
8383 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8384 $as_echo_n "(cached) " >&6
8388 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395 test -z "$as_dir" && as_dir=.
8396 for ac_exec_ext in '' $ac_executable_extensions; do
8397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8398 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8409 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8410 if test -n "$PKG_CONFIG"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8412 $as_echo "$PKG_CONFIG" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8420 if test -z "$ac_cv_path_PKG_CONFIG"; then
8421 ac_pt_PKG_CONFIG=$PKG_CONFIG
8422 # Extract the first word of "pkg-config", so it can be a program name with args.
8423 set dummy pkg-config; ac_word=$2
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8425 $as_echo_n "checking for $ac_word... " >&6; }
8426 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8427 $as_echo_n "(cached) " >&6
8429 case $ac_pt_PKG_CONFIG in
8431 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8438 test -z "$as_dir" && as_dir=.
8439 for ac_exec_ext in '' $ac_executable_extensions; do
8440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8441 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8453 if test -n "$ac_pt_PKG_CONFIG"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8455 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8461 if test "x$ac_pt_PKG_CONFIG" = x; then
8464 case $cross_compiling:$ac_tool_warned in
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468 ac_tool_warned=yes ;;
8470 PKG_CONFIG=$ac_pt_PKG_CONFIG
8473 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8477 if test -n "$PKG_CONFIG"; then
8478 _pkg_min_version=0.9.0
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8480 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8481 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8483 $as_echo "yes" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8486 $as_echo "no" >&6; }
8491 if test ${enable_upnp:-yes} = yes; then :
8495 # Check whether --with-libupnp-prefix was given.
8496 if test "${with_libupnp_prefix+set}" = set; then :
8497 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
8501 if test $cross_compiling = no; then :
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
8504 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
8505 if test -n "$PKG_CONFIG"; then :
8507 if $PKG_CONFIG libupnp --exists; then :
8509 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
8510 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
8513 resultstr=" (version $LIBUPNP_VERSION)"
8514 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
8515 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
8516 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
8517 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
8518 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
8523 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
8530 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
8537 resultstr=" (pkg-config not found)"
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8541 $as_echo "$result$resultstr" >&6; }
8542 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
8547 libupnp_error="cross compiling"
8551 if test ${result:-no} = yes; then :
8552 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8554 enable_upnp=disabled
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8556 UPnP code has been disabled because ${libupnp_error}." >&5
8557 $as_echo "$as_me: WARNING:
8558 UPnP code has been disabled because ${libupnp_error}." >&2;}
8560 _mule_has_warnings=yes
8569 # Check for Crypto++
8570 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8573 # Check whether --with-crypto-prefix was given.
8574 if test "${with_crypto_prefix+set}" = set; then :
8575 withval=$with_crypto_prefix;
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
8580 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
8582 cryptopp_file_with_version="cryptlib.h"
8584 CRYPTOPP_STYLE="unknown"
8585 CRYPTOPP_LIB_NAME="unknown"
8586 cryptopp_includedir="unknown"
8587 CRYPTOPP_INCLUDE_PREFIX="unknown"
8588 cryptopp_libdir="unknown"
8590 if test -n "$with_crypto_prefix"; then :
8592 CRYPTOPP_PREFIX="$with_crypto_prefix"
8593 # Find the Cryptopp header in the user-provided location
8594 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8596 CRYPTOPP_STYLE="sources"
8597 CRYPTOPP_LIB_NAME="cryptopp"
8598 cryptopp_includedir=
8599 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8602 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8604 CRYPTOPP_STYLE="installed"
8605 CRYPTOPP_LIB_NAME="cryptopp"
8606 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8607 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8608 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8610 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8612 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8613 CRYPTOPP_STYLE="gentoo_debian"
8614 CRYPTOPP_LIB_NAME="crypto++"
8615 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8616 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8617 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8624 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
8625 # Find the Cryptopp header in system locations
8626 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8628 CRYPTOPP_STYLE="sources"
8629 CRYPTOPP_LIB_NAME="cryptopp"
8630 cryptopp_includedir=
8631 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8635 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8637 CRYPTOPP_STYLE="installed"
8638 CRYPTOPP_LIB_NAME="cryptopp"
8639 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8640 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8641 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8644 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8646 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8647 CRYPTOPP_STYLE="gentoo_debian"
8648 CRYPTOPP_LIB_NAME="crypto++"
8649 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8650 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8651 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8660 if test $CRYPTOPP_STYLE = "unknown"; then :
8661 result=no; resultstr=""
8664 # Find out the crypto++ version and check against the minimum required
8665 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8666 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8667 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8668 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8670 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
8673 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8674 if test -n "$cryptopp_includedir"; then :
8675 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
8679 if test -n "$cryptopp_libdir"; then :
8681 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
8682 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
8687 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8691 cat >>confdefs.h <<_ACEOF
8692 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8699 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8706 $as_echo "$result$resultstr" >&6; }
8708 if test ${result:-no} = yes; then :
8710 # Check for CryptoPP >= 5.5
8711 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
8712 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8718 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8719 Please try again with --with-crypto-prefix=/my_crypto_prefix
8720 (replace /my_crypto_prefix with a valid path to your crypto++
8721 installation directory)." "$LINENO" 5
8730 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 :
8732 ac_cpp='$CXXCPP $CPPFLAGS'
8733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're using the GNU C++ library" >&5
8739 $as_echo_n "checking if we're using the GNU C++ library... " >&6; }
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8746 #error Non-GNU C++ library found.
8751 if ac_fn_cxx_try_cpp "$LINENO"; then :
8756 rm -f conftest.err conftest.$ac_ext
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBCXX" >&5
8758 $as_echo "$GLIBCXX" >&6; }
8760 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
8762 mule_backup_CPPFLAGS="$CPPFLAGS"
8763 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
8766 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8772 #include <wx/filefn.h>
8773 #ifndef wxHAS_LARGE_FILES
8774 #error No LargeFile support!
8779 if ac_fn_cxx_try_cpp "$LINENO"; then :
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8782 $as_echo "yes" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8787 $as_echo "no" >&6; }
8789 Support for large files in wxWidgets is required by aMule.
8790 To continue you must recompile wxWidgets with support for
8791 large files enabled." "$LINENO" 5
8794 rm -f conftest.err conftest.$ac_ext
8796 CPPFLAGS="$mule_backup_CPPFLAGS"
8800 # Check if the compiler is broken, wrt. exceptions.
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
8803 $as_echo_n "checking for exception-handling... " >&6; }
8804 if test "$cross_compiling" = yes; then :
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
8807 $as_echo "undeterminable" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8809 Cross-compilation detected, so exception handling cannot be tested.
8810 Note that broken exception handling in your compiler may lead to
8811 unexpected crashes." >&5
8812 $as_echo "$as_me: WARNING:
8813 Cross-compilation detected, so exception handling cannot be tested.
8814 Note that broken exception handling in your compiler may lead to
8815 unexpected crashes." >&2;}
8817 _mule_has_warnings=yes
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8841 if ac_fn_cxx_try_run "$LINENO"; then :
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8844 $as_echo "yes" >&6; }
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8849 $as_echo "no" >&6; }
8850 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
8853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8854 conftest.$ac_objext conftest.beam conftest.$ac_ext
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
8861 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8873 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8874 std::type_info *ti = abi::__cxa_current_exception_type();
8881 if ac_fn_cxx_try_link "$LINENO"; then :
8884 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8887 $as_echo "yes" >&6; }
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8892 $as_echo "no" >&6; }
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8899 ac_cpp='$CPP $CPPFLAGS'
8900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8907 # Ok, we have all needed libs, now checking for other stuff
8908 if test "$LEX" = "flex"; then :
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
8911 $as_echo_n "checking for extended flex capabilities... " >&6; }
8913 extended_flex=`flex
--help |
grep header-file
`
8914 if test -n "$extended_flex"; then :
8915 HAVE_FLEX_EXTENDED=yes
8917 HAVE_FLEX_EXTENDED=no
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
8920 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
8922 if test $HAVE_FLEX_EXTENDED = no; then :
8923 { $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
8924 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8928 HAVE_FLEX_EXTENDED=no
8931 # Flush standard test results for speeding cache
8932 cat >confcache <<\_ACEOF
8933 # This file is a shell script that caches the results of configure
8934 # tests run on this system so they can be shared between configure
8935 # scripts and configure runs, see configure's option --config-cache.
8936 # It is not useful on other systems. If it contains results you don't
8937 # want to keep, you may remove or edit it.
8939 # config.status only pays attention to the cache file if you give it
8940 # the --recheck option to rerun configure.
8942 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8948 # The following way of writing the cache mishandles newlines in values,
8949 # but we know of no workaround that is simple, portable, and efficient.
8950 # So, we kill variables containing newlines.
8951 # Ultrix sh set writes to stderr and can't be redirected directly,
8952 # and sets the high bit in the cache file unless we assign to the vars.
8954 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8955 eval ac_val
=\$
$ac_var
8959 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8963 _ | IFS | as_nl
) ;; #(
8964 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8965 *) { eval $ac_var=; unset $ac_var;} ;;
8971 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8972 *${as_nl}ac_space
=\
*)
8973 # `set' does not quote correctly, so add quotes: double-quote
8974 # substitution turns \\\\ into \\, and sed turns \\ into \.
8977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8980 # `set' quotes correctly as required by POSIX, so do not add quotes.
8981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8992 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8994 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8995 if test -w "$cache_file"; then
8996 test "x$cache_file" != "x/dev/null" &&
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8998 $as_echo "$as_me: updating cache $cache_file" >&6;}
8999 cat confcache
>$cache_file
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9002 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9007 # Checks for header files.
9008 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9009 # for constant arguments. Useless!
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9011 $as_echo_n "checking for working alloca.h... " >&6; }
9012 if test "${ac_cv_working_alloca_h+set}" = set; then :
9013 $as_echo_n "(cached) " >&6
9015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9021 char *p = (char *) alloca (2 * sizeof (int));
9027 if ac_fn_c_try_link
"$LINENO"; then :
9028 ac_cv_working_alloca_h
=yes
9030 ac_cv_working_alloca_h
=no
9032 rm -f core conftest.err conftest.
$ac_objext \
9033 conftest
$ac_exeext conftest.
$ac_ext
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
9036 $as_echo "$ac_cv_working_alloca_h" >&6; }
9037 if test $ac_cv_working_alloca_h = yes; then
9039 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9044 $as_echo_n "checking for alloca... " >&6; }
9045 if test "${ac_cv_func_alloca_works+set}" = set; then :
9046 $as_echo_n "(cached) " >&6
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 # define alloca __builtin_alloca
9054 # include <malloc.h>
9055 # define alloca _alloca
9057 # ifdef HAVE_ALLOCA_H
9058 # include <alloca.h>
9063 # ifndef alloca /* predefined by HP cc +Olibcalls */
9074 char *p = (char *) alloca (1);
9080 if ac_fn_c_try_link
"$LINENO"; then :
9081 ac_cv_func_alloca_works
=yes
9083 ac_cv_func_alloca_works
=no
9085 rm -f core conftest.err conftest.
$ac_objext \
9086 conftest
$ac_exeext conftest.
$ac_ext
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
9089 $as_echo "$ac_cv_func_alloca_works" >&6; }
9091 if test $ac_cv_func_alloca_works = yes; then
9093 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
9096 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9097 # that cause trouble. Some versions do not even contain alloca or
9098 # contain a buggy version. If you still want to use their alloca,
9099 # use ar to extract alloca.o from them instead of compiling alloca.c.
9101 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
9103 $as_echo "#define C_ALLOCA 1" >>confdefs.h
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9107 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9108 if test "${ac_cv_os_cray+set}" = set; then :
9109 $as_echo_n "(cached) " >&6
9111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9113 #if defined CRAY && ! defined CRAY2
9120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9121 $EGREP "webecray" >/dev
/null
2>&1; then :
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
9130 $as_echo "$ac_cv_os_cray" >&6; }
9131 if test $ac_cv_os_cray = yes; then
9132 for ac_func
in _getb67 GETB67 getb67
; do
9133 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9134 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9135 eval as_val
=\$
$as_ac_var
9136 if test "x$as_val" = x
""yes; then :
9138 cat >>confdefs.h
<<_ACEOF
9139 #define CRAY_STACKSEG_END $ac_func
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9149 $as_echo_n "checking stack direction for C alloca... " >&6; }
9150 if test "${ac_cv_c_stack_direction+set}" = set; then :
9151 $as_echo_n "(cached) " >&6
9153 if test "$cross_compiling" = yes; then :
9154 ac_cv_c_stack_direction
=0
9156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 $ac_includes_default
9160 find_stack_direction ()
9162 static char *addr = 0;
9167 return find_stack_direction ();
9170 return (&dummy > addr) ? 1 : -1;
9176 return find_stack_direction () < 0;
9179 if ac_fn_c_try_run
"$LINENO"; then :
9180 ac_cv_c_stack_direction
=1
9182 ac_cv_c_stack_direction
=-1
9184 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9185 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
9190 $as_echo "$ac_cv_c_stack_direction" >&6; }
9191 cat >>confdefs.h
<<_ACEOF
9192 #define STACK_DIRECTION $ac_cv_c_stack_direction
9199 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9200 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9202 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9203 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9204 $as_echo_n "(cached) " >&6
9206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9208 #include <sys/types.h>
9220 if ac_fn_c_try_compile
"$LINENO"; then :
9221 eval "$as_ac_Header=yes"
9223 eval "$as_ac_Header=no"
9225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9227 eval ac_res
=\$
$as_ac_Header
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9229 $as_echo "$ac_res" >&6; }
9230 eval as_val
=\$
$as_ac_Header
9231 if test "x$as_val" = x
""yes; then :
9232 cat >>confdefs.h
<<_ACEOF
9233 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9236 ac_header_dirent
=$ac_hdr; break
9240 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9241 if test $ac_header_dirent = dirent.h
; then
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9243 $as_echo_n "checking for library containing opendir... " >&6; }
9244 if test "${ac_cv_search_opendir+set}" = set; then :
9245 $as_echo_n "(cached) " >&6
9247 ac_func_search_save_LIBS
=$LIBS
9248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9266 for ac_lib
in '' dir
; do
9267 if test -z "$ac_lib"; then
9268 ac_res
="none required"
9271 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9273 if ac_fn_c_try_link
"$LINENO"; then :
9274 ac_cv_search_opendir
=$ac_res
9276 rm -f core conftest.err conftest.
$ac_objext \
9278 if test "${ac_cv_search_opendir+set}" = set; then :
9282 if test "${ac_cv_search_opendir+set}" = set; then :
9285 ac_cv_search_opendir
=no
9288 LIBS
=$ac_func_search_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9291 $as_echo "$ac_cv_search_opendir" >&6; }
9292 ac_res
=$ac_cv_search_opendir
9293 if test "$ac_res" != no
; then :
9294 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9300 $as_echo_n "checking for library containing opendir... " >&6; }
9301 if test "${ac_cv_search_opendir+set}" = set; then :
9302 $as_echo_n "(cached) " >&6
9304 ac_func_search_save_LIBS
=$LIBS
9305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9323 for ac_lib
in '' x
; do
9324 if test -z "$ac_lib"; then
9325 ac_res
="none required"
9328 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9330 if ac_fn_c_try_link
"$LINENO"; then :
9331 ac_cv_search_opendir
=$ac_res
9333 rm -f core conftest.err conftest.
$ac_objext \
9335 if test "${ac_cv_search_opendir+set}" = set; then :
9339 if test "${ac_cv_search_opendir+set}" = set; then :
9342 ac_cv_search_opendir
=no
9345 LIBS
=$ac_func_search_save_LIBS
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9348 $as_echo "$ac_cv_search_opendir" >&6; }
9349 ac_res
=$ac_cv_search_opendir
9350 if test "$ac_res" != no
; then :
9351 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9358 $as_echo_n "checking for ANSI C header files... " >&6; }
9359 if test "${ac_cv_header_stdc+set}" = set; then :
9360 $as_echo_n "(cached) " >&6
9362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9377 if ac_fn_c_try_compile
"$LINENO"; then :
9378 ac_cv_header_stdc
=yes
9380 ac_cv_header_stdc
=no
9382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9384 if test $ac_cv_header_stdc = yes; then
9385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9392 $EGREP "memchr" >/dev
/null
2>&1; then :
9395 ac_cv_header_stdc
=no
9401 if test $ac_cv_header_stdc = yes; then
9402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9409 $EGREP "free" >/dev
/null
2>&1; then :
9412 ac_cv_header_stdc
=no
9418 if test $ac_cv_header_stdc = yes; then
9419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9420 if test "$cross_compiling" = yes; then :
9423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9427 #if ((' ' & 0x0FF) == 0x020)
9428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9431 # define ISLOWER(c) \
9432 (('a' <= (c) && (c) <= 'i') \
9433 || ('j' <= (c) && (c) <= 'r') \
9434 || ('s' <= (c) && (c) <= 'z'))
9435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9443 for (i = 0; i < 256; i++)
9444 if (XOR (islower (i), ISLOWER (i))
9445 || toupper (i) != TOUPPER (i))
9450 if ac_fn_c_try_run
"$LINENO"; then :
9453 ac_cv_header_stdc
=no
9455 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9456 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9462 $as_echo "$ac_cv_header_stdc" >&6; }
9463 if test $ac_cv_header_stdc = yes; then
9465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9469 for ac_header
in argz.h arpa
/inet.h fcntl.h inttypes.h langinfo.h libintl.h limits.h locale.h malloc.h mntent.h netdb.h netinet
/in.h stddef.h nl_types.h stdint.h stdio_ext.h stdlib.h string.h
strings.h sys
/ioctl.h sys
/mntent.h sys
/mnttab.h sys
/mount.h sys
/param.h sys
/resource.h sys
/select.h sys
/socket.h sys
/statvfs.h sys
/time.h sys
/timeb.h sys
/types.h unistd.h errno.h signal.h
9471 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9472 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9473 eval as_val
=\$
$as_ac_Header
9474 if test "x$as_val" = x
""yes; then :
9475 cat >>confdefs.h
<<_ACEOF
9476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9484 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9485 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
9486 $as_echo_n "(cached) " >&6
9488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9490 #include <sys/types.h>
9491 #include <sys/wait.h>
9493 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9496 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9504 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9509 if ac_fn_c_try_compile
"$LINENO"; then :
9510 ac_cv_header_sys_wait_h
=yes
9512 ac_cv_header_sys_wait_h
=no
9514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9517 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9518 if test $ac_cv_header_sys_wait_h = yes; then
9520 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9525 # Checks for typedefs, structures, and compiler characteristics.
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
9527 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
9528 if test "${ac_cv_header_stdbool_h+set}" = set; then :
9529 $as_echo_n "(cached) " >&6
9531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 #include <stdbool.h>
9536 "error: bool is not defined"
9539 "error: false is not defined"
9542 "error: false is not 0"
9545 "error: true is not defined"
9548 "error: true is not 1"
9550 #ifndef __bool_true_false_are_defined
9551 "error: __bool_true_false_are_defined is not defined"
9554 struct s { _Bool s: 1; _Bool t; } s;
9556 char a[true == 1 ? 1 : -1];
9557 char b[false == 0 ? 1 : -1];
9558 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9559 char d[(bool) 0.5 == true ? 1 : -1];
9561 char f[(_Bool) 0.0 == false ? 1 : -1];
9563 char h[sizeof (_Bool)];
9565 enum { j = false, k = true, l = false * true, m = true * 256 };
9566 /* The following fails for
9567 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
9569 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9570 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9571 # if defined __xlc__ || defined __GNUC__
9572 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9573 reported by James Lemley on 2005-10-05; see
9574 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9575 This test is not quite right, since xlc is allowed to
9576 reject this program, as the initializer for xlcbug is
9577 not one of the forms that C requires support for.
9578 However, doing the test right would require a runtime
9579 test, and that would make cross-compilation harder.
9580 Let us hope that IBM fixes the xlc bug, and also adds
9581 support for this kind of constant expression. In the
9582 meantime, this test will reject xlc, which is OK, since
9583 our stdbool.h substitute should suffice. We also test
9584 this with GCC, where it should work, to detect more
9585 quickly whether someone messes up the test in the
9587 char digs[] = "0123456789";
9588 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
9590 /* Catch a bug in an HP-UX C compiler. See
9591 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
9592 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
9603 /* Refer to every declared value, to avoid compiler optimizations. */
9604 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
9605 + !m + !n + !o + !p + !q + !pq);
9611 if ac_fn_c_try_compile
"$LINENO"; then :
9612 ac_cv_header_stdbool_h
=yes
9614 ac_cv_header_stdbool_h
=no
9616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
9619 $as_echo "$ac_cv_header_stdbool_h" >&6; }
9620 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
9621 if test "x$ac_cv_type__Bool" = x
""yes; then :
9623 cat >>confdefs.h
<<_ACEOF
9624 #define HAVE__BOOL 1
9630 if test $ac_cv_header_stdbool_h = yes; then
9632 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9637 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9638 if test "${ac_cv_c_const+set}" = set; then :
9639 $as_echo_n "(cached) " >&6
9641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9647 /* FIXME: Include the comments suggested by Paul. */
9649 /* Ultrix mips cc rejects this. */
9650 typedef int charset[2];
9652 /* SunOS 4.1.1 cc rejects this. */
9653 char const *const *pcpcc;
9655 /* NEC SVR4.0.2 mips cc rejects this. */
9656 struct point {int x, y;};
9657 static struct point const zero = {0,0};
9658 /* AIX XL C 1.02.0.0 rejects this.
9659 It does not let you subtract one const X* pointer from another in
9660 an arm of an if-expression whose if-part is not a constant
9662 const char *g = "string";
9663 pcpcc = &g + (g ? g-g : 0);
9664 /* HPUX 7.0 cc rejects these. */
9666 ppc = (char**) pcpcc;
9667 pcpcc = (char const *const *) ppc;
9668 { /* SCO 3.2v4 cc rejects this. */
9670 char const *s = 0 ? (char *) 0 : (char const *) 0;
9675 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9677 const int *foo = &x[0];
9680 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9681 typedef const int *iptr;
9685 { /* AIX XL C 1.02.0.0 rejects this saying
9686 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9687 struct s { int j; const int *ap[3]; };
9688 struct s *b; b->j = 5;
9690 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9694 return !cs[0] && !zero.x;
9701 if ac_fn_c_try_compile
"$LINENO"; then :
9706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9709 $as_echo "$ac_cv_c_const" >&6; }
9710 if test $ac_cv_c_const = no
; then
9712 $as_echo "#define const /**/" >>confdefs.h
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9717 $as_echo_n "checking for inline... " >&6; }
9718 if test "${ac_cv_c_inline+set}" = set; then :
9719 $as_echo_n "(cached) " >&6
9722 for ac_kw
in inline __inline__ __inline
; do
9723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9727 static $ac_kw foo_t static_foo () {return 0; }
9728 $ac_kw foo_t foo () {return 0; }
9732 if ac_fn_c_try_compile
"$LINENO"; then :
9733 ac_cv_c_inline
=$ac_kw
9735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9736 test "$ac_cv_c_inline" != no
&& break
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9741 $as_echo "$ac_cv_c_inline" >&6; }
9743 case $ac_cv_c_inline in
9746 case $ac_cv_c_inline in
9748 *) ac_val
=$ac_cv_c_inline;;
9750 cat >>confdefs.h
<<_ACEOF
9752 #define inline $ac_val
9758 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
9759 if test "x$ac_cv_type_mode_t" = x
""yes; then :
9763 cat >>confdefs.h
<<_ACEOF
9769 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9770 if test "x$ac_cv_type_off_t" = x
""yes; then :
9774 cat >>confdefs.h
<<_ACEOF
9775 #define off_t long int
9780 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9781 if test "x$ac_cv_type_size_t" = x
""yes; then :
9785 cat >>confdefs.h
<<_ACEOF
9786 #define size_t unsigned int
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9792 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9793 if test "${ac_cv_header_time+set}" = set; then :
9794 $as_echo_n "(cached) " >&6
9796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9798 #include <sys/types.h>
9799 #include <sys/time.h>
9805 if ((struct tm *) 0)
9811 if ac_fn_c_try_compile
"$LINENO"; then :
9812 ac_cv_header_time
=yes
9814 ac_cv_header_time
=no
9816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9819 $as_echo "$ac_cv_header_time" >&6; }
9820 if test $ac_cv_header_time = yes; then
9822 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9827 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9828 if test "${ac_cv_struct_tm+set}" = set; then :
9829 $as_echo_n "(cached) " >&6
9831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 #include <sys/types.h>
9840 int *p = &tm.tm_sec;
9846 if ac_fn_c_try_compile
"$LINENO"; then :
9847 ac_cv_struct_tm
=time.h
9849 ac_cv_struct_tm
=sys
/time.h
9851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9854 $as_echo "$ac_cv_struct_tm" >&6; }
9855 if test $ac_cv_struct_tm = sys
/time.h
; then
9857 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
9862 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
9863 if test "${ac_cv_type_uid_t+set}" = set; then :
9864 $as_echo_n "(cached) " >&6
9866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 #include <sys/types.h>
9871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9872 $EGREP "uid_t" >/dev
/null
2>&1; then :
9873 ac_cv_type_uid_t
=yes
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
9881 $as_echo "$ac_cv_type_uid_t" >&6; }
9882 if test $ac_cv_type_uid_t = no
; then
9884 $as_echo "#define uid_t int" >>confdefs.h
9887 $as_echo "#define gid_t int" >>confdefs.h
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9892 $as_echo_n "checking for working volatile... " >&6; }
9893 if test "${ac_cv_c_volatile+set}" = set; then :
9894 $as_echo_n "(cached) " >&6
9896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9904 int * volatile y = (int *) 0;
9910 if ac_fn_c_try_compile
"$LINENO"; then :
9911 ac_cv_c_volatile
=yes
9915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9918 $as_echo "$ac_cv_c_volatile" >&6; }
9919 if test $ac_cv_c_volatile = no
; then
9921 $as_echo "#define volatile /**/" >>confdefs.h
9925 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
9926 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
9928 cat >>confdefs.h
<<_ACEOF
9929 #define HAVE_PTRDIFF_T 1
9936 # Checks for library functions.
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
9938 $as_echo_n "checking whether closedir returns void... " >&6; }
9939 if test "${ac_cv_func_closedir_void+set}" = set; then :
9940 $as_echo_n "(cached) " >&6
9942 if test "$cross_compiling" = yes; then :
9943 ac_cv_func_closedir_void
=yes
9945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 $ac_includes_default
9948 #include <$ac_header_dirent>
9956 return closedir (opendir (".")) != 0;
9961 if ac_fn_c_try_run
"$LINENO"; then :
9962 ac_cv_func_closedir_void
=no
9964 ac_cv_func_closedir_void
=yes
9966 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9967 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
9972 $as_echo "$ac_cv_func_closedir_void" >&6; }
9973 if test $ac_cv_func_closedir_void = yes; then
9975 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
9979 if test $ac_cv_c_compiler_gnu = yes; then
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
9981 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
9982 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
9983 $as_echo_n "(cached) " >&6
9985 ac_pattern
="Autoconf.*'x'"
9986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9992 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
9993 ac_cv_prog_gcc_traditional
=yes
9995 ac_cv_prog_gcc_traditional
=no
10000 if test $ac_cv_prog_gcc_traditional = no
; then
10001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 #include <termio.h>
10006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10007 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10008 ac_cv_prog_gcc_traditional
=yes
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10015 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10016 if test $ac_cv_prog_gcc_traditional = yes; then
10017 CC
="$CC -traditional"
10021 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10022 if test "x$ac_cv_type_pid_t" = x
""yes; then :
10026 cat >>confdefs.h
<<_ACEOF
10032 for ac_header
in vfork.h
10034 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10035 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
10036 cat >>confdefs.h
<<_ACEOF
10037 #define HAVE_VFORK_H 1
10044 for ac_func
in fork vfork
10046 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10047 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10048 eval as_val
=\$
$as_ac_var
10049 if test "x$as_val" = x
""yes; then :
10050 cat >>confdefs.h
<<_ACEOF
10051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10057 if test "x$ac_cv_func_fork" = xyes
; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10059 $as_echo_n "checking for working fork... " >&6; }
10060 if test "${ac_cv_func_fork_works+set}" = set; then :
10061 $as_echo_n "(cached) " >&6
10063 if test "$cross_compiling" = yes; then :
10064 ac_cv_func_fork_works
=cross
10066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 $ac_includes_default
10073 /* By Ruediger Kuhlmann. */
10074 return fork () < 0;
10080 if ac_fn_c_try_run
"$LINENO"; then :
10081 ac_cv_func_fork_works
=yes
10083 ac_cv_func_fork_works
=no
10085 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10086 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10091 $as_echo "$ac_cv_func_fork_works" >&6; }
10094 ac_cv_func_fork_works
=$ac_cv_func_fork
10096 if test "x$ac_cv_func_fork_works" = xcross
; then
10098 *-*-amigaos* |
*-*-msdosdjgpp*)
10099 # Override, as these systems have only a dummy fork() stub
10100 ac_cv_func_fork_works
=no
10103 ac_cv_func_fork_works
=yes
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10107 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10109 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10110 if test "x$ac_cv_func_vfork" = xyes
; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10112 $as_echo_n "checking for working vfork... " >&6; }
10113 if test "${ac_cv_func_vfork_works+set}" = set; then :
10114 $as_echo_n "(cached) " >&6
10116 if test "$cross_compiling" = yes; then :
10117 ac_cv_func_vfork_works
=cross
10119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 /* Thanks to Paul Eggert for this test. */
10122 $ac_includes_default
10123 #include <sys/wait.h>
10124 #ifdef HAVE_VFORK_H
10125 # include <vfork.h>
10127 /* On some sparc systems, changes by the child to local and incoming
10128 argument registers are propagated back to the parent. The compiler
10129 is told about this with #include <vfork.h>, but some compilers
10130 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10131 static variable whose address is put into a register that is
10132 clobbered by the vfork. */
10135 sparc_address_test (int arg)
10137 sparc_address_test (arg) int arg;
10140 static pid_t child;
10158 pid_t parent = getpid ();
10161 sparc_address_test (0);
10166 /* Here is another test for sparc vfork register problems. This
10167 test uses lots of local variables, at least as many local
10168 variables as main has allocated so far including compiler
10169 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10170 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10171 reuse the register of parent for one of the local variables,
10172 since it will think that parent can't possibly be used any more
10173 in this routine. Assigning to the local variable will thus
10174 munge parent in the parent process. */
10176 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10177 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10178 /* Convince the compiler that p..p7 are live; otherwise, it might
10179 use the same hardware register for all 8 local variables. */
10180 if (p != p1 || p != p2 || p != p3 || p != p4
10181 || p != p5 || p != p6 || p != p7)
10184 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10185 from child file descriptors. If the child closes a descriptor
10186 before it execs or exits, this munges the parent's descriptor
10187 as well. Test for this by closing stdout in the child. */
10188 _exit(close(fileno(stdout)) != 0);
10193 while (wait(&status) != child)
10196 /* Was there some problem with vforking? */
10199 /* Did the child fail? (This shouldn't happen.) */
10202 /* Did the vfork/compiler bug occur? */
10203 || parent != getpid()
10205 /* Did the file descriptor bug occur? */
10206 || fstat(fileno(stdout), &st) != 0
10211 if ac_fn_c_try_run
"$LINENO"; then :
10212 ac_cv_func_vfork_works
=yes
10214 ac_cv_func_vfork_works
=no
10216 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10217 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
10222 $as_echo "$ac_cv_func_vfork_works" >&6; }
10225 if test "x$ac_cv_func_fork_works" = xcross
; then
10226 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10228 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10231 if test "x$ac_cv_func_vfork_works" = xyes
; then
10233 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
10237 $as_echo "#define vfork fork" >>confdefs.h
10240 if test "x$ac_cv_func_fork_works" = xyes
; then
10242 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10247 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10248 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10249 $as_echo_n "(cached) " >&6
10251 rm -f conftest.sym conftest.
file
10252 echo >conftest.
file
10253 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10254 if test "$cross_compiling" = yes; then :
10255 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 $ac_includes_default
10264 /* Linux will dereference the symlink and fail, as required by POSIX.
10265 That is better in the sense that it means we will not
10266 have to compile and use the lstat wrapper. */
10267 return lstat ("conftest.sym/", &sbuf) == 0;
10272 if ac_fn_c_try_run
"$LINENO"; then :
10273 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10275 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10277 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10278 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10282 # If the `ln -s' command failed, then we probably don't even
10283 # have an lstat function.
10284 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10286 rm -f conftest.sym conftest.
file
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10290 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10292 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10294 cat >>confdefs.h
<<_ACEOF
10295 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10299 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10300 case " $LIBOBJS " in
10301 *" lstat.$ac_objext "* ) ;;
10302 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10308 if test x
$SYS != xwin32
; then :
10310 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10311 # -lseq on Dynix/PTX, -lgen on Unixware.
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
10313 $as_echo_n "checking for library containing getmntent... " >&6; }
10314 if test "${ac_cv_search_getmntent+set}" = set; then :
10315 $as_echo_n "(cached) " >&6
10317 ac_func_search_save_LIBS
=$LIBS
10318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10331 return getmntent ();
10336 for ac_lib
in '' sun
seq gen
; do
10337 if test -z "$ac_lib"; then
10338 ac_res
="none required"
10341 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10343 if ac_fn_c_try_link
"$LINENO"; then :
10344 ac_cv_search_getmntent
=$ac_res
10346 rm -f core conftest.err conftest.
$ac_objext \
10348 if test "${ac_cv_search_getmntent+set}" = set; then :
10352 if test "${ac_cv_search_getmntent+set}" = set; then :
10355 ac_cv_search_getmntent
=no
10357 rm conftest.
$ac_ext
10358 LIBS
=$ac_func_search_save_LIBS
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
10361 $as_echo "$ac_cv_search_getmntent" >&6; }
10362 ac_res
=$ac_cv_search_getmntent
10363 if test "$ac_res" != no
; then :
10364 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10365 ac_cv_func_getmntent
=yes
10367 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
10370 ac_cv_func_getmntent
=no
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
10375 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
10376 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
10377 $as_echo_n "(cached) " >&6
10379 if test "$cross_compiling" = yes; then :
10380 ac_cv_func_lstat_empty_string_bug
=yes
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10384 $ac_includes_default
10389 return lstat ("", &sbuf) == 0;
10394 if ac_fn_c_try_run
"$LINENO"; then :
10395 ac_cv_func_lstat_empty_string_bug
=no
10397 ac_cv_func_lstat_empty_string_bug
=yes
10399 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10400 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
10405 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
10406 if test $ac_cv_func_lstat_empty_string_bug = yes; then
10407 case " $LIBOBJS " in
10408 *" lstat.$ac_objext "* ) ;;
10409 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10414 cat >>confdefs.h
<<_ACEOF
10415 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10421 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10422 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10423 $as_echo_n "(cached) " >&6
10425 rm -f conftest.sym conftest.
file
10426 echo >conftest.
file
10427 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10428 if test "$cross_compiling" = yes; then :
10429 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 $ac_includes_default
10438 /* Linux will dereference the symlink and fail, as required by POSIX.
10439 That is better in the sense that it means we will not
10440 have to compile and use the lstat wrapper. */
10441 return lstat ("conftest.sym/", &sbuf) == 0;
10446 if ac_fn_c_try_run
"$LINENO"; then :
10447 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10449 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10451 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10452 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10456 # If the `ln -s' command failed, then we probably don't even
10457 # have an lstat function.
10458 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10460 rm -f conftest.sym conftest.
file
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10464 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10466 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10468 cat >>confdefs.h
<<_ACEOF
10469 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10473 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10474 case " $LIBOBJS " in
10475 *" lstat.$ac_objext "* ) ;;
10476 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
10485 $as_echo_n "checking for working memcmp... " >&6; }
10486 if test "${ac_cv_func_memcmp_working+set}" = set; then :
10487 $as_echo_n "(cached) " >&6
10489 if test "$cross_compiling" = yes; then :
10490 ac_cv_func_memcmp_working
=no
10492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10494 $ac_includes_default
10499 /* Some versions of memcmp are not 8-bit clean. */
10500 char c0 = '\100', c1 = '\200', c2 = '\201';
10501 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10504 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10505 or more and with at least one buffer not starting on a 4-byte boundary.
10506 William Lewis provided this test program. */
10511 for (i = 0; i < 4; i++)
10515 strcpy (a, "--------01111111");
10516 strcpy (b, "--------10000000");
10517 if (memcmp (a, b, 16) >= 0)
10527 if ac_fn_c_try_run
"$LINENO"; then :
10528 ac_cv_func_memcmp_working
=yes
10530 ac_cv_func_memcmp_working
=no
10532 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10533 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
10538 $as_echo "$ac_cv_func_memcmp_working" >&6; }
10539 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10540 *" memcmp.$ac_objext "* ) ;;
10541 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10546 for ac_header
in sys
/select.h sys
/socket.h
10548 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10549 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10550 eval as_val
=\$
$as_ac_Header
10551 if test "x$as_val" = x
""yes; then :
10552 cat >>confdefs.h
<<_ACEOF
10553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
10561 $as_echo_n "checking types of arguments for select... " >&6; }
10562 if test "${ac_cv_func_select_args+set}" = set; then :
10563 $as_echo_n "(cached) " >&6
10565 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10566 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10567 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10570 $ac_includes_default
10571 #ifdef HAVE_SYS_SELECT_H
10572 # include <sys/select.h>
10574 #ifdef HAVE_SYS_SOCKET_H
10575 # include <sys/socket.h>
10581 extern int select ($ac_arg1,
10582 $ac_arg234, $ac_arg234, $ac_arg234,
10588 if ac_fn_c_try_compile
"$LINENO"; then :
10589 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10595 # Provide a safe default value.
10596 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10600 $as_echo "$ac_cv_func_select_args" >&6; }
10601 ac_save_IFS
=$IFS; IFS
=','
10602 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10606 cat >>confdefs.h
<<_ACEOF
10607 #define SELECT_TYPE_ARG1 $1
10611 cat >>confdefs.h
<<_ACEOF
10612 #define SELECT_TYPE_ARG234 ($2)
10616 cat >>confdefs.h
<<_ACEOF
10617 #define SELECT_TYPE_ARG5 ($3)
10622 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
10623 $as_echo_n "(cached) " >&6
10625 ac_cv_func_setvbuf_reversed
=no
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10630 $as_echo_n "checking return type of signal handlers... " >&6; }
10631 if test "${ac_cv_type_signal+set}" = set; then :
10632 $as_echo_n "(cached) " >&6
10634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 #include <sys/types.h>
10637 #include <signal.h>
10642 return *(signal (0, 0)) (0) == 1;
10647 if ac_fn_c_try_compile
"$LINENO"; then :
10648 ac_cv_type_signal
=int
10650 ac_cv_type_signal
=void
10652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
10655 $as_echo "$ac_cv_type_signal" >&6; }
10657 cat >>confdefs.h
<<_ACEOF
10658 #define RETSIGTYPE $ac_cv_type_signal
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
10663 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10664 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
10665 $as_echo_n "(cached) " >&6
10667 if test "$cross_compiling" = yes; then :
10668 ac_cv_func_stat_empty_string_bug
=yes
10670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10672 $ac_includes_default
10677 return stat ("", &sbuf) == 0;
10682 if ac_fn_c_try_run
"$LINENO"; then :
10683 ac_cv_func_stat_empty_string_bug
=no
10685 ac_cv_func_stat_empty_string_bug
=yes
10687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
10693 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10694 if test $ac_cv_func_stat_empty_string_bug = yes; then
10695 case " $LIBOBJS " in
10696 *" stat.$ac_objext "* ) ;;
10697 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
10702 cat >>confdefs.h
<<_ACEOF
10703 #define HAVE_STAT_EMPTY_STRING_BUG 1
10708 for ac_func
in strftime
10710 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
10711 if test "x$ac_cv_func_strftime" = x
""yes; then :
10712 cat >>confdefs.h
<<_ACEOF
10713 #define HAVE_STRFTIME 1
10717 # strftime is in -lintl on SCO UNIX.
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
10719 $as_echo_n "checking for strftime in -lintl... " >&6; }
10720 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
10721 $as_echo_n "(cached) " >&6
10723 ac_check_lib_save_LIBS
=$LIBS
10724 LIBS
="-lintl $LIBS"
10725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10738 return strftime ();
10743 if ac_fn_c_try_link
"$LINENO"; then :
10744 ac_cv_lib_intl_strftime
=yes
10746 ac_cv_lib_intl_strftime
=no
10748 rm -f core conftest.err conftest.
$ac_objext \
10749 conftest
$ac_exeext conftest.
$ac_ext
10750 LIBS
=$ac_check_lib_save_LIBS
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
10753 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
10754 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
10755 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
10757 LIBS
="-lintl $LIBS"
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
10764 $as_echo_n "checking for working strtod... " >&6; }
10765 if test "${ac_cv_func_strtod+set}" = set; then :
10766 $as_echo_n "(cached) " >&6
10768 if test "$cross_compiling" = yes; then :
10769 ac_cv_func_strtod
=no
10771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10774 $ac_includes_default
10782 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10783 char *string = " +69";
10786 value = strtod (string, &term);
10787 if (value != 69 || term != (string + 4))
10792 /* Under Solaris 2.4, strtod returns the wrong value for the
10793 terminating character under some conditions. */
10794 char *string = "NaN";
10796 strtod (string, &term);
10797 if (term != string && *(term - 1) == 0)
10804 if ac_fn_c_try_run
"$LINENO"; then :
10805 ac_cv_func_strtod
=yes
10807 ac_cv_func_strtod
=no
10809 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10810 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
10815 $as_echo "$ac_cv_func_strtod" >&6; }
10816 if test $ac_cv_func_strtod = no
; then
10817 case " $LIBOBJS " in
10818 *" strtod.$ac_objext "* ) ;;
10819 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
10823 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
10824 if test "x$ac_cv_func_pow" = x
""yes; then :
10828 if test $ac_cv_func_pow = no
; then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
10830 $as_echo_n "checking for pow in -lm... " >&6; }
10831 if test "${ac_cv_lib_m_pow+set}" = set; then :
10832 $as_echo_n "(cached) " >&6
10834 ac_check_lib_save_LIBS
=$LIBS
10836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10854 if ac_fn_c_try_link
"$LINENO"; then :
10855 ac_cv_lib_m_pow
=yes
10859 rm -f core conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10861 LIBS
=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
10864 $as_echo "$ac_cv_lib_m_pow" >&6; }
10865 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
10869 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10876 for ac_func
in vprintf
10878 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10879 if test "x$ac_cv_func_vprintf" = x
""yes; then :
10880 cat >>confdefs.h
<<_ACEOF
10881 #define HAVE_VPRINTF 1
10884 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10885 if test "x$ac_cv_func__doprnt" = x
""yes; then :
10887 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10895 if test $cross_compiling = yes -a $gnumalloc = yes; then :
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10898 configure cannot check whether malloc() and realloc() are GNU libc
10899 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10900 run configure with the --without-gnu-malloc switch." >&5
10901 $as_echo "$as_me: WARNING:
10902 configure cannot check whether malloc() and realloc() are GNU libc
10903 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10904 run configure with the --without-gnu-malloc switch." >&2;}
10905 _mule_warning_8
=yes
10906 _mule_has_warnings
=yes
10908 ac_cv_func_malloc_0_nonnull
=yes
10909 ac_cv_func_realloc_0_nonnull
=yes
10912 for ac_header
in stdlib.h
10914 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10915 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10916 cat >>confdefs.h
<<_ACEOF
10917 #define HAVE_STDLIB_H 1
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10925 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
10926 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
10927 $as_echo_n "(cached) " >&6
10929 if test "$cross_compiling" = yes; then :
10930 ac_cv_func_malloc_0_nonnull
=no
10932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10934 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10935 # include <stdlib.h>
10943 return ! malloc (0);
10948 if ac_fn_c_try_run
"$LINENO"; then :
10949 ac_cv_func_malloc_0_nonnull
=yes
10951 ac_cv_func_malloc_0_nonnull
=no
10953 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10954 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
10959 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
10960 if test $ac_cv_func_malloc_0_nonnull = yes; then :
10962 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
10965 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
10967 case " $LIBOBJS " in
10968 *" malloc.$ac_objext "* ) ;;
10969 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
10974 $as_echo "#define malloc rpl_malloc" >>confdefs.h
10979 for ac_header
in stdlib.h
10981 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10982 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10983 cat >>confdefs.h
<<_ACEOF
10984 #define HAVE_STDLIB_H 1
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
10992 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
10993 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
10994 $as_echo_n "(cached) " >&6
10996 if test "$cross_compiling" = yes; then :
10997 ac_cv_func_realloc_0_nonnull
=no
10999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11002 # include <stdlib.h>
11010 return ! realloc (0, 0);
11015 if ac_fn_c_try_run
"$LINENO"; then :
11016 ac_cv_func_realloc_0_nonnull
=yes
11018 ac_cv_func_realloc_0_nonnull
=no
11020 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11021 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11026 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11027 if test $ac_cv_func_realloc_0_nonnull = yes; then :
11029 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11032 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11034 case " $LIBOBJS " in
11035 *" realloc.$ac_objext "* ) ;;
11036 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11041 $as_echo "#define realloc rpl_realloc" >>confdefs.h
11046 for ac_func
in __argz_count __argz_next __argz_stringify endpwent floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getpass gettimeofday inet_ntoa localeconv memmove mempcpy memset nl_langinfo pow
select setlocale socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strstr strtoul sigaction
11048 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11049 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11050 eval as_val
=\$
$as_ac_var
11051 if test "x$as_val" = x
""yes; then :
11052 cat >>confdefs.h
<<_ACEOF
11053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11059 #-------------------------------------------------------------------------------
11060 # End of autoscan stuff
11061 #-------------------------------------------------------------------------------
11063 for ac_func
in mkdir getrlimit setrlimit getopt_long
11065 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11066 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11067 eval as_val
=\$
$as_ac_var
11068 if test "x$as_val" = x
""yes; then :
11069 cat >>confdefs.h
<<_ACEOF
11070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11080 for ac_header
in $ac_header_list
11082 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11083 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11085 eval as_val
=\$
$as_ac_Header
11086 if test "x$as_val" = x
""yes; then :
11087 cat >>confdefs.h
<<_ACEOF
11088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11101 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11103 # Check whether --enable-mmap was given.
11104 if test "${enable_mmap+set}" = set; then :
11105 enableval
=$enable_mmap;
11110 if test ${enable_mmap:-no} = yes; then :
11112 for ac_header
in sys
/mman.h
11114 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11115 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11116 cat >>confdefs.h
<<_ACEOF
11117 #define HAVE_SYS_MMAN_H 1
11125 for ac_func
in getpagesize
11127 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11128 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
11129 cat >>confdefs.h
<<_ACEOF
11130 #define HAVE_GETPAGESIZE 1
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11137 $as_echo_n "checking for working mmap... " >&6; }
11138 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
11139 $as_echo_n "(cached) " >&6
11141 if test "$cross_compiling" = yes; then :
11142 ac_cv_func_mmap_fixed_mapped
=no
11144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 $ac_includes_default
11147 /* malloc might have been renamed as rpl_malloc. */
11150 /* Thanks to Mike Haertel and Jim Avera for this test.
11151 Here is a matrix of mmap possibilities:
11152 mmap private not fixed
11153 mmap private fixed at somewhere currently unmapped
11154 mmap private fixed at somewhere already mapped
11155 mmap shared not fixed
11156 mmap shared fixed at somewhere currently unmapped
11157 mmap shared fixed at somewhere already mapped
11158 For private mappings, we should verify that changes cannot be read()
11159 back from the file, nor mmap's back from the file at a different
11160 address. (There have been systems where private was not correctly
11161 implemented like the infamous i386 svr4.0, and systems where the
11162 VM page cache was not coherent with the file system buffer cache
11163 like early versions of FreeBSD and possibly contemporary NetBSD.)
11164 For shared mappings, we should conversely verify that changes get
11165 propagated back to all the places they're supposed to be.
11167 Grep wants private fixed already mapped.
11168 The main things grep needs to know about mmap are:
11169 * does it exist and is it safe to write into the mmap'd area
11170 * how to use it (BSD variants) */
11173 #include <sys/mman.h>
11175 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11179 /* This mess was copied from the GNU getpagesize.h. */
11180 #ifndef HAVE_GETPAGESIZE
11181 # ifdef _SC_PAGESIZE
11182 # define getpagesize() sysconf(_SC_PAGESIZE)
11183 # else /* no _SC_PAGESIZE */
11184 # ifdef HAVE_SYS_PARAM_H
11185 # include <sys/param.h>
11186 # ifdef EXEC_PAGESIZE
11187 # define getpagesize() EXEC_PAGESIZE
11188 # else /* no EXEC_PAGESIZE */
11190 # define getpagesize() NBPG * CLSIZE
11193 # endif /* no CLSIZE */
11194 # else /* no NBPG */
11196 # define getpagesize() NBPC
11197 # else /* no NBPC */
11199 # define getpagesize() PAGESIZE
11200 # endif /* PAGESIZE */
11201 # endif /* no NBPC */
11202 # endif /* no NBPG */
11203 # endif /* no EXEC_PAGESIZE */
11204 # else /* no HAVE_SYS_PARAM_H */
11205 # define getpagesize() 8192 /* punt totally */
11206 # endif /* no HAVE_SYS_PARAM_H */
11207 # endif /* no _SC_PAGESIZE */
11209 #endif /* no HAVE_GETPAGESIZE */
11214 char *data, *data2, *data3;
11218 pagesize = getpagesize ();
11220 /* First, make a file with some known garbage in it. */
11221 data = (char *) malloc (pagesize);
11224 for (i = 0; i < pagesize; ++i)
11225 *(data + i) = rand ();
11227 fd = creat ("conftest.mmap", 0600);
11230 if (write (fd, data, pagesize) != pagesize)
11234 /* Next, check that the tail of a page is zero-filled. File must have
11235 non-zero length, otherwise we risk SIGBUS for entire page. */
11236 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11240 if (write (fd2, data2, 1) != 1)
11242 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11243 if (data2 == MAP_FAILED)
11245 for (i = 0; i < pagesize; ++i)
11249 if (munmap (data2, pagesize))
11252 /* Next, try to mmap the file at a fixed address which already has
11253 something else allocated at it. If we can, also make sure that
11254 we see the same garbage. */
11255 fd = open ("conftest.mmap", O_RDWR);
11258 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11259 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11261 for (i = 0; i < pagesize; ++i)
11262 if (*(data + i) != *(data2 + i))
11265 /* Finally, make sure that changes to the mapped area do not
11266 percolate back to the file as seen by read(). (This is a bug on
11267 some variants of i386 svr4.0.) */
11268 for (i = 0; i < pagesize; ++i)
11269 *(data2 + i) = *(data2 + i) + 1;
11270 data3 = (char *) malloc (pagesize);
11273 if (read (fd, data3, pagesize) != pagesize)
11275 for (i = 0; i < pagesize; ++i)
11276 if (*(data + i) != *(data3 + i))
11282 if ac_fn_c_try_run
"$LINENO"; then :
11283 ac_cv_func_mmap_fixed_mapped
=yes
11285 ac_cv_func_mmap_fixed_mapped
=no
11287 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11288 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11293 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11294 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11296 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11299 rm -f conftest.mmap conftest.txt
11301 for ac_func
in munmap sysconf
11303 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11304 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11305 eval as_val
=\$
$as_ac_var
11306 if test "x$as_val" = x
""yes; then :
11307 cat >>confdefs.h
<<_ACEOF
11308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11314 if test $ac_cv_func_sysconf = yes; then :
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
11317 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
11318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11322 #include <unistd.h>
11328 return sysconf(_SC_PAGESIZE);
11335 if ac_fn_c_try_link
"$LINENO"; then :
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
11338 $as_echo "_SC_PAGESIZE" >&6; }
11340 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
11345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11349 #include <unistd.h>
11355 return sysconf(_SC_PAGE_SIZE);
11362 if ac_fn_c_try_link
"$LINENO"; then :
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
11365 $as_echo "_SC_PAGE_SIZE" >&6; }
11367 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11373 $as_echo "none" >&6; }
11376 rm -f core conftest.err conftest.
$ac_objext \
11377 conftest
$ac_exeext conftest.
$ac_ext
11380 rm -f core conftest.err conftest.
$ac_objext \
11381 conftest
$ac_exeext conftest.
$ac_ext
11387 # fake the result of the test for munmap() for the gettext macros
11388 ac_cv_func_munmap
=no
11394 mule_backup_CPPFLAGS
="$CPPFLAGS"
11395 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
11396 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11397 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
11403 cat >>confdefs.h
<<_ACEOF
11404 #define HAVE_DECL_STRERROR_R $ac_have_decl
11407 for ac_func
in strerror_r
11409 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11410 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
11411 cat >>confdefs.h
<<_ACEOF
11412 #define HAVE_STRERROR_R 1
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11419 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
11420 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
11421 $as_echo_n "(cached) " >&6
11424 ac_cv_func_strerror_r_char_p
=no
11425 if test $ac_cv_have_decl_strerror_r = yes; then
11426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 $ac_includes_default
11434 char x = *strerror_r (0, buf, sizeof buf);
11435 char *p = strerror_r (0, buf, sizeof buf);
11442 if ac_fn_c_try_compile
"$LINENO"; then :
11443 ac_cv_func_strerror_r_char_p
=yes
11445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11447 # strerror_r is not declared. Choose between
11448 # systems that have relatively inaccessible declarations for the
11449 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11450 # former has a strerror_r that returns char*, while the latter
11451 # has a strerror_r that returns `int'.
11452 # This test should segfault on the DEC system.
11453 if test "$cross_compiling" = yes; then :
11456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11458 $ac_includes_default
11459 extern char *strerror_r ();
11464 char x = *strerror_r (0, buf, sizeof buf);
11465 return ! isalpha (x);
11470 if ac_fn_c_try_run
"$LINENO"; then :
11471 ac_cv_func_strerror_r_char_p
=yes
11473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11481 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
11482 if test $ac_cv_func_strerror_r_char_p = yes; then
11484 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
11488 CPPFLAGS
="$mule_backup_CPPFLAGS"
11490 # Look for a way to preallocate disk space for files.
11491 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
11494 $as_echo_n "checking for fallocate... " >&6; }
11495 mule_backup_CPPFLAGS
="$CPPFLAGS"
11496 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
11497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11501 #define _GNU_SOURCE
11502 #ifdef HAVE_FCNTL_H
11503 # include <fcntl.h>
11505 #include <linux/falloc.h>
11511 fallocate(0, 0, 0, 0);
11518 if ac_fn_c_try_link
"$LINENO"; then :
11521 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11524 $as_echo "yes" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11529 $as_echo "no" >&6; }
11532 rm -f core conftest.err conftest.
$ac_objext \
11533 conftest
$ac_exeext conftest.
$ac_ext
11534 CPPFLAGS
="$mule_backup_CPPFLAGS"
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
11538 $as_echo_n "checking for SYS_fallocate... " >&6; }
11539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11543 #include <sys/syscall.h>
11544 #include <sys/types.h>
11545 #include <unistd.h>
11551 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
11558 if ac_fn_c_try_link
"$LINENO"; then :
11561 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11564 $as_echo "yes" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11569 $as_echo "no" >&6; }
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
11576 $as_echo_n "checking for posix_fallocate... " >&6; }
11577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11581 #define _XOPEN_SOURCE 600
11582 #include <stdlib.h>
11583 #ifdef HAVE_FCNTL_H
11584 # include <fcntl.h>
11591 posix_fallocate(0, 0, 0);
11598 if ac_fn_c_try_link
"$LINENO"; then :
11601 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11604 $as_echo "yes" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11612 rm -f core conftest.err conftest.
$ac_objext \
11613 conftest
$ac_exeext conftest.
$ac_ext
11617 # Checking Native Language Support
11621 if test -n "$ac_aux_dir"; then
11622 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
11624 if test -z "$MKINSTALLDIRS"; then
11625 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11632 # Extract the first word of "msgfmt", so it can be a program name with args.
11633 set dummy msgfmt
; ac_word
=$2
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11635 $as_echo_n "checking for $ac_word... " >&6; }
11636 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11637 $as_echo_n "(cached) " >&6
11641 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11644 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11645 for ac_dir
in $PATH; do
11646 test -z "$ac_dir" && ac_dir
=.
11647 if test -f $ac_dir/$ac_word; then
11648 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11649 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11650 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
11656 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11660 MSGFMT
="$ac_cv_path_MSGFMT"
11661 if test "$MSGFMT" != ":"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11663 $as_echo "$MSGFMT" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11669 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11670 set dummy gmsgfmt
; ac_word
=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 $as_echo_n "checking for $ac_word... " >&6; }
11673 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11674 $as_echo_n "(cached) " >&6
11678 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11682 for as_dir
in $PATH
11685 test -z "$as_dir" && as_dir
=.
11686 for ac_exec_ext
in '' $ac_executable_extensions; do
11687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11688 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11696 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11700 GMSGFMT
=$ac_cv_path_GMSGFMT
11701 if test -n "$GMSGFMT"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11703 $as_echo "$GMSGFMT" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11711 # Extract the first word of "xgettext", so it can be a program name with args.
11712 set dummy xgettext
; ac_word
=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11714 $as_echo_n "checking for $ac_word... " >&6; }
11715 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11716 $as_echo_n "(cached) " >&6
11718 case "$XGETTEXT" in
11720 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11723 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11724 for ac_dir
in $PATH; do
11725 test -z "$ac_dir" && ac_dir
=.
11726 if test -f $ac_dir/$ac_word; then
11727 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11728 (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
11729 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
11735 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11739 XGETTEXT
="$ac_cv_path_XGETTEXT"
11740 if test "$XGETTEXT" != ":"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11742 $as_echo "$XGETTEXT" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11750 # Extract the first word of "msgmerge", so it can be a program name with args.
11751 set dummy msgmerge
; ac_word
=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 $as_echo_n "checking for $ac_word... " >&6; }
11754 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11755 $as_echo_n "(cached) " >&6
11757 case "$MSGMERGE" in
11759 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11762 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11763 for ac_dir
in $PATH; do
11764 test -z "$ac_dir" && ac_dir
=.
11765 if test -f $ac_dir/$ac_word; then
11766 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11767 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
11773 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11777 MSGMERGE
="$ac_cv_path_MSGMERGE"
11778 if test "$MSGMERGE" != ":"; then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11780 $as_echo "$MSGMERGE" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11783 $as_echo "no" >&6; }
11787 if test "$GMSGFMT" != ":"; then
11788 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11789 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11792 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11794 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11799 if test "$XGETTEXT" != ":"; then
11800 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11801 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11805 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11811 ac_config_commands
="$ac_config_commands default-1"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11816 $as_echo_n "checking for strerror in -lcposix... " >&6; }
11817 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
11818 $as_echo_n "(cached) " >&6
11820 ac_check_lib_save_LIBS
=$LIBS
11821 LIBS
="-lcposix $LIBS"
11822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11835 return strerror ();
11840 if ac_fn_c_try_link
"$LINENO"; then :
11841 ac_cv_lib_cposix_strerror
=yes
11843 ac_cv_lib_cposix_strerror
=no
11845 rm -f core conftest.err conftest.
$ac_objext \
11846 conftest
$ac_exeext conftest.
$ac_ext
11847 LIBS
=$ac_check_lib_save_LIBS
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11850 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11851 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
11852 LIBS
="$LIBS -lcposix"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
11859 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
11860 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
11861 $as_echo_n "(cached) " >&6
11863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h. */
11866 #include <features.h>
11867 #ifdef __GNU_LIBRARY__
11868 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
11874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11875 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
11876 ac_cv_gnu_library_2_1
=yes
11878 ac_cv_gnu_library_2_1
=no
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
11886 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
11888 GLIBC21
="$ac_cv_gnu_library_2_1"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11894 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11895 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
11896 $as_echo_n "(cached) " >&6
11899 if test "$cross_compiling" = yes; then :
11901 # Guess based on the CPU.
11902 case "$host_cpu" in
11903 alpha
* | i3456786 | m68k | s390
*)
11904 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
11906 gt_cv_int_divbyzero_sigfpe
="guessing no";;
11910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 #include <stdlib.h>
11914 #include <signal.h>
11918 sigfpe_handler (int sig)
11920 sigfpe_handler (sig) int sig;
11923 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
11924 exit (sig != SIGFPE);
11934 signal (SIGFPE, sigfpe_handler);
11935 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
11936 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
11937 signal (SIGTRAP, sigfpe_handler);
11939 /* Linux/SPARC yields signal SIGILL. */
11940 #if defined (__sparc__) && defined (__linux__)
11941 signal (SIGILL, sigfpe_handler);
11950 if ac_fn_c_try_run
"$LINENO"; then :
11951 gt_cv_int_divbyzero_sigfpe
=yes
11953 gt_cv_int_divbyzero_sigfpe
=no
11955 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11956 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
11962 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
11963 case "$gt_cv_int_divbyzero_sigfpe" in
11968 cat >>confdefs.h
<<_ACEOF
11969 #define INTDIV0_RAISES_SIGFPE $value
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
11975 $as_echo_n "checking for inttypes.h... " >&6; }
11976 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
11977 $as_echo_n "(cached) " >&6
11979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <sys/types.h>
11982 #include <inttypes.h>
11986 uintmax_t i = (uintmax_t) -1;
11991 if ac_fn_c_try_compile
"$LINENO"; then :
11992 jm_ac_cv_header_inttypes_h
=yes
11994 jm_ac_cv_header_inttypes_h
=no
11996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
11999 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
12000 if test $jm_ac_cv_header_inttypes_h = yes; then
12002 cat >>confdefs.h
<<_ACEOF
12003 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12010 $as_echo_n "checking for stdint.h... " >&6; }
12011 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
12012 $as_echo_n "(cached) " >&6
12014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12016 #include <sys/types.h>
12017 #include <stdint.h>
12021 uintmax_t i = (uintmax_t) -1;
12026 if ac_fn_c_try_compile
"$LINENO"; then :
12027 jm_ac_cv_header_stdint_h
=yes
12029 jm_ac_cv_header_stdint_h
=no
12031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
12034 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
12035 if test $jm_ac_cv_header_stdint_h = yes; then
12037 cat >>confdefs.h
<<_ACEOF
12038 #define HAVE_STDINT_H_WITH_UINTMAX 1
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
12045 $as_echo_n "checking for unsigned long long... " >&6; }
12046 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
12047 $as_echo_n "(cached) " >&6
12049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12051 unsigned long long ull = 1; int i = 63;
12055 unsigned long long ullmax = (unsigned long long) -1;
12056 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
12061 if ac_fn_c_try_link
"$LINENO"; then :
12062 ac_cv_type_unsigned_long_long
=yes
12064 ac_cv_type_unsigned_long_long
=no
12066 rm -f core conftest.err conftest.
$ac_objext \
12067 conftest
$ac_exeext conftest.
$ac_ext
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
12070 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
12071 if test $ac_cv_type_unsigned_long_long = yes; then
12073 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
12080 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
12082 test $ac_cv_type_unsigned_long_long = yes \
12083 && ac_type
='unsigned long long' \
12084 || ac_type
='unsigned long'
12086 cat >>confdefs.h
<<_ACEOF
12087 #define uintmax_t $ac_type
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12094 $as_echo_n "checking for inttypes.h... " >&6; }
12095 if test "${gt_cv_header_inttypes_h+set}" = set; then :
12096 $as_echo_n "(cached) " >&6
12099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12101 #include <sys/types.h>
12102 #include <inttypes.h>
12111 if ac_fn_c_try_compile
"$LINENO"; then :
12112 gt_cv_header_inttypes_h
=yes
12114 gt_cv_header_inttypes_h
=no
12116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
12120 $as_echo "$gt_cv_header_inttypes_h" >&6; }
12121 if test $gt_cv_header_inttypes_h = yes; then
12123 cat >>confdefs.h
<<_ACEOF
12124 #define HAVE_INTTYPES_H 1
12131 if test $gt_cv_header_inttypes_h = yes; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12133 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12134 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
12135 $as_echo_n "(cached) " >&6
12138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <inttypes.h>
12153 if ac_fn_c_try_compile
"$LINENO"; then :
12154 gt_cv_inttypes_pri_broken
=no
12156 gt_cv_inttypes_pri_broken
=yes
12158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
12162 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
12164 if test "$gt_cv_inttypes_pri_broken" = yes; then
12166 cat >>confdefs.h
<<_ACEOF
12167 #define PRI_MACROS_BROKEN 1
12173 if test "X$prefix" = "XNONE"; then
12174 acl_final_prefix
="$ac_default_prefix"
12176 acl_final_prefix
="$prefix"
12178 if test "X$exec_prefix" = "XNONE"; then
12179 acl_final_exec_prefix
='${prefix}'
12181 acl_final_exec_prefix
="$exec_prefix"
12183 acl_save_prefix
="$prefix"
12184 prefix
="$acl_final_prefix"
12185 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12186 prefix
="$acl_save_prefix"
12189 # Check whether --with-gnu-ld was given.
12190 if test "${with_gnu_ld+set}" = set; then :
12191 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12197 if test "$GCC" = yes; then
12198 # Check if gcc -print-prog-name=ld gives a path.
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12200 $as_echo_n "checking for ld used by GCC... " >&6; }
12203 # gcc leaves a trailing carriage return which upsets mingw
12204 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12206 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12209 # Accept absolute paths.
12210 [\\/]* |
[A-Za-z
]:[\\/]*)
12211 re_direlt
='/[^/][^/]*/\.\./'
12212 # Canonicalize the path of ld
12213 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12214 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12215 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12217 test -z "$LD" && LD
="$ac_prog"
12220 # If it fails, then pretend we aren't using GCC.
12224 # If it is relative, then search for the first ld in PATH.
12225 with_gnu_ld
=unknown
12228 elif test "$with_gnu_ld" = yes; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12230 $as_echo_n "checking for GNU ld... " >&6; }
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12233 $as_echo_n "checking for non-GNU ld... " >&6; }
12235 if test "${acl_cv_path_LD+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12238 if test -z "$LD"; then
12239 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12240 for ac_dir
in $PATH; do
12241 test -z "$ac_dir" && ac_dir
=.
12242 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 acl_cv_path_LD
="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some GNU ld's only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
12248 test "$with_gnu_ld" != no
&& break
12250 test "$with_gnu_ld" != yes && break
12256 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12260 LD
="$acl_cv_path_LD"
12261 if test -n "$LD"; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12263 $as_echo "$LD" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12268 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12270 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12271 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12272 $as_echo_n "(cached) " >&6
12274 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12275 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
12276 acl_cv_prog_gnu_ld
=yes
12278 acl_cv_prog_gnu_ld
=no
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12282 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12283 with_gnu_ld
=$acl_cv_prog_gnu_ld
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12288 $as_echo_n "checking for shared library run path origin... " >&6; }
12289 if test "${acl_cv_rpath+set}" = set; then :
12290 $as_echo_n "(cached) " >&6
12293 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12294 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12296 rm -f .
/conftest.sh
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12301 $as_echo "$acl_cv_rpath" >&6; }
12303 libext
="$acl_cv_libext"
12304 shlibext
="$acl_cv_shlibext"
12305 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12306 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12307 hardcode_direct
="$acl_cv_hardcode_direct"
12308 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12309 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
12310 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
12311 # Check whether --enable-rpath was given.
12312 if test "${enable_rpath+set}" = set; then :
12313 enableval
=$enable_rpath; :
12327 acl_save_prefix
="$prefix"
12328 prefix
="$acl_final_prefix"
12329 acl_save_exec_prefix
="$exec_prefix"
12330 exec_prefix
="$acl_final_exec_prefix"
12332 eval additional_includedir
=\"$includedir\"
12333 eval additional_libdir
=\"$libdir\"
12335 exec_prefix
="$acl_save_exec_prefix"
12336 prefix
="$acl_save_prefix"
12339 # Check whether --with-libiconv-prefix was given.
12340 if test "${with_libiconv_prefix+set}" = set; then :
12341 withval
=$with_libiconv_prefix;
12342 if test "X$withval" = "Xno"; then
12345 if test "X$withval" = "X"; then
12347 acl_save_prefix
="$prefix"
12348 prefix
="$acl_final_prefix"
12349 acl_save_exec_prefix
="$exec_prefix"
12350 exec_prefix
="$acl_final_exec_prefix"
12352 eval additional_includedir
=\"$includedir\"
12353 eval additional_libdir
=\"$libdir\"
12355 exec_prefix
="$acl_save_exec_prefix"
12356 prefix
="$acl_save_prefix"
12359 additional_includedir
="$withval/include"
12360 additional_libdir
="$withval/lib"
12371 names_already_handled
=
12372 names_next_round
='iconv '
12373 while test -n "$names_next_round"; do
12374 names_this_round
="$names_next_round"
12376 for name
in $names_this_round; do
12378 for n
in $names_already_handled; do
12379 if test "$n" = "$name"; then
12380 already_handled
=yes
12384 if test -z "$already_handled"; then
12385 names_already_handled
="$names_already_handled $name"
12386 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12387 eval value
=\"\
$HAVE_LIB$uppername\"
12388 if test -n "$value"; then
12389 if test "$value" = yes; then
12390 eval value
=\"\
$LIB$uppername\"
12391 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12392 eval value
=\"\
$LTLIB$uppername\"
12393 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12402 if test $use_additional = yes; then
12403 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12404 found_dir
="$additional_libdir"
12405 found_so
="$additional_libdir/lib$name.$shlibext"
12406 if test -f "$additional_libdir/lib$name.la"; then
12407 found_la
="$additional_libdir/lib$name.la"
12410 if test -f "$additional_libdir/lib$name.$libext"; then
12411 found_dir
="$additional_libdir"
12412 found_a
="$additional_libdir/lib$name.$libext"
12413 if test -f "$additional_libdir/lib$name.la"; then
12414 found_la
="$additional_libdir/lib$name.la"
12419 if test "X$found_dir" = "X"; then
12420 for x
in $LDFLAGS $LTLIBICONV; do
12422 acl_save_prefix
="$prefix"
12423 prefix
="$acl_final_prefix"
12424 acl_save_exec_prefix
="$exec_prefix"
12425 exec_prefix
="$acl_final_exec_prefix"
12427 exec_prefix
="$acl_save_exec_prefix"
12428 prefix
="$acl_save_prefix"
12432 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12433 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12435 found_so
="$dir/lib$name.$shlibext"
12436 if test -f "$dir/lib$name.la"; then
12437 found_la
="$dir/lib$name.la"
12440 if test -f "$dir/lib$name.$libext"; then
12442 found_a
="$dir/lib$name.$libext"
12443 if test -f "$dir/lib$name.la"; then
12444 found_la
="$dir/lib$name.la"
12450 if test "X$found_dir" != "X"; then
12455 if test "X$found_dir" != "X"; then
12456 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12457 if test "X$found_so" != "X"; then
12458 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12459 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12462 for x
in $ltrpathdirs; do
12463 if test "X$x" = "X$found_dir"; then
12468 if test -z "$haveit"; then
12469 ltrpathdirs
="$ltrpathdirs $found_dir"
12471 if test "$hardcode_direct" = yes; then
12472 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12474 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12475 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12477 for x
in $rpathdirs; do
12478 if test "X$x" = "X$found_dir"; then
12483 if test -z "$haveit"; then
12484 rpathdirs
="$rpathdirs $found_dir"
12488 for x
in $LDFLAGS $LIBICONV; do
12490 acl_save_prefix
="$prefix"
12491 prefix
="$acl_final_prefix"
12492 acl_save_exec_prefix
="$exec_prefix"
12493 exec_prefix
="$acl_final_exec_prefix"
12495 exec_prefix
="$acl_save_exec_prefix"
12496 prefix
="$acl_save_prefix"
12498 if test "X$x" = "X-L$found_dir"; then
12503 if test -z "$haveit"; then
12504 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12506 if test "$hardcode_minus_L" != no
; then
12507 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12509 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12515 if test "X$found_a" != "X"; then
12516 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12518 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12521 additional_includedir
=
12522 case "$found_dir" in
12524 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12525 additional_includedir
="$basedir/include"
12528 if test "X$additional_includedir" != "X"; then
12529 if test "X$additional_includedir" != "X/usr/include"; then
12531 if test "X$additional_includedir" = "X/usr/local/include"; then
12532 if test -n "$GCC"; then
12534 linux
*) haveit
=yes;;
12538 if test -z "$haveit"; then
12539 for x
in $CPPFLAGS $INCICONV; do
12541 acl_save_prefix
="$prefix"
12542 prefix
="$acl_final_prefix"
12543 acl_save_exec_prefix
="$exec_prefix"
12544 exec_prefix
="$acl_final_exec_prefix"
12546 exec_prefix
="$acl_save_exec_prefix"
12547 prefix
="$acl_save_prefix"
12549 if test "X$x" = "X-I$additional_includedir"; then
12554 if test -z "$haveit"; then
12555 if test -d "$additional_includedir"; then
12556 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12562 if test -n "$found_la"; then
12563 save_libdir
="$libdir"
12564 case "$found_la" in
12565 */* |
*\\*) .
"$found_la" ;;
12566 *) .
"./$found_la" ;;
12568 libdir
="$save_libdir"
12569 for dep
in $dependency_libs; do
12572 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12573 if test "X$additional_libdir" != "X/usr/lib"; then
12575 if test "X$additional_libdir" = "X/usr/local/lib"; then
12576 if test -n "$GCC"; then
12578 linux
*) haveit
=yes;;
12582 if test -z "$haveit"; then
12584 for x
in $LDFLAGS $LIBICONV; do
12586 acl_save_prefix
="$prefix"
12587 prefix
="$acl_final_prefix"
12588 acl_save_exec_prefix
="$exec_prefix"
12589 exec_prefix
="$acl_final_exec_prefix"
12591 exec_prefix
="$acl_save_exec_prefix"
12592 prefix
="$acl_save_prefix"
12594 if test "X$x" = "X-L$additional_libdir"; then
12599 if test -z "$haveit"; then
12600 if test -d "$additional_libdir"; then
12601 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12605 for x
in $LDFLAGS $LTLIBICONV; do
12607 acl_save_prefix
="$prefix"
12608 prefix
="$acl_final_prefix"
12609 acl_save_exec_prefix
="$exec_prefix"
12610 exec_prefix
="$acl_final_exec_prefix"
12612 exec_prefix
="$acl_save_exec_prefix"
12613 prefix
="$acl_save_prefix"
12615 if test "X$x" = "X-L$additional_libdir"; then
12620 if test -z "$haveit"; then
12621 if test -d "$additional_libdir"; then
12622 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12629 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12630 if test "$enable_rpath" != no
; then
12632 for x
in $rpathdirs; do
12633 if test "X$x" = "X$dir"; then
12638 if test -z "$haveit"; then
12639 rpathdirs
="$rpathdirs $dir"
12642 for x
in $ltrpathdirs; do
12643 if test "X$x" = "X$dir"; then
12648 if test -z "$haveit"; then
12649 ltrpathdirs
="$ltrpathdirs $dir"
12654 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12657 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12660 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12661 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12667 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12668 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12674 if test "X$rpathdirs" != "X"; then
12675 if test -n "$hardcode_libdir_separator"; then
12677 for found_dir
in $rpathdirs; do
12678 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12680 acl_save_libdir
="$libdir"
12682 eval flag
=\"$hardcode_libdir_flag_spec\"
12683 libdir
="$acl_save_libdir"
12684 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12686 for found_dir
in $rpathdirs; do
12687 acl_save_libdir
="$libdir"
12688 libdir
="$found_dir"
12689 eval flag
=\"$hardcode_libdir_flag_spec\"
12690 libdir
="$acl_save_libdir"
12691 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12695 if test "X$ltrpathdirs" != "X"; then
12696 for found_dir
in $ltrpathdirs; do
12697 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12704 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
12705 stdlib.h string.h unistd.h sys
/param.h
12707 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12708 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12709 eval as_val
=\$
$as_ac_Header
12710 if test "x$as_val" = x
""yes; then :
12711 cat >>confdefs.h
<<_ACEOF
12712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12719 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
12720 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
12721 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
12723 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12724 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12725 eval as_val
=\$
$as_ac_var
12726 if test "x$as_val" = x
""yes; then :
12727 cat >>confdefs.h
<<_ACEOF
12728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12740 am_save_CPPFLAGS
="$CPPFLAGS"
12742 for element
in $INCICONV; do
12744 for x
in $CPPFLAGS; do
12746 acl_save_prefix
="$prefix"
12747 prefix
="$acl_final_prefix"
12748 acl_save_exec_prefix
="$exec_prefix"
12749 exec_prefix
="$acl_final_exec_prefix"
12751 exec_prefix
="$acl_save_exec_prefix"
12752 prefix
="$acl_save_prefix"
12754 if test "X$x" = "X$element"; then
12759 if test -z "$haveit"; then
12760 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12766 $as_echo_n "checking for iconv... " >&6; }
12767 if test "${am_cv_func_iconv+set}" = set; then :
12768 $as_echo_n "(cached) " >&6
12771 am_cv_func_iconv
="no, consider installing GNU libiconv"
12773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12775 #include <stdlib.h>
12780 iconv_t cd = iconv_open("","");
12781 iconv(cd,NULL,NULL,NULL,NULL);
12787 if ac_fn_c_try_link
"$LINENO"; then :
12788 am_cv_func_iconv
=yes
12790 rm -f core conftest.err conftest.
$ac_objext \
12791 conftest
$ac_exeext conftest.
$ac_ext
12792 if test "$am_cv_func_iconv" != yes; then
12793 am_save_LIBS
="$LIBS"
12794 LIBS
="$LIBS $LIBICONV"
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12797 #include <stdlib.h>
12802 iconv_t cd = iconv_open("","");
12803 iconv(cd,NULL,NULL,NULL,NULL);
12809 if ac_fn_c_try_link
"$LINENO"; then :
12810 am_cv_lib_iconv
=yes
12811 am_cv_func_iconv
=yes
12813 rm -f core conftest.err conftest.
$ac_objext \
12814 conftest
$ac_exeext conftest.
$ac_ext
12815 LIBS
="$am_save_LIBS"
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12820 $as_echo "$am_cv_func_iconv" >&6; }
12821 if test "$am_cv_func_iconv" = yes; then
12823 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12826 if test "$am_cv_lib_iconv" = yes; then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12828 $as_echo_n "checking how to link with libiconv... " >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12830 $as_echo "$LIBICONV" >&6; }
12832 CPPFLAGS
="$am_save_CPPFLAGS"
12839 if test "$am_cv_func_iconv" = yes; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12841 $as_echo_n "checking for iconv declaration... " >&6; }
12842 if test "${am_cv_proto_iconv+set}" = set; then :
12843 $as_echo_n "(cached) " >&6
12846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 #include <stdlib.h>
12855 #if defined(__STDC__) || defined(__cplusplus)
12856 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12869 if ac_fn_c_try_compile
"$LINENO"; then :
12870 am_cv_proto_iconv_arg1
=""
12872 am_cv_proto_iconv_arg1
="const"
12874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12875 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);"
12878 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
12880 }$am_cv_proto_iconv" >&5
12882 }$am_cv_proto_iconv" >&6; }
12884 cat >>confdefs.h
<<_ACEOF
12885 #define ICONV_CONST $am_cv_proto_iconv_arg1
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
12892 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
12893 if test "${am_cv_langinfo_codeset+set}" = set; then :
12894 $as_echo_n "(cached) " >&6
12896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12898 #include <langinfo.h>
12902 char* cs = nl_langinfo(CODESET);
12907 if ac_fn_c_try_link
"$LINENO"; then :
12908 am_cv_langinfo_codeset
=yes
12910 am_cv_langinfo_codeset
=no
12912 rm -f core conftest.err conftest.
$ac_objext \
12913 conftest
$ac_exeext conftest.
$ac_ext
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
12917 $as_echo "$am_cv_langinfo_codeset" >&6; }
12918 if test $am_cv_langinfo_codeset = yes; then
12920 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
12924 if test $ac_cv_header_locale_h = yes; then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12927 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12928 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12929 $as_echo_n "(cached) " >&6
12931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12933 #include <locale.h>
12942 if ac_fn_c_try_link
"$LINENO"; then :
12943 am_cv_val_LC_MESSAGES
=yes
12945 am_cv_val_LC_MESSAGES
=no
12947 rm -f core conftest.err conftest.
$ac_objext \
12948 conftest
$ac_exeext conftest.
$ac_ext
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12951 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12952 if test $am_cv_val_LC_MESSAGES = yes; then
12954 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12960 for ac_prog
in bison
12962 # Extract the first word of "$ac_prog", so it can be a program name with args.
12963 set dummy
$ac_prog; ac_word
=$2
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12965 $as_echo_n "checking for $ac_word... " >&6; }
12966 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
12967 $as_echo_n "(cached) " >&6
12969 if test -n "$INTLBISON"; then
12970 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
12972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12973 for as_dir
in $PATH
12976 test -z "$as_dir" && as_dir
=.
12977 for ac_exec_ext
in '' $ac_executable_extensions; do
12978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12979 ac_cv_prog_INTLBISON
="$ac_prog"
12980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12989 INTLBISON
=$ac_cv_prog_INTLBISON
12990 if test -n "$INTLBISON"; then
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
12992 $as_echo "$INTLBISON" >&6; }
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; }
12999 test -n "$INTLBISON" && break
13002 if test -z "$INTLBISON"; then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
13006 $as_echo_n "checking version of bison... " >&6; }
13007 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13008 case $ac_prog_version in
13009 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
13010 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
13011 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
13012 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
13015 $as_echo "$ac_prog_version" >&6; }
13017 if test $ac_verc_fail = yes; then
13023 # Check whether --with-language was given.
13024 if test "${with_language+set}" = set; then :
13025 withval
=$with_language; if test "$withval" != "all"; then :
13026 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13046 $as_echo_n "checking whether NLS is requested... " >&6; }
13047 # Check whether --enable-nls was given.
13048 if test "${enable_nls+set}" = set; then :
13049 enableval
=$enable_nls; USE_NLS
=$enableval
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13055 $as_echo "$USE_NLS" >&6; }
13059 BUILD_INCLUDED_LIBINTL
=no
13060 USE_INCLUDED_LIBINTL
=no
13066 if test "$USE_NLS" = "yes"; then
13067 gt_use_preinstalled_gnugettext
=no
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
13070 $as_echo_n "checking whether included gettext is requested... " >&6; }
13072 # Check whether --with-included-gettext was given.
13073 if test "${with_included_gettext+set}" = set; then :
13074 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
13076 nls_cv_force_use_gnu_gettext
=no
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
13080 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
13082 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
13083 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13091 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13092 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
13093 $as_echo_n "(cached) " >&6
13095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13097 #include <libintl.h>
13098 extern int _nl_msg_cat_cntr;
13099 extern int *_nl_domain_bindings;
13103 bindtextdomain ("", "");
13104 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
13109 if ac_fn_c_try_link
"$LINENO"; then :
13110 gt_cv_func_gnugettext2_libc
=yes
13112 gt_cv_func_gnugettext2_libc
=no
13114 rm -f core conftest.err conftest.
$ac_objext \
13115 conftest
$ac_exeext conftest.
$ac_ext
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
13118 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
13120 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13126 acl_save_prefix
="$prefix"
13127 prefix
="$acl_final_prefix"
13128 acl_save_exec_prefix
="$exec_prefix"
13129 exec_prefix
="$acl_final_exec_prefix"
13131 eval additional_includedir
=\"$includedir\"
13132 eval additional_libdir
=\"$libdir\"
13134 exec_prefix
="$acl_save_exec_prefix"
13135 prefix
="$acl_save_prefix"
13138 # Check whether --with-libintl-prefix was given.
13139 if test "${with_libintl_prefix+set}" = set; then :
13140 withval
=$with_libintl_prefix;
13141 if test "X$withval" = "Xno"; then
13144 if test "X$withval" = "X"; then
13146 acl_save_prefix
="$prefix"
13147 prefix
="$acl_final_prefix"
13148 acl_save_exec_prefix
="$exec_prefix"
13149 exec_prefix
="$acl_final_exec_prefix"
13151 eval additional_includedir
=\"$includedir\"
13152 eval additional_libdir
=\"$libdir\"
13154 exec_prefix
="$acl_save_exec_prefix"
13155 prefix
="$acl_save_prefix"
13158 additional_includedir
="$withval/include"
13159 additional_libdir
="$withval/lib"
13170 names_already_handled
=
13171 names_next_round
='intl '
13172 while test -n "$names_next_round"; do
13173 names_this_round
="$names_next_round"
13175 for name
in $names_this_round; do
13177 for n
in $names_already_handled; do
13178 if test "$n" = "$name"; then
13179 already_handled
=yes
13183 if test -z "$already_handled"; then
13184 names_already_handled
="$names_already_handled $name"
13185 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13186 eval value
=\"\
$HAVE_LIB$uppername\"
13187 if test -n "$value"; then
13188 if test "$value" = yes; then
13189 eval value
=\"\
$LIB$uppername\"
13190 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13191 eval value
=\"\
$LTLIB$uppername\"
13192 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13201 if test $use_additional = yes; then
13202 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13203 found_dir
="$additional_libdir"
13204 found_so
="$additional_libdir/lib$name.$shlibext"
13205 if test -f "$additional_libdir/lib$name.la"; then
13206 found_la
="$additional_libdir/lib$name.la"
13209 if test -f "$additional_libdir/lib$name.$libext"; then
13210 found_dir
="$additional_libdir"
13211 found_a
="$additional_libdir/lib$name.$libext"
13212 if test -f "$additional_libdir/lib$name.la"; then
13213 found_la
="$additional_libdir/lib$name.la"
13218 if test "X$found_dir" = "X"; then
13219 for x
in $LDFLAGS $LTLIBINTL; do
13221 acl_save_prefix
="$prefix"
13222 prefix
="$acl_final_prefix"
13223 acl_save_exec_prefix
="$exec_prefix"
13224 exec_prefix
="$acl_final_exec_prefix"
13226 exec_prefix
="$acl_save_exec_prefix"
13227 prefix
="$acl_save_prefix"
13231 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13232 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13234 found_so
="$dir/lib$name.$shlibext"
13235 if test -f "$dir/lib$name.la"; then
13236 found_la
="$dir/lib$name.la"
13239 if test -f "$dir/lib$name.$libext"; then
13241 found_a
="$dir/lib$name.$libext"
13242 if test -f "$dir/lib$name.la"; then
13243 found_la
="$dir/lib$name.la"
13249 if test "X$found_dir" != "X"; then
13254 if test "X$found_dir" != "X"; then
13255 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13256 if test "X$found_so" != "X"; then
13257 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13258 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13261 for x
in $ltrpathdirs; do
13262 if test "X$x" = "X$found_dir"; then
13267 if test -z "$haveit"; then
13268 ltrpathdirs
="$ltrpathdirs $found_dir"
13270 if test "$hardcode_direct" = yes; then
13271 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13273 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13274 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13276 for x
in $rpathdirs; do
13277 if test "X$x" = "X$found_dir"; then
13282 if test -z "$haveit"; then
13283 rpathdirs
="$rpathdirs $found_dir"
13287 for x
in $LDFLAGS $LIBINTL; do
13289 acl_save_prefix
="$prefix"
13290 prefix
="$acl_final_prefix"
13291 acl_save_exec_prefix
="$exec_prefix"
13292 exec_prefix
="$acl_final_exec_prefix"
13294 exec_prefix
="$acl_save_exec_prefix"
13295 prefix
="$acl_save_prefix"
13297 if test "X$x" = "X-L$found_dir"; then
13302 if test -z "$haveit"; then
13303 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13305 if test "$hardcode_minus_L" != no
; then
13306 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13308 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13314 if test "X$found_a" != "X"; then
13315 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13317 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13320 additional_includedir
=
13321 case "$found_dir" in
13323 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13324 additional_includedir
="$basedir/include"
13327 if test "X$additional_includedir" != "X"; then
13328 if test "X$additional_includedir" != "X/usr/include"; then
13330 if test "X$additional_includedir" = "X/usr/local/include"; then
13331 if test -n "$GCC"; then
13333 linux
*) haveit
=yes;;
13337 if test -z "$haveit"; then
13338 for x
in $CPPFLAGS $INCINTL; do
13340 acl_save_prefix
="$prefix"
13341 prefix
="$acl_final_prefix"
13342 acl_save_exec_prefix
="$exec_prefix"
13343 exec_prefix
="$acl_final_exec_prefix"
13345 exec_prefix
="$acl_save_exec_prefix"
13346 prefix
="$acl_save_prefix"
13348 if test "X$x" = "X-I$additional_includedir"; then
13353 if test -z "$haveit"; then
13354 if test -d "$additional_includedir"; then
13355 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13361 if test -n "$found_la"; then
13362 save_libdir
="$libdir"
13363 case "$found_la" in
13364 */* |
*\\*) .
"$found_la" ;;
13365 *) .
"./$found_la" ;;
13367 libdir
="$save_libdir"
13368 for dep
in $dependency_libs; do
13371 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13372 if test "X$additional_libdir" != "X/usr/lib"; then
13374 if test "X$additional_libdir" = "X/usr/local/lib"; then
13375 if test -n "$GCC"; then
13377 linux
*) haveit
=yes;;
13381 if test -z "$haveit"; then
13383 for x
in $LDFLAGS $LIBINTL; do
13385 acl_save_prefix
="$prefix"
13386 prefix
="$acl_final_prefix"
13387 acl_save_exec_prefix
="$exec_prefix"
13388 exec_prefix
="$acl_final_exec_prefix"
13390 exec_prefix
="$acl_save_exec_prefix"
13391 prefix
="$acl_save_prefix"
13393 if test "X$x" = "X-L$additional_libdir"; then
13398 if test -z "$haveit"; then
13399 if test -d "$additional_libdir"; then
13400 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13404 for x
in $LDFLAGS $LTLIBINTL; do
13406 acl_save_prefix
="$prefix"
13407 prefix
="$acl_final_prefix"
13408 acl_save_exec_prefix
="$exec_prefix"
13409 exec_prefix
="$acl_final_exec_prefix"
13411 exec_prefix
="$acl_save_exec_prefix"
13412 prefix
="$acl_save_prefix"
13414 if test "X$x" = "X-L$additional_libdir"; then
13419 if test -z "$haveit"; then
13420 if test -d "$additional_libdir"; then
13421 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13428 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13429 if test "$enable_rpath" != no
; then
13431 for x
in $rpathdirs; do
13432 if test "X$x" = "X$dir"; then
13437 if test -z "$haveit"; then
13438 rpathdirs
="$rpathdirs $dir"
13441 for x
in $ltrpathdirs; do
13442 if test "X$x" = "X$dir"; then
13447 if test -z "$haveit"; then
13448 ltrpathdirs
="$ltrpathdirs $dir"
13453 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13456 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13459 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13460 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13466 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13467 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13473 if test "X$rpathdirs" != "X"; then
13474 if test -n "$hardcode_libdir_separator"; then
13476 for found_dir
in $rpathdirs; do
13477 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13479 acl_save_libdir
="$libdir"
13481 eval flag
=\"$hardcode_libdir_flag_spec\"
13482 libdir
="$acl_save_libdir"
13483 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13485 for found_dir
in $rpathdirs; do
13486 acl_save_libdir
="$libdir"
13487 libdir
="$found_dir"
13488 eval flag
=\"$hardcode_libdir_flag_spec\"
13489 libdir
="$acl_save_libdir"
13490 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13494 if test "X$ltrpathdirs" != "X"; then
13495 for found_dir
in $ltrpathdirs; do
13496 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13501 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13502 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
13503 $as_echo_n "(cached) " >&6
13505 gt_save_CPPFLAGS
="$CPPFLAGS"
13506 CPPFLAGS
="$CPPFLAGS $INCINTL"
13507 gt_save_LIBS
="$LIBS"
13508 LIBS
="$LIBS $LIBINTL"
13509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13511 #include <libintl.h>
13512 extern int _nl_msg_cat_cntr;
13517 const char *_nl_expand_alias ();
13521 bindtextdomain ("", "");
13522 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13527 if ac_fn_c_try_link
"$LINENO"; then :
13528 gt_cv_func_gnugettext2_libintl
=yes
13530 gt_cv_func_gnugettext2_libintl
=no
13532 rm -f core conftest.err conftest.
$ac_objext \
13533 conftest
$ac_exeext conftest.
$ac_ext
13534 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13535 LIBS
="$LIBS $LIBICONV"
13536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 #include <libintl.h>
13539 extern int _nl_msg_cat_cntr;
13544 const char *_nl_expand_alias ();
13548 bindtextdomain ("", "");
13549 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13554 if ac_fn_c_try_link
"$LINENO"; then :
13555 LIBINTL
="$LIBINTL $LIBICONV"
13556 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13557 gt_cv_func_gnugettext2_libintl
=yes
13560 rm -f core conftest.err conftest.
$ac_objext \
13561 conftest
$ac_exeext conftest.
$ac_ext
13563 CPPFLAGS
="$gt_save_CPPFLAGS"
13564 LIBS
="$gt_save_LIBS"
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
13567 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
13570 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13571 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
13572 && test "$PACKAGE" != gettext; }; then
13573 gt_use_preinstalled_gnugettext
=yes
13581 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13582 nls_cv_use_gnu_gettext
=yes
13586 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13587 INTLOBJS
="\$(GETTOBJS)"
13588 BUILD_INCLUDED_LIBINTL
=yes
13589 USE_INCLUDED_LIBINTL
=yes
13590 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13591 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13592 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13595 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13596 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13601 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13602 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13604 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13611 if test "$USE_NLS" = "yes"; then
13613 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13614 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13616 $as_echo_n "checking how to link with libintl... " >&6; }
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13618 $as_echo "$LIBINTL" >&6; }
13620 for element
in $INCINTL; do
13622 for x
in $CPPFLAGS; do
13624 acl_save_prefix
="$prefix"
13625 prefix
="$acl_final_prefix"
13626 acl_save_exec_prefix
="$exec_prefix"
13627 exec_prefix
="$acl_final_exec_prefix"
13629 exec_prefix
="$acl_save_exec_prefix"
13630 prefix
="$acl_save_prefix"
13632 if test "X$x" = "X$element"; then
13637 if test -z "$haveit"; then
13638 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13645 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13648 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13656 if test "$PACKAGE" = gettext; then
13657 BUILD_INCLUDED_LIBINTL
=yes
13665 nls_cv_header_intl
=
13666 nls_cv_header_libgt
=
13677 INTL_LIBTOOL_SUFFIX_PREFIX
=
13681 INTLLIBS
="$LIBINTL"
13688 if test $USE_INCLUDED_LIBINTL = yes; then :
13689 INCINTL
=-I\
${top_builddir}/intl
13692 if test x
$USE_NLS = xyes
; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
13695 $as_echo_n "checking for autopoint... " >&6; }
13696 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
13697 if test -n "$autopoint_version"; then :
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
13700 $as_echo "yes ($autopoint_version)" >&6; }
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13706 $as_echo "no" >&6; }
13712 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13714 You need to install GNU gettext/gettext-tools to compile aMule with
13716 $as_echo "$as_me: WARNING:
13717 You need to install GNU gettext/gettext-tools to compile aMule with
13718 i18n support." >&2;}
13719 _mule_warning_9
=yes
13720 _mule_has_warnings
=yes
13724 if test ${USE_NLS:-no} = yes; then :
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
13727 $as_echo_n "checking for requested languages... " >&6; }
13728 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
13730 if test ${enable_amule_daemon:-no} = yes; then :
13732 if test -z "$LINGUAS"; then :
13733 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
13736 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13737 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
13740 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
13743 AMULE_DAEMON_MANPAGES
=
13748 if test ${enable_amulecmd:-no} = yes; then :
13750 if test -z "$LINGUAS"; then :
13751 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
13754 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13755 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
13758 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
13766 if test ${enable_webserver:-no} = yes; then :
13768 if test -z "$LINGUAS"; then :
13769 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
13772 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13773 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
13776 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
13779 WEBSERVER_MANPAGES
=
13784 if test ${enable_amule_gui:-no} = yes; then :
13786 if test -z "$LINGUAS"; then :
13787 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
13790 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13791 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
13794 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
13797 AMULE_GUI_MANPAGES
=
13802 if test ${enable_cas:-no} = yes; then :
13804 if test -z "$LINGUAS"; then :
13805 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
13808 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13809 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
13812 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
13820 if test ${enable_wxcas:-no} = yes; then :
13822 if test -z "$LINGUAS"; then :
13823 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
13826 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13827 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
13830 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
13838 if test ${enable_ed2k:-yes} = yes; then :
13840 if test -z "$LINGUAS"; then :
13841 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
13844 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13845 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
13848 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
13856 if test ${enable_alc:-no} = yes; then :
13858 if test -z "$LINGUAS"; then :
13859 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
13862 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13863 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
13866 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
13874 if test ${enable_alcc:-no} = yes; then :
13876 if test -z "$LINGUAS"; then :
13877 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
13880 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13881 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
13884 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
13892 if test ${enable_monolithic:-yes} = yes; then :
13894 if test -z "$LINGUAS"; then :
13895 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
13898 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13899 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
13902 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
13905 MONOLITHIC_MANPAGES
=
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
13910 $as_echo "${LINGUAS:-all}" >&6; }
13916 # Check for bfd.h (to have proper backtraces without using wxExecute)
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
13919 $as_echo_n "checking for bfd... " >&6; }
13921 for bfd_ldadd
in "" "${LIBINTL}"; do
13922 mule_backup_LIBS
="$LIBS"
13923 mule_backup_LDFLAGS
="$LDFLAGS"
13924 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
13925 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
13926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13930 #include <ansidecl.h>
13937 char *dummy = bfd_errmsg(bfd_get_error());
13944 if ac_fn_c_try_link
"$LINENO"; then :
13947 BFD_CPPFLAGS
="-DHAVE_BFD"
13948 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
13949 LIBS
="$mule_backup_LIBS"
13950 LDFLAGS
="$mule_backup_LDFLAGS"
13954 rm -f core conftest.err conftest.
$ac_objext \
13955 conftest
$ac_exeext conftest.
$ac_ext
13956 LIBS
="$mule_backup_LIBS"
13957 LDFLAGS
="$mule_backup_LDFLAGS"
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13961 $as_echo "$result" >&6; }
13963 if test $result = no
; then :
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13965 bfd.h not found or unusable, please install binutils development
13966 package if you are a developer or want to help testing aMule" >&5
13967 $as_echo "$as_me: WARNING:
13968 bfd.h not found or unusable, please install binutils development
13969 package if you are a developer or want to help testing aMule" >&2;}
13970 _mule_warning_10
=yes
13971 _mule_has_warnings
=yes
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
13978 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
13979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13983 #include <execinfo.h>
13990 int n = backtrace(&bt, 1);
13991 const char **bt_syms = backtrace_symbols(bt, n);
13998 if ac_fn_c_try_link
"$LINENO"; then :
14001 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14004 $as_echo "yes" >&6; }
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14009 $as_echo "no" >&6; }
14012 rm -f core conftest.err conftest.
$ac_objext \
14013 conftest
$ac_exeext conftest.
$ac_ext
14016 # Flush standard test results for speeding cache
14017 cat >confcache
<<\_ACEOF
14018 # This file is a shell script that caches the results of configure
14019 # tests run on this system so they can be shared between configure
14020 # scripts and configure runs, see configure's option --config-cache.
14021 # It is not useful on other systems. If it contains results you don't
14022 # want to keep, you may remove or edit it.
14024 # config.status only pays attention to the cache file if you give it
14025 # the --recheck option to rerun configure.
14027 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14028 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14029 # following values.
14033 # The following way of writing the cache mishandles newlines in values,
14034 # but we know of no workaround that is simple, portable, and efficient.
14035 # So, we kill variables containing newlines.
14036 # Ultrix sh set writes to stderr and can't be redirected directly,
14037 # and sets the high bit in the cache file unless we assign to the vars.
14039 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14040 eval ac_val
=\$
$ac_var
14044 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14048 _ | IFS | as_nl
) ;; #(
14049 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14050 *) { eval $ac_var=; unset $ac_var;} ;;
14056 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14057 *${as_nl}ac_space
=\
*)
14058 # `set' does not quote correctly, so add quotes: double-quote
14059 # substitution turns \\\\ into \\, and sed turns \\ into \.
14062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14065 # `set' quotes correctly as required by POSIX, so do not add quotes.
14066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14075 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14077 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14079 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14080 if test -w "$cache_file"; then
14081 test "x$cache_file" != "x/dev/null" &&
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14083 $as_echo "$as_me: updating cache $cache_file" >&6;}
14084 cat confcache
>$cache_file
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14087 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14095 # Check whether --enable-debug was given.
14096 if test "${enable_debug+set}" = set; then :
14097 enableval
=$enable_debug;
14101 # Check whether --enable-profile was given.
14102 if test "${enable_profile+set}" = set; then :
14103 enableval
=$enable_profile;
14107 # Check whether --enable-optimize was given.
14108 if test "${enable_optimize+set}" = set; then :
14109 enableval
=$enable_optimize;
14114 if test ${enable_debug:-yes} = yes; then :
14116 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
14118 MULECFLAGS
="$MULECFLAGS -g"
14119 MULECXXFLAGS
="$MULECXXFLAGS -g"
14121 if test ${GLIBCXX:-no} = yes; then :
14122 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
14124 if test ${GCC:-no} = yes; then :
14126 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14127 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14130 if test ${SYS:-unknown} = win32
; then :
14131 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
14136 if test ${GCC:-no} = yes; then :
14138 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
14139 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
14145 if test ${enable_profile:-no} = yes; then :
14148 MULECFLAGS
="$MULECFLAGS -pg"
14149 MULECXXFLAGS
="$MULECXXFLAGS -pg"
14151 MULELDFLAGS
="$MULELDFLAGS -pg"
14155 if test ${enable_optimize:-no} = yes; then :
14157 MULECFLAGS
="$MULECFLAGS -O2"
14158 MULECXXFLAGS
="$MULECXXFLAGS -O2"
14162 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
14165 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
14167 $as_echo_n "checking for docdir... " >&6; }
14168 if test -z "$docdir"; then :
14169 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
14172 $as_echo "$docdir" >&6; }
14174 # Try to set the SVN checkout-date
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
14176 $as_echo_n "checking for SVNDATE... " >&6; }
14177 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
14179 svndate
="rev. `cat $srcdir/.svn-revision`"
14180 elif test -d $srcdir/.svn
# SVNDATE for svn
14182 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
14185 $as_echo "${svndate:-None required}" >&6; }
14186 if test -n "$svndate"; then :
14189 cat >>confdefs.h
<<_ACEOF
14190 #define SVNDATE "$svndate"
14193 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
14200 # Check whether --with-denoise-level was given.
14201 if test "${with_denoise_level+set}" = set; then :
14202 withval
=$with_denoise_level;
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
14207 $as_echo_n "checking denoising level... " >&6; }
14208 if test ${with_denoise_level:-5} = yes; then :
14209 with_denoise_level
=5
14211 if test ${with_denoise_level:-5} = no
; then :
14212 with_denoise_level
=0
14214 if test ${with_denoise_level:-5} -gt 4; then :
14215 if test "${svndate:+set}" = "set"; then :
14216 with_denoise_level
=0
14218 with_denoise_level
=4
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
14222 $as_echo "$with_denoise_level" >&6; }
14224 ac_config_commands
="$ac_config_commands denoiser"
14228 if test ${enable_plasmamule:-no} = yes; then :
14231 if test -z ${QT_MOC}; then :
14233 for ac_prog
in moc-qt4 moc
14235 # Extract the first word of "$ac_prog", so it can be a program name with args.
14236 set dummy
$ac_prog; ac_word
=$2
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14238 $as_echo_n "checking for $ac_word... " >&6; }
14239 if test "${ac_cv_path_QT_MOC+set}" = set; then :
14240 $as_echo_n "(cached) " >&6
14244 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
14247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14248 for as_dir
in $PATH
14251 test -z "$as_dir" && as_dir
=.
14252 for ac_exec_ext
in '' $ac_executable_extensions; do
14253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14254 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
14255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14265 QT_MOC
=$ac_cv_path_QT_MOC
14266 if test -n "$QT_MOC"; then
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
14268 $as_echo "$QT_MOC" >&6; }
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14271 $as_echo "no" >&6; }
14275 test -n "$QT_MOC" && break
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
14282 $as_echo_n "checking for moc... " >&6; }
14283 if test -x ${QT_MOC}; then :
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
14286 $as_echo "${QT_MOC}" >&6; }
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
14292 $as_echo "\"not found\"" >&6; }
14300 if test "${QT_MOC}" != "not found"; then :
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
14303 $as_echo_n "checking for moc version >= 4... " >&6; }
14304 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
14305 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
14308 $as_echo "found ${QT_MOC_VERSION}" >&6; }
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
14313 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
14320 if test "${QT_MOC}" = "not found"; then :
14321 enable_plasmamule
=disabled
14324 if test ${enable_plasmamule:-no} = yes; then :
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
14329 $as_echo_n "checking for qt... " >&6; }
14330 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14333 $as_echo "found" >&6; }
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
14335 $as_echo_n "checking for qt core cflags... " >&6; }
14336 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
14338 $as_echo "$QT_CORE_CFLAGS" >&6; }
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
14340 $as_echo_n "checking for qt core libs... " >&6; }
14341 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
14343 $as_echo "$QT_CORE_LIBS" >&6; }
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
14345 $as_echo_n "checking for qt gui cflags... " >&6; }
14346 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
14348 $as_echo "$QT_GUI_CFLAGS" >&6; }
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
14350 $as_echo_n "checking for qt gui libs... " >&6; }
14351 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
14353 $as_echo "$QT_GUI_LIBS" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14357 $as_echo "not found" >&6; }
14365 if test -z "${QT_CORE_CXXFLAGS}"; then :
14366 enable_plasmamule
=disabled
14371 if test ${enable_plasmamule:-no} = yes; then :
14374 if test -z ${KDE4_CONFIG}; then :
14376 # Extract the first word of "kde4-config", so it can be a program name with args.
14377 set dummy kde4-config
; ac_word
=$2
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14379 $as_echo_n "checking for $ac_word... " >&6; }
14380 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
14381 $as_echo_n "(cached) " >&6
14383 case $KDE4_CONFIG in
14385 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
14388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14389 for as_dir
in $PATH
14392 test -z "$as_dir" && as_dir
=.
14393 for ac_exec_ext
in '' $ac_executable_extensions; do
14394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14395 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14406 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
14407 if test -n "$KDE4_CONFIG"; then
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
14409 $as_echo "$KDE4_CONFIG" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14412 $as_echo "no" >&6; }
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
14420 $as_echo_n "checking for kde4-config... " >&6; }
14421 if test ! -x KDE4_CONFIG
; then :
14423 KDE4_CONFIG
="not found"
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14425 $as_echo "not found" >&6; }
14431 if test "${KDE4_CONFIG}" != "not found"; then :
14433 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
14434 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
14437 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14442 $as_echo "not found
" >&6; }
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14449 $as_echo "not found
" >&6; }
14454 if test "${KDE4_CONFIG}" = "not found
"; then :
14455 enable_plasmamule=disabled
14460 if test ${enable_plasmamule:-no} = yes; then :
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
14464 $as_echo_n "checking
for kde4 headers...
" >&6; }
14465 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
14467 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
14469 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
14472 $as_echo "${KDE_HEADER_DIR}" >&6; }
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14477 $as_echo "not found
" >&6; }
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found2
" >&5
14484 $as_echo "not found2
" >&6; }
14489 if test -z ${KDE_HEADER_DIR}; then :
14490 enable_plasmamule=disabled
14495 if test ${enable_plasmamule:-no} = yes; then :
14497 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
14498 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
14503 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
14504 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14509 if test ${KDE_IN_HOME} = "yes"; then :
14511 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14515 if test -n ${prefix}; then :
14517 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
14518 if test -n ${KDE_APPLNK_PATH}; then :
14520 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14526 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
14532 $as_echo "${KDE_APPLNK_PATH}" >&6; }
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
14538 $as_echo_n "checking
for kde4 services Path...
" >&6; }
14539 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14544 if test ${KDE_IN_HOME} = "yes"; then :
14546 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14550 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
14554 $as_echo "${KDE_SERVICE_PATH}" >&6; }
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
14560 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
14561 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14566 if test ${KDE_IN_HOME} = "yes"; then :
14568 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14572 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
14576 $as_echo "${KDE_MODULE_PATH}" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
14582 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
14583 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14588 if test ${KDE_IN_HOME} = "yes"; then :
14590 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14594 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
14597 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
14599 $as_echo "${KDE_ICON_PATH}" >&6; }
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
14605 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
14606 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14611 if test ${KDE_IN_HOME} = "yes"; then :
14613 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14617 if test -n ${prefix}; then :
14619 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
14620 if test -n ${KDE_MIME_PATH}; then :
14622 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14628 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
14634 $as_echo "${KDE_MIME_PATH}" >&6; }
14639 enable_plasmamule=disabled
14646 if test x$SYS = xwin32; then
14648 SYS_WIN32_FALSE='#'
14654 if test x$SYS = xwin32 -a "$RC" != ":"; then
14662 if test x$SYS = xdarwin; then
14663 NEED_CORESERVICES_TRUE=
14664 NEED_CORESERVICES_FALSE='#'
14666 NEED_CORESERVICES_TRUE='#'
14667 NEED_CORESERVICES_FALSE=
14670 if test x$USE_NLS = xyes; then
14672 COMPILE_NLS_FALSE='#'
14674 COMPILE_NLS_TRUE='#'
14678 if test x$HAVE_FLEX_EXTENDED = xyes; then
14679 GENERATE_FLEX_HEADER_TRUE=
14680 GENERATE_FLEX_HEADER_FALSE='#'
14682 GENERATE_FLEX_HEADER_TRUE='#'
14683 GENERATE_FLEX_HEADER_FALSE=
14686 if test x$INSTALL_SKINS = xyes; then
14687 INSTALL_SKINS_TRUE=
14688 INSTALL_SKINS_FALSE='#'
14690 INSTALL_SKINS_TRUE='#'
14691 INSTALL_SKINS_FALSE=
14694 if test ${enable_plasmamule:-no} = yes; then
14696 PLASMAMULE_FALSE='#'
14698 PLASMAMULE_TRUE='#'
14703 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
14704 COMPILE_LIB_COMMON_TRUE=
14705 COMPILE_LIB_COMMON_FALSE='#'
14707 COMPILE_LIB_COMMON_TRUE='#'
14708 COMPILE_LIB_COMMON_FALSE=
14711 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
14712 COMPILE_LIB_EC_TRUE=
14713 COMPILE_LIB_EC_FALSE='#'
14715 COMPILE_LIB_EC_TRUE='#'
14716 COMPILE_LIB_EC_FALSE=
14720 # Check for readline library
14721 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
14724 $as_echo_n "checking
for a readline compatible library...
" >&6; }
14725 if test "${vl_cv_lib_readline+set}" = set; then :
14726 $as_echo_n "(cached
) " >&6
14730 for readline_lib in readline edit editline; do
14731 for termcap_lib in "" termcap curses ncurses; do
14732 if test -z "$termcap_lib"; then
14733 TRY_LIB="-l$readline_lib"
14735 TRY_LIB="-l$readline_lib -l$termcap_lib"
14737 LIBS="$ORIG_LIBS $TRY_LIB"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14751 return readline ();
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 vl_cv_lib_readline="$TRY_LIB"
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14761 if test -n "$vl_cv_lib_readline"; then
14765 if test -n "$vl_cv_lib_readline"; then
14769 if test -z "$vl_cv_lib_readline"; then
14770 vl_cv_lib_readline="no
"
14774 READLINE_LIBS="$vl_cv_lib_readline"
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
14779 $as_echo "$vl_cv_lib_readline" >&6; }
14781 if test "$vl_cv_lib_readline" != "no
"; then
14783 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14785 for ac_header
in readline.h readline
/readline.h
14787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14788 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14789 eval as_val
=\$
$as_ac_Header
14790 if test "x$as_val" = x
""yes; then :
14791 cat >>confdefs.h
<<_ACEOF
14792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14800 $as_echo_n "checking whether readline supports history... " >&6; }
14801 if test "${vl_cv_lib_readline_history+set}" = set; then :
14802 $as_echo_n "(cached) " >&6
14805 vl_cv_lib_readline_history
="no"
14806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14815 char add_history ();
14819 return add_history ();
14824 if ac_fn_c_try_link
"$LINENO"; then :
14825 vl_cv_lib_readline_history
="yes"
14827 rm -f core conftest.err conftest.
$ac_objext \
14828 conftest
$ac_exeext conftest.
$ac_ext
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14832 $as_echo "$vl_cv_lib_readline_history" >&6; }
14833 if test "$vl_cv_lib_readline_history" = "yes"; then
14835 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14837 for ac_header
in history.h readline
/history.h
14839 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14840 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14841 eval as_val
=\$
$as_ac_Header
14842 if test "x$as_val" = x
""yes; then :
14843 cat >>confdefs.h
<<_ACEOF
14844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14858 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
14861 # Check whether --enable-ccache was given.
14862 if test "${enable_ccache+set}" = set; then :
14863 enableval
=$enable_ccache;
14869 # Check whether --with-ccache-prefix was given.
14870 if test "${with_ccache_prefix+set}" = set; then :
14871 withval
=$with_ccache_prefix;
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added" >&5
14876 $as_echo_n "checking whether ccache support should be added... " >&6; }
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
14878 $as_echo "${enable_ccache:-no}" >&6; }
14880 if test ${enable_ccache:-no} = yes; then :
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache presence" >&5
14883 $as_echo_n "checking for ccache presence... " >&6; }
14884 if test -z "$with_ccache_prefix"; then :
14886 ccache_full
=`which ccache`
14887 with_ccache_prefix
=`dirname ${ccache_full}`
14890 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then :
14892 CC
="$with_ccache_prefix/ccache $CC"
14893 CXX
="$with_ccache_prefix/ccache $CXX"
14894 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
14900 $as_echo "${enable_ccache:-no}" >&6; }
14905 ac_config_files
="$ac_config_files Makefile docs/Makefile docs/man/Makefile intl/Makefile src/Makefile src/pixmaps/Makefile src/pixmaps/flags_xpm/Makefile src/libs/Makefile src/libs/ec/Makefile src/libs/ec/cpp/Makefile src/libs/common/Makefile src/utils/Makefile src/utils/aLinkCreator/Makefile src/utils/aLinkCreator/docs/Makefile src/utils/aLinkCreator/src/Makefile src/utils/cas/Makefile src/utils/cas/docs/Makefile src/utils/fileview/Makefile src/utils/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"
14907 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
14909 if test x
$SYS = xwin32
; then :
14910 ac_config_files
="$ac_config_files version.rc"
14913 cat >confcache
<<\_ACEOF
14914 # This file is a shell script that caches the results of configure
14915 # tests run on this system so they can be shared between configure
14916 # scripts and configure runs, see configure's option --config-cache.
14917 # It is not useful on other systems. If it contains results you don't
14918 # want to keep, you may remove or edit it.
14920 # config.status only pays attention to the cache file if you give it
14921 # the --recheck option to rerun configure.
14923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14925 # following values.
14929 # The following way of writing the cache mishandles newlines in values,
14930 # but we know of no workaround that is simple, portable, and efficient.
14931 # So, we kill variables containing newlines.
14932 # Ultrix sh set writes to stderr and can't be redirected directly,
14933 # and sets the high bit in the cache file unless we assign to the vars.
14935 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14936 eval ac_val
=\$
$ac_var
14940 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14941 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14944 _ | IFS | as_nl
) ;; #(
14945 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14946 *) { eval $ac_var=; unset $ac_var;} ;;
14952 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14953 *${as_nl}ac_space
=\
*)
14954 # `set' does not quote correctly, so add quotes: double-quote
14955 # substitution turns \\\\ into \\, and sed turns \\ into \.
14958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14961 # `set' quotes correctly as required by POSIX, so do not add quotes.
14962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14971 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14973 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14975 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14976 if test -w "$cache_file"; then
14977 test "x$cache_file" != "x/dev/null" &&
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14979 $as_echo "$as_me: updating cache $cache_file" >&6;}
14980 cat confcache
>$cache_file
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14983 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14988 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14989 # Let make expand exec_prefix.
14990 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14992 DEFS
=-DHAVE_CONFIG_H
14996 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14997 # 1. Remove the extension, and $U if already installed.
14998 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14999 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15000 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15001 # will be set to the directory where LIBOBJS objects are built.
15002 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15003 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15005 LIBOBJS
=$ac_libobjs
15007 LTLIBOBJS
=$ac_ltlibobjs
15010 if test -n "$EXEEXT"; then
15012 am__EXEEXT_FALSE
='#'
15014 am__EXEEXT_TRUE
='#'
15018 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15019 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15022 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15023 as_fn_error
"conditional \"AMDEP\" was never defined.
15024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15026 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15027 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15030 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15031 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15034 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
15035 as_fn_error
"conditional \"MONOLITHIC\" was never defined.
15036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15038 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
15039 as_fn_error
"conditional \"AMULE_DAEMON\" was never defined.
15040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15042 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
15043 as_fn_error
"conditional \"COMPILE_CMD\" was never defined.
15044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15046 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
15047 as_fn_error
"conditional \"WEB\" was never defined.
15048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15050 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
15051 as_fn_error
"conditional \"AMULE_GUI\" was never defined.
15052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15054 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
15055 as_fn_error
"conditional \"CAS\" was never defined.
15056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15058 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
15059 as_fn_error
"conditional \"WXCAS\" was never defined.
15060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15062 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
15063 as_fn_error
"conditional \"ED2K\" was never defined.
15064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15066 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
15067 as_fn_error
"conditional \"ALC\" was never defined.
15068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15070 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
15071 as_fn_error
"conditional \"ALCC\" was never defined.
15072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15074 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
15075 as_fn_error
"conditional \"XAS\" was never defined.
15076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15078 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
15079 as_fn_error
"conditional \"FILEVIEW\" was never defined.
15080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15082 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
15083 as_fn_error
"conditional \"SYS_WIN32\" was never defined.
15084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15086 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
15087 as_fn_error
"conditional \"NEED_RC\" was never defined.
15088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15090 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
15091 as_fn_error
"conditional \"NEED_CORESERVICES\" was never defined.
15092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15094 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
15095 as_fn_error
"conditional \"COMPILE_NLS\" was never defined.
15096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15098 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
15099 as_fn_error
"conditional \"GENERATE_FLEX_HEADER\" was never defined.
15100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15102 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
15103 as_fn_error
"conditional \"INSTALL_SKINS\" was never defined.
15104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15106 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
15107 as_fn_error
"conditional \"PLASMAMULE\" was never defined.
15108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15110 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
15111 as_fn_error
"conditional \"COMPILE_LIB_COMMON\" was never defined.
15112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15114 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
15115 as_fn_error
"conditional \"COMPILE_LIB_EC\" was never defined.
15116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15119 : ${CONFIG_STATUS=./config.status}
15121 ac_clean_files_save
=$ac_clean_files
15122 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15128 # Generated by $as_me.
15129 # Run this file to recreate the current configuration.
15130 # Compiler output produced by configure, useful for debugging
15131 # configure, is in config.log if it exists.
15134 ac_cs_recheck=false
15137 SHELL=\${CONFIG_SHELL-$SHELL}
15140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15141 ## -------------------- ##
15142 ## M4sh Initialization. ##
15143 ## -------------------- ##
15145 # Be more Bourne compatible
15146 DUALCASE
=1; export DUALCASE
# for MKS sh
15147 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15151 # is contrary to our usage. Disable this feature.
15152 alias -g '${1+"$@"}'='"$@"'
15153 setopt NO_GLOB_SUBST
15155 case `(set -o) 2>/dev/null` in #(
15167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15168 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15171 # Prefer a ksh shell builtin over an external printf program on Solaris,
15172 # but without wasting forks for bash or zsh.
15173 if test -z "$BASH_VERSION$ZSH_VERSION" \
15174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15175 as_echo='print
-r --'
15176 as_echo_n='print
-rn --'
15177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15178 as_echo='printf %s
\n'
15179 as_echo_n='printf %s
'
15181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15182 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15183 as_echo_n='/usr
/ucb
/echo -n'
15185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15186 as_echo_n_body='eval
15190 expr "X$arg" : "X\\(.*\\)$as_nl";
15191 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15193 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15195 export as_echo_n_body
15196 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15198 export as_echo_body
15199 as_echo='sh
-c $as_echo_body as_echo
'
15202 # The user is always right.
15203 if test "${PATH_SEPARATOR+set}" != set; then
15205 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15206 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15213 # We need space, tab and new line, in precisely that order. Quoting is
15214 # there to prevent editors from complaining about space-tab.
15215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15216 # splitting by setting IFS to empty value.)
15219 # Find who we are. Look in the path if we contain no directory separator.
15221 *[\\/]* ) as_myself=$0 ;;
15222 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15223 for as_dir in $PATH
15226 test -z "$as_dir" && as_dir=.
15227 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15233 # We did not find ourselves, most probably we were run as `sh COMMAND'
15234 # in which case we are not to be found in the path.
15235 if test "x$as_myself" = x
; then
15238 if test ! -f "$as_myself"; then
15239 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15243 # Unset variables that we do not need and which cause bugs (e.g. in
15244 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15245 # suppresses any "Segmentation fault" message there. '((' could
15246 # trigger a bug in pdksh 5.2.14.
15247 for as_var
in BASH_ENV ENV MAIL MAILPATH
15248 do eval test x\
${$as_var+set} = xset \
15249 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15262 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15265 # as_fn_error ERROR [LINENO LOG_FD]
15266 # ---------------------------------
15267 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15268 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15269 # script with status $?, using 1 if that was 0.
15272 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15274 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15275 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15277 $as_echo "$as_me: error: $1" >&2
15278 as_fn_exit
$as_status
15282 # as_fn_set_status STATUS
15283 # -----------------------
15284 # Set $? to STATUS, without forking.
15285 as_fn_set_status
()
15288 } # as_fn_set_status
15290 # as_fn_exit STATUS
15291 # -----------------
15292 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15296 as_fn_set_status
$1
15302 # Portably unset VAR.
15305 { eval $1=; unset $1;}
15307 as_unset
=as_fn_unset
15308 # as_fn_append VAR VALUE
15309 # ----------------------
15310 # Append the text in VALUE to the end of the definition contained in VAR. Take
15311 # advantage of any shell optimizations that allow amortized linear growth over
15312 # repeated appends, instead of the typical quadratic growth present in naive
15314 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15315 eval 'as_fn_append ()
15326 # as_fn_arith ARG...
15327 # ------------------
15328 # Perform arithmetic evaluation on the ARGs, and store the result in the
15329 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15330 # must be portable across $(()) and expr.
15331 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15332 eval 'as_fn_arith ()
15339 as_val
=`expr "$@" || test $? -eq 1`
15344 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15345 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15351 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15352 as_basename
=basename
15357 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15363 as_me
=`$as_basename -- "$0" ||
15364 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15365 X"$0" : 'X\(//\)$' \| \
15366 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15368 sed '/^.*\/\([^/][^/]*\)\/*$/{
15382 # Avoid depending upon Character Ranges.
15383 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15384 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15385 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15386 as_cr_digits
='0123456789'
15387 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15389 ECHO_C
= ECHO_N
= ECHO_T
=
15390 case `echo -n x` in #(((((
15392 case `echo 'xy\c'` in
15393 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15395 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15402 rm -f conf$$ conf$$.exe conf$$.
file
15403 if test -d conf$$.dir
; then
15404 rm -f conf$$.dir
/conf$$.
file
15407 mkdir conf$$.dir
2>/dev
/null
15409 if (echo >conf$$.
file) 2>/dev
/null
; then
15410 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15412 # ... but there are two gotchas:
15413 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15414 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15415 # In both cases, we have to default to `cp -p'.
15416 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15418 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15426 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15427 rmdir conf$$.dir
2>/dev
/null
15432 # Create "$as_dir" as a directory, including parents if necessary.
15437 -*) as_dir
=.
/$as_dir;;
15439 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15443 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15444 *) as_qdir
=$as_dir;;
15446 as_dirs
="'$as_qdir' $as_dirs"
15447 as_dir
=`$as_dirname -- "$as_dir" ||
15448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15449 X"$as_dir" : 'X\(//\)[^/]' \| \
15450 X"$as_dir" : 'X\(//\)$' \| \
15451 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15452 $as_echo X"$as_dir" |
15453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15457 /^X\(\/\/\)[^/].*/{
15470 test -d "$as_dir" && break
15472 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15473 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15477 if mkdir
-p .
2>/dev
/null
; then
15478 as_mkdir_p
='mkdir -p "$as_dir"'
15480 test -d .
/-p && rmdir .
/-p
15484 if test -x / >/dev
/null
2>&1; then
15485 as_test_x
='test -x'
15487 if ls -dL / >/dev
/null
2>&1; then
15494 if test -d "$1"; then
15500 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15501 ???[sx]*):;;*)false;;esac;fi
15505 as_executable_p
=$as_test_x
15507 # Sed expression to map a string onto a valid CPP name.
15508 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15510 # Sed expression to map a string onto a valid variable name.
15511 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15515 ## ----------------------------------- ##
15516 ## Main body of $CONFIG_STATUS script. ##
15517 ## ----------------------------------- ##
15519 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15522 # Save the log message, to keep $0 and so on meaningful, and to
15523 # report actual input values of CONFIG_FILES etc. instead of their
15524 # values after options handling.
15526 This file was extended by aMule $as_me SVN, which was
15527 generated by GNU Autoconf 2.65. Invocation command line was
15529 CONFIG_FILES = $CONFIG_FILES
15530 CONFIG_HEADERS = $CONFIG_HEADERS
15531 CONFIG_LINKS = $CONFIG_LINKS
15532 CONFIG_COMMANDS = $CONFIG_COMMANDS
15535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15540 case $ac_config_files in *"
15541 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15544 case $ac_config_headers in *"
15545 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15550 # Files that config.status was made for.
15551 config_files="$ac_config_files"
15552 config_headers="$ac_config_headers"
15553 config_commands="$ac_config_commands"
15557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15559 \`$as_me' instantiates files and other configuration actions
15560 from templates according to the current configuration. Unless the files
15561 and actions are specified as TAGs, all are instantiated by default.
15563 Usage: $0 [OPTION]... [TAG]...
15565 -h, --help print this help, then exit
15566 -V, --version print version number and configuration settings, then exit
15567 --config print configuration, then exit
15568 -q, --quiet, --silent
15569 do not print progress messages
15570 -d, --debug don't remove temporary files
15571 --recheck update $as_me by reconfiguring in the same conditions
15572 --file=FILE[:TEMPLATE]
15573 instantiate the configuration file FILE
15574 --header=FILE[:TEMPLATE]
15575 instantiate the configuration header FILE
15577 Configuration files:
15580 Configuration headers:
15583 Configuration commands:
15586 Report bugs to <admin@amule.org>."
15589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15592 aMule config.status SVN
15593 configured by $0, generated by GNU Autoconf 2.65,
15594 with options \\"\$ac_cs_config\\"
15596 Copyright (C) 2009 Free Software Foundation, Inc.
15597 This config.status script is free software; the Free Software Foundation
15598 gives unlimited permission to copy, distribute and modify it."
15605 test -n "\$AWK" || AWK=awk
15608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15609 # The default lists apply if the user does not specify any file.
15615 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15616 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15627 # Handling of the options.
15628 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15630 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15631 $as_echo "$ac_cs_version"; exit ;;
15632 --config |
--confi |
--conf |
--con |
--co |
--c )
15633 $as_echo "$ac_cs_config"; exit ;;
15634 --debug |
--debu |
--deb |
--de |
--d |
-d )
15636 --file |
--fil |
--fi |
--f )
15639 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15641 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15642 ac_need_defaults
=false
;;
15643 --header |
--heade |
--head |
--hea )
15646 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15648 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15649 ac_need_defaults
=false
;;
15651 # Conflict between --help and --header
15652 as_fn_error
"ambiguous option: \`$1'
15653 Try \`$0 --help' for more information.";;
15654 --help |
--hel |
-h )
15655 $as_echo "$ac_cs_usage"; exit ;;
15656 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15657 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15660 # This is an error.
15661 -*) as_fn_error
"unrecognized option: \`$1'
15662 Try \`$0 --help' for more information." ;;
15664 *) as_fn_append ac_config_targets
" $1"
15665 ac_need_defaults
=false
;;
15671 ac_configure_extra_args
=
15673 if $ac_cs_silent; then
15675 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15680 if \$ac_cs_recheck; then
15681 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15683 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15684 CONFIG_SHELL='$SHELL'
15685 export CONFIG_SHELL
15690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15694 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15695 ## Running $as_me. ##
15701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15705 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15706 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15707 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15709 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
15710 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15711 LINGUAS="${LINGUAS-%UNSET%}"
15713 denoiserlevel=$with_denoise_level
15717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15719 # Handling of arguments.
15720 for ac_config_target
in $ac_config_targets
15722 case $ac_config_target in
15723 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15724 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15725 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15726 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
15727 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15728 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
15729 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
15730 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
15731 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15732 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
15733 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
15734 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
15735 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
15736 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
15737 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
15738 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
15739 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
15740 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
15741 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
15742 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
15743 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
15744 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
15745 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
15746 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
15747 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
15748 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
15749 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
15750 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
15751 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
15752 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
15753 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
15754 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
15755 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
15756 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
15757 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
15758 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
15759 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
15760 "Compilation.flags") CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
15761 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
15763 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15768 # If the user did not use the arguments to specify the items to instantiate,
15769 # then the envvar interface is used. Set only those that are not.
15770 # We use the long form for the default assignment because of an extremely
15771 # bizarre bug on SunOS 4.1.3.
15772 if $ac_need_defaults; then
15773 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15774 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15775 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15778 # Have a temporary directory for convenience. Make it in the build tree
15779 # simply because there is no reason against having it here, and in addition,
15780 # creating and moving files from /tmp can sometimes cause problems.
15781 # Hook for its removal unless debugging.
15782 # Note that there is a small window in which the directory will not be cleaned:
15783 # after its creation but before its name has been assigned to `$tmp'.
15787 trap 'exit_status=$?
15788 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15790 trap 'as_fn_exit 1' 1 2 13 15
15792 # Create a (secure) tmp directory for tmp files.
15795 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15796 test -n "$tmp" && test -d "$tmp"
15799 tmp
=.
/conf$$
-$RANDOM
15800 (umask 077 && mkdir
"$tmp")
15801 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15803 # Set up the scripts for CONFIG_FILES section.
15804 # No need to generate them if there are no CONFIG_FILES.
15805 # This happens for instance with `./config.status config.h'.
15806 if test -n "$CONFIG_FILES"; then
15809 ac_cr
=`echo X | tr X '\015'`
15810 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15811 # But we know of no other shell where ac_cr would be empty at this
15812 # point, so we can use a bashism as a fallback.
15813 if test "x$ac_cr" = x
; then
15814 eval ac_cr
=\$
\'\\r
\'
15816 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15817 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15820 ac_cs_awk_cr
=$ac_cr
15823 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15828 echo "cat >conf$$subs.awk <<_ACEOF" &&
15829 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15831 } >conf$$subs.sh ||
15832 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15833 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15835 for ac_last_try in false false false false false :; do
15836 . ./conf$$subs.sh ||
15837 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15839 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15840 if test $ac_delim_n = $ac_delim_num; then
15842 elif $ac_last_try; then
15843 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15845 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15848 rm -f conf$$subs.sh
15850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15851 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15855 s/^/S["/; s
/!.
*/"]=/
15865 s/\(.\{148\}\)..*/\1/
15867 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15872 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15879 s/\(.\{148\}\)..*/\1/
15881 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15885 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15890 ' <conf$$subs.awk | sed '
15895 ' >>$CONFIG_STATUS || ac_write_fail=1
15896 rm -f conf$$subs.awk
15897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15899 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15900 for (key in S) S_is_set[key] = 1
15906 nfields = split(line, field, "@
")
15908 len = length(field[1])
15909 for (i = 2; i < nfields; i++) {
15911 keylen = length(key)
15912 if (S_is_set[key]) {
15914 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15915 len += length(value) + length(field[++i])
15926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15927 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15928 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15931 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15932 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15935 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15936 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15937 # trailing colons and then remove the whole line if VPATH becomes empty
15938 # (actually we leave an empty line to preserve line numbers).
15939 if test "x
$srcdir" = x.; then
15940 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15941 s/:*\$(srcdir):*/:/
15942 s/:*\${srcdir}:*/:/
15944 s/^\([^=]*=[ ]*\):*/\1/
15950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15951 fi # test -n "$CONFIG_FILES"
15953 # Set up the scripts for CONFIG_HEADERS section.
15954 # No need to generate them if there are no CONFIG_HEADERS.
15955 # This happens for instance with `./config.status Makefile'.
15956 if test -n "$CONFIG_HEADERS"; then
15957 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15961 # Transform confdefs.h into an awk script `defines.awk', embedded as
15962 # here-document in config.status, that substitutes the proper values into
15963 # config.h.in to produce config.h.
15965 # Create a delimiter string that does not exist in confdefs.h, to ease
15966 # handling of long lines.
15968 for ac_last_try in false false :; do
15969 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15970 if test -z "$ac_t"; then
15972 elif $ac_last_try; then
15973 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15975 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15979 # For the awk script, D is an array of macro values keyed by name,
15980 # likewise P contains macro parameters if any. Preserve backslash
15981 # newline sequences.
15983 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15985 s/.\{148\}/&'"$ac_delim"'/g
15988 s/^[ ]*#[ ]*define[ ][ ]*/ /
15995 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15997 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16001 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16002 D["\
1"]=" \
3\\\\\\n
"\\/p
16004 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16009 s/.\{148\}/&'"$ac_delim"'/g
16014 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16017 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16019 ' <confdefs.h | sed '
16020 s/'"$ac_delim"'/"\\\
16021 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16024 for (key in D) D_is_set[key] = 1
16027 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16029 split(line, arg, " ")
16030 if (arg[1] == "#") {
16034 defundef
= substr
(arg
[1], 2)
16037 split(mac1
, mac2
, "(") #)
16039 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16040 if (D_is_set
[macro
]) {
16041 # Preserve the white space surrounding the "#".
16042 print prefix
"define", macro P
[macro
] D
[macro
]
16045 # Replace #undef with comments. This is necessary, for example,
16046 # in the case of _POSIX_SOURCE, which is predefined and required
16047 # on some systems where configure will not decide to define it.
16048 if (defundef
== "undef") {
16049 print
"/*", prefix defundef
, macro
, "*/"
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16058 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16059 fi # test -n "$CONFIG_HEADERS"
16062 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16067 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16069 case $ac_mode$ac_tag in
16071 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16072 :[FH
]-) ac_tag
=-:-;;
16073 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16090 -) ac_f
="$tmp/stdin";;
16091 *) # Look for the file first in the build tree, then in the source tree
16092 # (if the path is not absolute). The absolute path cannot be DOS-style,
16093 # because $ac_f cannot contain `:'.
16097 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16099 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16101 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16102 as_fn_append ac_file_inputs
" '$ac_f'"
16105 # Let's still pretend it is `configure' which instantiates (i.e., don't
16106 # use $as_me), people would be surprised to read:
16107 # /* config.h. Generated by config.status. */
16108 configure_input
='Generated from '`
16109 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16111 if test x
"$ac_file" != x-
; then
16112 configure_input
="$ac_file. $configure_input"
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16114 $as_echo "$as_me: creating $ac_file" >&6;}
16116 # Neutralize special characters interpreted by sed in replacement strings.
16117 case $configure_input in #(
16118 *\
&* |
*\|
* |
*\\* )
16119 ac_sed_conf_input
=`$as_echo "$configure_input" |
16120 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16121 *) ac_sed_conf_input
=$configure_input;;
16125 *:-:* |
*:-) cat >"$tmp/stdin" \
16126 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16131 ac_dir
=`$as_dirname -- "$ac_file" ||
16132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16133 X"$ac_file" : 'X\(//\)[^/]' \| \
16134 X"$ac_file" : 'X\(//\)$' \| \
16135 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16136 $as_echo X"$ac_file" |
16137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16141 /^X\(\/\/\)[^/].*/{
16154 as_dir
="$ac_dir"; as_fn_mkdir_p
16158 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16160 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16161 # A ".." for each directory in $ac_dir_suffix.
16162 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16163 case $ac_top_builddir_sub in
16164 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16165 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16168 ac_abs_top_builddir
=$ac_pwd
16169 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16170 # for backward compatibility:
16171 ac_top_builddir
=$ac_top_build_prefix
16174 .
) # We are building in place.
16176 ac_top_srcdir
=$ac_top_builddir_sub
16177 ac_abs_top_srcdir
=$ac_pwd ;;
16178 [\\/]* | ?
:[\\/]* ) # Absolute name.
16179 ac_srcdir
=$srcdir$ac_dir_suffix;
16180 ac_top_srcdir
=$srcdir
16181 ac_abs_top_srcdir
=$srcdir ;;
16182 *) # Relative name.
16183 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16184 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16185 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16187 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16197 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16198 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16200 ac_MKDIR_P
=$MKDIR_P
16202 [\\/$
]* | ?
:[\\/]* ) ;;
16203 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16208 # If the template does not know about datarootdir, expand it.
16209 # FIXME: This hack should be removed a few years after 2.60.
16210 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16221 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16222 *datarootdir
*) ac_datarootdir_seen
=yes;;
16223 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16225 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16228 ac_datarootdir_hack='
16229 s&@datadir@&$datadir&g
16230 s&@docdir@&$docdir&g
16231 s&@infodir@&$infodir&g
16232 s&@localedir@&$localedir&g
16233 s&@mandir@&$mandir&g
16234 s&\\\${datarootdir}&$datarootdir&g' ;;
16238 # Neutralize VPATH when `$srcdir' = `.'.
16239 # Shell code in configure.ac might set extrasub.
16240 # FIXME: do we really want to maintain this feature?
16241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16242 ac_sed_extra="$ac_vpsub
16245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16247 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16248 s|@configure_input@|
$ac_sed_conf_input|
;t t
16249 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16250 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16251 s
&@srcdir@
&$ac_srcdir&;t t
16252 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16253 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16254 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16255 s
&@builddir@
&$ac_builddir&;t t
16256 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16257 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16258 s
&@INSTALL@
&$ac_INSTALL&;t t
16259 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16260 $ac_datarootdir_hack
16262 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16263 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16265 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16266 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16267 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16269 which seems to be undefined. Please make sure it is defined." >&5
16270 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16271 which seems to be undefined. Please make sure it is defined." >&2;}
16275 -) cat "$tmp/out" && rm -f "$tmp/out";;
16276 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16278 || as_fn_error "could not create $ac_file" "$LINENO" 5
16284 if test x"$ac_file" != x-; then
16286 $as_echo "/* $configure_input */" \
16287 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16288 } >"$tmp/config.h" \
16289 || as_fn_error "could not create $ac_file" "$LINENO" 5
16290 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16292 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16295 mv "$tmp/config.h" "$ac_file" \
16296 || as_fn_error "could not create $ac_file" "$LINENO" 5
16299 $as_echo "/* $configure_input */" \
16300 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16301 || as_fn_error "could not create -" "$LINENO" 5
16303 # Compute "$ac_file"'s index
in $config_headers.
16306 for _am_header
in $config_headers :; do
16307 case $_am_header in
16308 $_am_arg |
$_am_arg:* )
16311 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16314 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16315 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16316 X"$_am_arg" : 'X\(//\)[^/]' \| \
16317 X"$_am_arg" : 'X\(//\)$' \| \
16318 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16319 $as_echo X"$_am_arg" |
16320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16324 /^X\(\/\/\)[^/].*/{
16336 s/.*/./; q'`/stamp-h
$_am_stamp_count
16339 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16340 $as_echo "$as_me: executing $ac_file commands" >&6;}
16345 case $ac_file$ac_mode in
16346 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16347 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16348 # are listed without --file. Let's play safe and only enable the eval
16349 # if we detect the quoting.
16350 case $CONFIG_FILES in
16351 *\'*) eval set x
"$CONFIG_FILES" ;;
16352 *) set x
$CONFIG_FILES ;;
16357 # Strip MF so we end up with the name of the file.
16358 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16359 # Check whether this is an Automake generated Makefile or not.
16360 # We used to match only the files named `Makefile.in', but
16361 # some people rename them; so instead we look at the file content.
16362 # Grep'ing the first line is not enough: some people post-process
16363 # each Makefile.in and add a new line on top of each file to say so.
16364 # Grep'ing the whole file is not good either: AIX grep has a line
16365 # limit of 2048, but all sed's we know have understand at least 4000.
16366 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16367 dirpart
=`$as_dirname -- "$mf" ||
16368 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16369 X"$mf" : 'X\(//\)[^/]' \| \
16370 X"$mf" : 'X\(//\)$' \| \
16371 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16377 /^X\(\/\/\)[^/].*/{
16393 # Extract the definition of DEPDIR, am__include, and am__quote
16394 # from the Makefile without running `make'.
16395 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16396 test -z "$DEPDIR" && continue
16397 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16398 test -z "am__include" && continue
16399 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16400 # When using ansi2knr, U may be empty or an underscore; expand it
16401 U
=`sed -n 's/^U = //p' < "$mf"`
16402 # Find all dependency output files, they are included files with
16403 # $(DEPDIR) in their names. We invoke sed twice because it is the
16404 # simplest approach to changing $(DEPDIR) to its actual value in the
16406 for file in `sed -n "
16407 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16408 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16409 # Make sure the directory exists.
16410 test -f "$dirpart/$file" && continue
16411 fdir
=`$as_dirname -- "$file" ||
16412 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16413 X"$file" : 'X\(//\)[^/]' \| \
16414 X"$file" : 'X\(//\)$' \| \
16415 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16416 $as_echo X"$file" |
16417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16421 /^X\(\/\/\)[^/].*/{
16434 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16435 # echo "creating $dirpart/$file"
16436 echo '# dummy' > "$dirpart/$file"
16442 for ac_file
in $CONFIG_FILES; do
16443 # Support "outfile[:infile[:infile...]]"
16445 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16447 # PO directories have a Makefile.in generated from Makefile.in.in.
16448 case "$ac_file" in */Makefile.
in)
16449 # Adjust a relative srcdir.
16450 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16451 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16452 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16453 # In autoconf-2.13 it is called $ac_given_srcdir.
16454 # In autoconf-2.50 it is called $srcdir.
16455 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16456 case "$ac_given_srcdir" in
16457 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16458 /*) top_srcdir
="$ac_given_srcdir" ;;
16459 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16461 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16462 rm -f "$ac_dir/POTFILES"
16463 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16464 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16465 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16466 # on $ac_dir but don't depend on user-specified configuration
16468 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16469 # The LINGUAS file contains the set of available languages.
16470 if test -n "$ALL_LINGUAS"; then
16471 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16473 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16474 # Hide the ALL_LINGUAS assigment from automake.
16475 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16477 case "$ac_given_srcdir" in
16479 *) srcdirpre
='$(srcdir)/' ;;
16485 for lang
in $ALL_LINGUAS; do
16486 POFILES
="$POFILES $srcdirpre$lang.po"
16487 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16488 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16489 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16491 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16492 # environment variable.
16494 if test -n "$ALL_LINGUAS"; then
16495 for presentlang
in $ALL_LINGUAS; do
16497 if test "%UNSET%" != "$LINGUAS"; then
16498 desiredlanguages
="$LINGUAS"
16500 desiredlanguages
="$ALL_LINGUAS"
16502 for desiredlang
in $desiredlanguages; do
16503 # Use the presentlang catalog if desiredlang is
16504 # a. equal to presentlang, or
16505 # b. a variant of presentlang (because in this case,
16506 # presentlang can be used as a fallback for messages
16507 # which are not translated in the desiredlang catalog).
16508 case "$desiredlang" in
16509 "$presentlang"*) useit
=yes;;
16512 if test $useit = yes; then
16513 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16518 if test -n "$INST_LINGUAS"; then
16519 for lang
in $INST_LINGUAS; do
16520 CATALOGS
="$CATALOGS $lang.gmo"
16523 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16524 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"
16525 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16526 if test -f "$f"; then
16528 *.orig |
*.bak |
*~
) ;;
16529 *) cat "$f" >> "$ac_dir/Makefile" ;;
16537 "denoiser":C
) if test $denoiserlevel -gt 0; then
16538 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
16539 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" \
16540 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
16541 for i
in `find . -name 'Makefile' -print`; do
16542 if test -n "`head -n 1 $i | grep '^#'`"; then
16543 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
16554 ac_clean_files
=$ac_clean_files_save
16556 test $ac_write_fail = 0 ||
16557 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16560 # configure is writing to config.log, and then calls config.status.
16561 # config.status does its own redirection, appending to config.log.
16562 # Unfortunately, on DOS this fails, as config.log is still kept open
16563 # by configure, so config.status won't be able to write to it; its
16564 # output is simply discarded. So we exec the FD to /dev/null,
16565 # effectively closing config.log, so it can be properly (re)opened and
16566 # appended to by config.status. When coming back to configure, we
16567 # need to make the FD available again.
16568 if test "$no_create" != yes; then
16570 ac_config_status_args
=
16571 test "$silent" = yes &&
16572 ac_config_status_args
="$ac_config_status_args --quiet"
16574 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16576 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16577 # would make configure fail if this is the last instruction.
16578 $ac_cs_success || as_fn_exit $?
16580 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16582 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16586 if test -n "$svndate"; then :
16587 SVN_REVISION
=" ($svndate)"
16594 echo " Configure script has finished system check."
16596 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
16598 echo " aMule enabled options:"
16600 echo " **** aMule Core ****"
16601 echo " Prefix where aMule should be installed? ${prefix:-none}"
16602 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
16603 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
16604 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
16605 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
16606 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
16607 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
16608 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
16609 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
16610 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${enable_amule_gui:-no}"
16611 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
16614 echo " **** aMule TextClient ****"
16615 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
16617 echo " **** aMule WebServer ****"
16618 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
16620 echo " **** aMule ED2K Links Handler ****"
16621 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
16623 echo " **** aMuleLinkCreator ****"
16624 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
16625 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
16627 echo " **** aMule Statistics ****"
16628 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
16629 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
16630 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
16631 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
16634 echo " **** General Libraries and Tools ****"
16635 echo " Should ccache support be enabled? ${enable_ccache:-no}"
16636 echo " Libraries aMule will use to build:"
16637 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 :
16640 if test $WX_DEBUG -eq 1; then :
16641 wxinfo
="$wxinfo,debug"
16643 if test $WX_SHARED -eq 1; then :
16644 wxinfo
="$wxinfo,shared"
16646 wxinfo
="$wxinfo,static"
16648 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
16651 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
16652 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
16654 if test ${enable_upnp:-yes} = yes; then :
16656 if test -n "$with_libupnp_prefix"; then :
16657 libupnp_place
=" (in $with_libupnp_prefix)"
16659 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
16662 if test ${enable_nls:-yes} = yes; then
16663 if test x
$USE_NLS = xno
; then :
16664 libintl_found
="Not detected"
16666 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
16667 libintl_found
="included"
16669 libintl_found
="system"
16672 echo " libintl $libintl_found"
16674 if test ${enable_geoip:-no} = yes; then :
16675 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
16680 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
16681 echo " libGeoIP ${geoip_style}"
16684 if test ${enable_webserver:-no} = yes; then :
16685 echo " libpng ${LIBPNG_VERSION:-Not detected}"
16687 if test ${enable_cas:-no} = yes; then :
16688 echo " libgd ${GDLIB_VERSION:-Not detected}"
16690 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 :
16691 echo " zlib ${ZLIB_VERSION:-Not detected}"
16693 if test ${enable_plasmamule:-no} = yes; then :
16694 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
16695 echo " qt-core-libs ${QT_CORE_LIBS}"
16696 echo " qt-gui-libs ${QT_GUI_LIBS}"
16697 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
16698 echo " kde-headers ${KDE_HEADER_DIR}"
16699 echo " kde-services-path ${KDE_SERVICE_PATH}"
16700 echo " kde-module-path ${KDE_MODULE_PATH}"
16701 echo " kde-icon-path ${KDE_ICON_PATH}"
16702 echo " kde-mime-path ${KDE_MIME_PATH}"
16703 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
16704 echo " **** You have to run kbuildsycoca after installing to let plasma know the changes ****"
16705 echo " **** You have to run \"update-mime-database ${KDE_MIME_PATH}\" to register the mimetype ****"
16707 if test ${_mule_has_warnings:-no} = yes; then
16710 echo " *** Warnings during configuration ***"
16712 if test ${_mule_warning_0:-no} = yes; then
16715 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
16716 Please check that gdlib-config is in your default path, check out
16717 LD_LIBRARY_PATH or equivalent variable.
16718 Or this might also be that your gdlib-config has other name.
16719 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
16720 /usr/bin/gdlib-config with a valid path to your gdlib-config).
16721 If you use compiled packages check if you have devel pack installed.
16722 To download the latest version check http://www.boutell.com/gd for sources.
16725 if test ${_mule_warning_1:-no} = yes; then
16728 * libpng >= 1.2.0 not found.
16729 amuleweb will be compiled but file download progress bar images will NOT be
16733 if test ${_mule_warning_2:-no} = yes; then
16736 * File::Copy perl module is required by the mldonkey_importer script.
16737 If you want to use this script please install File::Copy from CPAN.
16740 if test ${_mule_warning_3:-no} = yes; then
16743 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
16746 if test ${_mule_warning_4:-no} = yes; then
16749 * GeoIP support has been disabled because the GeoIP libraries were not found
16752 if test ${_mule_warning_5:-no} = yes; then
16755 * GeoIP support has been disabled because the GeoIP header files were not
16759 if test ${_mule_warning_6:-no} = yes; then
16762 * UPnP code has been disabled because ${libupnp_error}.
16765 if test ${_mule_warning_7:-no} = yes; then
16768 * Cross-compilation detected, so exception handling cannot be tested.
16769 Note that broken exception handling in your compiler may lead to unexpected
16773 if test ${_mule_warning_8:-no} = yes; then
16776 * configure cannot check whether malloc() and realloc() are GNU libc
16777 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
16778 configure with the --without-gnu-malloc switch.
16781 if test ${_mule_warning_9:-no} = yes; then
16784 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
16788 if test ${_mule_warning_10:-no} = yes; then
16791 * bfd.h not found or unusable, please install binutils development package if
16792 you are a developer or want to help testing aMule