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
650 AMULE_DAEMON_MANPAGES
655 INTL_LIBTOOL_SUFFIX_PREFIX
662 BUILD_INCLUDED_LIBINTL
795 MAINTAINER_MODE_FALSE
807 INSTALL_STRIP_PROGRAM
849 program_transform_name
865 enable_option_checking
867 enable_maintainer_mode
868 enable_dependency_tracking
913 with_included_gettext
922 ac_precious_vars
='build_alias
942 # Initialize some variables set by options.
944 ac_init_version
=false
945 ac_unrecognized_opts
=
947 # The variables have the same names as the options, with
948 # dashes changed to underlines.
956 program_transform_name
=s
,x
,x
,
964 # Installation directory options.
965 # These are left unexpanded so users can "make install exec_prefix=/foo"
966 # and all the variables that are supposed to be based on exec_prefix
967 # by default will actually change.
968 # Use braces instead of parens because sh, perl, etc. also accept them.
969 # (The list follows the same order as the GNU Coding Standards.)
970 bindir
='${exec_prefix}/bin'
971 sbindir
='${exec_prefix}/sbin'
972 libexecdir
='${exec_prefix}/libexec'
973 datarootdir
='${prefix}/share'
974 datadir
='${datarootdir}'
975 sysconfdir
='${prefix}/etc'
976 sharedstatedir
='${prefix}/com'
977 localstatedir
='${prefix}/var'
978 includedir
='${prefix}/include'
979 oldincludedir
='/usr/include'
980 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
981 infodir
='${datarootdir}/info'
986 libdir
='${exec_prefix}/lib'
987 localedir
='${datarootdir}/locale'
988 mandir
='${datarootdir}/man'
994 # If the previous option needs an argument, assign it.
995 if test -n "$ac_prev"; then
996 eval $ac_prev=\
$ac_option
1002 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1006 # Accept the important Cygnus configure options, so we can diagnose typos.
1008 case $ac_dashdash$ac_option in
1012 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1014 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1015 bindir
=$ac_optarg ;;
1017 -build |
--build |
--buil |
--bui |
--bu)
1018 ac_prev
=build_alias
;;
1019 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1020 build_alias
=$ac_optarg ;;
1022 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1023 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1024 ac_prev
=cache_file
;;
1025 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1026 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1027 cache_file
=$ac_optarg ;;
1029 --config-cache |
-C)
1030 cache_file
=config.cache
;;
1032 -datadir |
--datadir |
--datadi |
--datad)
1034 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1035 datadir
=$ac_optarg ;;
1037 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1038 |
--dataroo |
--dataro |
--datar)
1039 ac_prev
=datarootdir
;;
1040 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1041 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1042 datarootdir
=$ac_optarg ;;
1044 -disable-* |
--disable-*)
1045 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1048 as_fn_error
"invalid feature name: $ac_useropt"
1049 ac_useropt_orig
=$ac_useropt
1050 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_
$ac_useropt"
1055 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1056 ac_unrecognized_sep
=', ';;
1058 eval enable_
$ac_useropt=no
;;
1060 -docdir |
--docdir |
--docdi |
--doc |
--do)
1062 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1063 docdir
=$ac_optarg ;;
1065 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1067 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1068 dvidir
=$ac_optarg ;;
1070 -enable-* |
--enable-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error
"invalid feature name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "enable_
$ac_useropt"
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval enable_
$ac_useropt=\
$ac_optarg ;;
1086 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1087 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1088 |
--exec |
--exe |
--ex)
1089 ac_prev
=exec_prefix
;;
1090 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1091 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1092 |
--exec=* |
--exe=* |
--ex=*)
1093 exec_prefix
=$ac_optarg ;;
1095 -gas |
--gas |
--ga |
--g)
1096 # Obsolete; use --with-gas.
1099 -help |
--help |
--hel |
--he |
-h)
1100 ac_init_help
=long
;;
1101 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1102 ac_init_help
=recursive
;;
1103 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1104 ac_init_help
=short
;;
1106 -host |
--host |
--hos |
--ho)
1107 ac_prev
=host_alias
;;
1108 -host=* |
--host=* |
--hos=* |
--ho=*)
1109 host_alias
=$ac_optarg ;;
1111 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1113 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1115 htmldir
=$ac_optarg ;;
1117 -includedir |
--includedir |
--includedi |
--included |
--include \
1118 |
--includ |
--inclu |
--incl |
--inc)
1119 ac_prev
=includedir
;;
1120 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1121 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1122 includedir
=$ac_optarg ;;
1124 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1126 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1127 infodir
=$ac_optarg ;;
1129 -libdir |
--libdir |
--libdi |
--libd)
1131 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1132 libdir
=$ac_optarg ;;
1134 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1135 |
--libexe |
--libex |
--libe)
1136 ac_prev
=libexecdir
;;
1137 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1138 |
--libexe=* |
--libex=* |
--libe=*)
1139 libexecdir
=$ac_optarg ;;
1141 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1142 ac_prev
=localedir
;;
1143 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1144 localedir
=$ac_optarg ;;
1146 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1147 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1148 ac_prev
=localstatedir
;;
1149 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1150 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1151 localstatedir
=$ac_optarg ;;
1153 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1155 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1156 mandir
=$ac_optarg ;;
1158 -nfp |
--nfp |
--nf)
1159 # Obsolete; use --without-fp.
1162 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1163 |
--no-cr |
--no-c |
-n)
1166 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1167 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1170 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1171 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1172 |
--oldin |
--oldi |
--old |
--ol |
--o)
1173 ac_prev
=oldincludedir
;;
1174 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1175 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1176 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1177 oldincludedir
=$ac_optarg ;;
1179 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1181 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1182 prefix
=$ac_optarg ;;
1184 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1185 |
--program-pre |
--program-pr |
--program-p)
1186 ac_prev
=program_prefix
;;
1187 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1188 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1189 program_prefix
=$ac_optarg ;;
1191 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1192 |
--program-suf |
--program-su |
--program-s)
1193 ac_prev
=program_suffix
;;
1194 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1195 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1196 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1206 -program-transform-name=* |
--program-transform-name=* \
1207 |
--program-transform-nam=* |
--program-transform-na=* \
1208 |
--program-transform-n=* |
--program-transform-=* \
1209 |
--program-transform=* |
--program-transfor=* \
1210 |
--program-transfo=* |
--program-transf=* \
1211 |
--program-trans=* |
--program-tran=* \
1212 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1213 program_transform_name
=$ac_optarg ;;
1215 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1217 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1218 pdfdir
=$ac_optarg ;;
1220 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1222 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1226 |
-silent |
--silent |
--silen |
--sile |
--sil)
1229 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1231 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1233 sbindir
=$ac_optarg ;;
1235 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1236 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1237 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1239 ac_prev
=sharedstatedir
;;
1240 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1241 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1242 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1244 sharedstatedir
=$ac_optarg ;;
1246 -site |
--site |
--sit)
1248 -site=* |
--site=* |
--sit=*)
1251 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1253 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1254 srcdir
=$ac_optarg ;;
1256 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1257 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1258 ac_prev
=sysconfdir
;;
1259 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1260 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1261 sysconfdir
=$ac_optarg ;;
1263 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1264 ac_prev
=target_alias
;;
1265 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1266 target_alias
=$ac_optarg ;;
1268 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1271 -version |
--version |
--versio |
--versi |
--vers |
-V)
1272 ac_init_version
=: ;;
1275 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1278 as_fn_error
"invalid package name: $ac_useropt"
1279 ac_useropt_orig
=$ac_useropt
1280 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1286 ac_unrecognized_sep
=', ';;
1288 eval with_
$ac_useropt=\
$ac_optarg ;;
1290 -without-* |
--without-*)
1291 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1292 # Reject names that are not valid shell variable names.
1293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1294 as_fn_error
"invalid package name: $ac_useropt"
1295 ac_useropt_orig
=$ac_useropt
1296 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297 case $ac_user_opts in
1301 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1302 ac_unrecognized_sep
=', ';;
1304 eval with_
$ac_useropt=no
;;
1307 # Obsolete; use --with-x.
1310 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1311 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1312 ac_prev
=x_includes
;;
1313 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1314 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1315 x_includes
=$ac_optarg ;;
1317 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1318 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1319 ac_prev
=x_libraries
;;
1320 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1321 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1322 x_libraries
=$ac_optarg ;;
1324 -*) as_fn_error
"unrecognized option: \`$ac_option'
1325 Try \`$0 --help' for more information."
1329 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1330 # Reject names that are not valid shell variable names.
1331 case $ac_envvar in #(
1332 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1333 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1335 eval $ac_envvar=\
$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1342 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1351 as_fn_error
"missing argument to $ac_option"
1354 if test -n "$ac_unrecognized_opts"; then
1355 case $enable_option_checking in
1357 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1383 # There might be people who depend on the old broken behavior: `$host'
1384 # used to hold the argument of --host etc.
1385 # FIXME: To remove some day.
1388 target
=$target_alias
1390 # FIXME: To remove some day.
1391 if test "x$host_alias" != x
; then
1392 if test "x$build_alias" = x
; then
1393 cross_compiling
=maybe
1394 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1395 If a cross compiler is detected then cross compile mode will be used." >&2
1396 elif test "x$build_alias" != "x$host_alias"; then
1402 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1404 test "$silent" = yes && exec 6>/dev
/null
1407 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di
=`ls -di .` &&
1409 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error
"working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error
"pwd does not report name of working directory"
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1453 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1465 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1467 for ac_var
in $ac_precious_vars; do
1468 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1469 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1470 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1475 # Report the --help message.
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1481 \`configure' configures aMule SVN to adapt to many kinds of systems.
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1488 Defaults for the options are specified in brackets.
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 [$ac_default_prefix]
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1512 For better control, use the options below.
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --libdir=DIR object code libraries [EPREFIX/lib]
1522 --includedir=DIR C header files [PREFIX/include]
1523 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1524 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1525 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1526 --infodir=DIR info documentation [DATAROOTDIR/info]
1527 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1528 --mandir=DIR man documentation [DATAROOTDIR/man]
1529 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1530 --htmldir=DIR html documentation [DOCDIR]
1531 --dvidir=DIR dvi documentation [DOCDIR]
1532 --pdfdir=DIR pdf documentation [DOCDIR]
1533 --psdir=DIR ps documentation [DOCDIR]
1539 --program-prefix=PREFIX prepend PREFIX to installed program names
1540 --program-suffix=SUFFIX append SUFFIX to installed program names
1541 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1544 --build=BUILD configure
for building on BUILD
[guessed
]
1545 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1549 if test -n "$ac_init_help"; then
1550 case $ac_init_help in
1551 short | recursive
) echo "Configuration of aMule SVN:";;
1556 --disable-option-checking ignore unrecognized
--enable/--with options
1557 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1558 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1559 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1560 --disable-silent-rules verbose build output (undo: `make V
=0')
1561 --enable-maintainer-mode enable make rules and dependencies not useful
1562 (and sometimes confusing) to the casual installer
1563 --disable-dependency-tracking speeds up one-time build
1564 --enable-dependency-tracking do not reject slow dependency extractors
1565 --disable-monolithic disable building of the monolithic aMule app
1566 --enable-amule-daemon compile aMule daemon version
1567 --enable-amulecmd compile aMule command line client
1568 --enable-webserver compile aMule WebServer
1569 --enable-amule-gui compile aMule remote GUI
1570 --enable-cas compile C aMule Statistics
1571 --enable-wxcas compile aMule GUI Statistics
1572 --disable-ed2k don't compile aMule ed2k links handler
1573 --enable-alc compile aMuleLinkCreator GUI version
1574 --enable-alcc compile aMuleLinkCreator
for console
1575 --enable-xas install xas XChat2 plugin
1576 --enable-fileview compile aMule
file viewer
for console
(EXPERIMENTAL
)
1577 --enable-plasmamule compile aMule plasma applet and engine
1578 --enable-static produce a statically linked executable
1579 --enable-kde-in-home install KDE related stuff
in your home dir
1580 --enable-geoip compile with GeoIP IP2Country library
1581 --disable-upnp do not compile UPnP code
1582 --enable-mmap enable using mapped memory
if supported
1583 --disable-rpath do not hardcode runtime library paths
1584 --disable-nls do not use Native Language Support
1585 --disable-debug disable additional debugging output
1586 --enable-profile enable code profiling
1587 --enable-optimize enable code optimization
1588 --enable-ccache enable ccache support
for fast recompilation
1591 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1592 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1593 --with-kde4-config=PATH kde4-config
script to use
1594 --with-moc=PATH Search
in PATH
for Qt
's meta object compiler
1595 --without-gnu-malloc Don't assume that we use GNU libc compatible
1596 malloc
/realloc when cross-compiling
1597 --with-zlib=PREFIX use zlib
in PREFIX
1598 --with-gdlib-prefix=PREFIX
1599 prefix where gdlib is installed
(optional
)
1600 --with-gdlib-config=CONFIG
1601 gdlib-config
script to use
(optional
)
1602 --with-libpng-prefix=PREFIX
1603 prefix where libpng is installed
(optional
)
1604 --with-libpng-config=CONFIG
1605 libpng-config
script to use
(optional
)
1606 --with-geoip-headers=DIR
1607 GeoIP include files location
1608 --with-geoip-lib=DIR GeoIP library location
1609 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
1610 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
1611 --with-wx-config=CONFIG wx-config
script to use
(optional
)
1612 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
1613 --with-wx-exec-prefix=PREFIX
1614 Exec prefix where wxWidgets is installed
(optional
)
1615 --with-toolkit Build against a specific wxWidgets toolkit
(default
1617 --with-wxshared Force building against a shared build of wxWidgets
,
1618 even
if --disable-shared is given
(default is auto
)
1619 --with-wxdebug Force building against a debug build of wxWidgets
,
1620 even
if --disable-debug is given
(default is auto
)
1621 --with-wxversion Build against a specific version of wxWidgets
1623 --with-libupnp-prefix=PREFIX
1624 UPnP library location
1625 --with-crypto-prefix=PREFIX
1626 prefix where crypto
++ is installed
1627 --with-language=<langs
> Specify a comma-separated list of languages you want
1628 to have installed. See po
/LINGUAS
for available
1630 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1631 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1632 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1633 --with-included-gettext use the GNU gettext library included here
1634 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1635 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1636 --with-denoise-level=<level
>
1637 Specifies denoising level
(0-4):
1639 4 - Suppress all normal output
1640 (for more information see
1641 src
/utils
/scripts
/denoiser.rules
)
1643 --with-ccache-prefix=PREFIX
1644 prefix where ccache is installed
1646 Some influential environment variables
:
1647 CXX C
++ compiler
command
1648 CXXFLAGS C
++ compiler flags
1649 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1650 nonstandard directory
<lib dir
>
1651 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1652 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1653 you have headers
in a nonstandard directory
<include dir
>
1654 CXXCPP C
++ preprocessor
1655 CC C compiler
command
1656 CFLAGS C compiler flags
1658 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1659 the first program found out of: `bison
-y', `byacc', `yacc'.
1660 YFLAGS The list of arguments that will be passed by default to $YACC.
1661 This script will default YFLAGS to the empty string to avoid a
1662 default value of `-d' given by some make applications.
1663 RC Resource Compiler
1664 RCFLAGS Resource Compiler Flags
1665 PKG_CONFIG path to pkg-config utility
1667 Use these variables to override the choices made by `configure' or to
help
1668 it to
find libraries and programs with nonstandard names
/locations.
1670 Report bugs to
<admin@amule.org
>.
1675 if test "$ac_init_help" = "recursive"; then
1676 # If there are subdirs, report their specific --help.
1677 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1678 test -d "$ac_dir" ||
1679 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1684 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1686 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1687 # A ".." for each directory in $ac_dir_suffix.
1688 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1689 case $ac_top_builddir_sub in
1690 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1691 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1694 ac_abs_top_builddir
=$ac_pwd
1695 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1696 # for backward compatibility:
1697 ac_top_builddir
=$ac_top_build_prefix
1700 .
) # We are building in place.
1702 ac_top_srcdir
=$ac_top_builddir_sub
1703 ac_abs_top_srcdir
=$ac_pwd ;;
1704 [\\/]* | ?
:[\\/]* ) # Absolute name.
1705 ac_srcdir
=$srcdir$ac_dir_suffix;
1706 ac_top_srcdir
=$srcdir
1707 ac_abs_top_srcdir
=$srcdir ;;
1709 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1710 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1711 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1713 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1715 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1716 # Check for guested configure.
1717 if test -f "$ac_srcdir/configure.gnu"; then
1719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1720 elif test -f "$ac_srcdir/configure"; then
1722 $SHELL "$ac_srcdir/configure" --help=recursive
1724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1726 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1730 test -n "$ac_init_help" && exit $ac_status
1731 if $ac_init_version; then
1734 generated by GNU Autoconf
2.65
1736 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1737 This configure
script is free software
; the Free Software Foundation
1738 gives unlimited permission to copy
, distribute and modify it.
1743 ## ------------------------ ##
1744 ## Autoconf initialization. ##
1745 ## ------------------------ ##
1747 # ac_fn_cxx_try_compile LINENO
1748 # ----------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_cxx_try_compile
()
1752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1753 rm -f conftest.
$ac_objext
1754 if { { ac_try
="$ac_compile"
1756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_cxx_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.$ac_objext; then :
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 as_fn_set_status $ac_retval
1783 } # ac_fn_cxx_try_compile
1785 # ac_fn_cxx_try_cpp LINENO
1786 # ------------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_cxx_try_cpp ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if { { ac_try="$ac_cpp conftest.$ac_ext"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } >/dev
/null
&& {
1807 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1808 test ! -s conftest.err
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1818 as_fn_set_status
$ac_retval
1820 } # ac_fn_cxx_try_cpp
1822 # ac_fn_c_try_compile LINENO
1823 # --------------------------
1824 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_compile
()
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 rm -f conftest.
$ac_objext
1829 if { { ac_try
="$ac_compile"
1831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_compile") 2>conftest.err
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest.$ac_objext; then :
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 as_fn_set_status $ac_retval
1858 } # ac_fn_c_try_compile
1860 # ac_fn_c_try_cpp LINENO
1861 # ----------------------
1862 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1869 *) ac_try_echo
=$ac_try;;
1871 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 if test -s conftest.err
; then
1876 grep -v '^ *+' conftest.err
>conftest.er1
1877 cat conftest.er1
>&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } >/dev
/null
&& {
1882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1883 test ! -s conftest.err
1887 $as_echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.
$ac_ext >&5
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1893 as_fn_set_status
$ac_retval
1897 # ac_fn_c_try_link LINENO
1898 # -----------------------
1899 # Try to link conftest.$ac_ext, and return whether this succeeded.
1902 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1903 rm -f conftest.
$ac_objext conftest
$ac_exeext
1904 if { { ac_try
="$ac_link"
1906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1907 *) ac_try_echo=$ac_try;;
1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_link") 2>conftest.err
1913 if test -s conftest.err; then
1914 grep -v '^ *+' conftest.err >conftest.er1
1915 cat conftest.er1 >&5
1916 mv -f conftest.er1 conftest.err
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && {
1920 test -z "$ac_c_werror_flag" ||
1921 test ! -s conftest.err
1922 } && test -s conftest$ac_exeext && {
1923 test "$cross_compiling" = yes ||
1924 $as_test_x conftest$ac_exeext
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.$ac_ext >&5
1933 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1934 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1935 # interfere with the next link command; also delete a directory that is
1936 # left behind by Apple's compiler. We do this before executing the actions.
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 as_fn_set_status $ac_retval
1941 } # ac_fn_c_try_link
1943 # ac_fn_c_try_run LINENO
1944 # ----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1946 # that executables *can* be run.
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_link"
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_link") 2>&5
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1961 { { case "(($ac_try" in
1962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_try") 2>&5
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; }; }; then :
1973 $as_echo "$as_me: program exited with status $ac_status" >&5
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=$ac_status
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981 as_fn_set_status $ac_retval
1985 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1986 # -------------------------------------------------------
1987 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1988 # the include files in INCLUDES and setting the cache variable VAR
1990 ac_fn_c_check_header_mongrel ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1997 $as_echo_n "(cached) " >&6
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 # Is the header compilable?
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2005 $as_echo_n "checking $2 usability... " >&6; }
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2011 if ac_fn_c_try_compile "$LINENO"; then :
2012 ac_header_compiler=yes
2014 ac_header_compiler=no
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2018 $as_echo "$ac_header_compiler" >&6; }
2020 # Is the header present?
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2022 $as_echo_n "checking $2 presence... " >&6; }
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2027 if ac_fn_c_try_cpp "$LINENO"; then :
2028 ac_header_preproc=yes
2030 ac_header_preproc=no
2032 rm -f conftest.err conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2034 $as_echo "$ac_header_preproc" >&6; }
2036 # So? What about this header?
2037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2040 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2046 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2048 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2050 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2052 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2056 ## ------------------------------ ##
2057 ## Report this to admin@amule.org ##
2058 ## ------------------------------ ##
2060 ) | sed "s/^/$as_me: WARNING: /" >&2
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066 $as_echo_n "(cached) " >&6
2068 eval "$3=\$ac_header_compiler"
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076 } # ac_fn_c_check_header_mongrel
2078 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2079 # -------------------------------------------------------
2080 # Tests whether HEADER exists and can be compiled using the include files in
2081 # INCLUDES, setting the cache variable VAR accordingly.
2082 ac_fn_c_check_header_compile ()
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2095 if ac_fn_c_try_compile "$LINENO"; then :
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 } # ac_fn_c_check_header_compile
2109 # ac_fn_cxx_try_run LINENO
2110 # ------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2112 # that executables *can* be run.
2113 ac_fn_cxx_try_run ()
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 if { { ac_try="$ac_link"
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_link") 2>&5
2125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2126 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2127 { { case "(($ac_try" in
2128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2129 *) ac_try_echo=$ac_try;;
2131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2132 $as_echo "$ac_try_echo"; } >&5
2133 (eval "$ac_try") 2>&5
2135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2136 test $ac_status = 0; }; }; then :
2139 $as_echo "$as_me: program exited with status $ac_status" >&5
2140 $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2143 ac_retval=$ac_status
2145 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2146 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2147 as_fn_set_status $ac_retval
2149 } # ac_fn_cxx_try_run
2151 # ac_fn_cxx_try_link LINENO
2152 # -------------------------
2153 # Try to link conftest.$ac_ext, and return whether this succeeded.
2154 ac_fn_cxx_try_link ()
2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157 rm -f conftest.$ac_objext conftest$ac_exeext
2158 if { { ac_try="$ac_link"
2160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2161 *) ac_try_echo
=$ac_try;;
2163 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2164 $as_echo "$ac_try_echo"; } >&5
2165 (eval "$ac_link") 2>conftest.err
2167 if test -s conftest.err
; then
2168 grep -v '^ *+' conftest.err
>conftest.er1
2169 cat conftest.er1
>&5
2170 mv -f conftest.er1 conftest.err
2172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2173 test $ac_status = 0; } && {
2174 test -z "$ac_cxx_werror_flag" ||
2175 test ! -s conftest.err
2176 } && test -s conftest
$ac_exeext && {
2177 test "$cross_compiling" = yes ||
2178 $as_test_x conftest
$ac_exeext
2182 $as_echo "$as_me: failed program was:" >&5
2183 sed 's/^/| /' conftest.
$ac_ext >&5
2187 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2188 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2189 # interfere with the next link command; also delete a directory that is
2190 # left behind by Apple's compiler. We do this before executing the actions.
2191 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2193 as_fn_set_status
$ac_retval
2195 } # ac_fn_cxx_try_link
2197 # ac_fn_c_check_func LINENO FUNC VAR
2198 # ----------------------------------
2199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2200 ac_fn_c_check_func
()
2202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2212 #define $2 innocuous_$2
2214 /* System header to define __stub macros and hopefully few prototypes,
2215 which can conflict with char $2 (); below.
2216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2217 <limits.h> exists even on freestanding compilers. */
2220 # include <limits.h>
2222 # include <assert.h>
2227 /* Override any GCC internal prototype to avoid an error.
2228 Use char because int might match the return type of a GCC
2229 builtin and then its argument prototype would still apply. */
2234 /* The GNU C library defines this for functions which it implements
2235 to always fail with ENOSYS. Some functions are actually named
2236 something starting with __ and the normal name is an alias. */
2237 #if defined __stub_$2 || defined __stub___$2
2249 if ac_fn_c_try_link
"$LINENO"; then :
2254 rm -f core conftest.err conftest.
$ac_objext \
2255 conftest
$ac_exeext conftest.
$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2260 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2262 } # ac_fn_c_check_func
2264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2265 # -------------------------------------------
2266 # Tests whether TYPE exists after having included INCLUDES, setting cache
2267 # variable VAR accordingly.
2268 ac_fn_c_check_type
()
2270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2272 $as_echo_n "checking for $2... " >&6; }
2273 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2274 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2289 if ac_fn_c_try_compile
"$LINENO"; then :
2290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2302 if ac_fn_c_try_compile
"$LINENO"; then :
2307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2313 $as_echo "$ac_res" >&6; }
2314 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2316 } # ac_fn_c_check_type
2318 # ac_fn_c_check_decl LINENO SYMBOL VAR
2319 # ------------------------------------
2320 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2321 ac_fn_c_check_decl
()
2323 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2325 $as_echo_n "checking whether $2 is declared... " >&6; }
2326 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2327 $as_echo_n "(cached) " >&6
2329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2343 if ac_fn_c_try_compile
"$LINENO"; then :
2348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2355 } # ac_fn_c_check_decl
2356 cat >config.log
<<_ACEOF
2357 This file contains any messages produced by compilers while
2358 running configure, to aid debugging if configure makes a mistake.
2360 It was created by aMule $as_me SVN, which was
2361 generated by GNU Autoconf 2.65. Invocation command line was
2373 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2374 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2375 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2376 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2377 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2379 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2380 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2382 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2383 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2384 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2385 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2386 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2387 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2388 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 $as_echo "PATH: $as_dir"
2413 # Keep a trace of the command line.
2414 # Strip out --no-create and --no-recursion so they do not pile up.
2415 # Strip out --silent because we don't want to record it for future runs.
2416 # Also quote any args containing shell meta-characters.
2417 # Make two passes to allow for proper duplicate-argument suppression.
2421 ac_must_keep_next
=false
2427 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2428 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2429 |
-silent |
--silent |
--silen |
--sile |
--sil)
2432 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2435 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2437 as_fn_append ac_configure_args1
" '$ac_arg'"
2438 if test $ac_must_keep_next = true
; then
2439 ac_must_keep_next
=false
# Got value, back to normal.
2442 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2443 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2444 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2445 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2446 case "$ac_configure_args0 " in
2447 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2450 -* ) ac_must_keep_next
=true
;;
2453 as_fn_append ac_configure_args
" '$ac_arg'"
2458 { ac_configure_args0
=; unset ac_configure_args0
;}
2459 { ac_configure_args1
=; unset ac_configure_args1
;}
2461 # When interrupted or exit'd, cleanup temporary files, and complete
2462 # config.log. We remove comments because anyway the quotes in there
2463 # would cause problems or look ugly.
2464 # WARNING: Use '\'' to represent an apostrophe within the trap.
2465 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2466 trap 'exit_status=$?
2467 # Save into config.log some information that might help in debugging.
2472 ## ---------------- ##
2473 ## Cache variables. ##
2474 ## ---------------- ##
2477 # The following way of writing the cache mishandles newlines in values,
2479 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2480 eval ac_val=\$$ac_var
2484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2488 _ | IFS | as_nl) ;; #(
2489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2490 *) { eval $ac_var=; unset $ac_var;} ;;
2495 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2496 *${as_nl}ac_space=\ *)
2498 "s/'\''/'\''\\\\'\'''\''/g;
2499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2510 ## ----------------- ##
2511 ## Output variables. ##
2512 ## ----------------- ##
2515 for ac_var in $ac_subst_vars
2517 eval ac_val=\$$ac_var
2519 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2521 $as_echo "$ac_var='\''$ac_val'\''"
2525 if test -n "$ac_subst_files"; then
2527 ## ------------------- ##
2528 ## File substitutions. ##
2529 ## ------------------- ##
2532 for ac_var
in $ac_subst_files
2534 eval ac_val
=\$
$ac_var
2536 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2538 $as_echo "$ac_var='\''$ac_val'\''"
2543 if test -s confdefs.h; then
2553 test "$ac_signal" != 0 &&
2554 $as_echo "$as_me: caught signal $ac_signal"
2555 $as_echo "$as_me: exit $exit_status"
2557 rm -f core *.core core.conftest.* &&
2558 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2561 for ac_signal
in 1 2 13 15; do
2562 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2566 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2567 rm -f -r conftest
* confdefs.h
2569 $as_echo "/* confdefs.h */" > confdefs.h
2571 # Predefined preprocessor variables.
2573 cat >>confdefs.h
<<_ACEOF
2574 #define PACKAGE_NAME "$PACKAGE_NAME"
2577 cat >>confdefs.h
<<_ACEOF
2578 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2581 cat >>confdefs.h
<<_ACEOF
2582 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2585 cat >>confdefs.h
<<_ACEOF
2586 #define PACKAGE_STRING "$PACKAGE_STRING"
2589 cat >>confdefs.h
<<_ACEOF
2590 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2593 cat >>confdefs.h
<<_ACEOF
2594 #define PACKAGE_URL "$PACKAGE_URL"
2598 # Let the site file select an alternate cache file if it wants to.
2599 # Prefer an explicitly selected file to automatically selected ones.
2602 if test -n "$CONFIG_SITE"; then
2603 ac_site_file1
=$CONFIG_SITE
2604 elif test "x$prefix" != xNONE
; then
2605 ac_site_file1
=$prefix/share
/config.site
2606 ac_site_file2
=$prefix/etc
/config.site
2608 ac_site_file1
=$ac_default_prefix/share
/config.site
2609 ac_site_file2
=$ac_default_prefix/etc
/config.site
2611 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2613 test "x$ac_site_file" = xNONE
&& continue
2614 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2617 sed 's/^/| /' "$ac_site_file" >&5
2622 if test -r "$cache_file"; then
2623 # Some versions of bash will fail to source /dev/null (special files
2624 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2625 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2627 $as_echo "$as_me: loading cache $cache_file" >&6;}
2629 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2630 *) .
"./$cache_file";;
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2635 $as_echo "$as_me: creating cache $cache_file" >&6;}
2639 as_fn_append ac_header_list
" stdlib.h"
2640 as_fn_append ac_header_list
" unistd.h"
2641 as_fn_append ac_header_list
" sys/param.h"
2642 # Check that the precious variables saved in the cache have kept the same
2644 ac_cache_corrupted
=false
2645 for ac_var
in $ac_precious_vars; do
2646 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2647 eval ac_new_set
=\
$ac_env_${ac_var}_set
2648 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2649 eval ac_new_val
=\
$ac_env_${ac_var}_value
2650 case $ac_old_set,$ac_new_set in
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2653 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2654 ac_cache_corrupted
=: ;;
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2657 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2658 ac_cache_corrupted
=: ;;
2661 if test "x$ac_old_val" != "x$ac_new_val"; then
2662 # differences in whitespace do not lead to failure.
2663 ac_old_val_w
=`echo x $ac_old_val`
2664 ac_new_val_w
=`echo x $ac_new_val`
2665 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2667 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2668 ac_cache_corrupted
=:
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2671 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2672 eval $ac_var=\
$ac_old_val
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2675 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2677 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2680 # Pass precious variables to config.status.
2681 if test "$ac_new_set" = set; then
2683 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2684 *) ac_arg
=$ac_var=$ac_new_val ;;
2686 case " $ac_configure_args " in
2687 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2688 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2692 if $ac_cache_corrupted; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2696 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2697 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2699 ## -------------------- ##
2700 ## Main body of script. ##
2701 ## -------------------- ##
2704 ac_cpp
='$CPP $CPPFLAGS'
2705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2710 am__api_version
='1.11'
2713 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2714 for ac_t
in install-sh
install.sh shtool
; do
2715 if test -f "$ac_dir/$ac_t"; then
2717 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2722 if test -z "$ac_aux_dir"; then
2723 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2726 # These three variables are undocumented and unsupported,
2727 # and are intended to be withdrawn in a future Autoconf release.
2728 # They can cause serious problems if a builder's source tree is in a directory
2729 # whose full name contains unusual characters.
2730 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2731 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2732 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2735 # Find a good install program. We prefer a C program (faster),
2736 # so one script is as good as another. But avoid the broken or
2737 # incompatible versions:
2738 # SysV /etc/install, /usr/sbin/install
2739 # SunOS /usr/etc/install
2740 # IRIX /sbin/install
2742 # AmigaOS /C/install, which installs bootblocks on floppy discs
2743 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2744 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2745 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2746 # OS/2's system install, which has a completely different semantic
2747 # ./install, which can be erroneously created by make from ./install.sh.
2748 # Reject install programs that cannot install multiple files.
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2750 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2751 if test -z "$INSTALL"; then
2752 if test "${ac_cv_path_install+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2759 test -z "$as_dir" && as_dir
=.
2760 # Account for people who put trailing slashes in PATH elements.
2761 case $as_dir/ in #((
2762 .
/ | .
// |
/[cC
]/* | \
2763 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2764 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2767 # OSF1 and SCO ODT 3.0 have their own names for install.
2768 # Don't use installbsd from OSF since it installs stuff as root
2770 for ac_prog
in ginstall scoinst
install; do
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2773 if test $ac_prog = install &&
2774 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2775 # AIX install. It has an incompatible calling convention.
2777 elif test $ac_prog = install &&
2778 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2779 # program-specific install script used by HP pwplus--don't use.
2782 rm -rf conftest.one conftest.two conftest.dir
2783 echo one
> conftest.one
2784 echo two
> conftest.two
2786 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2787 test -s conftest.one
&& test -s conftest.two
&&
2788 test -s conftest.dir
/conftest.one
&&
2789 test -s conftest.dir
/conftest.two
2791 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2804 rm -rf conftest.one conftest.two conftest.dir
2807 if test "${ac_cv_path_install+set}" = set; then
2808 INSTALL
=$ac_cv_path_install
2810 # As a last resort, use the slow shell script. Don't cache a
2811 # value for INSTALL within a source directory, because that will
2812 # break other packages using the cache if that directory is
2813 # removed, or if the value is a relative name.
2814 INSTALL
=$ac_install_sh
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2818 $as_echo "$INSTALL" >&6; }
2820 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2821 # It thinks the first close brace ends the variable substitution.
2822 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2824 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2826 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2829 $as_echo_n "checking whether build environment is sane... " >&6; }
2832 echo timestamp
> conftest.
file
2833 # Reject unsafe characters in $srcdir or the absolute working directory
2834 # name. Accept space and tab only in the latter.
2838 *[\\\"\
#\$\&\'\`$am_lf]*)
2839 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2842 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2843 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2846 # Do `set' in a subshell so we don't clobber the current shell's
2847 # arguments. Must try -L first in case configure is actually a
2848 # symlink; some systems play weird games with the mod time of symlinks
2849 # (eg FreeBSD returns the mod time of the symlink's containing
2852 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2853 if test "$*" = "X"; then
2855 set X
`ls -t "$srcdir/configure" conftest.file`
2858 if test "$*" != "X $srcdir/configure conftest.file" \
2859 && test "$*" != "X conftest.file $srcdir/configure"; then
2861 # If neither matched, then we have a broken ls. This can happen
2862 # if, for instance, CONFIG_SHELL is bash and it inherits a
2863 # broken ls alias from the environment. This has actually
2864 # happened. Such a system could not be considered "sane".
2865 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2866 alias in your environment" "$LINENO" 5
2869 test "$2" = conftest.
file
2875 as_fn_error
"newly created file is older than distributed files!
2876 Check your system clock" "$LINENO" 5
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2880 test "$program_prefix" != NONE
&&
2881 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2882 # Use a double $ so make ignores it.
2883 test "$program_suffix" != NONE
&&
2884 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2885 # Double any \ or $.
2886 # By default was `s,x,x', remove it if useless.
2887 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2888 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2890 # expand $ac_aux_dir to an absolute path
2891 am_aux_dir
=`cd $ac_aux_dir && pwd`
2893 if test x
"${MISSING+set}" != xset
; then
2896 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2898 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2901 # Use eval to expand $SHELL
2902 if eval "$MISSING --run true"; then
2903 am_missing_run
="$MISSING --run "
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2907 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2910 if test x
"${install_sh}" != xset
; then
2913 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2915 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2919 # Installed binaries are usually stripped using `strip' when the user
2920 # run `make install-strip'. However `strip' might not be the right
2921 # tool to use in cross-compilation environments, therefore Automake
2922 # will honor the `STRIP' environment variable to overrule this program.
2923 if test "$cross_compiling" != no
; then
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2926 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if test "${ac_cv_prog_STRIP+set}" = set; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$STRIP"; then
2933 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 STRIP
=$ac_cv_prog_STRIP
2953 if test -n "$STRIP"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2955 $as_echo "$STRIP" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2963 if test -z "$ac_cv_prog_STRIP"; then
2965 # Extract the first word of "strip", so it can be a program name with args.
2966 set dummy strip
; ac_word
=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$ac_ct_STRIP"; then
2973 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_ac_ct_STRIP
="strip"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2993 if test -n "$ac_ct_STRIP"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2995 $as_echo "$ac_ct_STRIP" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3001 if test "x$ac_ct_STRIP" = x
; then
3004 case $cross_compiling:$ac_tool_warned in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3008 ac_tool_warned
=yes ;;
3013 STRIP
="$ac_cv_prog_STRIP"
3017 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3020 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3021 if test -z "$MKDIR_P"; then
3022 if test "${ac_cv_path_mkdir+set}" = set; then :
3023 $as_echo_n "(cached) " >&6
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_prog
in mkdir gmkdir
; do
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3033 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3034 'mkdir (GNU coreutils) '* | \
3035 'mkdir (coreutils) '* | \
3036 'mkdir (fileutils) '4.1*)
3037 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3047 test -d .
/--version && rmdir .
/--version
3048 if test "${ac_cv_path_mkdir+set}" = set; then
3049 MKDIR_P
="$ac_cv_path_mkdir -p"
3051 # As a last resort, use the slow shell script. Don't cache a
3052 # value for MKDIR_P within a source directory, because that will
3053 # break other packages using the cache if that directory is
3054 # removed, or if the value is a relative name.
3055 MKDIR_P
="$ac_install_sh -d"
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3059 $as_echo "$MKDIR_P" >&6; }
3063 [\\/$
]* | ?
:[\\/]*) ;;
3064 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3067 for ac_prog
in gawk mawk nawk
awk
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy
$ac_prog; ac_word
=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if test "${ac_cv_prog_AWK+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$AWK"; then
3077 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir
=.
3084 for ac_exec_ext
in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_AWK
="$ac_prog"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 if test -n "$AWK"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3099 $as_echo "$AWK" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3106 test -n "$AWK" && break
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3110 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3112 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3113 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3114 $as_echo_n "(cached) " >&6
3116 cat >conftest.
make <<\_ACEOF
3119 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3122 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3124 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3126 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3130 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3132 $as_echo "yes" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3137 SET_MAKE
="MAKE=${MAKE-make}"
3140 rm -rf .tst
2>/dev
/null
3141 mkdir .tst
2>/dev
/null
3142 if test -d .tst
; then
3147 rmdir .tst
2>/dev
/null
3149 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3150 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3151 # is not polluted with repeated "-I."
3152 am__isrc
=' -I$(srcdir)'
3153 # test to see if srcdir already configured
3154 if test -f $srcdir/config.status
; then
3155 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3159 # test whether we have cygpath
3160 if test -z "$CYGPATH_W"; then
3161 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3162 CYGPATH_W
='cygpath -w'
3169 # Define the identity of the package.
3174 cat >>confdefs.h
<<_ACEOF
3175 #define PACKAGE "$PACKAGE"
3179 cat >>confdefs.h
<<_ACEOF
3180 #define VERSION "$VERSION"
3183 # Some tools Automake needs.
3185 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3188 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3191 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3194 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3197 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3199 # We need awk for the "check" target. The system "awk" is bad on
3201 # Always define AMTAR for backward compatibility.
3203 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3205 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3211 # Check whether --enable-silent-rules was given.
3212 if test "${enable_silent_rules+set}" = set; then :
3213 enableval
=$enable_silent_rules;
3216 case $enable_silent_rules in
3217 yes) AM_DEFAULT_VERBOSITY
=0;;
3218 no
) AM_DEFAULT_VERBOSITY
=1;;
3219 *) AM_DEFAULT_VERBOSITY
=1;;
3227 ac_config_headers="$ac_config_headers config.h"
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3231 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3232 # Check whether --enable-maintainer-mode was given.
3233 if test "${enable_maintainer_mode+set}" = set; then :
3234 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3236 USE_MAINTAINER_MODE=no
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3240 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3241 if test $USE_MAINTAINER_MODE = yes; then
3242 MAINTAINER_MODE_TRUE=
3243 MAINTAINER_MODE_FALSE='#'
3245 MAINTAINER_MODE_TRUE
='#'
3246 MAINTAINER_MODE_FALSE
=
3249 MAINT
=$MAINTAINER_MODE_TRUE
3253 # Make sure we can run config.sub.
3254 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3255 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3258 $as_echo_n "checking build system type... " >&6; }
3259 if test "${ac_cv_build+set}" = set; then :
3260 $as_echo_n "(cached) " >&6
3262 ac_build_alias
=$build_alias
3263 test "x$ac_build_alias" = x
&&
3264 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3265 test "x$ac_build_alias" = x
&&
3266 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3267 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3268 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3272 $as_echo "$ac_cv_build" >&6; }
3273 case $ac_cv_build in
3275 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3278 ac_save_IFS
=$IFS; IFS
='-'
3284 # Remember, the first character of IFS is used to create $*,
3285 # except with old shells:
3288 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3292 $as_echo_n "checking host system type... " >&6; }
3293 if test "${ac_cv_host+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3296 if test "x$host_alias" = x
; then
3297 ac_cv_host
=$ac_cv_build
3299 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3300 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3305 $as_echo "$ac_cv_host" >&6; }
3308 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3311 ac_save_IFS
=$IFS; IFS
='-'
3317 # Remember, the first character of IFS is used to create $*,
3318 # except with old shells:
3321 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3325 case "${host_os}" in
3328 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3329 MULELDFLAGS
="-bind_at_load"
3330 touch src
/Scanner.cpp
3334 LIBS
="$LIBS -L/usr/local/lib"
3335 MULECPPFLAGS
="-D__OPENBSD__"
3337 *cygwin
* |
*mingw32
*)
3339 MULECPPFLAGS
="-DNOMINMAX"
3343 RESOLV_LIB
="-lresolv -lnsl"
3348 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3349 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3350 # Still, we prepend them, instead of adding, so the user may override them.
3351 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3352 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3356 MULECPPFLAGS
="-D__IRIX__"
3363 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3364 if test ${SYS:-unknown} != win32
; then :
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3367 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3368 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3370 MULELDFLAGS
="$MULELDFLAGS -pthread"
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3372 $as_echo "yes" >&6; }
3376 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3386 mule_backup_CFLAGS
="$CFLAGS"
3387 mule_backup_CXXFLAGS
="$CXXFLAGS"
3388 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3390 ac_cpp
='$CXXCPP $CPPFLAGS'
3391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3394 if test -z "$CXX"; then
3395 if test -n "$CCC"; then
3398 if test -n "$ac_tool_prefix"; then
3399 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3402 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if test "${ac_cv_prog_CXX+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -n "$CXX"; then
3409 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir
=.
3416 for ac_exec_ext
in '' $ac_executable_extensions; do
3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 if test -n "$CXX"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3431 $as_echo "$CXX" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3438 test -n "$CXX" && break
3441 if test -z "$CXX"; then
3443 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3445 # Extract the first word of "$ac_prog", so it can be a program name with args.
3446 set dummy
$ac_prog; ac_word
=$2
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448 $as_echo_n "checking for $ac_word... " >&6; }
3449 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -n "$ac_ct_CXX"; then
3453 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir
=.
3460 for ac_exec_ext
in '' $ac_executable_extensions; do
3461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3473 if test -n "$ac_ct_CXX"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3475 $as_echo "$ac_ct_CXX" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3482 test -n "$ac_ct_CXX" && break
3485 if test "x$ac_ct_CXX" = x
; then
3488 case $cross_compiling:$ac_tool_warned in
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3492 ac_tool_warned
=yes ;;
3500 # Provide some information about the compiler.
3501 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3504 for ac_option
in --version -v -V -qversion; do
3505 { { ac_try
="$ac_compiler $ac_option >&5"
3507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3514 if test -s conftest.err; then
3516 ... rest of stderr output deleted ...
3517 10q' conftest.err >conftest.er1
3518 cat conftest.er1 >&5
3520 rm -f conftest.er1 conftest.err
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 ac_clean_files_save=$ac_clean_files
3537 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3538 # Try to create an executable without -o first, disregard a.out.
3539 # It will help us diagnose broken compilers, and finding out an intuition
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3542 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3543 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3545 # The possible output files:
3546 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3549 for ac_file in $ac_files
3552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3553 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3558 if { { ac_try="$ac_link_default"
3560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3561 *) ac_try_echo
=$ac_try;;
3563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_link_default") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; then :
3569 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3570 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3571 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3572 # so that the user can short-circuit this test for compilers unknown to
3574 for ac_file
in $ac_files ''
3576 test -f "$ac_file" ||
continue
3578 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3581 # We found the default executable, but exeext='' is most
3585 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3587 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3589 # We set ac_cv_exeext here because the later test for it is not
3590 # safe: cross compilers may not add the suffix if given an `-o'
3591 # argument, so we may need to know it at that point already.
3592 # Even if this section looks crufty: it has the advantage of
3599 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3604 if test -z "$ac_file"; then :
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 $as_echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.
$ac_ext >&5
3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 { as_fn_set_status
77
3613 as_fn_error
"C++ compiler cannot create executables
3614 See \`config.log' for more details." "$LINENO" 5; }; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3617 $as_echo "yes" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3620 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3622 $as_echo "$ac_file" >&6; }
3623 ac_exeext
=$ac_cv_exeext
3625 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3626 ac_clean_files
=$ac_clean_files_save
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3628 $as_echo_n "checking for suffix of executables... " >&6; }
3629 if { { ac_try
="$ac_link"
3631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_link") 2>&5
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }; then :
3640 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3641 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3642 # work properly (i.e., refer to `conftest.exe'), while it won't with
3644 for ac_file
in conftest.exe conftest conftest.
*; do
3645 test -f "$ac_file" ||
continue
3647 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3648 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3656 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3657 See \`config.log' for more details." "$LINENO" 5; }
3659 rm -f conftest conftest
$ac_cv_exeext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3661 $as_echo "$ac_cv_exeext" >&6; }
3663 rm -f conftest.
$ac_ext
3664 EXEEXT
=$ac_cv_exeext
3666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3672 FILE *f = fopen ("conftest.out", "w");
3673 return ferror (f) || fclose (f) != 0;
3679 ac_clean_files
="$ac_clean_files conftest.out"
3680 # Check that the compiler produces executables we can run. If not, either
3681 # the compiler is broken, or we cross compile.
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3683 $as_echo_n "checking whether we are cross compiling... " >&6; }
3684 if test "$cross_compiling" != yes; then
3685 { { ac_try
="$ac_link"
3687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3691 $as_echo "$ac_try_echo"; } >&5
3692 (eval "$ac_link") 2>&5
3694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3695 test $ac_status = 0; }
3696 if { ac_try='./conftest$ac_cv_exeext'
3697 { { case "(($ac_try" in
3698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3699 *) ac_try_echo
=$ac_try;;
3701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703 (eval "$ac_try") 2>&5
3705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706 test $ac_status = 0; }; }; then
3709 if test "$cross_compiling" = maybe
; then
3712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error
"cannot run C++ compiled programs.
3715 If you meant to cross compile, use \`--host'.
3716 See \`config.log' for more details." "$LINENO" 5; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3721 $as_echo "$cross_compiling" >&6; }
3723 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3724 ac_clean_files
=$ac_clean_files_save
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3726 $as_echo_n "checking for suffix of object files... " >&6; }
3727 if test "${ac_cv_objext+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 rm -f conftest.o conftest.obj
3742 if { { ac_try
="$ac_compile"
3744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749 (eval "$ac_compile") 2>&5
3751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752 test $ac_status = 0; }; then :
3753 for ac_file in conftest.o conftest.obj conftest.*; do
3754 test -f "$ac_file" || continue;
3756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3757 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3762 $as_echo "$as_me: failed program was:" >&5
3763 sed 's/^/| /' conftest.$ac_ext >&5
3765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3767 as_fn_error "cannot compute suffix of object files
: cannot compile
3768 See \
`config.log' for more details." "$LINENO" 5; }
3770 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3773 $as_echo "$ac_cv_objext" >&6; }
3774 OBJEXT=$ac_cv_objext
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3777 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3778 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3779 $as_echo_n "(cached) " >&6
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3795 if ac_fn_cxx_try_compile "$LINENO"; then :
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3805 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3806 if test $ac_compiler_gnu = yes; then
3811 ac_test_CXXFLAGS=${CXXFLAGS+set}
3812 ac_save_CXXFLAGS=$CXXFLAGS
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3814 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3815 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3818 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3819 ac_cxx_werror_flag=yes
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3833 if ac_fn_cxx_try_compile "$LINENO"; then :
3834 ac_cv_prog_cxx_g=yes
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 if ac_fn_cxx_try_compile "$LINENO"; then :
3851 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3864 if ac_fn_cxx_try_compile "$LINENO"; then :
3865 ac_cv_prog_cxx_g=yes
3867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3875 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3876 if test "$ac_test_CXXFLAGS" = set; then
3877 CXXFLAGS=$ac_save_CXXFLAGS
3878 elif test $ac_cv_prog_cxx_g = yes; then
3879 if test "$GXX" = yes; then
3885 if test "$GXX" = yes; then
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 DEPDIR="${am__leading_dot}deps"
3898 ac_config_commands="$ac_config_commands depfiles"
3901 am_make=${MAKE-make}
3902 cat > confinc << 'END'
3904 @echo this is the am__doit target
3907 # If we don't find an include directive, just comment out the code.
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3909 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3913 # First try GNU make style include.
3914 echo "include confinc" > confmf
3915 # Ignore all kinds of additional output from `make'.
3916 case `$am_make -s -f confmf 2> /dev/null` in #(
3917 *the\ am__doit\ target*)
3923 # Now try BSD make style include.
3924 if test "$am__include" = "#"; then
3925 echo '.include
"confinc"' > confmf
3926 case `$am_make -s -f confmf 2> /dev/null` in #(
3927 *the\ am__doit\ target*)
3928 am__include=.include
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3937 $as_echo "$_am_result" >&6; }
3938 rm -f confinc confmf
3940 # Check whether --enable-dependency-tracking was given.
3941 if test "${enable_dependency_tracking+set}" = set; then :
3942 enableval=$enable_dependency_tracking;
3945 if test "x$enable_dependency_tracking" != xno; then
3946 am_depcomp="$ac_aux_dir/depcomp"
3949 if test "x$enable_dependency_tracking" != xno
; then
3959 depcc
="$CXX" am_compiler_list
=
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3962 $as_echo_n "checking dependency style of $depcc... " >&6; }
3963 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3964 $as_echo_n "(cached) " >&6
3966 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3967 # We make a subdir and do the tests there. Otherwise we can end up
3968 # making bogus files that we don't know about and never remove. For
3969 # instance it was reported that on HP-UX the gcc test will end up
3970 # making a dummy file named `D' -- because `-MD' means `put the output
3973 # Copy depcomp to subdir because otherwise we won't find it if we're
3974 # using a relative directory.
3975 cp "$am_depcomp" conftest.dir
3977 # We will build objects and dependencies in a subdirectory because
3978 # it helps to detect inapplicable dependency modes. For instance
3979 # both Tru64's cc and ICC support -MD to output dependencies as a
3980 # side effect of compilation, but ICC will put the dependencies in
3981 # the current directory while Tru64 will put them in the object
3985 am_cv_CXX_dependencies_compiler_type
=none
3986 if test "$am_compiler_list" = ""; then
3987 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3990 case " $depcc " in #(
3991 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3994 for depmode
in $am_compiler_list; do
3995 # Setup a source with many dependencies, because some compilers
3996 # like to wrap large dependency lists on column 80 (with \), and
3997 # we should not choose a depcomp mode which is confused by this.
3999 # We need to recreate these files for each test, as the compiler may
4000 # overwrite some of them when testing with obscure command lines.
4001 # This happens at least with the AIX C compiler.
4003 for i
in 1 2 3 4 5 6; do
4004 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4005 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4006 # Solaris 8's {/usr,}/bin/sh.
4007 touch sub
/conftst
$i.h
4009 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4011 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4012 # mode. It turns out that the SunPro C++ compiler does not properly
4013 # handle `-M -o', and we need to detect this. Also, some Intel
4014 # versions had trouble with output in subdirs
4015 am__obj
=sub
/conftest.
${OBJEXT-o}
4016 am__minus_obj
="-o $am__obj"
4019 # This depmode causes a compiler race in universal mode.
4020 test "$am__universal" = false ||
continue
4023 # after this tag, mechanisms are not by side-effect, so they'll
4024 # only be used when explicitly requested
4025 if test "x$enable_dependency_tracking" = xyes
; then
4031 msvisualcpp | msvcmsys
)
4032 # This compiler won't grok `-c -o', but also, the minuso test has
4033 # not run yet. These depmodes are late enough in the game, and
4034 # so weak that their functioning should not be impacted.
4035 am__obj
=conftest.
${OBJEXT-o}
4040 if depmode
=$depmode \
4041 source=sub
/conftest.c object
=$am__obj \
4042 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4043 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4044 >/dev
/null
2>conftest.err
&&
4045 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4046 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4047 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4048 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4049 # icc doesn't choke on unknown options, it will just issue warnings
4050 # or remarks (even with -Werror). So we grep stderr for any message
4051 # that says an option was ignored or not supported.
4052 # When given -MP, icc 7.0 and 7.1 complain thusly:
4053 # icc: Command line warning: ignoring option '-M'; no argument required
4054 # The diagnosis changed in icc 8.0:
4055 # icc: Command line remark: option '-MP' not supported
4056 if (grep 'ignoring option' conftest.err ||
4057 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4058 am_cv_CXX_dependencies_compiler_type
=$depmode
4067 am_cv_CXX_dependencies_compiler_type
=none
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4072 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4073 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4076 test "x$enable_dependency_tracking" != xno \
4077 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4078 am__fastdepCXX_TRUE
=
4079 am__fastdepCXX_FALSE
='#'
4081 am__fastdepCXX_TRUE
='#'
4082 am__fastdepCXX_FALSE
=
4087 ac_cpp
='$CXXCPP $CPPFLAGS'
4088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4092 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4093 if test -z "$CXXCPP"; then
4094 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 # Double quotes because CXXCPP needs to be expanded
4098 for CXXCPP
in "$CXX -E" "/lib/cpp"
4101 for ac_cxx_preproc_warn_flag
in '' yes
4103 # Use a header file that comes with gcc, so configuring glibc
4104 # with a fresh cross-compiler works.
4105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4106 # <limits.h> exists even on freestanding compilers.
4107 # On the NeXT, cc -E runs the code through the compiler's parser,
4108 # not just through cpp. "Syntax error" is here to catch this case.
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4112 # include <limits.h>
4114 # include <assert.h>
4118 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4121 # Broken: fails on valid input.
4124 rm -f conftest.err conftest.
$ac_ext
4126 # OK, works on sane cases. Now check whether nonexistent headers
4127 # can be detected and how.
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4130 #include <ac_nonexistent.h>
4132 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4133 # Broken: success on invalid input.
4136 # Passes both tests.
4140 rm -f conftest.err conftest.
$ac_ext
4143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4144 rm -f conftest.err conftest.
$ac_ext
4145 if $ac_preproc_ok; then :
4150 ac_cv_prog_CXXCPP
=$CXXCPP
4153 CXXCPP
=$ac_cv_prog_CXXCPP
4155 ac_cv_prog_CXXCPP
=$CXXCPP
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4158 $as_echo "$CXXCPP" >&6; }
4160 for ac_cxx_preproc_warn_flag
in '' yes
4162 # Use a header file that comes with gcc, so configuring glibc
4163 # with a fresh cross-compiler works.
4164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4165 # <limits.h> exists even on freestanding compilers.
4166 # On the NeXT, cc -E runs the code through the compiler's parser,
4167 # not just through cpp. "Syntax error" is here to catch this case.
4168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4171 # include <limits.h>
4173 # include <assert.h>
4177 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4180 # Broken: fails on valid input.
4183 rm -f conftest.err conftest.
$ac_ext
4185 # OK, works on sane cases. Now check whether nonexistent headers
4186 # can be detected and how.
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 #include <ac_nonexistent.h>
4191 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4192 # Broken: success on invalid input.
4195 # Passes both tests.
4199 rm -f conftest.err conftest.
$ac_ext
4202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4203 rm -f conftest.err conftest.
$ac_ext
4204 if $ac_preproc_ok; then :
4207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4210 See \`config.log' for more details." "$LINENO" 5; }
4214 ac_cpp
='$CPP $CPPFLAGS'
4215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4220 ac_cpp
='$CPP $CPPFLAGS'
4221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4224 if test -n "$ac_tool_prefix"; then
4225 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4226 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if test "${ac_cv_prog_CC+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -n "$CC"; then
4233 ac_cv_prog_CC
="$CC" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 if test -n "$CC"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4255 $as_echo "$CC" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4263 if test -z "$ac_cv_prog_CC"; then
4265 # Extract the first word of "gcc", so it can be a program name with args.
4266 set dummy gcc
; ac_word
=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$ac_ct_CC"; then
4273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282 ac_cv_prog_ac_ct_CC
="gcc"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4293 if test -n "$ac_ct_CC"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4295 $as_echo "$ac_ct_CC" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4301 if test "x$ac_ct_CC" = x
; then
4304 case $cross_compiling:$ac_tool_warned in
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4308 ac_tool_warned
=yes ;;
4316 if test -z "$CC"; then
4317 if test -n "$ac_tool_prefix"; then
4318 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4319 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if test "${ac_cv_prog_CC+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -n "$CC"; then
4326 ac_cv_prog_CC
="$CC" # Let the user override the test.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 if test -n "$CC"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4348 $as_echo "$CC" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4357 if test -z "$CC"; then
4358 # Extract the first word of "cc", so it can be a program name with args.
4359 set dummy cc
; ac_word
=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if test "${ac_cv_prog_CC+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -n "$CC"; then
4366 ac_cv_prog_CC
="$CC" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4377 ac_prog_rejected
=yes
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 if test $ac_prog_rejected = yes; then
4389 # We found a bogon in the path, so make sure we never use it.
4390 set dummy
$ac_cv_prog_CC
4392 if test $# != 0; then
4393 # We chose a different compiler from the bogus one.
4394 # However, it has the same basename, so the bogon will be chosen
4395 # first if we set CC to just the basename; use the full file name.
4397 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4403 if test -n "$CC"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4405 $as_echo "$CC" >&6; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4413 if test -z "$CC"; then
4414 if test -n "$ac_tool_prefix"; then
4415 for ac_prog
in cl.exe
4417 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4418 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if test "${ac_cv_prog_CC+set}" = set; then :
4422 $as_echo_n "(cached) " >&6
4424 if test -n "$CC"; then
4425 ac_cv_prog_CC
="$CC" # Let the user override the test.
4427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir
=.
4432 for ac_exec_ext
in '' $ac_executable_extensions; do
4433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 if test -n "$CC"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4447 $as_echo "$CC" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4454 test -n "$CC" && break
4457 if test -z "$CC"; then
4459 for ac_prog
in cl.exe
4461 # Extract the first word of "$ac_prog", so it can be a program name with args.
4462 set dummy
$ac_prog; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$ac_ct_CC"; then
4469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 ac_cv_prog_ac_ct_CC
="$ac_prog"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4489 if test -n "$ac_ct_CC"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4491 $as_echo "$ac_ct_CC" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4498 test -n "$ac_ct_CC" && break
4501 if test "x$ac_ct_CC" = x
; then
4504 case $cross_compiling:$ac_tool_warned in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4508 ac_tool_warned
=yes ;;
4517 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4519 as_fn_error
"no acceptable C compiler found in \$PATH
4520 See \`config.log' for more details." "$LINENO" 5; }
4522 # Provide some information about the compiler.
4523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4526 for ac_option
in --version -v -V -qversion; do
4527 { { ac_try
="$ac_compiler $ac_option >&5"
4529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4533 $as_echo "$ac_try_echo"; } >&5
4534 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4536 if test -s conftest.err; then
4538 ... rest of stderr output deleted ...
4539 10q' conftest.err >conftest.er1
4540 cat conftest.er1 >&5
4542 rm -f conftest.er1 conftest.err
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4549 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4550 $as_echo_n "(cached) " >&6
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4566 if ac_fn_c_try_compile "$LINENO"; then :
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4576 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4582 ac_test_CFLAGS=${CFLAGS+set}
4583 ac_save_CFLAGS=$CFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4585 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4586 if test "${ac_cv_prog_cc_g+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 ac_save_c_werror_flag=$ac_c_werror_flag
4590 ac_c_werror_flag=yes
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4604 if ac_fn_c_try_compile "$LINENO"; then :
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4619 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4635 if ac_fn_c_try_compile "$LINENO"; then :
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 ac_c_werror_flag=$ac_save_c_werror_flag
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4646 $as_echo "$ac_cv_prog_cc_g" >&6; }
4647 if test "$ac_test_CFLAGS" = set; then
4648 CFLAGS=$ac_save_CFLAGS
4649 elif test $ac_cv_prog_cc_g = yes; then
4650 if test "$GCC" = yes; then
4656 if test "$GCC" = yes; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4663 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4664 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 ac_cv_prog_cc_c89=no
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 #include <sys/types.h>
4674 #include <sys/stat.h>
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4689 s = g (p, va_arg (v,int));
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4732 rm -f conftest.$ac_ext
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 depcc="$CC" am_compiler_list=
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4762 $as_echo_n "checking dependency style of $depcc... " >&6; }
4763 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4767 # We make a subdir and do the tests there. Otherwise we can end up
4768 # making bogus files that we don't know about and never remove. For
4769 # instance it was reported that on HP-UX the gcc test will end up
4770 # making a dummy file named `D
' -- because `-MD' means
`put the output
4773 # Copy depcomp to subdir because otherwise we won't find it if we're
4774 # using a relative directory.
4775 cp "$am_depcomp" conftest.dir
4777 # We will build objects and dependencies in a subdirectory because
4778 # it helps to detect inapplicable dependency modes. For instance
4779 # both Tru64's cc and ICC support -MD to output dependencies as a
4780 # side effect of compilation, but ICC will put the dependencies in
4781 # the current directory while Tru64 will put them in the object
4785 am_cv_CC_dependencies_compiler_type=none
4786 if test "$am_compiler_list" = ""; then
4787 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4790 case " $depcc " in #(
4791 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4794 for depmode in $am_compiler_list; do
4795 # Setup a source with many dependencies, because some compilers
4796 # like to wrap large dependency lists on column 80 (with \), and
4797 # we should not choose a depcomp mode which is confused by this.
4799 # We need to recreate these files for each test, as the compiler may
4800 # overwrite some of them when testing with obscure command lines.
4801 # This happens at least with the AIX C compiler.
4803 for i in 1 2 3 4 5 6; do
4804 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4805 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4806 # Solaris 8's
{/usr
,}/bin
/sh.
4807 touch sub
/conftst
$i.h
4809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4811 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4812 # mode. It turns out that the SunPro C++ compiler does not properly
4813 # handle `-M -o', and we need to detect this. Also, some Intel
4814 # versions had trouble with output in subdirs
4815 am__obj
=sub
/conftest.
${OBJEXT-o}
4816 am__minus_obj
="-o $am__obj"
4819 # This depmode causes a compiler race in universal mode.
4820 test "$am__universal" = false ||
continue
4823 # after this tag, mechanisms are not by side-effect, so they'll
4824 # only be used when explicitly requested
4825 if test "x$enable_dependency_tracking" = xyes
; then
4831 msvisualcpp | msvcmsys
)
4832 # This compiler won't grok `-c -o', but also, the minuso test has
4833 # not run yet. These depmodes are late enough in the game, and
4834 # so weak that their functioning should not be impacted.
4835 am__obj
=conftest.
${OBJEXT-o}
4840 if depmode
=$depmode \
4841 source=sub
/conftest.c object
=$am__obj \
4842 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4843 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4844 >/dev
/null
2>conftest.err
&&
4845 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4846 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4847 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4848 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4849 # icc doesn't choke on unknown options, it will just issue warnings
4850 # or remarks (even with -Werror). So we grep stderr for any message
4851 # that says an option was ignored or not supported.
4852 # When given -MP, icc 7.0 and 7.1 complain thusly:
4853 # icc: Command line warning: ignoring option '-M'; no argument required
4854 # The diagnosis changed in icc 8.0:
4855 # icc: Command line remark: option '-MP' not supported
4856 if (grep 'ignoring option' conftest.err ||
4857 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4858 am_cv_CC_dependencies_compiler_type
=$depmode
4867 am_cv_CC_dependencies_compiler_type
=none
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4872 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4873 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4876 test "x$enable_dependency_tracking" != xno \
4877 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4879 am__fastdepCC_FALSE
='#'
4881 am__fastdepCC_TRUE
='#'
4882 am__fastdepCC_FALSE
=
4887 ac_cpp
='$CPP $CPPFLAGS'
4888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4892 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4893 # On Suns, sometimes $CPP names a directory.
4894 if test -n "$CPP" && test -d "$CPP"; then
4897 if test -z "$CPP"; then
4898 if test "${ac_cv_prog_CPP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4901 # Double quotes because CPP needs to be expanded
4902 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4905 for ac_c_preproc_warn_flag
in '' yes
4907 # Use a header file that comes with gcc, so configuring glibc
4908 # with a fresh cross-compiler works.
4909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4910 # <limits.h> exists even on freestanding compilers.
4911 # On the NeXT, cc -E runs the code through the compiler's parser,
4912 # not just through cpp. "Syntax error" is here to catch this case.
4913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4916 # include <limits.h>
4918 # include <assert.h>
4922 if ac_fn_c_try_cpp
"$LINENO"; then :
4925 # Broken: fails on valid input.
4928 rm -f conftest.err conftest.
$ac_ext
4930 # OK, works on sane cases. Now check whether nonexistent headers
4931 # can be detected and how.
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4934 #include <ac_nonexistent.h>
4936 if ac_fn_c_try_cpp
"$LINENO"; then :
4937 # Broken: success on invalid input.
4940 # Passes both tests.
4944 rm -f conftest.err conftest.
$ac_ext
4947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4948 rm -f conftest.err conftest.
$ac_ext
4949 if $ac_preproc_ok; then :
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4962 $as_echo "$CPP" >&6; }
4964 for ac_c_preproc_warn_flag
in '' yes
4966 # Use a header file that comes with gcc, so configuring glibc
4967 # with a fresh cross-compiler works.
4968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4969 # <limits.h> exists even on freestanding compilers.
4970 # On the NeXT, cc -E runs the code through the compiler's parser,
4971 # not just through cpp. "Syntax error" is here to catch this case.
4972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4975 # include <limits.h>
4977 # include <assert.h>
4981 if ac_fn_c_try_cpp
"$LINENO"; then :
4984 # Broken: fails on valid input.
4987 rm -f conftest.err conftest.
$ac_ext
4989 # OK, works on sane cases. Now check whether nonexistent headers
4990 # can be detected and how.
4991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <ac_nonexistent.h>
4995 if ac_fn_c_try_cpp
"$LINENO"; then :
4996 # Broken: success on invalid input.
4999 # Passes both tests.
5003 rm -f conftest.err conftest.
$ac_ext
5006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5007 rm -f conftest.err conftest.
$ac_ext
5008 if $ac_preproc_ok; then :
5011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5013 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5014 See \`config.log' for more details." "$LINENO" 5; }
5018 ac_cpp
='$CPP $CPPFLAGS'
5019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5024 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5026 if test "$cross_compiling" = yes; then :
5028 # Even if we're cross-compiling, we want a compiler here
5029 # that is not a cross-compiler.
5030 saved_cross
=$cross_compiling
5034 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5035 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5038 if test -n "$ac_build_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5040 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$BUILD_CC"; then
5047 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 BUILD_CC
=$ac_cv_prog_BUILD_CC
5067 if test -n "$BUILD_CC"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5069 $as_echo "$BUILD_CC" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test -z "$ac_cv_prog_BUILD_CC"; then
5078 ac_ct_BUILD_CC
=$BUILD_CC
5079 # Extract the first word of "gcc", so it can be a program name with args.
5080 set dummy gcc
; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$ac_ct_BUILD_CC"; then
5087 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5107 if test -n "$ac_ct_BUILD_CC"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5109 $as_echo "$ac_ct_BUILD_CC" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5115 if test "x$ac_ct_BUILD_CC" = x
; then
5118 case $cross_compiling:$ac_tool_warned in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned
=yes ;;
5124 BUILD_CC
=$ac_ct_BUILD_CC
5127 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5130 if test -z "$BUILD_CC"; then
5131 if test -n "$ac_build_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5133 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$BUILD_CC"; then
5140 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 BUILD_CC
=$ac_cv_prog_BUILD_CC
5160 if test -n "$BUILD_CC"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5162 $as_echo "$BUILD_CC" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_BUILD_CC"; then
5171 ac_ct_BUILD_CC
=$BUILD_CC
5172 # Extract the first word of "cc", so it can be a program name with args.
5173 set dummy cc
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ac_ct_BUILD_CC"; then
5180 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5200 if test -n "$ac_ct_BUILD_CC"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5202 $as_echo "$ac_ct_BUILD_CC" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_BUILD_CC" = x
; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned
=yes ;;
5217 BUILD_CC
=$ac_ct_BUILD_CC
5220 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5224 if test -z "$BUILD_CC"; then
5225 # Extract the first word of "cc", so it can be a program name with args.
5226 set dummy cc
; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$BUILD_CC"; then
5233 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5244 ac_prog_rejected
=yes
5247 ac_cv_prog_BUILD_CC
="cc"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 if test $ac_prog_rejected = yes; then
5256 # We found a bogon in the path, so make sure we never use it.
5257 set dummy
$ac_cv_prog_BUILD_CC
5259 if test $# != 0; then
5260 # We chose a different compiler from the bogus one.
5261 # However, it has the same basename, so the bogon will be chosen
5262 # first if we set BUILD_CC to just the basename; use the full file name.
5264 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5269 BUILD_CC
=$ac_cv_prog_BUILD_CC
5270 if test -n "$BUILD_CC"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5272 $as_echo "$BUILD_CC" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5280 if test -z "$BUILD_CC"; then
5281 if test -n "$ac_build_prefix"; then
5284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5285 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -n "$BUILD_CC"; then
5292 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5301 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 BUILD_CC
=$ac_cv_prog_BUILD_CC
5312 if test -n "$BUILD_CC"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5314 $as_echo "$BUILD_CC" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5321 test -n "$BUILD_CC" && break
5324 if test -z "$BUILD_CC"; then
5325 ac_ct_BUILD_CC
=$BUILD_CC
5328 # Extract the first word of "$ac_prog", so it can be a program name with args.
5329 set dummy
$ac_prog; ac_word
=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -n "$ac_ct_BUILD_CC"; then
5336 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5356 if test -n "$ac_ct_BUILD_CC"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5358 $as_echo "$ac_ct_BUILD_CC" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5365 test -n "$ac_ct_BUILD_CC" && break
5368 if test "x$ac_ct_BUILD_CC" = x
; then
5371 case $cross_compiling:$ac_tool_warned in
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5375 ac_tool_warned
=yes ;;
5377 BUILD_CC
=$ac_ct_BUILD_CC
5384 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error
"no acceptable C compiler found in \$PATH
5387 See \`config.log' for more details." "$LINENO" 5; }
5389 # Provide some information about the compiler.
5390 echo "$as_me:$LINENO:" \
5391 "checking for C compiler version" >&5
5392 ac_compiler
=`set X $ac_compile; echo $2`
5393 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5394 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5397 test $ac_status = 0; }
5398 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5399 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5402 test $ac_status = 0; }
5403 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5404 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5407 test $ac_status = 0; }
5409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5420 ac_clean_files_save
=$ac_clean_files
5421 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5422 # Try to create an executable without -o first, disregard a.out.
5423 # It will help us diagnose broken compilers, and finding out an intuition
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5426 $as_echo_n "checking whether the C compiler works... " >&6; }
5427 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5429 # The possible output files:
5430 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5433 for ac_file
in $ac_files
5436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5437 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5442 if { { ac_try
="$ac_link_default"
5444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5445 *) ac_try_echo=$ac_try;;
5447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5448 $as_echo "$ac_try_echo"; } >&5
5449 (eval "$ac_link_default") 2>&5
5451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5452 test $ac_status = 0; }; then :
5453 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5454 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5455 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5456 # so that the user can short-circuit this test for compilers unknown to
5458 for ac_file in $ac_files ''
5460 test -f "$ac_file" || continue
5462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5465 # We found the default executable, but exeext='' is most
5469 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5471 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5473 # We set ac_cv_exeext here because the later test for it is not
5474 # safe: cross compilers may not add the suffix if given an `-o'
5475 # argument, so we may need to know it at that point already.
5476 # Even if this section looks crufty: it has the advantage of
5483 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5488 if test -z "$ac_file"; then :
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5491 $as_echo "$as_me: failed program was:" >&5
5492 sed 's
/^
/|
/' conftest.$ac_ext >&5
5494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5495 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5496 { as_fn_set_status 77
5497 as_fn_error "C compiler cannot create executables
5498 See \`config.log
' for more details." "$LINENO" 5; }; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5501 $as_echo "yes" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5504 $as_echo_n "checking for C compiler default output file name... " >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5506 $as_echo "$ac_file" >&6; }
5507 ac_build_exeext=$ac_cv_build_exeext
5509 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5510 ac_clean_files=$ac_clean_files_save
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5512 $as_echo_n "checking for suffix of executables... " >&6; }
5513 if { { ac_try="$ac_link"
5515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5516 *) ac_try_echo=$ac_try;;
5518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5519 $as_echo "$ac_try_echo"; } >&5
5520 (eval "$ac_link") 2>&5
5522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5523 test $ac_status = 0; }; then :
5524 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5525 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5526 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5528 for ac_file
in conftest.exe conftest conftest.
*; do
5529 test -f "$ac_file" ||
continue
5531 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5532 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5540 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5541 See \`config.log' for more details." "$LINENO" 5; }
5543 rm -f conftest conftest
$ac_cv_build_exeext
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5545 $as_echo "$ac_cv_build_exeext" >&6; }
5547 rm -f conftest.
$ac_ext
5548 BUILD_EXEEXT
=$ac_cv_build_exeext
5549 ac_build_exeext
=$BUILD_EXEEXT
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5556 FILE *f = fopen ("conftest.out", "w");
5557 return ferror (f) || fclose (f) != 0;
5563 ac_clean_files
="$ac_clean_files conftest.out"
5564 # Check that the compiler produces executables we can run. If not, either
5565 # the compiler is broken, or we cross compile.
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5567 $as_echo_n "checking whether we are cross compiling... " >&6; }
5568 if test "$cross_compiling" != yes; then
5569 { { ac_try
="$ac_link"
5571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
5574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5575 $as_echo "$ac_try_echo"; } >&5
5576 (eval "$ac_link") 2>&5
5578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5579 test $ac_status = 0; }
5580 if { ac_try='./conftest$ac_cv_build_exeext'
5581 { { case "(($ac_try" in
5582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5583 *) ac_try_echo
=$ac_try;;
5585 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5586 $as_echo "$ac_try_echo"; } >&5
5587 (eval "$ac_try") 2>&5
5589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5590 test $ac_status = 0; }; }; then
5593 if test "$cross_compiling" = maybe
; then
5596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5598 as_fn_error
"cannot run C compiled programs.
5599 If you meant to cross compile, use \`--host'.
5600 See \`config.log' for more details." "$LINENO" 5; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5605 $as_echo "$cross_compiling" >&6; }
5607 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5608 ac_clean_files
=$ac_clean_files_save
5611 # Restore configuration environment
5612 cross_compiling
=$saved_cross
5615 ac_cpp
='$CPP $CPPFLAGS'
5616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5621 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5623 CFLAGS
="$mule_backup_CFLAGS"
5624 CXXFLAGS
="$mule_backup_CXXFLAGS"
5625 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5626 for ac_prog
in gawk mawk nawk
awk
5628 # Extract the first word of "$ac_prog", so it can be a program name with args.
5629 set dummy
$ac_prog; ac_word
=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if test "${ac_cv_prog_AWK+set}" = set; then :
5633 $as_echo_n "(cached) " >&6
5635 if test -n "$AWK"; then
5636 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_AWK
="$ac_prog"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 if test -n "$AWK"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5658 $as_echo "$AWK" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5665 test -n "$AWK" && break
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5669 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5670 if test "${ac_cv_path_GREP+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -z "$GREP"; then
5674 ac_path_GREP_found
=false
5675 # Loop through the user's path and test for each of PROGNAME-LIST
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_prog
in grep ggrep
; do
5682 for ac_exec_ext
in '' $ac_executable_extensions; do
5683 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5684 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5685 # Check for GNU ac_path_GREP and select it if it is found.
5686 # Check for GNU $ac_path_GREP
5687 case `"$ac_path_GREP" --version 2>&1` in
5689 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5692 $as_echo_n 0123456789 >"conftest.in"
5695 cat "conftest.in" "conftest.in" >"conftest.tmp"
5696 mv "conftest.tmp" "conftest.in"
5697 cp "conftest.in" "conftest.nl"
5698 $as_echo 'GREP' >> "conftest.nl"
5699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5700 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5701 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5703 # Best one so far, save it but keep looking for a better one
5704 ac_cv_path_GREP
="$ac_path_GREP"
5705 ac_path_GREP_max
=$ac_count
5707 # 10*(2^10) chars as input seems more than enough
5708 test $ac_count -gt 10 && break
5710 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5713 $ac_path_GREP_found && break 3
5718 if test -z "$ac_cv_path_GREP"; then
5719 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5722 ac_cv_path_GREP
=$GREP
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5727 $as_echo "$ac_cv_path_GREP" >&6; }
5728 GREP
="$ac_cv_path_GREP"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5732 $as_echo_n "checking for egrep... " >&6; }
5733 if test "${ac_cv_path_EGREP+set}" = set; then :
5734 $as_echo_n "(cached) " >&6
5736 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5737 then ac_cv_path_EGREP
="$GREP -E"
5739 if test -z "$EGREP"; then
5740 ac_path_EGREP_found
=false
5741 # Loop through the user's path and test for each of PROGNAME-LIST
5742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5743 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5746 test -z "$as_dir" && as_dir
=.
5747 for ac_prog
in egrep; do
5748 for ac_exec_ext
in '' $ac_executable_extensions; do
5749 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5750 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5751 # Check for GNU ac_path_EGREP and select it if it is found.
5752 # Check for GNU $ac_path_EGREP
5753 case `"$ac_path_EGREP" --version 2>&1` in
5755 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5758 $as_echo_n 0123456789 >"conftest.in"
5761 cat "conftest.in" "conftest.in" >"conftest.tmp"
5762 mv "conftest.tmp" "conftest.in"
5763 cp "conftest.in" "conftest.nl"
5764 $as_echo 'EGREP' >> "conftest.nl"
5765 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5766 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5767 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5768 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5769 # Best one so far, save it but keep looking for a better one
5770 ac_cv_path_EGREP
="$ac_path_EGREP"
5771 ac_path_EGREP_max
=$ac_count
5773 # 10*(2^10) chars as input seems more than enough
5774 test $ac_count -gt 10 && break
5776 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5779 $ac_path_EGREP_found && break 3
5784 if test -z "$ac_cv_path_EGREP"; then
5785 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5788 ac_cv_path_EGREP
=$EGREP
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5794 $as_echo "$ac_cv_path_EGREP" >&6; }
5795 EGREP
="$ac_cv_path_EGREP"
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5799 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5801 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5802 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5803 $as_echo_n "(cached) " >&6
5805 cat >conftest.
make <<\_ACEOF
5808 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5811 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5813 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5815 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5819 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5821 $as_echo "yes" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5826 SET_MAKE
="MAKE=${MAKE-make}"
5830 for ac_prog
in flex
lex
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy
$ac_prog; ac_word
=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if test "${ac_cv_prog_LEX+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5839 if test -n "$LEX"; then
5840 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5846 test -z "$as_dir" && as_dir
=.
5847 for ac_exec_ext
in '' $ac_executable_extensions; do
5848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5849 ac_cv_prog_LEX
="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 if test -n "$LEX"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5862 $as_echo "$LEX" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$LEX" && break
5871 test -n "$LEX" || LEX
=":"
5873 if test "x$LEX" != "x:"; then
5874 cat >conftest.l
<<_ACEOF
5880 e { yyless (input () != 0); }
5881 f { unput (yytext[0]); }
5882 . { BEGIN INITIAL; }
5884 #ifdef YYTEXT_POINTER
5885 extern char *yytext;
5890 return ! yylex () + ! yywrap ();
5893 { { ac_try
="$LEX conftest.l"
5895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5896 *) ac_try_echo=$ac_try;;
5898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5899 $as_echo "$ac_try_echo"; } >&5
5900 (eval "$LEX conftest.l") 2>&5
5902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5903 test $ac_status = 0; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5905 $as_echo_n "checking lex output file root... " >&6; }
5906 if test "${ac_cv_prog_lex_root+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5910 if test -f lex.yy.c; then
5911 ac_cv_prog_lex_root=lex.yy
5912 elif test -f lexyy.c; then
5913 ac_cv_prog_lex_root=lexyy
5915 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5919 $as_echo "$ac_cv_prog_lex_root" >&6; }
5920 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5922 if test -z "${LEXLIB+set}"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5924 $as_echo_n "checking lex library... " >&6; }
5925 if test "${ac_cv_lib_lex+set}" = set; then :
5926 $as_echo_n "(cached) " >&6
5930 ac_cv_lib_lex='none needed'
5931 for ac_lib in '' -lfl -ll; do
5932 LIBS="$ac_lib $ac_save_LIBS"
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 `cat $LEX_OUTPUT_ROOT.c
`
5937 if ac_fn_c_try_link "$LINENO"; then :
5938 ac_cv_lib_lex=$ac_lib
5940 rm -f core conftest.err conftest.$ac_objext \
5941 conftest$ac_exeext conftest.$ac_ext
5942 test "$ac_cv_lib_lex" != 'none needed' && break
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5948 $as_echo "$ac_cv_lib_lex" >&6; }
5949 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5954 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5955 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5956 $as_echo_n "(cached) " >&6
5958 # POSIX says lex can declare yytext either as a pointer or an array; the
5959 # default is implementation-dependent. Figure out which it is, since
5960 # not all implementations provide the %pointer and %array declarations.
5961 ac_cv_prog_lex_yytext_pointer=no
5963 LIBS="$LEXLIB $ac_save_LIBS"
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 #define YYTEXT_POINTER 1
5967 `cat $LEX_OUTPUT_ROOT.c
`
5969 if ac_fn_c_try_link "$LINENO"; then :
5970 ac_cv_prog_lex_yytext_pointer=yes
5972 rm -f core conftest.err conftest.$ac_objext \
5973 conftest$ac_exeext conftest.$ac_ext
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5978 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5979 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5981 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5984 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5988 if test -n "$ac_tool_prefix"; then
5989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992 $as_echo_n "checking for $ac_word... " >&6; }
5993 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5994 $as_echo_n "(cached) " >&6
5996 if test -n "$RANLIB"; then
5997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 RANLIB=$ac_cv_prog_RANLIB
6017 if test -n "$RANLIB"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6019 $as_echo "$RANLIB" >&6; }
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }
6027 if test -z "$ac_cv_prog_RANLIB"; then
6028 ac_ct_RANLIB=$RANLIB
6029 # Extract the first word of "ranlib", so it can be a program name with args.
6030 set dummy ranlib; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6034 $as_echo_n "(cached) " >&6
6036 if test -n "$ac_ct_RANLIB"; then
6037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_ac_ct_RANLIB="ranlib"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6057 if test -n "$ac_ct_RANLIB"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6059 $as_echo "$ac_ct_RANLIB" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6065 if test "x$ac_ct_RANLIB" = x; then
6068 case $cross_compiling:$ac_tool_warned in
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072 ac_tool_warned=yes ;;
6074 RANLIB=$ac_ct_RANLIB
6077 RANLIB="$ac_cv_prog_RANLIB"
6080 for ac_prog in 'bison -y' byacc
6082 # Extract the first word of "$ac_prog", so it can be a program name with args.
6083 set dummy $ac_prog; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_YACC+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$YACC"; then
6090 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_YACC="$ac_prog"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 YACC=$ac_cv_prog_YACC
6110 if test -n "$YACC"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6112 $as_echo "$YACC" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6119 test -n "$YACC" && break
6121 test -n "$YACC" || YACC="yacc"
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6132 if test -n "$RANLIB"; then
6133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 RANLIB=$ac_cv_prog_RANLIB
6153 if test -n "$RANLIB"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6155 $as_echo "$RANLIB" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6163 if test -z "$ac_cv_prog_RANLIB"; then
6164 ac_ct_RANLIB=$RANLIB
6165 # Extract the first word of "ranlib", so it can be a program name with args.
6166 set dummy ranlib; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6172 if test -n "$ac_ct_RANLIB"; then
6173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_RANLIB="ranlib"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6193 if test -n "$ac_ct_RANLIB"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6195 $as_echo "$ac_ct_RANLIB" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6201 if test "x$ac_ct_RANLIB" = x; then
6204 case $cross_compiling:$ac_tool_warned in
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6210 RANLIB=$ac_ct_RANLIB
6213 RANLIB="$ac_cv_prog_RANLIB"
6216 if test -n "$ac_tool_prefix"; then
6217 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}strip; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if test "${ac_cv_prog_STRIP+set}" = set; then :
6222 $as_echo_n "(cached) " >&6
6224 if test -n "$STRIP"; then
6225 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6234 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 STRIP=$ac_cv_prog_STRIP
6245 if test -n "$STRIP"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6247 $as_echo "$STRIP" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6255 if test -z "$ac_cv_prog_STRIP"; then
6257 # Extract the first word of "strip", so it can be a program name with args.
6258 set dummy strip; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$ac_ct_STRIP"; then
6265 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_prog_ac_ct_STRIP="strip"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6285 if test -n "$ac_ct_STRIP"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6287 $as_echo "$ac_ct_STRIP" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6293 if test "x$ac_ct_STRIP" = x; then
6296 case $cross_compiling:$ac_tool_warned in
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6305 STRIP="$ac_cv_prog_STRIP"
6308 if test -n "$ac_tool_prefix"; then
6309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6310 set dummy ${ac_tool_prefix}ar; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if test "${ac_cv_prog_AR+set}" = set; then :
6314 $as_echo_n "(cached) " >&6
6316 if test -n "$AR"; then
6317 ac_cv_prog_AR="$AR" # Let the user override the test.
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326 ac_cv_prog_AR="${ac_tool_prefix}ar"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 if test -n "$AR"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6339 $as_echo "$AR" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6347 if test -z "$ac_cv_prog_AR"; then
6349 # Extract the first word of "ar", so it can be a program name with args.
6350 set dummy ar; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6354 $as_echo_n "(cached) " >&6
6356 if test -n "$ac_ct_AR"; then
6357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366 ac_cv_prog_ac_ct_AR="ar"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6377 if test -n "$ac_ct_AR"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6379 $as_echo "$ac_ct_AR" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6385 if test "x$ac_ct_AR" = x; then
6388 case $cross_compiling:$ac_tool_warned in
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6392 ac_tool_warned=yes ;;
6400 if test -n "$ac_tool_prefix"; then
6401 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6402 set dummy ${ac_tool_prefix}ld; ac_word=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if test "${ac_cv_prog_LD+set}" = set; then :
6406 $as_echo_n "(cached) " >&6
6408 if test -n "$LD"; then
6409 ac_cv_prog_LD="$LD" # Let the user override the test.
6411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir=.
6416 for ac_exec_ext in '' $ac_executable_extensions; do
6417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6418 ac_cv_prog_LD="${ac_tool_prefix}ld"
6419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 if test -n "$LD"; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6431 $as_echo "$LD" >&6; }
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6439 if test -z "$ac_cv_prog_LD"; then
6441 # Extract the first word of "ld", so it can be a program name with args.
6442 set dummy ld; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$ac_ct_LD"; then
6449 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458 ac_cv_prog_ac_ct_LD="ld"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6469 if test -n "$ac_ct_LD"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6471 $as_echo "$ac_ct_LD" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6477 if test "x$ac_ct_LD" = x; then
6480 case $cross_compiling:$ac_tool_warned in
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6493 # Check whether --enable-monolithic was given.
6494 if test "${enable_monolithic+set}" = set; then :
6495 enableval=$enable_monolithic;
6498 if test ${enable_monolithic:-yes} = yes; then
6500 MONOLITHIC_FALSE='#'
6507 # Check whether --enable-amule-daemon was given.
6508 if test "${enable_amule_daemon+set}" = set; then :
6509 enableval=$enable_amule_daemon;
6512 if test ${enable_amule_daemon:-no} = yes; then
6514 AMULE_DAEMON_FALSE='#'
6516 AMULE_DAEMON_TRUE='#'
6521 # Check whether --enable-amulecmd was given.
6522 if test "${enable_amulecmd+set}" = set; then :
6523 enableval=$enable_amulecmd;
6526 if test ${enable_amulecmd:-no} = yes; then
6528 COMPILE_CMD_FALSE='#'
6530 COMPILE_CMD_TRUE='#'
6535 # Check whether --enable-webserver was given.
6536 if test "${enable_webserver+set}" = set; then :
6537 enableval=$enable_webserver;
6540 if test ${enable_webserver:-no} = yes; then
6549 # Check whether --enable-amule-gui was given.
6550 if test "${enable_amule_gui+set}" = set; then :
6551 enableval=$enable_amule_gui;
6554 if test ${enable_amule_gui:-no} = yes; then
6563 # Check whether --enable-cas was given.
6564 if test "${enable_cas+set}" = set; then :
6565 enableval=$enable_cas;
6568 if test ${enable_cas:-no} = yes; then
6577 # Check whether --enable-wxcas was given.
6578 if test "${enable_wxcas+set}" = set; then :
6579 enableval=$enable_wxcas;
6582 if test ${enable_wxcas:-no} = yes; then
6591 # Check whether --enable-ed2k was given.
6592 if test "${enable_ed2k+set}" = set; then :
6593 enableval=$enable_ed2k;
6596 if test ${enable_ed2k:-yes} = yes; then
6605 # Check whether --enable-alc was given.
6606 if test "${enable_alc+set}" = set; then :
6607 enableval=$enable_alc;
6610 if test ${enable_alc:-no} = yes; then
6619 # Check whether --enable-alcc was given.
6620 if test "${enable_alcc+set}" = set; then :
6621 enableval=$enable_alcc;
6624 if test ${enable_alcc:-no} = yes; then
6633 # Check whether --enable-xas was given.
6634 if test "${enable_xas+set}" = set; then :
6635 enableval=$enable_xas;
6638 if test ${enable_xas:-no} = yes; then
6647 # Check whether --enable-fileview was given.
6648 if test "${enable_fileview+set}" = set; then :
6649 enableval=$enable_fileview;
6652 if test ${enable_fileview:-no} = yes; then
6661 # Check whether --enable-plasmamule was given.
6662 if test "${enable_plasmamule+set}" = set; then :
6663 enableval=$enable_plasmamule;
6668 # Run all the tests with static linkage if we want a statically linked binary
6669 # Check whether --enable-static was given.
6670 if test "${enable_static+set}" = set; then :
6671 enableval=$enable_static;
6675 if test ${enable_static:-no} = yes; then :
6676 LDFLAGS="$LDFLAGS -static"
6681 # Check whether --with-kde4-config was given.
6682 if test "${with_kde4_config+set}" = set; then :
6683 withval=$with_kde4_config; KDE4_CONFIG=$withval
6688 # Check whether --enable-kde-in-home was given.
6689 if test "${enable_kde_in_home+set}" = set; then :
6690 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
6698 # Check whether --with-moc was given.
6699 if test "${with_moc+set}" = set; then :
6700 withval=$with_moc; QT_MOC=$withval
6707 # Default is yes, because they're most likely compatible.
6708 # However, this is only used when cross-compiling.
6710 # Check whether --with-gnu-malloc was given.
6711 if test "${with_gnu_malloc+set}" = set; then :
6712 withval=$with_gnu_malloc; gnumalloc=$withval
6719 # Checking for libs before all other stuff to break
6720 # configure as soon as possible in case of a missing one
6721 # to avoid losing too much time
6724 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 :
6727 # Check whether --with-zlib was given.
6728 if test "${with_zlib+set}" = set; then :
6733 case "${with_zlib:-yes}" in
6735 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6740 zlib_prefix="$with_zlib"
6743 mule_backup_CPPFLAGS="$CPPFLAGS"
6744 mule_backup_LDFLAGS="$LDFLAGS"
6745 mule_backup_LIBS="$LIBS"
6746 if test -n "$zlib_prefix"; then :
6748 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
6749 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
6750 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
6751 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
6760 LIBS="$ZLIB_LIBS $LIBS"
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
6763 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
6764 if test "$cross_compiling" = yes; then :
6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6779 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
6787 if ac_fn_c_try_link "$LINENO"; then :
6789 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
6790 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
6791 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
6792 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
6793 if test "$cross_zver_max" -gt "1"; then
6795 elif test "$cross_zver_max" -eq "1"; then
6797 if test "$cross_zver_mid" -gt "1"; then
6799 elif test "$cross_zver_mid" -eq "1"; then
6800 if test "$cross_zver_min" -ge "4"; then
6809 if test ${result:-no} = yes; then :
6810 z_version=" (version $ZLIB_VERSION)"
6814 rm -f core conftest.err conftest.$ac_objext \
6815 conftest$ac_exeext conftest.$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6817 $as_echo "$result$z_version" >&6; }
6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6821 /* end confdefs.h. */
6830 char *zver = zlibVersion();
6831 FILE *f=fopen("conftestval", "w");
6838 zver[4] >= '4'))) ? "yes" : "no");
6840 f=fopen("conftestver", "w");
6842 fprintf(f, "%s", ZLIB_VERSION);
6851 if ac_fn_c_try_run "$LINENO"; then :
6853 if test -f conftestval; then :
6854 result=`cat conftestval
`
6858 if test ${result:-no} = yes; then :
6860 if test -f conftestver; then :
6862 ZLIB_VERSION=`cat conftestver
`
6863 z_version=" (version $ZLIB_VERSION)"
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6871 $as_echo "$result$z_version" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6877 $as_echo "$result" >&6; }
6880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6881 conftest.$ac_objext conftest.beam conftest.$ac_ext
6885 CPPFLAGS="$mule_backup_CPPFLAGS"
6886 LDFLAGS="$mule_backup_LDFLAGS"
6887 LIBS="$mule_backup_LIBS"
6889 if test ${result:-no} = no; then :
6894 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6903 $as_echo_n "checking for ANSI C header files... " >&6; }
6904 if test "${ac_cv_header_stdc+set}" = set; then :
6905 $as_echo_n "(cached) " >&6
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6922 if ac_fn_c_try_compile "$LINENO"; then :
6923 ac_cv_header_stdc=yes
6925 ac_cv_header_stdc=no
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929 if test $ac_cv_header_stdc = yes; then
6930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6937 $EGREP "memchr" >/dev/null 2>&1; then :
6940 ac_cv_header_stdc=no
6946 if test $ac_cv_header_stdc = yes; then
6947 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6954 $EGREP "free" >/dev/null 2>&1; then :
6957 ac_cv_header_stdc=no
6963 if test $ac_cv_header_stdc = yes; then
6964 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6965 if test "$cross_compiling" = yes; then :
6968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h. */
6972 #if ((' ' & 0x0FF) == 0x020)
6973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6976 # define ISLOWER(c) \
6977 (('a' <= (c) && (c) <= 'i') \
6978 || ('j' <= (c) && (c) <= 'r') \
6979 || ('s' <= (c) && (c) <= 'z'))
6980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6988 for (i = 0; i < 256; i++)
6989 if (XOR (islower (i), ISLOWER (i))
6990 || toupper (i) != TOUPPER (i))
6995 if ac_fn_c_try_run "$LINENO"; then :
6998 ac_cv_header_stdc=no
7000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7001 conftest.$ac_objext conftest.beam conftest.$ac_ext
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7007 $as_echo "$ac_cv_header_stdc" >&6; }
7008 if test $ac_cv_header_stdc = yes; then
7010 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7014 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7015 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7016 inttypes.h stdint.h unistd.h
7018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7021 eval as_val=\$$as_ac_Header
7022 if test "x$as_val" = x""yes; then :
7023 cat >>confdefs.h <<_ACEOF
7024 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7032 if test ${enable_cas:-no} = yes; then :
7037 # Check whether --with-gdlib-prefix was given.
7038 if test "${with_gdlib_prefix+set}" = set; then :
7039 withval=$with_gdlib_prefix;
7043 # Check whether --with-gdlib-config was given.
7044 if test "${with_gdlib_config+set}" = set; then :
7045 withval=$with_gdlib_config;
7051 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7052 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7053 GDLIB_CONFIG_NAME=gdlib-config
7055 if test -n "$with_gdlib_config"; then :
7056 GDLIB_CONFIG_NAME="$with_gdlib_config"
7059 # deal with optional prefix
7060 if test -n "$with_gdlib_prefix"; then :
7061 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7064 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7065 if test -x "$GDLIB_CONFIG_NAME"; then :
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7068 $as_echo_n "checking for gdlib-config... " >&6; }
7069 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7071 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7074 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7075 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7079 $as_echo_n "(cached) " >&6
7081 case $GDLIB_CONFIG_PATH in
7083 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7088 for as_dir in $as_dummy
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7106 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7107 if test -n "$GDLIB_CONFIG_PATH"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7109 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7118 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7121 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7122 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7124 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7125 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7126 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7127 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7130 if test $gdlib_config_major_version -gt 2; then
7132 elif test $gdlib_config_major_version -eq 2; then
7134 if test $gdlib_config_minor_version -gt 0; then
7136 elif test $gdlib_config_minor_version -eq 0; then
7137 if test $gdlib_config_micro_version -ge 0; then
7147 if test -z "$gdlib_ver_ok"; then :
7149 if test -z "$GDLIB_VERSION"; then :
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7155 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7163 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7164 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7165 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7166 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7167 mule_backup_CFLAGS="$CFLAGS"
7168 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7169 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7170 if test "x$ac_cv_header_gd_h" = x""yes; then :
7177 CFLAGS="$mule_backup_CFLAGS"
7183 if test -n "$GDLIB_VERSION"; then :
7186 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7194 if test -z "$CAS_DEFS"; then :
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7196 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7197 Please check that gdlib-config is in your default path, check out
7198 LD_LIBRARY_PATH or equivalent variable.
7199 Or this might also be that your gdlib-config has other name.
7200 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7201 (replace /usr/bin/gdlib-config with a valid path to your
7203 If you use compiled packages check if you have devel pack installed.
7204 To download the latest version check http://www.boutell.com/gd for
7206 $as_echo "$as_me: WARNING:
7207 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7208 Please check that gdlib-config is in your default path, check out
7209 LD_LIBRARY_PATH or equivalent variable.
7210 Or this might also be that your gdlib-config has other name.
7211 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7212 (replace /usr/bin/gdlib-config with a valid path to your
7214 If you use compiled packages check if you have devel pack installed.
7215 To download the latest version check http://www.boutell.com/gd for
7218 _mule_has_warnings=yes
7224 if test ${enable_webserver:-no} = yes; then :
7227 # Check whether --with-libpng-prefix was given.
7228 if test "${with_libpng_prefix+set}" = set; then :
7229 withval=$with_libpng_prefix;
7233 # Check whether --with-libpng-config was given.
7234 if test "${with_libpng_config+set}" = set; then :
7235 withval=$with_libpng_config;
7241 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7242 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7243 LIBPNG_CONFIG_NAME=libpng-config
7245 if test -n "$with_libpng_config"; then :
7246 LIBPNG_CONFIG_NAME="$with_libpng_config"
7249 # deal with optional prefix
7250 if test -n "$with_libpng_prefix"; then :
7251 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7254 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7255 if test -x "$LIBPNG_CONFIG_NAME"; then :
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7258 $as_echo_n "checking for libpng-config... " >&6; }
7259 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7261 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7264 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7265 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7269 $as_echo_n "(cached) " >&6
7271 case $LIBPNG_CONFIG_PATH in
7273 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7278 for as_dir in $as_dummy
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7296 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7297 if test -n "$LIBPNG_CONFIG_PATH"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7299 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7308 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7311 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7313 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7315 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7316 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7317 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7318 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7321 if test $libpng_config_major_version -gt 1; then
7323 elif test $libpng_config_major_version -eq 1; then
7325 if test $libpng_config_minor_version -gt 2; then
7327 elif test $libpng_config_minor_version -eq 2; then
7328 if test $libpng_config_micro_version -ge 0; then
7338 if test -z "$libpng_ver_ok"; then :
7340 if test -z "$LIBPNG_VERSION"; then :
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7346 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7353 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7354 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7355 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7357 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7363 if test -n "$LIBPNG_VERSION"; then :
7364 AMULEWEB_DEFS="-DWITH_LIBPNG"
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7368 libpng >= 1.2.0 not found.
7369 amuleweb will be compiled but file download progress bar images will
7370 NOT be generated." >&5
7371 $as_echo "$as_me: WARNING:
7372 libpng >= 1.2.0 not found.
7373 amuleweb will be compiled but file download progress bar images will
7374 NOT be generated." >&2;}
7376 _mule_has_warnings=yes
7386 # Check for perl File::Copy
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
7388 $as_echo_n "checking for File::Copy... " >&6; }
7389 if perl -e "require File::Copy" 2>/dev/null; then :
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7391 $as_echo "ok" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7394 File::Copy perl module is required by the mldonkey_importer script.
7395 If you want to use this script please install File::Copy from CPAN." >&5
7396 $as_echo "$as_me: WARNING:
7397 File::Copy perl module is required by the mldonkey_importer script.
7398 If you want to use this script please install File::Copy from CPAN." >&2;}
7400 _mule_has_warnings=yes
7404 # Check if we need to install skins
7405 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7411 # Check for GeoIP (required for IP2Country capability)
7412 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7414 # Check whether --enable-geoip was given.
7415 if test "${enable_geoip+set}" = set; then :
7416 enableval=$enable_geoip;
7421 if test ${enable_geoip:-no} = yes; then :
7424 # Check whether --with-geoip-headers was given.
7425 if test "${with_geoip_headers+set}" = set; then :
7426 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
7430 # Check whether --with-geoip-lib was given.
7431 if test "${with_geoip_lib+set}" = set; then :
7432 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
7436 mule_backup_CPPFLAGS="$CPPFLAGS"
7437 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
7438 mule_backup_LDFLAGS="$LDFLAGS"
7439 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
7441 ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
7442 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
7444 if test x$SYS = xwin32; then :
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
7447 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
7448 # Actually, we might not need any if GeoIP is linked as a .dll
7449 # - but that's even harder to check for
7450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7451 /* end confdefs.h. */
7456 I do know it's not the best approach, but at least works with MinGW stock headers.
7457 (tested with w32api-3.12)
7469 if ac_fn_c_try_compile "$LINENO"; then :
7471 GEOIP_WINSOCK_LIB="-lwsock32"
7475 GEOIP_WINSOCK_LIB="-lws2_32"
7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
7480 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
7484 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
7485 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7488 ac_check_lib_save_LIBS=$LIBS
7489 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491 /* end confdefs.h. */
7493 /* Override any GCC internal prototype to avoid an error.
7494 Use char because int might match the return type of a GCC
7495 builtin and then its argument prototype would still apply. */
7503 return GeoIP_open ();
7508 if ac_fn_c_try_link "$LINENO"; then :
7509 ac_cv_lib_GeoIP_GeoIP_open=yes
7511 ac_cv_lib_GeoIP_GeoIP_open=no
7513 rm -f core conftest.err conftest.$ac_objext \
7514 conftest$ac_exeext conftest.$ac_ext
7515 LIBS=$ac_check_lib_save_LIBS
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7518 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
7519 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
7522 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
7524 GEOIP_LIBS="-lGeoIP"
7525 if test x$SYS = xwin32; then :
7526 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7528 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7530 # Check whether --with-geoip-static was given.
7531 if test "${with_geoip_static+set}" = set; then :
7532 withval=$with_geoip_static;
7533 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
7535 mule_backup_LIBS="$LIBS"
7536 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7547 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7554 if ac_fn_c_try_link "$LINENO"; then :
7556 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7561 Cannot link GeoIP statically, because your linker ($LD) does not
7563 $as_echo "$as_me: WARNING:
7564 Cannot link GeoIP statically, because your linker ($LD) does not
7567 _mule_has_warnings=yes
7571 rm -f core conftest.err conftest.$ac_objext \
7572 conftest$ac_exeext conftest.$ac_ext
7573 LIBS="$mule_backup_LIBS"
7582 enable_geoip=disabled
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7584 GeoIP support has been disabled because the GeoIP libraries were not
7586 $as_echo "$as_me: WARNING:
7587 GeoIP support has been disabled because the GeoIP libraries were not
7590 _mule_has_warnings=yes
7598 enable_geoip=disabled
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7600 GeoIP support has been disabled because the GeoIP header files were
7602 $as_echo "$as_me: WARNING:
7603 GeoIP support has been disabled because the GeoIP header files were
7606 _mule_has_warnings=yes
7613 CPPFLAGS="$mule_backup_CPPFLAGS"
7614 LDFLAGS="$mule_backup_LDFLAGS"
7621 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 :
7624 # Check whether --with-wxdir was given.
7625 if test "${with_wxdir+set}" = set; then :
7626 withval=$with_wxdir; wx_config_name="$withval/wx-config"
7627 wx_config_args="--inplace"
7631 # Check whether --with-wx-config was given.
7632 if test "${with_wx_config+set}" = set; then :
7633 withval=$with_wx_config; wx_config_name="$withval"
7637 # Check whether --with-wx-prefix was given.
7638 if test "${with_wx_prefix+set}" = set; then :
7639 withval=$with_wx_prefix; wx_config_prefix="$withval"
7645 # Check whether --with-wx-exec-prefix was given.
7646 if test "${with_wx_exec_prefix+set}" = set; then :
7647 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
7649 wx_config_exec_prefix=""
7664 # Check whether --with-toolkit was given.
7665 if test "${with_toolkit+set}" = set; then :
7666 withval=$with_toolkit;
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
7673 $as_echo_n "checking for the --with-toolkit option... " >&6; }
7674 if test "$withval" = "auto" ; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7676 $as_echo "will be automatically detected" >&6; }
7681 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7682 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7683 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7684 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7685 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7686 "$TOOLKIT" != "osx_cocoa"; then
7688 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
7693 $as_echo "$TOOLKIT" >&6; }
7700 # Check whether --with-wxshared was given.
7701 if test "${with_wxshared+set}" = set; then :
7702 withval=$with_wxshared;
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
7709 $as_echo_n "checking for the --with-wxshared option... " >&6; }
7710 if test "$withval" = "yes" ; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7712 $as_echo "yes" >&6; }
7715 elif test "1" = "1" -a "$withval" = "no" ; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7717 $as_echo "no" >&6; }
7719 elif test "$withval" = "auto" ; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7721 $as_echo "will be automatically detected" >&6; }
7725 Unrecognized option value (allowed values: yes, auto)
7733 # Check whether --with-wxdebug was given.
7734 if test "${with_wxdebug+set}" = set; then :
7735 withval=$with_wxdebug;
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
7742 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
7743 if test "$withval" = "yes" ; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7745 $as_echo "yes" >&6; }
7748 elif test "1" = "1" -a "$withval" = "no" ; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7752 elif test "$withval" = "auto" ; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7754 $as_echo "will be automatically detected" >&6; }
7758 Unrecognized option value (allowed values: yes, auto)
7766 # Check whether --with-wxversion was given.
7767 if test "${with_wxversion+set}" = set; then :
7768 withval=$with_wxversion;
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
7775 $as_echo_n "checking for the --with-wxversion option... " >&6; }
7776 if test "$withval" = "auto" ; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7778 $as_echo "will be automatically detected" >&6; }
7782 wx_requested_major_version=`echo $withval | \
7783 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7784 wx_requested_minor_version=`echo $withval | \
7785 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7787 if test "${#wx_requested_major_version}" != "1" -o \
7788 "${#wx_requested_minor_version}" != "1" ; then
7790 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7794 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
7796 $as_echo "$WX_VERSION" >&6; }
7800 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7801 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7802 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7803 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7804 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7805 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7808 # Force using a static wxWidgets library if the executable is to be linked statically.
7809 if test ${enable_static:-no} = yes; then :
7812 # Force using a unicode build of the library
7813 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 :
7818 if test "$WX_SHARED" = "1" ; then
7819 WXCONFIG_FLAGS="--static=no "
7820 elif test "$WX_SHARED" = "0" ; then
7821 WXCONFIG_FLAGS="--static=yes "
7824 if test "$WX_DEBUG" = "1" ; then
7825 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
7826 elif test "$WX_DEBUG" = "0" ; then
7827 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
7830 if test "$WX_UNICODE" = "1" ; then
7831 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
7832 elif test "$WX_UNICODE" = "0" ; then
7833 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
7836 if test "$TOOLKIT" != "auto" ; then
7837 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7840 if test "$WX_VERSION" != "auto" ; then
7841 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7844 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
7846 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7847 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7851 if test x${WX_CONFIG_NAME+set} != xset ; then
7852 WX_CONFIG_NAME=wx-config
7855 if test "x$wx_config_name" != x ; then
7856 WX_CONFIG_NAME="$wx_config_name"
7859 if test x$wx_config_exec_prefix != x ; then
7860 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7861 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
7863 if test x$wx_config_prefix != x ; then
7864 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
7865 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7867 if test "$cross_compiling" = "yes"; then
7868 wx_config_args="$wx_config_args --host=$host_alias"
7871 if test -x "$WX_CONFIG_NAME" ; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
7873 $as_echo_n "checking for wx-config... " >&6; }
7874 WX_CONFIG_PATH="$WX_CONFIG_NAME"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7876 $as_echo "$WX_CONFIG_PATH" >&6; }
7878 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7879 set dummy $WX_CONFIG_NAME; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
7883 $as_echo_n "(cached) " >&6
7885 case $WX_CONFIG_PATH in
7887 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891 as_dummy=""$WX_LOOKUP_PATH:$PATH""
7892 for as_dir in $as_dummy
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7898 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
7910 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
7911 if test -n "$WX_CONFIG_PATH"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7913 $as_echo "$WX_CONFIG_PATH" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7922 if test "$WX_CONFIG_PATH" != "no" ; then
7925 min_wx_version=2.8.12
7926 if test -z "$WXCONFIG_FLAGS" ; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
7928 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7931 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
7934 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7936 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
7937 wx_config_major_version=`echo $WX_VERSION_FULL | \
7938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7939 wx_config_minor_version=`echo $WX_VERSION_FULL | \
7940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7941 wx_config_micro_version=`echo $WX_VERSION_FULL | \
7942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7944 wx_requested_major_version=`echo $min_wx_version | \
7945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7946 wx_requested_minor_version=`echo $min_wx_version | \
7947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7948 wx_requested_micro_version=`echo $min_wx_version | \
7949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7953 if test "x$WX_VERSION_FULL" != x ; then
7954 if test $wx_config_major_version -gt $wx_requested_major_version; then
7957 if test $wx_config_major_version -eq $wx_requested_major_version; then
7958 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7961 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7962 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7972 if test -n "$wx_ver_ok"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
7975 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
7976 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
7978 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
7980 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
7981 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
7982 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
7984 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
7985 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
7991 if test "x$WX_VERSION_FULL" = x; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7996 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
8005 if test ! -z "$WXCONFIG_FLAGS"; then
8008 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8009 build with the following settings:
8011 but such build is not available.
8013 To see the wxWidgets builds available on this system, please use
8014 'wx-config --list' command. To use the default build, returned by
8015 'wx-config --selected-config', use the options with their 'auto'
8021 The requested wxWidgets build couldn't be found.
8024 If you still get this error, then check that 'wx-config' is
8025 in path, the directory where wxWidgets libraries are installed
8026 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8027 or equivalent variable and wxWidgets version is 2.8.12 or above."
8029 as_fn_error "$wx_error_message" "$LINENO" 5
8053 WX_VERSION_MAJOR="$wx_config_major_version"
8054 WX_VERSION_MINOR="$wx_config_minor_version"
8058 if test "$wxWin" != 1; then :
8060 wxWidgets must be installed on your system but wx-config
8061 script couldn't be found. Please check that wx-config is
8062 in path or specified by --with-wx-config=path flag, the
8063 directory where wxWidgets libraries are installed (returned
8064 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8065 equivalent variable and wxWidgets version is 2.8.12 or above.
8069 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8071 This version of wxWidgets is known to not work with aMule.
8072 Please upgrade to a newer version.
8077 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8079 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8081 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8082 echo "[dbg] Using wx-config --selected-config"
8083 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8087 if test $WX_SHARED = "1"; then
8089 elif test $WX_SHARED = "0"; then
8091 elif test $WX_SHARED = "auto"; then
8096 if test "$UNICODE" = "auto" ; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8099 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8101 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8103 if test "$WX_UNICODE" != "0"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8106 $as_echo "yes" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8120 if test "$DEBUG" = "auto" ; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8123 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8125 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8127 if test "$WX_DEBUG" != "0"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8130 $as_echo "yes" >&6; }
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8144 if test "$STATIC" = "auto" ; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8147 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8149 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8151 if test "$WX_STATIC" != "0"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8154 $as_echo "yes" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8159 $as_echo "no" >&6; }
8168 if test "$WX_STATIC" != "0"; then
8178 if test "$TOOLKIT" = "auto" ; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8181 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8183 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8184 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8185 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8186 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8187 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8188 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8189 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8190 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8191 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8192 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8193 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8196 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8197 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8198 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8199 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8200 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8201 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8202 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8203 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8204 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8205 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8206 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8209 if test "$WX_PORT" = "unknown" ; then
8211 Cannot detect the currently installed wxWidgets port !
8212 Please check your 'wx-config --cxxflags'...
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8217 $as_echo "$WX_PORT" >&6; }
8220 if test -n "$TOOLKIT" ; then
8229 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8230 echo "[dbg] Values of all WX_* options after final detection:"
8231 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8232 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8233 echo "[dbg] WX_SHARED: $WX_SHARED"
8234 echo "[dbg] WX_VERSION: $WX_VERSION"
8235 echo "[dbg] WX_PORT: $WX_PORT"
8238 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8240 Cannot build shared library against a static build of wxWidgets !
8241 This error happens because the wxWidgets build which was selected
8242 has been detected as static while you asked to build $PACKAGE_NAME
8243 as shared library and this is not possible.
8244 Use the '--disable-shared' option to build $PACKAGE_NAME
8245 as static library or '--with-wxshared' to use wxWidgets as shared library.
8249 if test "$DEBUG" = "auto"; then
8252 if test "$DEBUG" = "1"; then
8254 elif test "$DEBUG" = ""; then
8258 if test "$UNICODE" = "auto"; then
8261 if test "$SHARED" = "auto"; then
8264 if test "$TOOLKIT" = "auto"; then
8269 # We also need wxBase
8270 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8271 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8272 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8274 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8278 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8279 if test "${WX_PORT}" = base; then :
8281 The selected components need a wxWidgets library with GUI,
8282 but your installation is base-only. Please install a GUI
8283 enabled version of wxWidgets and then retry.
8289 if test ${SYS:-unknown} = win32; then :
8290 if test -n "$ac_tool_prefix"; then
8291 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}windres; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if test "${ac_cv_prog_RC+set}" = set; then :
8296 $as_echo_n "(cached) " >&6
8298 if test -n "$RC"; then
8299 ac_cv_prog_RC="$RC" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308 ac_cv_prog_RC="${ac_tool_prefix}windres"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8319 if test -n "$RC"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8321 $as_echo "$RC" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8329 if test -z "$ac_cv_prog_RC"; then
8331 # Extract the first word of "windres", so it can be a program name with args.
8332 set dummy windres; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8336 $as_echo_n "(cached) " >&6
8338 if test -n "$ac_ct_RC"; then
8339 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348 ac_cv_prog_ac_ct_RC="windres"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 ac_ct_RC=$ac_cv_prog_ac_ct_RC
8359 if test -n "$ac_ct_RC"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
8361 $as_echo "$ac_ct_RC" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8367 if test "x$ac_ct_RC" = x; then
8370 case $cross_compiling:$ac_tool_warned in
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374 ac_tool_warned=yes ;;
8386 # Check whether --enable-upnp was given.
8387 if test "${enable_upnp+set}" = set; then :
8388 enableval=$enable_upnp;
8392 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
8399 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8400 if test -n "$ac_tool_prefix"; then
8401 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8402 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8406 $as_echo_n "(cached) " >&6
8410 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir=.
8418 for ac_exec_ext in '' $ac_executable_extensions; do
8419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8420 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8432 if test -n "$PKG_CONFIG"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8434 $as_echo "$PKG_CONFIG" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8437 $as_echo "no" >&6; }
8442 if test -z "$ac_cv_path_PKG_CONFIG"; then
8443 ac_pt_PKG_CONFIG=$PKG_CONFIG
8444 # Extract the first word of "pkg-config", so it can be a program name with args.
8445 set dummy pkg-config; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8447 $as_echo_n "checking for $ac_word... " >&6; }
8448 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8449 $as_echo_n "(cached) " >&6
8451 case $ac_pt_PKG_CONFIG in
8453 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460 test -z "$as_dir" && as_dir=.
8461 for ac_exec_ext in '' $ac_executable_extensions; do
8462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8463 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8474 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8475 if test -n "$ac_pt_PKG_CONFIG"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8477 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8483 if test "x$ac_pt_PKG_CONFIG" = x; then
8486 case $cross_compiling:$ac_tool_warned in
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8490 ac_tool_warned=yes ;;
8492 PKG_CONFIG=$ac_pt_PKG_CONFIG
8495 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8499 if test -n "$PKG_CONFIG"; then
8500 _pkg_min_version=0.9.0
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8502 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8503 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8505 $as_echo "yes" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508 $as_echo "no" >&6; }
8513 if test ${enable_upnp:-yes} = yes; then :
8517 # Check whether --with-libupnp-prefix was given.
8518 if test "${with_libupnp_prefix+set}" = set; then :
8519 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
8523 if test $cross_compiling = no; then :
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
8526 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
8527 if test -n "$PKG_CONFIG"; then :
8529 if $PKG_CONFIG libupnp --exists; then :
8531 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
8532 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
8535 resultstr=" (version $LIBUPNP_VERSION)"
8536 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
8537 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
8538 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
8539 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
8540 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
8545 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
8552 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
8559 resultstr=" (pkg-config not found)"
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8563 $as_echo "$result$resultstr" >&6; }
8564 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
8569 libupnp_error="cross compiling"
8573 if test ${result:-no} = yes; then :
8574 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8576 enable_upnp=disabled
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8578 UPnP code has been disabled because ${libupnp_error}." >&5
8579 $as_echo "$as_me: WARNING:
8580 UPnP code has been disabled because ${libupnp_error}." >&2;}
8582 _mule_has_warnings=yes
8591 # Check for Crypto++
8592 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8595 # Check whether --with-crypto-prefix was given.
8596 if test "${with_crypto_prefix+set}" = set; then :
8597 withval=$with_crypto_prefix;
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
8602 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
8604 cryptopp_file_with_version="cryptlib.h"
8606 CRYPTOPP_STYLE="unknown"
8607 CRYPTOPP_LIB_NAME="unknown"
8608 cryptopp_includedir="unknown"
8609 CRYPTOPP_INCLUDE_PREFIX="unknown"
8610 cryptopp_libdir="unknown"
8612 if test -n "$with_crypto_prefix"; then :
8614 CRYPTOPP_PREFIX="$with_crypto_prefix"
8615 # Find the Cryptopp header in the user-provided location
8616 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8618 CRYPTOPP_STYLE="sources"
8619 CRYPTOPP_LIB_NAME="cryptopp"
8620 cryptopp_includedir=
8621 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8624 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8626 CRYPTOPP_STYLE="installed"
8627 CRYPTOPP_LIB_NAME="cryptopp"
8628 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8629 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8630 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8632 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8634 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8635 CRYPTOPP_STYLE="gentoo_debian"
8636 CRYPTOPP_LIB_NAME="crypto++"
8637 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8638 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8639 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8646 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
8647 # Find the Cryptopp header in system locations
8648 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8650 CRYPTOPP_STYLE="sources"
8651 CRYPTOPP_LIB_NAME="cryptopp"
8652 cryptopp_includedir=
8653 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8657 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8659 CRYPTOPP_STYLE="installed"
8660 CRYPTOPP_LIB_NAME="cryptopp"
8661 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8662 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8663 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8666 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8668 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8669 CRYPTOPP_STYLE="gentoo_debian"
8670 CRYPTOPP_LIB_NAME="crypto++"
8671 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8672 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8673 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8682 if test $CRYPTOPP_STYLE = "unknown"; then :
8683 result=no; resultstr=""
8686 # Find out the crypto++ version and check against the minimum required
8687 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8688 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8689 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8690 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8692 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
8695 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8696 if test -n "$cryptopp_includedir"; then :
8697 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
8701 if test -n "$cryptopp_libdir"; then :
8703 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
8704 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
8709 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8713 cat >>confdefs.h <<_ACEOF
8714 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8721 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8728 $as_echo "$result$resultstr" >&6; }
8730 if test ${result:-no} = yes; then :
8732 # Check for CryptoPP >= 5.5
8733 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
8734 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8740 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8741 Please try again with --with-crypto-prefix=/my_crypto_prefix
8742 (replace /my_crypto_prefix with a valid path to your crypto++
8743 installation directory)." "$LINENO" 5
8752 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 :
8754 ac_cpp='$CXXCPP $CPPFLAGS'
8755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're using the GNU C++ library" >&5
8761 $as_echo_n "checking if we're using the GNU C++ library... " >&6; }
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8768 #error Non-GNU C++ library found.
8773 if ac_fn_cxx_try_cpp "$LINENO"; then :
8778 rm -f conftest.err conftest.$ac_ext
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBCXX" >&5
8780 $as_echo "$GLIBCXX" >&6; }
8782 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
8784 mule_backup_CPPFLAGS="$CPPFLAGS"
8785 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
8788 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8794 #include <wx/filefn.h>
8795 #ifndef wxHAS_LARGE_FILES
8796 #error No LargeFile support!
8801 if ac_fn_cxx_try_cpp "$LINENO"; then :
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8804 $as_echo "yes" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8811 Support for large files in wxWidgets is required by aMule.
8812 To continue you must recompile wxWidgets with support for
8813 large files enabled." "$LINENO" 5
8816 rm -f conftest.err conftest.$ac_ext
8818 CPPFLAGS="$mule_backup_CPPFLAGS"
8822 # Check if the compiler is broken, wrt. exceptions.
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
8825 $as_echo_n "checking for exception-handling... " >&6; }
8826 if test "$cross_compiling" = yes; then :
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
8829 $as_echo "undeterminable" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8831 Cross-compilation detected, so exception handling cannot be tested.
8832 Note that broken exception handling in your compiler may lead to
8833 unexpected crashes." >&5
8834 $as_echo "$as_me: WARNING:
8835 Cross-compilation detected, so exception handling cannot be tested.
8836 Note that broken exception handling in your compiler may lead to
8837 unexpected crashes." >&2;}
8839 _mule_has_warnings=yes
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8863 if ac_fn_cxx_try_run "$LINENO"; then :
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8866 $as_echo "yes" >&6; }
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8872 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
8875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8876 conftest.$ac_objext conftest.beam conftest.$ac_ext
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
8883 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8895 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8896 std::type_info *ti = abi::__cxa_current_exception_type();
8903 if ac_fn_cxx_try_link "$LINENO"; then :
8906 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8909 $as_echo "yes" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8917 rm -f core conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8921 ac_cpp='$CPP $CPPFLAGS'
8922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8929 # Ok, we have all needed libs, now checking for other stuff
8930 if test "$LEX" = "flex"; then :
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
8933 $as_echo_n "checking for extended flex capabilities... " >&6; }
8935 extended_flex=`flex
--help |
grep header-file
`
8936 if test -n "$extended_flex"; then :
8937 HAVE_FLEX_EXTENDED=yes
8939 HAVE_FLEX_EXTENDED=no
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
8942 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
8944 if test $HAVE_FLEX_EXTENDED = no; then :
8945 { $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
8946 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8950 HAVE_FLEX_EXTENDED=no
8953 # Flush standard test results for speeding cache
8954 cat >confcache <<\_ACEOF
8955 # This file is a shell script that caches the results of configure
8956 # tests run on this system so they can be shared between configure
8957 # scripts and configure runs, see configure's option --config-cache.
8958 # It is not useful on other systems. If it contains results you don't
8959 # want to keep, you may remove or edit it.
8961 # config.status only pays attention to the cache file if you give it
8962 # the --recheck option to rerun configure.
8964 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8970 # The following way of writing the cache mishandles newlines in values,
8971 # but we know of no workaround that is simple, portable, and efficient.
8972 # So, we kill variables containing newlines.
8973 # Ultrix sh set writes to stderr and can't be redirected directly,
8974 # and sets the high bit in the cache file unless we assign to the vars.
8976 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8977 eval ac_val
=\$
$ac_var
8981 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8985 _ | IFS | as_nl
) ;; #(
8986 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8987 *) { eval $ac_var=; unset $ac_var;} ;;
8993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8994 *${as_nl}ac_space
=\
*)
8995 # `set' does not quote correctly, so add quotes: double-quote
8996 # substitution turns \\\\ into \\, and sed turns \\ into \.
8999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9002 # `set' quotes correctly as required by POSIX, so do not add quotes.
9003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9016 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9017 if test -w "$cache_file"; then
9018 test "x$cache_file" != "x/dev/null" &&
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9020 $as_echo "$as_me: updating cache $cache_file" >&6;}
9021 cat confcache
>$cache_file
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9024 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9029 # Checks for header files.
9030 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9031 # for constant arguments. Useless!
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9033 $as_echo_n "checking for working alloca.h... " >&6; }
9034 if test "${ac_cv_working_alloca_h+set}" = set; then :
9035 $as_echo_n "(cached) " >&6
9037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9038 /* end confdefs.h. */
9043 char *p = (char *) alloca (2 * sizeof (int));
9049 if ac_fn_c_try_link
"$LINENO"; then :
9050 ac_cv_working_alloca_h
=yes
9052 ac_cv_working_alloca_h
=no
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
9058 $as_echo "$ac_cv_working_alloca_h" >&6; }
9059 if test $ac_cv_working_alloca_h = yes; then
9061 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9066 $as_echo_n "checking for alloca... " >&6; }
9067 if test "${ac_cv_func_alloca_works+set}" = set; then :
9068 $as_echo_n "(cached) " >&6
9070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9073 # define alloca __builtin_alloca
9076 # include <malloc.h>
9077 # define alloca _alloca
9079 # ifdef HAVE_ALLOCA_H
9080 # include <alloca.h>
9085 # ifndef alloca /* predefined by HP cc +Olibcalls */
9096 char *p = (char *) alloca (1);
9102 if ac_fn_c_try_link
"$LINENO"; then :
9103 ac_cv_func_alloca_works
=yes
9105 ac_cv_func_alloca_works
=no
9107 rm -f core conftest.err conftest.
$ac_objext \
9108 conftest
$ac_exeext conftest.
$ac_ext
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
9111 $as_echo "$ac_cv_func_alloca_works" >&6; }
9113 if test $ac_cv_func_alloca_works = yes; then
9115 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
9118 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9119 # that cause trouble. Some versions do not even contain alloca or
9120 # contain a buggy version. If you still want to use their alloca,
9121 # use ar to extract alloca.o from them instead of compiling alloca.c.
9123 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
9125 $as_echo "#define C_ALLOCA 1" >>confdefs.h
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9129 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9130 if test "${ac_cv_os_cray+set}" = set; then :
9131 $as_echo_n "(cached) " >&6
9133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 #if defined CRAY && ! defined CRAY2
9142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9143 $EGREP "webecray" >/dev
/null
2>&1; then :
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
9152 $as_echo "$ac_cv_os_cray" >&6; }
9153 if test $ac_cv_os_cray = yes; then
9154 for ac_func
in _getb67 GETB67 getb67
; do
9155 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9156 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9157 eval as_val
=\$
$as_ac_var
9158 if test "x$as_val" = x
""yes; then :
9160 cat >>confdefs.h
<<_ACEOF
9161 #define CRAY_STACKSEG_END $ac_func
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9171 $as_echo_n "checking stack direction for C alloca... " >&6; }
9172 if test "${ac_cv_c_stack_direction+set}" = set; then :
9173 $as_echo_n "(cached) " >&6
9175 if test "$cross_compiling" = yes; then :
9176 ac_cv_c_stack_direction
=0
9178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9180 $ac_includes_default
9182 find_stack_direction ()
9184 static char *addr = 0;
9189 return find_stack_direction ();
9192 return (&dummy > addr) ? 1 : -1;
9198 return find_stack_direction () < 0;
9201 if ac_fn_c_try_run
"$LINENO"; then :
9202 ac_cv_c_stack_direction
=1
9204 ac_cv_c_stack_direction
=-1
9206 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9207 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
9212 $as_echo "$ac_cv_c_stack_direction" >&6; }
9213 cat >>confdefs.h
<<_ACEOF
9214 #define STACK_DIRECTION $ac_cv_c_stack_direction
9221 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9222 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9224 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9225 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9226 $as_echo_n "(cached) " >&6
9228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9230 #include <sys/types.h>
9242 if ac_fn_c_try_compile
"$LINENO"; then :
9243 eval "$as_ac_Header=yes"
9245 eval "$as_ac_Header=no"
9247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9249 eval ac_res
=\$
$as_ac_Header
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9251 $as_echo "$ac_res" >&6; }
9252 eval as_val
=\$
$as_ac_Header
9253 if test "x$as_val" = x
""yes; then :
9254 cat >>confdefs.h
<<_ACEOF
9255 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9258 ac_header_dirent
=$ac_hdr; break
9262 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9263 if test $ac_header_dirent = dirent.h
; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9265 $as_echo_n "checking for library containing opendir... " >&6; }
9266 if test "${ac_cv_search_opendir+set}" = set; then :
9267 $as_echo_n "(cached) " >&6
9269 ac_func_search_save_LIBS
=$LIBS
9270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9288 for ac_lib
in '' dir
; do
9289 if test -z "$ac_lib"; then
9290 ac_res
="none required"
9293 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9295 if ac_fn_c_try_link
"$LINENO"; then :
9296 ac_cv_search_opendir
=$ac_res
9298 rm -f core conftest.err conftest.
$ac_objext \
9300 if test "${ac_cv_search_opendir+set}" = set; then :
9304 if test "${ac_cv_search_opendir+set}" = set; then :
9307 ac_cv_search_opendir
=no
9310 LIBS
=$ac_func_search_save_LIBS
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9313 $as_echo "$ac_cv_search_opendir" >&6; }
9314 ac_res
=$ac_cv_search_opendir
9315 if test "$ac_res" != no
; then :
9316 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9322 $as_echo_n "checking for library containing opendir... " >&6; }
9323 if test "${ac_cv_search_opendir+set}" = set; then :
9324 $as_echo_n "(cached) " >&6
9326 ac_func_search_save_LIBS
=$LIBS
9327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9345 for ac_lib
in '' x
; do
9346 if test -z "$ac_lib"; then
9347 ac_res
="none required"
9350 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9352 if ac_fn_c_try_link
"$LINENO"; then :
9353 ac_cv_search_opendir
=$ac_res
9355 rm -f core conftest.err conftest.
$ac_objext \
9357 if test "${ac_cv_search_opendir+set}" = set; then :
9361 if test "${ac_cv_search_opendir+set}" = set; then :
9364 ac_cv_search_opendir
=no
9367 LIBS
=$ac_func_search_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9370 $as_echo "$ac_cv_search_opendir" >&6; }
9371 ac_res
=$ac_cv_search_opendir
9372 if test "$ac_res" != no
; then :
9373 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9380 $as_echo_n "checking for ANSI C header files... " >&6; }
9381 if test "${ac_cv_header_stdc+set}" = set; then :
9382 $as_echo_n "(cached) " >&6
9384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9399 if ac_fn_c_try_compile
"$LINENO"; then :
9400 ac_cv_header_stdc
=yes
9402 ac_cv_header_stdc
=no
9404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9406 if test $ac_cv_header_stdc = yes; then
9407 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9414 $EGREP "memchr" >/dev
/null
2>&1; then :
9417 ac_cv_header_stdc
=no
9423 if test $ac_cv_header_stdc = yes; then
9424 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9431 $EGREP "free" >/dev
/null
2>&1; then :
9434 ac_cv_header_stdc
=no
9440 if test $ac_cv_header_stdc = yes; then
9441 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9442 if test "$cross_compiling" = yes; then :
9445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9449 #if ((' ' & 0x0FF) == 0x020)
9450 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9451 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9453 # define ISLOWER(c) \
9454 (('a' <= (c) && (c) <= 'i') \
9455 || ('j' <= (c) && (c) <= 'r') \
9456 || ('s' <= (c) && (c) <= 'z'))
9457 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9460 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9465 for (i = 0; i < 256; i++)
9466 if (XOR (islower (i), ISLOWER (i))
9467 || toupper (i) != TOUPPER (i))
9472 if ac_fn_c_try_run
"$LINENO"; then :
9475 ac_cv_header_stdc
=no
9477 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9478 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9484 $as_echo "$ac_cv_header_stdc" >&6; }
9485 if test $ac_cv_header_stdc = yes; then
9487 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9491 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
9493 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9494 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9495 eval as_val
=\$
$as_ac_Header
9496 if test "x$as_val" = x
""yes; then :
9497 cat >>confdefs.h
<<_ACEOF
9498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9506 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9507 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
9508 $as_echo_n "(cached) " >&6
9510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9512 #include <sys/types.h>
9513 #include <sys/wait.h>
9515 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9518 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9526 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9531 if ac_fn_c_try_compile
"$LINENO"; then :
9532 ac_cv_header_sys_wait_h
=yes
9534 ac_cv_header_sys_wait_h
=no
9536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9539 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9540 if test $ac_cv_header_sys_wait_h = yes; then
9542 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9547 # Checks for typedefs, structures, and compiler characteristics.
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
9549 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
9550 if test "${ac_cv_header_stdbool_h+set}" = set; then :
9551 $as_echo_n "(cached) " >&6
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 #include <stdbool.h>
9558 "error: bool is not defined"
9561 "error: false is not defined"
9564 "error: false is not 0"
9567 "error: true is not defined"
9570 "error: true is not 1"
9572 #ifndef __bool_true_false_are_defined
9573 "error: __bool_true_false_are_defined is not defined"
9576 struct s { _Bool s: 1; _Bool t; } s;
9578 char a[true == 1 ? 1 : -1];
9579 char b[false == 0 ? 1 : -1];
9580 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9581 char d[(bool) 0.5 == true ? 1 : -1];
9583 char f[(_Bool) 0.0 == false ? 1 : -1];
9585 char h[sizeof (_Bool)];
9587 enum { j = false, k = true, l = false * true, m = true * 256 };
9588 /* The following fails for
9589 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
9591 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9592 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9593 # if defined __xlc__ || defined __GNUC__
9594 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9595 reported by James Lemley on 2005-10-05; see
9596 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9597 This test is not quite right, since xlc is allowed to
9598 reject this program, as the initializer for xlcbug is
9599 not one of the forms that C requires support for.
9600 However, doing the test right would require a runtime
9601 test, and that would make cross-compilation harder.
9602 Let us hope that IBM fixes the xlc bug, and also adds
9603 support for this kind of constant expression. In the
9604 meantime, this test will reject xlc, which is OK, since
9605 our stdbool.h substitute should suffice. We also test
9606 this with GCC, where it should work, to detect more
9607 quickly whether someone messes up the test in the
9609 char digs[] = "0123456789";
9610 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
9612 /* Catch a bug in an HP-UX C compiler. See
9613 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
9614 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
9625 /* Refer to every declared value, to avoid compiler optimizations. */
9626 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
9627 + !m + !n + !o + !p + !q + !pq);
9633 if ac_fn_c_try_compile
"$LINENO"; then :
9634 ac_cv_header_stdbool_h
=yes
9636 ac_cv_header_stdbool_h
=no
9638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
9641 $as_echo "$ac_cv_header_stdbool_h" >&6; }
9642 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
9643 if test "x$ac_cv_type__Bool" = x
""yes; then :
9645 cat >>confdefs.h
<<_ACEOF
9646 #define HAVE__BOOL 1
9652 if test $ac_cv_header_stdbool_h = yes; then
9654 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9659 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9660 if test "${ac_cv_c_const+set}" = set; then :
9661 $as_echo_n "(cached) " >&6
9663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9669 /* FIXME: Include the comments suggested by Paul. */
9671 /* Ultrix mips cc rejects this. */
9672 typedef int charset[2];
9674 /* SunOS 4.1.1 cc rejects this. */
9675 char const *const *pcpcc;
9677 /* NEC SVR4.0.2 mips cc rejects this. */
9678 struct point {int x, y;};
9679 static struct point const zero = {0,0};
9680 /* AIX XL C 1.02.0.0 rejects this.
9681 It does not let you subtract one const X* pointer from another in
9682 an arm of an if-expression whose if-part is not a constant
9684 const char *g = "string";
9685 pcpcc = &g + (g ? g-g : 0);
9686 /* HPUX 7.0 cc rejects these. */
9688 ppc = (char**) pcpcc;
9689 pcpcc = (char const *const *) ppc;
9690 { /* SCO 3.2v4 cc rejects this. */
9692 char const *s = 0 ? (char *) 0 : (char const *) 0;
9697 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9699 const int *foo = &x[0];
9702 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9703 typedef const int *iptr;
9707 { /* AIX XL C 1.02.0.0 rejects this saying
9708 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9709 struct s { int j; const int *ap[3]; };
9710 struct s *b; b->j = 5;
9712 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9716 return !cs[0] && !zero.x;
9723 if ac_fn_c_try_compile
"$LINENO"; then :
9728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9731 $as_echo "$ac_cv_c_const" >&6; }
9732 if test $ac_cv_c_const = no
; then
9734 $as_echo "#define const /**/" >>confdefs.h
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9739 $as_echo_n "checking for inline... " >&6; }
9740 if test "${ac_cv_c_inline+set}" = set; then :
9741 $as_echo_n "(cached) " >&6
9744 for ac_kw
in inline __inline__ __inline
; do
9745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9749 static $ac_kw foo_t static_foo () {return 0; }
9750 $ac_kw foo_t foo () {return 0; }
9754 if ac_fn_c_try_compile
"$LINENO"; then :
9755 ac_cv_c_inline
=$ac_kw
9757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9758 test "$ac_cv_c_inline" != no
&& break
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9763 $as_echo "$ac_cv_c_inline" >&6; }
9765 case $ac_cv_c_inline in
9768 case $ac_cv_c_inline in
9770 *) ac_val
=$ac_cv_c_inline;;
9772 cat >>confdefs.h
<<_ACEOF
9774 #define inline $ac_val
9780 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
9781 if test "x$ac_cv_type_mode_t" = x
""yes; then :
9785 cat >>confdefs.h
<<_ACEOF
9791 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9792 if test "x$ac_cv_type_off_t" = x
""yes; then :
9796 cat >>confdefs.h
<<_ACEOF
9797 #define off_t long int
9802 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9803 if test "x$ac_cv_type_size_t" = x
""yes; then :
9807 cat >>confdefs.h
<<_ACEOF
9808 #define size_t unsigned int
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9814 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9815 if test "${ac_cv_header_time+set}" = set; then :
9816 $as_echo_n "(cached) " >&6
9818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9820 #include <sys/types.h>
9821 #include <sys/time.h>
9827 if ((struct tm *) 0)
9833 if ac_fn_c_try_compile
"$LINENO"; then :
9834 ac_cv_header_time
=yes
9836 ac_cv_header_time
=no
9838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9841 $as_echo "$ac_cv_header_time" >&6; }
9842 if test $ac_cv_header_time = yes; then
9844 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9849 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9850 if test "${ac_cv_struct_tm+set}" = set; then :
9851 $as_echo_n "(cached) " >&6
9853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 #include <sys/types.h>
9862 int *p = &tm.tm_sec;
9868 if ac_fn_c_try_compile
"$LINENO"; then :
9869 ac_cv_struct_tm
=time.h
9871 ac_cv_struct_tm
=sys
/time.h
9873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9876 $as_echo "$ac_cv_struct_tm" >&6; }
9877 if test $ac_cv_struct_tm = sys
/time.h
; then
9879 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
9884 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
9885 if test "${ac_cv_type_uid_t+set}" = set; then :
9886 $as_echo_n "(cached) " >&6
9888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 #include <sys/types.h>
9893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9894 $EGREP "uid_t" >/dev
/null
2>&1; then :
9895 ac_cv_type_uid_t
=yes
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
9903 $as_echo "$ac_cv_type_uid_t" >&6; }
9904 if test $ac_cv_type_uid_t = no
; then
9906 $as_echo "#define uid_t int" >>confdefs.h
9909 $as_echo "#define gid_t int" >>confdefs.h
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9914 $as_echo_n "checking for working volatile... " >&6; }
9915 if test "${ac_cv_c_volatile+set}" = set; then :
9916 $as_echo_n "(cached) " >&6
9918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9926 int * volatile y = (int *) 0;
9932 if ac_fn_c_try_compile
"$LINENO"; then :
9933 ac_cv_c_volatile
=yes
9937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9940 $as_echo "$ac_cv_c_volatile" >&6; }
9941 if test $ac_cv_c_volatile = no
; then
9943 $as_echo "#define volatile /**/" >>confdefs.h
9947 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
9948 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
9950 cat >>confdefs.h
<<_ACEOF
9951 #define HAVE_PTRDIFF_T 1
9958 # Checks for library functions.
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
9960 $as_echo_n "checking whether closedir returns void... " >&6; }
9961 if test "${ac_cv_func_closedir_void+set}" = set; then :
9962 $as_echo_n "(cached) " >&6
9964 if test "$cross_compiling" = yes; then :
9965 ac_cv_func_closedir_void
=yes
9967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 $ac_includes_default
9970 #include <$ac_header_dirent>
9978 return closedir (opendir (".")) != 0;
9983 if ac_fn_c_try_run
"$LINENO"; then :
9984 ac_cv_func_closedir_void
=no
9986 ac_cv_func_closedir_void
=yes
9988 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9989 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
9994 $as_echo "$ac_cv_func_closedir_void" >&6; }
9995 if test $ac_cv_func_closedir_void = yes; then
9997 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
10001 if test $ac_cv_c_compiler_gnu = yes; then
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
10003 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
10004 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
10005 $as_echo_n "(cached) " >&6
10007 ac_pattern
="Autoconf.*'x'"
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10014 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10015 ac_cv_prog_gcc_traditional
=yes
10017 ac_cv_prog_gcc_traditional
=no
10022 if test $ac_cv_prog_gcc_traditional = no
; then
10023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10025 #include <termio.h>
10028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10029 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10030 ac_cv_prog_gcc_traditional
=yes
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10037 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10038 if test $ac_cv_prog_gcc_traditional = yes; then
10039 CC
="$CC -traditional"
10043 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10044 if test "x$ac_cv_type_pid_t" = x
""yes; then :
10048 cat >>confdefs.h
<<_ACEOF
10054 for ac_header
in vfork.h
10056 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10057 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
10058 cat >>confdefs.h
<<_ACEOF
10059 #define HAVE_VFORK_H 1
10066 for ac_func
in fork vfork
10068 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10069 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10070 eval as_val
=\$
$as_ac_var
10071 if test "x$as_val" = x
""yes; then :
10072 cat >>confdefs.h
<<_ACEOF
10073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10079 if test "x$ac_cv_func_fork" = xyes
; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10081 $as_echo_n "checking for working fork... " >&6; }
10082 if test "${ac_cv_func_fork_works+set}" = set; then :
10083 $as_echo_n "(cached) " >&6
10085 if test "$cross_compiling" = yes; then :
10086 ac_cv_func_fork_works
=cross
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 $ac_includes_default
10095 /* By Ruediger Kuhlmann. */
10096 return fork () < 0;
10102 if ac_fn_c_try_run
"$LINENO"; then :
10103 ac_cv_func_fork_works
=yes
10105 ac_cv_func_fork_works
=no
10107 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10108 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10113 $as_echo "$ac_cv_func_fork_works" >&6; }
10116 ac_cv_func_fork_works
=$ac_cv_func_fork
10118 if test "x$ac_cv_func_fork_works" = xcross
; then
10120 *-*-amigaos* |
*-*-msdosdjgpp*)
10121 # Override, as these systems have only a dummy fork() stub
10122 ac_cv_func_fork_works
=no
10125 ac_cv_func_fork_works
=yes
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10129 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10131 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10132 if test "x$ac_cv_func_vfork" = xyes
; then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10134 $as_echo_n "checking for working vfork... " >&6; }
10135 if test "${ac_cv_func_vfork_works+set}" = set; then :
10136 $as_echo_n "(cached) " >&6
10138 if test "$cross_compiling" = yes; then :
10139 ac_cv_func_vfork_works
=cross
10141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 /* Thanks to Paul Eggert for this test. */
10144 $ac_includes_default
10145 #include <sys/wait.h>
10146 #ifdef HAVE_VFORK_H
10147 # include <vfork.h>
10149 /* On some sparc systems, changes by the child to local and incoming
10150 argument registers are propagated back to the parent. The compiler
10151 is told about this with #include <vfork.h>, but some compilers
10152 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10153 static variable whose address is put into a register that is
10154 clobbered by the vfork. */
10157 sparc_address_test (int arg)
10159 sparc_address_test (arg) int arg;
10162 static pid_t child;
10180 pid_t parent = getpid ();
10183 sparc_address_test (0);
10188 /* Here is another test for sparc vfork register problems. This
10189 test uses lots of local variables, at least as many local
10190 variables as main has allocated so far including compiler
10191 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10192 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10193 reuse the register of parent for one of the local variables,
10194 since it will think that parent can't possibly be used any more
10195 in this routine. Assigning to the local variable will thus
10196 munge parent in the parent process. */
10198 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10199 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10200 /* Convince the compiler that p..p7 are live; otherwise, it might
10201 use the same hardware register for all 8 local variables. */
10202 if (p != p1 || p != p2 || p != p3 || p != p4
10203 || p != p5 || p != p6 || p != p7)
10206 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10207 from child file descriptors. If the child closes a descriptor
10208 before it execs or exits, this munges the parent's descriptor
10209 as well. Test for this by closing stdout in the child. */
10210 _exit(close(fileno(stdout)) != 0);
10215 while (wait(&status) != child)
10218 /* Was there some problem with vforking? */
10221 /* Did the child fail? (This shouldn't happen.) */
10224 /* Did the vfork/compiler bug occur? */
10225 || parent != getpid()
10227 /* Did the file descriptor bug occur? */
10228 || fstat(fileno(stdout), &st) != 0
10233 if ac_fn_c_try_run
"$LINENO"; then :
10234 ac_cv_func_vfork_works
=yes
10236 ac_cv_func_vfork_works
=no
10238 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10239 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
10244 $as_echo "$ac_cv_func_vfork_works" >&6; }
10247 if test "x$ac_cv_func_fork_works" = xcross
; then
10248 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10250 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10253 if test "x$ac_cv_func_vfork_works" = xyes
; then
10255 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
10259 $as_echo "#define vfork fork" >>confdefs.h
10262 if test "x$ac_cv_func_fork_works" = xyes
; then
10264 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10269 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10270 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10271 $as_echo_n "(cached) " >&6
10273 rm -f conftest.sym conftest.
file
10274 echo >conftest.
file
10275 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10276 if test "$cross_compiling" = yes; then :
10277 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 $ac_includes_default
10286 /* Linux will dereference the symlink and fail, as required by POSIX.
10287 That is better in the sense that it means we will not
10288 have to compile and use the lstat wrapper. */
10289 return lstat ("conftest.sym/", &sbuf) == 0;
10294 if ac_fn_c_try_run
"$LINENO"; then :
10295 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10297 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10299 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10300 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10304 # If the `ln -s' command failed, then we probably don't even
10305 # have an lstat function.
10306 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10308 rm -f conftest.sym conftest.
file
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10312 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10314 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10316 cat >>confdefs.h
<<_ACEOF
10317 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10321 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10322 case " $LIBOBJS " in
10323 *" lstat.$ac_objext "* ) ;;
10324 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10330 if test x
$SYS != xwin32
; then :
10332 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10333 # -lseq on Dynix/PTX, -lgen on Unixware.
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
10335 $as_echo_n "checking for library containing getmntent... " >&6; }
10336 if test "${ac_cv_search_getmntent+set}" = set; then :
10337 $as_echo_n "(cached) " >&6
10339 ac_func_search_save_LIBS
=$LIBS
10340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10353 return getmntent ();
10358 for ac_lib
in '' sun
seq gen
; do
10359 if test -z "$ac_lib"; then
10360 ac_res
="none required"
10363 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10365 if ac_fn_c_try_link
"$LINENO"; then :
10366 ac_cv_search_getmntent
=$ac_res
10368 rm -f core conftest.err conftest.
$ac_objext \
10370 if test "${ac_cv_search_getmntent+set}" = set; then :
10374 if test "${ac_cv_search_getmntent+set}" = set; then :
10377 ac_cv_search_getmntent
=no
10379 rm conftest.
$ac_ext
10380 LIBS
=$ac_func_search_save_LIBS
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
10383 $as_echo "$ac_cv_search_getmntent" >&6; }
10384 ac_res
=$ac_cv_search_getmntent
10385 if test "$ac_res" != no
; then :
10386 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10387 ac_cv_func_getmntent
=yes
10389 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
10392 ac_cv_func_getmntent
=no
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
10397 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
10398 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
10399 $as_echo_n "(cached) " >&6
10401 if test "$cross_compiling" = yes; then :
10402 ac_cv_func_lstat_empty_string_bug
=yes
10404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10406 $ac_includes_default
10411 return lstat ("", &sbuf) == 0;
10416 if ac_fn_c_try_run
"$LINENO"; then :
10417 ac_cv_func_lstat_empty_string_bug
=no
10419 ac_cv_func_lstat_empty_string_bug
=yes
10421 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10422 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
10427 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
10428 if test $ac_cv_func_lstat_empty_string_bug = yes; then
10429 case " $LIBOBJS " in
10430 *" lstat.$ac_objext "* ) ;;
10431 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10436 cat >>confdefs.h
<<_ACEOF
10437 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10443 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10444 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10445 $as_echo_n "(cached) " >&6
10447 rm -f conftest.sym conftest.
file
10448 echo >conftest.
file
10449 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10450 if test "$cross_compiling" = yes; then :
10451 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 $ac_includes_default
10460 /* Linux will dereference the symlink and fail, as required by POSIX.
10461 That is better in the sense that it means we will not
10462 have to compile and use the lstat wrapper. */
10463 return lstat ("conftest.sym/", &sbuf) == 0;
10468 if ac_fn_c_try_run
"$LINENO"; then :
10469 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10471 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10478 # If the `ln -s' command failed, then we probably don't even
10479 # have an lstat function.
10480 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10482 rm -f conftest.sym conftest.
file
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10486 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10488 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10490 cat >>confdefs.h
<<_ACEOF
10491 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10495 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10496 case " $LIBOBJS " in
10497 *" lstat.$ac_objext "* ) ;;
10498 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
10507 $as_echo_n "checking for working memcmp... " >&6; }
10508 if test "${ac_cv_func_memcmp_working+set}" = set; then :
10509 $as_echo_n "(cached) " >&6
10511 if test "$cross_compiling" = yes; then :
10512 ac_cv_func_memcmp_working
=no
10514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10516 $ac_includes_default
10521 /* Some versions of memcmp are not 8-bit clean. */
10522 char c0 = '\100', c1 = '\200', c2 = '\201';
10523 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10526 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10527 or more and with at least one buffer not starting on a 4-byte boundary.
10528 William Lewis provided this test program. */
10533 for (i = 0; i < 4; i++)
10537 strcpy (a, "--------01111111");
10538 strcpy (b, "--------10000000");
10539 if (memcmp (a, b, 16) >= 0)
10549 if ac_fn_c_try_run
"$LINENO"; then :
10550 ac_cv_func_memcmp_working
=yes
10552 ac_cv_func_memcmp_working
=no
10554 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10555 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
10560 $as_echo "$ac_cv_func_memcmp_working" >&6; }
10561 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10562 *" memcmp.$ac_objext "* ) ;;
10563 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10568 for ac_header
in sys
/select.h sys
/socket.h
10570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10571 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10572 eval as_val
=\$
$as_ac_Header
10573 if test "x$as_val" = x
""yes; then :
10574 cat >>confdefs.h
<<_ACEOF
10575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
10583 $as_echo_n "checking types of arguments for select... " >&6; }
10584 if test "${ac_cv_func_select_args+set}" = set; then :
10585 $as_echo_n "(cached) " >&6
10587 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10588 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10589 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 $ac_includes_default
10593 #ifdef HAVE_SYS_SELECT_H
10594 # include <sys/select.h>
10596 #ifdef HAVE_SYS_SOCKET_H
10597 # include <sys/socket.h>
10603 extern int select ($ac_arg1,
10604 $ac_arg234, $ac_arg234, $ac_arg234,
10610 if ac_fn_c_try_compile
"$LINENO"; then :
10611 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10617 # Provide a safe default value.
10618 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10622 $as_echo "$ac_cv_func_select_args" >&6; }
10623 ac_save_IFS
=$IFS; IFS
=','
10624 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10628 cat >>confdefs.h
<<_ACEOF
10629 #define SELECT_TYPE_ARG1 $1
10633 cat >>confdefs.h
<<_ACEOF
10634 #define SELECT_TYPE_ARG234 ($2)
10638 cat >>confdefs.h
<<_ACEOF
10639 #define SELECT_TYPE_ARG5 ($3)
10644 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
10645 $as_echo_n "(cached) " >&6
10647 ac_cv_func_setvbuf_reversed
=no
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10652 $as_echo_n "checking return type of signal handlers... " >&6; }
10653 if test "${ac_cv_type_signal+set}" = set; then :
10654 $as_echo_n "(cached) " >&6
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10658 #include <sys/types.h>
10659 #include <signal.h>
10664 return *(signal (0, 0)) (0) == 1;
10669 if ac_fn_c_try_compile
"$LINENO"; then :
10670 ac_cv_type_signal
=int
10672 ac_cv_type_signal
=void
10674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
10677 $as_echo "$ac_cv_type_signal" >&6; }
10679 cat >>confdefs.h
<<_ACEOF
10680 #define RETSIGTYPE $ac_cv_type_signal
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
10685 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10686 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
10687 $as_echo_n "(cached) " >&6
10689 if test "$cross_compiling" = yes; then :
10690 ac_cv_func_stat_empty_string_bug
=yes
10692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10694 $ac_includes_default
10699 return stat ("", &sbuf) == 0;
10704 if ac_fn_c_try_run
"$LINENO"; then :
10705 ac_cv_func_stat_empty_string_bug
=no
10707 ac_cv_func_stat_empty_string_bug
=yes
10709 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10710 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
10715 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10716 if test $ac_cv_func_stat_empty_string_bug = yes; then
10717 case " $LIBOBJS " in
10718 *" stat.$ac_objext "* ) ;;
10719 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
10724 cat >>confdefs.h
<<_ACEOF
10725 #define HAVE_STAT_EMPTY_STRING_BUG 1
10730 for ac_func
in strftime
10732 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
10733 if test "x$ac_cv_func_strftime" = x
""yes; then :
10734 cat >>confdefs.h
<<_ACEOF
10735 #define HAVE_STRFTIME 1
10739 # strftime is in -lintl on SCO UNIX.
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
10741 $as_echo_n "checking for strftime in -lintl... " >&6; }
10742 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-lintl $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10760 return strftime ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_intl_strftime
=yes
10768 ac_cv_lib_intl_strftime
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
10775 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
10776 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
10777 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
10779 LIBS
="-lintl $LIBS"
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
10786 $as_echo_n "checking for working strtod... " >&6; }
10787 if test "${ac_cv_func_strtod+set}" = set; then :
10788 $as_echo_n "(cached) " >&6
10790 if test "$cross_compiling" = yes; then :
10791 ac_cv_func_strtod
=no
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 $ac_includes_default
10804 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10805 char *string = " +69";
10808 value = strtod (string, &term);
10809 if (value != 69 || term != (string + 4))
10814 /* Under Solaris 2.4, strtod returns the wrong value for the
10815 terminating character under some conditions. */
10816 char *string = "NaN";
10818 strtod (string, &term);
10819 if (term != string && *(term - 1) == 0)
10826 if ac_fn_c_try_run
"$LINENO"; then :
10827 ac_cv_func_strtod
=yes
10829 ac_cv_func_strtod
=no
10831 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10832 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
10837 $as_echo "$ac_cv_func_strtod" >&6; }
10838 if test $ac_cv_func_strtod = no
; then
10839 case " $LIBOBJS " in
10840 *" strtod.$ac_objext "* ) ;;
10841 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
10845 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
10846 if test "x$ac_cv_func_pow" = x
""yes; then :
10850 if test $ac_cv_func_pow = no
; then
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
10852 $as_echo_n "checking for pow in -lm... " >&6; }
10853 if test "${ac_cv_lib_m_pow+set}" = set; then :
10854 $as_echo_n "(cached) " >&6
10856 ac_check_lib_save_LIBS
=$LIBS
10858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10876 if ac_fn_c_try_link
"$LINENO"; then :
10877 ac_cv_lib_m_pow
=yes
10881 rm -f core conftest.err conftest.
$ac_objext \
10882 conftest
$ac_exeext conftest.
$ac_ext
10883 LIBS
=$ac_check_lib_save_LIBS
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
10886 $as_echo "$ac_cv_lib_m_pow" >&6; }
10887 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
10891 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10898 for ac_func
in vprintf
10900 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10901 if test "x$ac_cv_func_vprintf" = x
""yes; then :
10902 cat >>confdefs.h
<<_ACEOF
10903 #define HAVE_VPRINTF 1
10906 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10907 if test "x$ac_cv_func__doprnt" = x
""yes; then :
10909 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10917 if test $cross_compiling = yes -a $gnumalloc = yes; then :
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10920 configure cannot check whether malloc() and realloc() are GNU libc
10921 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10922 run configure with the --without-gnu-malloc switch." >&5
10923 $as_echo "$as_me: WARNING:
10924 configure cannot check whether malloc() and realloc() are GNU libc
10925 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10926 run configure with the --without-gnu-malloc switch." >&2;}
10927 _mule_warning_8
=yes
10928 _mule_has_warnings
=yes
10930 ac_cv_func_malloc_0_nonnull
=yes
10931 ac_cv_func_realloc_0_nonnull
=yes
10934 for ac_header
in stdlib.h
10936 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10937 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10938 cat >>confdefs.h
<<_ACEOF
10939 #define HAVE_STDLIB_H 1
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10947 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
10948 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
10949 $as_echo_n "(cached) " >&6
10951 if test "$cross_compiling" = yes; then :
10952 ac_cv_func_malloc_0_nonnull
=no
10954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10956 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10957 # include <stdlib.h>
10965 return ! malloc (0);
10970 if ac_fn_c_try_run
"$LINENO"; then :
10971 ac_cv_func_malloc_0_nonnull
=yes
10973 ac_cv_func_malloc_0_nonnull
=no
10975 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10976 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
10981 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
10982 if test $ac_cv_func_malloc_0_nonnull = yes; then :
10984 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
10987 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
10989 case " $LIBOBJS " in
10990 *" malloc.$ac_objext "* ) ;;
10991 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
10996 $as_echo "#define malloc rpl_malloc" >>confdefs.h
11001 for ac_header
in stdlib.h
11003 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11004 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
11005 cat >>confdefs.h
<<_ACEOF
11006 #define HAVE_STDLIB_H 1
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
11014 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11015 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11018 if test "$cross_compiling" = yes; then :
11019 ac_cv_func_realloc_0_nonnull
=no
11021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11023 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11024 # include <stdlib.h>
11032 return ! realloc (0, 0);
11037 if ac_fn_c_try_run
"$LINENO"; then :
11038 ac_cv_func_realloc_0_nonnull
=yes
11040 ac_cv_func_realloc_0_nonnull
=no
11042 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11043 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11048 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11049 if test $ac_cv_func_realloc_0_nonnull = yes; then :
11051 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11054 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11056 case " $LIBOBJS " in
11057 *" realloc.$ac_objext "* ) ;;
11058 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11063 $as_echo "#define realloc rpl_realloc" >>confdefs.h
11068 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
11070 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11071 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11072 eval as_val
=\$
$as_ac_var
11073 if test "x$as_val" = x
""yes; then :
11074 cat >>confdefs.h
<<_ACEOF
11075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11081 #-------------------------------------------------------------------------------
11082 # End of autoscan stuff
11083 #-------------------------------------------------------------------------------
11085 for ac_func
in mkdir getrlimit setrlimit getopt_long
11087 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11088 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11089 eval as_val
=\$
$as_ac_var
11090 if test "x$as_val" = x
""yes; then :
11091 cat >>confdefs.h
<<_ACEOF
11092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11102 for ac_header
in $ac_header_list
11104 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11105 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11107 eval as_val
=\$
$as_ac_Header
11108 if test "x$as_val" = x
""yes; then :
11109 cat >>confdefs.h
<<_ACEOF
11110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11123 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11125 # Check whether --enable-mmap was given.
11126 if test "${enable_mmap+set}" = set; then :
11127 enableval
=$enable_mmap;
11132 if test ${enable_mmap:-no} = yes; then :
11134 for ac_header
in sys
/mman.h
11136 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11137 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11138 cat >>confdefs.h
<<_ACEOF
11139 #define HAVE_SYS_MMAN_H 1
11147 for ac_func
in getpagesize
11149 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11150 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
11151 cat >>confdefs.h
<<_ACEOF
11152 #define HAVE_GETPAGESIZE 1
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11159 $as_echo_n "checking for working mmap... " >&6; }
11160 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
11161 $as_echo_n "(cached) " >&6
11163 if test "$cross_compiling" = yes; then :
11164 ac_cv_func_mmap_fixed_mapped
=no
11166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11168 $ac_includes_default
11169 /* malloc might have been renamed as rpl_malloc. */
11172 /* Thanks to Mike Haertel and Jim Avera for this test.
11173 Here is a matrix of mmap possibilities:
11174 mmap private not fixed
11175 mmap private fixed at somewhere currently unmapped
11176 mmap private fixed at somewhere already mapped
11177 mmap shared not fixed
11178 mmap shared fixed at somewhere currently unmapped
11179 mmap shared fixed at somewhere already mapped
11180 For private mappings, we should verify that changes cannot be read()
11181 back from the file, nor mmap's back from the file at a different
11182 address. (There have been systems where private was not correctly
11183 implemented like the infamous i386 svr4.0, and systems where the
11184 VM page cache was not coherent with the file system buffer cache
11185 like early versions of FreeBSD and possibly contemporary NetBSD.)
11186 For shared mappings, we should conversely verify that changes get
11187 propagated back to all the places they're supposed to be.
11189 Grep wants private fixed already mapped.
11190 The main things grep needs to know about mmap are:
11191 * does it exist and is it safe to write into the mmap'd area
11192 * how to use it (BSD variants) */
11195 #include <sys/mman.h>
11197 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11201 /* This mess was copied from the GNU getpagesize.h. */
11202 #ifndef HAVE_GETPAGESIZE
11203 # ifdef _SC_PAGESIZE
11204 # define getpagesize() sysconf(_SC_PAGESIZE)
11205 # else /* no _SC_PAGESIZE */
11206 # ifdef HAVE_SYS_PARAM_H
11207 # include <sys/param.h>
11208 # ifdef EXEC_PAGESIZE
11209 # define getpagesize() EXEC_PAGESIZE
11210 # else /* no EXEC_PAGESIZE */
11212 # define getpagesize() NBPG * CLSIZE
11215 # endif /* no CLSIZE */
11216 # else /* no NBPG */
11218 # define getpagesize() NBPC
11219 # else /* no NBPC */
11221 # define getpagesize() PAGESIZE
11222 # endif /* PAGESIZE */
11223 # endif /* no NBPC */
11224 # endif /* no NBPG */
11225 # endif /* no EXEC_PAGESIZE */
11226 # else /* no HAVE_SYS_PARAM_H */
11227 # define getpagesize() 8192 /* punt totally */
11228 # endif /* no HAVE_SYS_PARAM_H */
11229 # endif /* no _SC_PAGESIZE */
11231 #endif /* no HAVE_GETPAGESIZE */
11236 char *data, *data2, *data3;
11240 pagesize = getpagesize ();
11242 /* First, make a file with some known garbage in it. */
11243 data = (char *) malloc (pagesize);
11246 for (i = 0; i < pagesize; ++i)
11247 *(data + i) = rand ();
11249 fd = creat ("conftest.mmap", 0600);
11252 if (write (fd, data, pagesize) != pagesize)
11256 /* Next, check that the tail of a page is zero-filled. File must have
11257 non-zero length, otherwise we risk SIGBUS for entire page. */
11258 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11262 if (write (fd2, data2, 1) != 1)
11264 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11265 if (data2 == MAP_FAILED)
11267 for (i = 0; i < pagesize; ++i)
11271 if (munmap (data2, pagesize))
11274 /* Next, try to mmap the file at a fixed address which already has
11275 something else allocated at it. If we can, also make sure that
11276 we see the same garbage. */
11277 fd = open ("conftest.mmap", O_RDWR);
11280 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11281 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11283 for (i = 0; i < pagesize; ++i)
11284 if (*(data + i) != *(data2 + i))
11287 /* Finally, make sure that changes to the mapped area do not
11288 percolate back to the file as seen by read(). (This is a bug on
11289 some variants of i386 svr4.0.) */
11290 for (i = 0; i < pagesize; ++i)
11291 *(data2 + i) = *(data2 + i) + 1;
11292 data3 = (char *) malloc (pagesize);
11295 if (read (fd, data3, pagesize) != pagesize)
11297 for (i = 0; i < pagesize; ++i)
11298 if (*(data + i) != *(data3 + i))
11304 if ac_fn_c_try_run
"$LINENO"; then :
11305 ac_cv_func_mmap_fixed_mapped
=yes
11307 ac_cv_func_mmap_fixed_mapped
=no
11309 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11310 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11315 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11316 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11318 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11321 rm -f conftest.mmap conftest.txt
11323 for ac_func
in munmap sysconf
11325 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11326 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11327 eval as_val
=\$
$as_ac_var
11328 if test "x$as_val" = x
""yes; then :
11329 cat >>confdefs.h
<<_ACEOF
11330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11336 if test $ac_cv_func_sysconf = yes; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
11339 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
11340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11344 #include <unistd.h>
11350 return sysconf(_SC_PAGESIZE);
11357 if ac_fn_c_try_link
"$LINENO"; then :
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
11360 $as_echo "_SC_PAGESIZE" >&6; }
11362 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
11367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11371 #include <unistd.h>
11377 return sysconf(_SC_PAGE_SIZE);
11384 if ac_fn_c_try_link
"$LINENO"; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
11387 $as_echo "_SC_PAGE_SIZE" >&6; }
11389 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11395 $as_echo "none" >&6; }
11398 rm -f core conftest.err conftest.
$ac_objext \
11399 conftest
$ac_exeext conftest.
$ac_ext
11402 rm -f core conftest.err conftest.
$ac_objext \
11403 conftest
$ac_exeext conftest.
$ac_ext
11409 # fake the result of the test for munmap() for the gettext macros
11410 ac_cv_func_munmap
=no
11416 mule_backup_CPPFLAGS
="$CPPFLAGS"
11417 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
11418 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11419 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
11425 cat >>confdefs.h
<<_ACEOF
11426 #define HAVE_DECL_STRERROR_R $ac_have_decl
11429 for ac_func
in strerror_r
11431 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11432 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
11433 cat >>confdefs.h
<<_ACEOF
11434 #define HAVE_STRERROR_R 1
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11441 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
11442 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11446 ac_cv_func_strerror_r_char_p
=no
11447 if test $ac_cv_have_decl_strerror_r = yes; then
11448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11450 $ac_includes_default
11456 char x = *strerror_r (0, buf, sizeof buf);
11457 char *p = strerror_r (0, buf, sizeof buf);
11464 if ac_fn_c_try_compile
"$LINENO"; then :
11465 ac_cv_func_strerror_r_char_p
=yes
11467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11469 # strerror_r is not declared. Choose between
11470 # systems that have relatively inaccessible declarations for the
11471 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11472 # former has a strerror_r that returns char*, while the latter
11473 # has a strerror_r that returns `int'.
11474 # This test should segfault on the DEC system.
11475 if test "$cross_compiling" = yes; then :
11478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11480 $ac_includes_default
11481 extern char *strerror_r ();
11486 char x = *strerror_r (0, buf, sizeof buf);
11487 return ! isalpha (x);
11492 if ac_fn_c_try_run
"$LINENO"; then :
11493 ac_cv_func_strerror_r_char_p
=yes
11495 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11496 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11503 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
11504 if test $ac_cv_func_strerror_r_char_p = yes; then
11506 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
11510 CPPFLAGS
="$mule_backup_CPPFLAGS"
11512 # Look for a way to preallocate disk space for files.
11513 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
11516 $as_echo_n "checking for fallocate... " >&6; }
11517 mule_backup_CPPFLAGS
="$CPPFLAGS"
11518 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
11519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11523 #define _GNU_SOURCE
11524 #ifdef HAVE_FCNTL_H
11525 # include <fcntl.h>
11527 #include <linux/falloc.h>
11533 fallocate(0, 0, 0, 0);
11540 if ac_fn_c_try_link
"$LINENO"; then :
11543 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11546 $as_echo "yes" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11551 $as_echo "no" >&6; }
11554 rm -f core conftest.err conftest.
$ac_objext \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 CPPFLAGS
="$mule_backup_CPPFLAGS"
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
11560 $as_echo_n "checking for SYS_fallocate... " >&6; }
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11565 #include <sys/syscall.h>
11566 #include <sys/types.h>
11567 #include <unistd.h>
11573 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
11580 if ac_fn_c_try_link
"$LINENO"; then :
11583 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11586 $as_echo "yes" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11591 $as_echo "no" >&6; }
11594 rm -f core conftest.err conftest.
$ac_objext \
11595 conftest
$ac_exeext conftest.
$ac_ext
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
11598 $as_echo_n "checking for posix_fallocate... " >&6; }
11599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11603 #define _XOPEN_SOURCE 600
11604 #include <stdlib.h>
11605 #ifdef HAVE_FCNTL_H
11606 # include <fcntl.h>
11613 posix_fallocate(0, 0, 0);
11620 if ac_fn_c_try_link
"$LINENO"; then :
11623 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11626 $as_echo "yes" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11634 rm -f core conftest.err conftest.
$ac_objext \
11635 conftest
$ac_exeext conftest.
$ac_ext
11639 # Checking Native Language Support
11643 if test -n "$ac_aux_dir"; then
11644 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
11646 if test -z "$MKINSTALLDIRS"; then
11647 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11654 # Extract the first word of "msgfmt", so it can be a program name with args.
11655 set dummy msgfmt
; ac_word
=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11657 $as_echo_n "checking for $ac_word... " >&6; }
11658 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11659 $as_echo_n "(cached) " >&6
11663 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11667 for ac_dir
in $PATH; do
11668 test -z "$ac_dir" && ac_dir
=.
11669 if test -f $ac_dir/$ac_word; then
11670 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11671 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11672 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
11678 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11682 MSGFMT
="$ac_cv_path_MSGFMT"
11683 if test "$MSGFMT" != ":"; then
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11685 $as_echo "$MSGFMT" >&6; }
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11688 $as_echo "no" >&6; }
11691 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11692 set dummy gmsgfmt
; ac_word
=$2
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11694 $as_echo_n "checking for $ac_word... " >&6; }
11695 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11696 $as_echo_n "(cached) " >&6
11700 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11704 for as_dir
in $PATH
11707 test -z "$as_dir" && as_dir
=.
11708 for ac_exec_ext
in '' $ac_executable_extensions; do
11709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11710 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11718 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11722 GMSGFMT
=$ac_cv_path_GMSGFMT
11723 if test -n "$GMSGFMT"; then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11725 $as_echo "$GMSGFMT" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11728 $as_echo "no" >&6; }
11733 # Extract the first word of "xgettext", so it can be a program name with args.
11734 set dummy xgettext
; ac_word
=$2
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11736 $as_echo_n "checking for $ac_word... " >&6; }
11737 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11738 $as_echo_n "(cached) " >&6
11740 case "$XGETTEXT" in
11742 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11745 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11746 for ac_dir
in $PATH; do
11747 test -z "$ac_dir" && ac_dir
=.
11748 if test -f $ac_dir/$ac_word; then
11749 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11750 (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
11751 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
11757 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11761 XGETTEXT
="$ac_cv_path_XGETTEXT"
11762 if test "$XGETTEXT" != ":"; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11764 $as_echo "$XGETTEXT" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11772 # Extract the first word of "msgmerge", so it can be a program name with args.
11773 set dummy msgmerge
; ac_word
=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11777 $as_echo_n "(cached) " >&6
11779 case "$MSGMERGE" in
11781 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11785 for ac_dir
in $PATH; do
11786 test -z "$ac_dir" && ac_dir
=.
11787 if test -f $ac_dir/$ac_word; then
11788 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11789 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
11795 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11799 MSGMERGE
="$ac_cv_path_MSGMERGE"
11800 if test "$MSGMERGE" != ":"; then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11802 $as_echo "$MSGMERGE" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11809 if test "$GMSGFMT" != ":"; then
11810 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11811 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11814 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11816 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11821 if test "$XGETTEXT" != ":"; then
11822 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11823 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11827 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11833 ac_config_commands
="$ac_config_commands default-1"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11838 $as_echo_n "checking for strerror in -lcposix... " >&6; }
11839 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
11840 $as_echo_n "(cached) " >&6
11842 ac_check_lib_save_LIBS
=$LIBS
11843 LIBS
="-lcposix $LIBS"
11844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11857 return strerror ();
11862 if ac_fn_c_try_link
"$LINENO"; then :
11863 ac_cv_lib_cposix_strerror
=yes
11865 ac_cv_lib_cposix_strerror
=no
11867 rm -f core conftest.err conftest.
$ac_objext \
11868 conftest
$ac_exeext conftest.
$ac_ext
11869 LIBS
=$ac_check_lib_save_LIBS
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11872 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11873 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
11874 LIBS
="$LIBS -lcposix"
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
11881 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
11882 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
11883 $as_echo_n "(cached) " >&6
11885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 #include <features.h>
11889 #ifdef __GNU_LIBRARY__
11890 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
11896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11897 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
11898 ac_cv_gnu_library_2_1
=yes
11900 ac_cv_gnu_library_2_1
=no
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
11908 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
11910 GLIBC21
="$ac_cv_gnu_library_2_1"
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11916 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11917 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
11918 $as_echo_n "(cached) " >&6
11921 if test "$cross_compiling" = yes; then :
11923 # Guess based on the CPU.
11924 case "$host_cpu" in
11925 alpha
* | i3456786 | m68k | s390
*)
11926 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
11928 gt_cv_int_divbyzero_sigfpe
="guessing no";;
11932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 #include <stdlib.h>
11936 #include <signal.h>
11940 sigfpe_handler (int sig)
11942 sigfpe_handler (sig) int sig;
11945 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
11946 exit (sig != SIGFPE);
11956 signal (SIGFPE, sigfpe_handler);
11957 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
11958 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
11959 signal (SIGTRAP, sigfpe_handler);
11961 /* Linux/SPARC yields signal SIGILL. */
11962 #if defined (__sparc__) && defined (__linux__)
11963 signal (SIGILL, sigfpe_handler);
11972 if ac_fn_c_try_run
"$LINENO"; then :
11973 gt_cv_int_divbyzero_sigfpe
=yes
11975 gt_cv_int_divbyzero_sigfpe
=no
11977 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11978 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
11984 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
11985 case "$gt_cv_int_divbyzero_sigfpe" in
11990 cat >>confdefs.h
<<_ACEOF
11991 #define INTDIV0_RAISES_SIGFPE $value
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
11997 $as_echo_n "checking for inttypes.h... " >&6; }
11998 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
11999 $as_echo_n "(cached) " >&6
12001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12003 #include <sys/types.h>
12004 #include <inttypes.h>
12008 uintmax_t i = (uintmax_t) -1;
12013 if ac_fn_c_try_compile
"$LINENO"; then :
12014 jm_ac_cv_header_inttypes_h
=yes
12016 jm_ac_cv_header_inttypes_h
=no
12018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
12021 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
12022 if test $jm_ac_cv_header_inttypes_h = yes; then
12024 cat >>confdefs.h
<<_ACEOF
12025 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12032 $as_echo_n "checking for stdint.h... " >&6; }
12033 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
12034 $as_echo_n "(cached) " >&6
12036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12038 #include <sys/types.h>
12039 #include <stdint.h>
12043 uintmax_t i = (uintmax_t) -1;
12048 if ac_fn_c_try_compile
"$LINENO"; then :
12049 jm_ac_cv_header_stdint_h
=yes
12051 jm_ac_cv_header_stdint_h
=no
12053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
12056 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
12057 if test $jm_ac_cv_header_stdint_h = yes; then
12059 cat >>confdefs.h
<<_ACEOF
12060 #define HAVE_STDINT_H_WITH_UINTMAX 1
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
12067 $as_echo_n "checking for unsigned long long... " >&6; }
12068 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
12069 $as_echo_n "(cached) " >&6
12071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 unsigned long long ull = 1; int i = 63;
12077 unsigned long long ullmax = (unsigned long long) -1;
12078 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
12083 if ac_fn_c_try_link
"$LINENO"; then :
12084 ac_cv_type_unsigned_long_long
=yes
12086 ac_cv_type_unsigned_long_long
=no
12088 rm -f core conftest.err conftest.
$ac_objext \
12089 conftest
$ac_exeext conftest.
$ac_ext
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
12092 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
12093 if test $ac_cv_type_unsigned_long_long = yes; then
12095 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
12102 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
12104 test $ac_cv_type_unsigned_long_long = yes \
12105 && ac_type
='unsigned long long' \
12106 || ac_type
='unsigned long'
12108 cat >>confdefs.h
<<_ACEOF
12109 #define uintmax_t $ac_type
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12116 $as_echo_n "checking for inttypes.h... " >&6; }
12117 if test "${gt_cv_header_inttypes_h+set}" = set; then :
12118 $as_echo_n "(cached) " >&6
12121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12123 #include <sys/types.h>
12124 #include <inttypes.h>
12133 if ac_fn_c_try_compile
"$LINENO"; then :
12134 gt_cv_header_inttypes_h
=yes
12136 gt_cv_header_inttypes_h
=no
12138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
12142 $as_echo "$gt_cv_header_inttypes_h" >&6; }
12143 if test $gt_cv_header_inttypes_h = yes; then
12145 cat >>confdefs.h
<<_ACEOF
12146 #define HAVE_INTTYPES_H 1
12153 if test $gt_cv_header_inttypes_h = yes; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12155 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12156 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
12157 $as_echo_n "(cached) " >&6
12160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12162 #include <inttypes.h>
12175 if ac_fn_c_try_compile
"$LINENO"; then :
12176 gt_cv_inttypes_pri_broken
=no
12178 gt_cv_inttypes_pri_broken
=yes
12180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
12184 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
12186 if test "$gt_cv_inttypes_pri_broken" = yes; then
12188 cat >>confdefs.h
<<_ACEOF
12189 #define PRI_MACROS_BROKEN 1
12195 if test "X$prefix" = "XNONE"; then
12196 acl_final_prefix
="$ac_default_prefix"
12198 acl_final_prefix
="$prefix"
12200 if test "X$exec_prefix" = "XNONE"; then
12201 acl_final_exec_prefix
='${prefix}'
12203 acl_final_exec_prefix
="$exec_prefix"
12205 acl_save_prefix
="$prefix"
12206 prefix
="$acl_final_prefix"
12207 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12208 prefix
="$acl_save_prefix"
12211 # Check whether --with-gnu-ld was given.
12212 if test "${with_gnu_ld+set}" = set; then :
12213 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12219 if test "$GCC" = yes; then
12220 # Check if gcc -print-prog-name=ld gives a path.
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12222 $as_echo_n "checking for ld used by GCC... " >&6; }
12225 # gcc leaves a trailing carriage return which upsets mingw
12226 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12228 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12231 # Accept absolute paths.
12232 [\\/]* |
[A-Za-z
]:[\\/]*)
12233 re_direlt
='/[^/][^/]*/\.\./'
12234 # Canonicalize the path of ld
12235 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12236 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12237 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12239 test -z "$LD" && LD
="$ac_prog"
12242 # If it fails, then pretend we aren't using GCC.
12246 # If it is relative, then search for the first ld in PATH.
12247 with_gnu_ld
=unknown
12250 elif test "$with_gnu_ld" = yes; then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12252 $as_echo_n "checking for GNU ld... " >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12255 $as_echo_n "checking for non-GNU ld... " >&6; }
12257 if test "${acl_cv_path_LD+set}" = set; then :
12258 $as_echo_n "(cached) " >&6
12260 if test -z "$LD"; then
12261 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12262 for ac_dir
in $PATH; do
12263 test -z "$ac_dir" && ac_dir
=.
12264 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12265 acl_cv_path_LD
="$ac_dir/$ac_prog"
12266 # Check to see if the program is GNU ld. I'd rather use --version,
12267 # but apparently some GNU ld's only accept -v.
12268 # Break only if it was the GNU/non-GNU ld that we prefer.
12269 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
12270 test "$with_gnu_ld" != no
&& break
12272 test "$with_gnu_ld" != yes && break
12278 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12282 LD
="$acl_cv_path_LD"
12283 if test -n "$LD"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12285 $as_echo "$LD" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12290 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12292 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12293 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12294 $as_echo_n "(cached) " >&6
12296 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12297 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
12298 acl_cv_prog_gnu_ld
=yes
12300 acl_cv_prog_gnu_ld
=no
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12304 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12305 with_gnu_ld
=$acl_cv_prog_gnu_ld
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12310 $as_echo_n "checking for shared library run path origin... " >&6; }
12311 if test "${acl_cv_rpath+set}" = set; then :
12312 $as_echo_n "(cached) " >&6
12315 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12316 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12318 rm -f .
/conftest.sh
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12323 $as_echo "$acl_cv_rpath" >&6; }
12325 libext
="$acl_cv_libext"
12326 shlibext
="$acl_cv_shlibext"
12327 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12328 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12329 hardcode_direct
="$acl_cv_hardcode_direct"
12330 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12331 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
12332 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
12333 # Check whether --enable-rpath was given.
12334 if test "${enable_rpath+set}" = set; then :
12335 enableval
=$enable_rpath; :
12349 acl_save_prefix
="$prefix"
12350 prefix
="$acl_final_prefix"
12351 acl_save_exec_prefix
="$exec_prefix"
12352 exec_prefix
="$acl_final_exec_prefix"
12354 eval additional_includedir
=\"$includedir\"
12355 eval additional_libdir
=\"$libdir\"
12357 exec_prefix
="$acl_save_exec_prefix"
12358 prefix
="$acl_save_prefix"
12361 # Check whether --with-libiconv-prefix was given.
12362 if test "${with_libiconv_prefix+set}" = set; then :
12363 withval
=$with_libiconv_prefix;
12364 if test "X$withval" = "Xno"; then
12367 if test "X$withval" = "X"; then
12369 acl_save_prefix
="$prefix"
12370 prefix
="$acl_final_prefix"
12371 acl_save_exec_prefix
="$exec_prefix"
12372 exec_prefix
="$acl_final_exec_prefix"
12374 eval additional_includedir
=\"$includedir\"
12375 eval additional_libdir
=\"$libdir\"
12377 exec_prefix
="$acl_save_exec_prefix"
12378 prefix
="$acl_save_prefix"
12381 additional_includedir
="$withval/include"
12382 additional_libdir
="$withval/lib"
12393 names_already_handled
=
12394 names_next_round
='iconv '
12395 while test -n "$names_next_round"; do
12396 names_this_round
="$names_next_round"
12398 for name
in $names_this_round; do
12400 for n
in $names_already_handled; do
12401 if test "$n" = "$name"; then
12402 already_handled
=yes
12406 if test -z "$already_handled"; then
12407 names_already_handled
="$names_already_handled $name"
12408 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12409 eval value
=\"\
$HAVE_LIB$uppername\"
12410 if test -n "$value"; then
12411 if test "$value" = yes; then
12412 eval value
=\"\
$LIB$uppername\"
12413 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12414 eval value
=\"\
$LTLIB$uppername\"
12415 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12424 if test $use_additional = yes; then
12425 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12426 found_dir
="$additional_libdir"
12427 found_so
="$additional_libdir/lib$name.$shlibext"
12428 if test -f "$additional_libdir/lib$name.la"; then
12429 found_la
="$additional_libdir/lib$name.la"
12432 if test -f "$additional_libdir/lib$name.$libext"; then
12433 found_dir
="$additional_libdir"
12434 found_a
="$additional_libdir/lib$name.$libext"
12435 if test -f "$additional_libdir/lib$name.la"; then
12436 found_la
="$additional_libdir/lib$name.la"
12441 if test "X$found_dir" = "X"; then
12442 for x
in $LDFLAGS $LTLIBICONV; do
12444 acl_save_prefix
="$prefix"
12445 prefix
="$acl_final_prefix"
12446 acl_save_exec_prefix
="$exec_prefix"
12447 exec_prefix
="$acl_final_exec_prefix"
12449 exec_prefix
="$acl_save_exec_prefix"
12450 prefix
="$acl_save_prefix"
12454 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12455 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12457 found_so
="$dir/lib$name.$shlibext"
12458 if test -f "$dir/lib$name.la"; then
12459 found_la
="$dir/lib$name.la"
12462 if test -f "$dir/lib$name.$libext"; then
12464 found_a
="$dir/lib$name.$libext"
12465 if test -f "$dir/lib$name.la"; then
12466 found_la
="$dir/lib$name.la"
12472 if test "X$found_dir" != "X"; then
12477 if test "X$found_dir" != "X"; then
12478 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12479 if test "X$found_so" != "X"; then
12480 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12481 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12484 for x
in $ltrpathdirs; do
12485 if test "X$x" = "X$found_dir"; then
12490 if test -z "$haveit"; then
12491 ltrpathdirs
="$ltrpathdirs $found_dir"
12493 if test "$hardcode_direct" = yes; then
12494 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12496 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12497 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12499 for x
in $rpathdirs; do
12500 if test "X$x" = "X$found_dir"; then
12505 if test -z "$haveit"; then
12506 rpathdirs
="$rpathdirs $found_dir"
12510 for x
in $LDFLAGS $LIBICONV; do
12512 acl_save_prefix
="$prefix"
12513 prefix
="$acl_final_prefix"
12514 acl_save_exec_prefix
="$exec_prefix"
12515 exec_prefix
="$acl_final_exec_prefix"
12517 exec_prefix
="$acl_save_exec_prefix"
12518 prefix
="$acl_save_prefix"
12520 if test "X$x" = "X-L$found_dir"; then
12525 if test -z "$haveit"; then
12526 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12528 if test "$hardcode_minus_L" != no
; then
12529 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12531 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12537 if test "X$found_a" != "X"; then
12538 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12540 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12543 additional_includedir
=
12544 case "$found_dir" in
12546 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12547 additional_includedir
="$basedir/include"
12550 if test "X$additional_includedir" != "X"; then
12551 if test "X$additional_includedir" != "X/usr/include"; then
12553 if test "X$additional_includedir" = "X/usr/local/include"; then
12554 if test -n "$GCC"; then
12556 linux
*) haveit
=yes;;
12560 if test -z "$haveit"; then
12561 for x
in $CPPFLAGS $INCICONV; do
12563 acl_save_prefix
="$prefix"
12564 prefix
="$acl_final_prefix"
12565 acl_save_exec_prefix
="$exec_prefix"
12566 exec_prefix
="$acl_final_exec_prefix"
12568 exec_prefix
="$acl_save_exec_prefix"
12569 prefix
="$acl_save_prefix"
12571 if test "X$x" = "X-I$additional_includedir"; then
12576 if test -z "$haveit"; then
12577 if test -d "$additional_includedir"; then
12578 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12584 if test -n "$found_la"; then
12585 save_libdir
="$libdir"
12586 case "$found_la" in
12587 */* |
*\\*) .
"$found_la" ;;
12588 *) .
"./$found_la" ;;
12590 libdir
="$save_libdir"
12591 for dep
in $dependency_libs; do
12594 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12595 if test "X$additional_libdir" != "X/usr/lib"; then
12597 if test "X$additional_libdir" = "X/usr/local/lib"; then
12598 if test -n "$GCC"; then
12600 linux
*) haveit
=yes;;
12604 if test -z "$haveit"; then
12606 for x
in $LDFLAGS $LIBICONV; do
12608 acl_save_prefix
="$prefix"
12609 prefix
="$acl_final_prefix"
12610 acl_save_exec_prefix
="$exec_prefix"
12611 exec_prefix
="$acl_final_exec_prefix"
12613 exec_prefix
="$acl_save_exec_prefix"
12614 prefix
="$acl_save_prefix"
12616 if test "X$x" = "X-L$additional_libdir"; then
12621 if test -z "$haveit"; then
12622 if test -d "$additional_libdir"; then
12623 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12627 for x
in $LDFLAGS $LTLIBICONV; do
12629 acl_save_prefix
="$prefix"
12630 prefix
="$acl_final_prefix"
12631 acl_save_exec_prefix
="$exec_prefix"
12632 exec_prefix
="$acl_final_exec_prefix"
12634 exec_prefix
="$acl_save_exec_prefix"
12635 prefix
="$acl_save_prefix"
12637 if test "X$x" = "X-L$additional_libdir"; then
12642 if test -z "$haveit"; then
12643 if test -d "$additional_libdir"; then
12644 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12651 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12652 if test "$enable_rpath" != no
; then
12654 for x
in $rpathdirs; do
12655 if test "X$x" = "X$dir"; then
12660 if test -z "$haveit"; then
12661 rpathdirs
="$rpathdirs $dir"
12664 for x
in $ltrpathdirs; do
12665 if test "X$x" = "X$dir"; then
12670 if test -z "$haveit"; then
12671 ltrpathdirs
="$ltrpathdirs $dir"
12676 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12679 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12682 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12683 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12689 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12690 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12696 if test "X$rpathdirs" != "X"; then
12697 if test -n "$hardcode_libdir_separator"; then
12699 for found_dir
in $rpathdirs; do
12700 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12702 acl_save_libdir
="$libdir"
12704 eval flag
=\"$hardcode_libdir_flag_spec\"
12705 libdir
="$acl_save_libdir"
12706 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12708 for found_dir
in $rpathdirs; do
12709 acl_save_libdir
="$libdir"
12710 libdir
="$found_dir"
12711 eval flag
=\"$hardcode_libdir_flag_spec\"
12712 libdir
="$acl_save_libdir"
12713 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12717 if test "X$ltrpathdirs" != "X"; then
12718 for found_dir
in $ltrpathdirs; do
12719 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12726 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
12727 stdlib.h string.h unistd.h sys
/param.h
12729 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12730 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12731 eval as_val
=\$
$as_ac_Header
12732 if test "x$as_val" = x
""yes; then :
12733 cat >>confdefs.h
<<_ACEOF
12734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12741 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
12742 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
12743 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
12745 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12746 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12747 eval as_val
=\$
$as_ac_var
12748 if test "x$as_val" = x
""yes; then :
12749 cat >>confdefs.h
<<_ACEOF
12750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12762 am_save_CPPFLAGS
="$CPPFLAGS"
12764 for element
in $INCICONV; do
12766 for x
in $CPPFLAGS; do
12768 acl_save_prefix
="$prefix"
12769 prefix
="$acl_final_prefix"
12770 acl_save_exec_prefix
="$exec_prefix"
12771 exec_prefix
="$acl_final_exec_prefix"
12773 exec_prefix
="$acl_save_exec_prefix"
12774 prefix
="$acl_save_prefix"
12776 if test "X$x" = "X$element"; then
12781 if test -z "$haveit"; then
12782 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12788 $as_echo_n "checking for iconv... " >&6; }
12789 if test "${am_cv_func_iconv+set}" = set; then :
12790 $as_echo_n "(cached) " >&6
12793 am_cv_func_iconv
="no, consider installing GNU 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_func_iconv
=yes
12812 rm -f core conftest.err conftest.
$ac_objext \
12813 conftest
$ac_exeext conftest.
$ac_ext
12814 if test "$am_cv_func_iconv" != yes; then
12815 am_save_LIBS
="$LIBS"
12816 LIBS
="$LIBS $LIBICONV"
12817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12819 #include <stdlib.h>
12824 iconv_t cd = iconv_open("","");
12825 iconv(cd,NULL,NULL,NULL,NULL);
12831 if ac_fn_c_try_link
"$LINENO"; then :
12832 am_cv_lib_iconv
=yes
12833 am_cv_func_iconv
=yes
12835 rm -f core conftest.err conftest.
$ac_objext \
12836 conftest
$ac_exeext conftest.
$ac_ext
12837 LIBS
="$am_save_LIBS"
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12842 $as_echo "$am_cv_func_iconv" >&6; }
12843 if test "$am_cv_func_iconv" = yes; then
12845 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12848 if test "$am_cv_lib_iconv" = yes; then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12850 $as_echo_n "checking how to link with libiconv... " >&6; }
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12852 $as_echo "$LIBICONV" >&6; }
12854 CPPFLAGS
="$am_save_CPPFLAGS"
12861 if test "$am_cv_func_iconv" = yes; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12863 $as_echo_n "checking for iconv declaration... " >&6; }
12864 if test "${am_cv_proto_iconv+set}" = set; then :
12865 $as_echo_n "(cached) " >&6
12868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12871 #include <stdlib.h>
12877 #if defined(__STDC__) || defined(__cplusplus)
12878 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12891 if ac_fn_c_try_compile
"$LINENO"; then :
12892 am_cv_proto_iconv_arg1
=""
12894 am_cv_proto_iconv_arg1
="const"
12896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12897 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);"
12900 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
12902 }$am_cv_proto_iconv" >&5
12904 }$am_cv_proto_iconv" >&6; }
12906 cat >>confdefs.h
<<_ACEOF
12907 #define ICONV_CONST $am_cv_proto_iconv_arg1
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
12914 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
12915 if test "${am_cv_langinfo_codeset+set}" = set; then :
12916 $as_echo_n "(cached) " >&6
12918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12920 #include <langinfo.h>
12924 char* cs = nl_langinfo(CODESET);
12929 if ac_fn_c_try_link
"$LINENO"; then :
12930 am_cv_langinfo_codeset
=yes
12932 am_cv_langinfo_codeset
=no
12934 rm -f core conftest.err conftest.
$ac_objext \
12935 conftest
$ac_exeext conftest.
$ac_ext
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
12939 $as_echo "$am_cv_langinfo_codeset" >&6; }
12940 if test $am_cv_langinfo_codeset = yes; then
12942 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
12946 if test $ac_cv_header_locale_h = yes; then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12950 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12951 $as_echo_n "(cached) " >&6
12953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12955 #include <locale.h>
12964 if ac_fn_c_try_link
"$LINENO"; then :
12965 am_cv_val_LC_MESSAGES
=yes
12967 am_cv_val_LC_MESSAGES
=no
12969 rm -f core conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12973 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12974 if test $am_cv_val_LC_MESSAGES = yes; then
12976 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12982 for ac_prog
in bison
12984 # Extract the first word of "$ac_prog", so it can be a program name with args.
12985 set dummy
$ac_prog; ac_word
=$2
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12987 $as_echo_n "checking for $ac_word... " >&6; }
12988 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
12989 $as_echo_n "(cached) " >&6
12991 if test -n "$INTLBISON"; then
12992 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
12994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12995 for as_dir
in $PATH
12998 test -z "$as_dir" && as_dir
=.
12999 for ac_exec_ext
in '' $ac_executable_extensions; do
13000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13001 ac_cv_prog_INTLBISON
="$ac_prog"
13002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13011 INTLBISON
=$ac_cv_prog_INTLBISON
13012 if test -n "$INTLBISON"; then
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
13014 $as_echo "$INTLBISON" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13021 test -n "$INTLBISON" && break
13024 if test -z "$INTLBISON"; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
13028 $as_echo_n "checking version of bison... " >&6; }
13029 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13030 case $ac_prog_version in
13031 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
13032 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
13033 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
13034 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
13037 $as_echo "$ac_prog_version" >&6; }
13039 if test $ac_verc_fail = yes; then
13045 # Check whether --with-language was given.
13046 if test "${with_language+set}" = set; then :
13047 withval
=$with_language; if test "$withval" != "all"; then :
13048 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13068 $as_echo_n "checking whether NLS is requested... " >&6; }
13069 # Check whether --enable-nls was given.
13070 if test "${enable_nls+set}" = set; then :
13071 enableval
=$enable_nls; USE_NLS
=$enableval
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13077 $as_echo "$USE_NLS" >&6; }
13081 BUILD_INCLUDED_LIBINTL
=no
13082 USE_INCLUDED_LIBINTL
=no
13088 if test "$USE_NLS" = "yes"; then
13089 gt_use_preinstalled_gnugettext
=no
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
13092 $as_echo_n "checking whether included gettext is requested... " >&6; }
13094 # Check whether --with-included-gettext was given.
13095 if test "${with_included_gettext+set}" = set; then :
13096 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
13098 nls_cv_force_use_gnu_gettext
=no
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
13102 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
13104 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
13105 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13113 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13114 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
13115 $as_echo_n "(cached) " >&6
13117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13119 #include <libintl.h>
13120 extern int _nl_msg_cat_cntr;
13121 extern int *_nl_domain_bindings;
13125 bindtextdomain ("", "");
13126 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
13131 if ac_fn_c_try_link
"$LINENO"; then :
13132 gt_cv_func_gnugettext2_libc
=yes
13134 gt_cv_func_gnugettext2_libc
=no
13136 rm -f core conftest.err conftest.
$ac_objext \
13137 conftest
$ac_exeext conftest.
$ac_ext
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
13140 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
13142 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13148 acl_save_prefix
="$prefix"
13149 prefix
="$acl_final_prefix"
13150 acl_save_exec_prefix
="$exec_prefix"
13151 exec_prefix
="$acl_final_exec_prefix"
13153 eval additional_includedir
=\"$includedir\"
13154 eval additional_libdir
=\"$libdir\"
13156 exec_prefix
="$acl_save_exec_prefix"
13157 prefix
="$acl_save_prefix"
13160 # Check whether --with-libintl-prefix was given.
13161 if test "${with_libintl_prefix+set}" = set; then :
13162 withval
=$with_libintl_prefix;
13163 if test "X$withval" = "Xno"; then
13166 if test "X$withval" = "X"; then
13168 acl_save_prefix
="$prefix"
13169 prefix
="$acl_final_prefix"
13170 acl_save_exec_prefix
="$exec_prefix"
13171 exec_prefix
="$acl_final_exec_prefix"
13173 eval additional_includedir
=\"$includedir\"
13174 eval additional_libdir
=\"$libdir\"
13176 exec_prefix
="$acl_save_exec_prefix"
13177 prefix
="$acl_save_prefix"
13180 additional_includedir
="$withval/include"
13181 additional_libdir
="$withval/lib"
13192 names_already_handled
=
13193 names_next_round
='intl '
13194 while test -n "$names_next_round"; do
13195 names_this_round
="$names_next_round"
13197 for name
in $names_this_round; do
13199 for n
in $names_already_handled; do
13200 if test "$n" = "$name"; then
13201 already_handled
=yes
13205 if test -z "$already_handled"; then
13206 names_already_handled
="$names_already_handled $name"
13207 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13208 eval value
=\"\
$HAVE_LIB$uppername\"
13209 if test -n "$value"; then
13210 if test "$value" = yes; then
13211 eval value
=\"\
$LIB$uppername\"
13212 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13213 eval value
=\"\
$LTLIB$uppername\"
13214 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13223 if test $use_additional = yes; then
13224 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13225 found_dir
="$additional_libdir"
13226 found_so
="$additional_libdir/lib$name.$shlibext"
13227 if test -f "$additional_libdir/lib$name.la"; then
13228 found_la
="$additional_libdir/lib$name.la"
13231 if test -f "$additional_libdir/lib$name.$libext"; then
13232 found_dir
="$additional_libdir"
13233 found_a
="$additional_libdir/lib$name.$libext"
13234 if test -f "$additional_libdir/lib$name.la"; then
13235 found_la
="$additional_libdir/lib$name.la"
13240 if test "X$found_dir" = "X"; then
13241 for x
in $LDFLAGS $LTLIBINTL; do
13243 acl_save_prefix
="$prefix"
13244 prefix
="$acl_final_prefix"
13245 acl_save_exec_prefix
="$exec_prefix"
13246 exec_prefix
="$acl_final_exec_prefix"
13248 exec_prefix
="$acl_save_exec_prefix"
13249 prefix
="$acl_save_prefix"
13253 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13254 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13256 found_so
="$dir/lib$name.$shlibext"
13257 if test -f "$dir/lib$name.la"; then
13258 found_la
="$dir/lib$name.la"
13261 if test -f "$dir/lib$name.$libext"; then
13263 found_a
="$dir/lib$name.$libext"
13264 if test -f "$dir/lib$name.la"; then
13265 found_la
="$dir/lib$name.la"
13271 if test "X$found_dir" != "X"; then
13276 if test "X$found_dir" != "X"; then
13277 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13278 if test "X$found_so" != "X"; then
13279 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13280 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13283 for x
in $ltrpathdirs; do
13284 if test "X$x" = "X$found_dir"; then
13289 if test -z "$haveit"; then
13290 ltrpathdirs
="$ltrpathdirs $found_dir"
13292 if test "$hardcode_direct" = yes; then
13293 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13295 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13296 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13298 for x
in $rpathdirs; do
13299 if test "X$x" = "X$found_dir"; then
13304 if test -z "$haveit"; then
13305 rpathdirs
="$rpathdirs $found_dir"
13309 for x
in $LDFLAGS $LIBINTL; do
13311 acl_save_prefix
="$prefix"
13312 prefix
="$acl_final_prefix"
13313 acl_save_exec_prefix
="$exec_prefix"
13314 exec_prefix
="$acl_final_exec_prefix"
13316 exec_prefix
="$acl_save_exec_prefix"
13317 prefix
="$acl_save_prefix"
13319 if test "X$x" = "X-L$found_dir"; then
13324 if test -z "$haveit"; then
13325 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13327 if test "$hardcode_minus_L" != no
; then
13328 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13330 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13336 if test "X$found_a" != "X"; then
13337 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13339 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13342 additional_includedir
=
13343 case "$found_dir" in
13345 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13346 additional_includedir
="$basedir/include"
13349 if test "X$additional_includedir" != "X"; then
13350 if test "X$additional_includedir" != "X/usr/include"; then
13352 if test "X$additional_includedir" = "X/usr/local/include"; then
13353 if test -n "$GCC"; then
13355 linux
*) haveit
=yes;;
13359 if test -z "$haveit"; then
13360 for x
in $CPPFLAGS $INCINTL; do
13362 acl_save_prefix
="$prefix"
13363 prefix
="$acl_final_prefix"
13364 acl_save_exec_prefix
="$exec_prefix"
13365 exec_prefix
="$acl_final_exec_prefix"
13367 exec_prefix
="$acl_save_exec_prefix"
13368 prefix
="$acl_save_prefix"
13370 if test "X$x" = "X-I$additional_includedir"; then
13375 if test -z "$haveit"; then
13376 if test -d "$additional_includedir"; then
13377 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13383 if test -n "$found_la"; then
13384 save_libdir
="$libdir"
13385 case "$found_la" in
13386 */* |
*\\*) .
"$found_la" ;;
13387 *) .
"./$found_la" ;;
13389 libdir
="$save_libdir"
13390 for dep
in $dependency_libs; do
13393 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13394 if test "X$additional_libdir" != "X/usr/lib"; then
13396 if test "X$additional_libdir" = "X/usr/local/lib"; then
13397 if test -n "$GCC"; then
13399 linux
*) haveit
=yes;;
13403 if test -z "$haveit"; then
13405 for x
in $LDFLAGS $LIBINTL; do
13407 acl_save_prefix
="$prefix"
13408 prefix
="$acl_final_prefix"
13409 acl_save_exec_prefix
="$exec_prefix"
13410 exec_prefix
="$acl_final_exec_prefix"
13412 exec_prefix
="$acl_save_exec_prefix"
13413 prefix
="$acl_save_prefix"
13415 if test "X$x" = "X-L$additional_libdir"; then
13420 if test -z "$haveit"; then
13421 if test -d "$additional_libdir"; then
13422 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13426 for x
in $LDFLAGS $LTLIBINTL; do
13428 acl_save_prefix
="$prefix"
13429 prefix
="$acl_final_prefix"
13430 acl_save_exec_prefix
="$exec_prefix"
13431 exec_prefix
="$acl_final_exec_prefix"
13433 exec_prefix
="$acl_save_exec_prefix"
13434 prefix
="$acl_save_prefix"
13436 if test "X$x" = "X-L$additional_libdir"; then
13441 if test -z "$haveit"; then
13442 if test -d "$additional_libdir"; then
13443 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13450 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13451 if test "$enable_rpath" != no
; then
13453 for x
in $rpathdirs; do
13454 if test "X$x" = "X$dir"; then
13459 if test -z "$haveit"; then
13460 rpathdirs
="$rpathdirs $dir"
13463 for x
in $ltrpathdirs; do
13464 if test "X$x" = "X$dir"; then
13469 if test -z "$haveit"; then
13470 ltrpathdirs
="$ltrpathdirs $dir"
13475 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13478 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13481 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13482 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13488 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13489 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13495 if test "X$rpathdirs" != "X"; then
13496 if test -n "$hardcode_libdir_separator"; then
13498 for found_dir
in $rpathdirs; do
13499 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13501 acl_save_libdir
="$libdir"
13503 eval flag
=\"$hardcode_libdir_flag_spec\"
13504 libdir
="$acl_save_libdir"
13505 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13507 for found_dir
in $rpathdirs; do
13508 acl_save_libdir
="$libdir"
13509 libdir
="$found_dir"
13510 eval flag
=\"$hardcode_libdir_flag_spec\"
13511 libdir
="$acl_save_libdir"
13512 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13516 if test "X$ltrpathdirs" != "X"; then
13517 for found_dir
in $ltrpathdirs; do
13518 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13523 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13524 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
13525 $as_echo_n "(cached) " >&6
13527 gt_save_CPPFLAGS
="$CPPFLAGS"
13528 CPPFLAGS
="$CPPFLAGS $INCINTL"
13529 gt_save_LIBS
="$LIBS"
13530 LIBS
="$LIBS $LIBINTL"
13531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 #include <libintl.h>
13534 extern int _nl_msg_cat_cntr;
13539 const char *_nl_expand_alias ();
13543 bindtextdomain ("", "");
13544 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13549 if ac_fn_c_try_link
"$LINENO"; then :
13550 gt_cv_func_gnugettext2_libintl
=yes
13552 gt_cv_func_gnugettext2_libintl
=no
13554 rm -f core conftest.err conftest.
$ac_objext \
13555 conftest
$ac_exeext conftest.
$ac_ext
13556 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13557 LIBS
="$LIBS $LIBICONV"
13558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13560 #include <libintl.h>
13561 extern int _nl_msg_cat_cntr;
13566 const char *_nl_expand_alias ();
13570 bindtextdomain ("", "");
13571 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13576 if ac_fn_c_try_link
"$LINENO"; then :
13577 LIBINTL
="$LIBINTL $LIBICONV"
13578 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13579 gt_cv_func_gnugettext2_libintl
=yes
13582 rm -f core conftest.err conftest.
$ac_objext \
13583 conftest
$ac_exeext conftest.
$ac_ext
13585 CPPFLAGS
="$gt_save_CPPFLAGS"
13586 LIBS
="$gt_save_LIBS"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
13589 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
13592 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13593 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
13594 && test "$PACKAGE" != gettext; }; then
13595 gt_use_preinstalled_gnugettext
=yes
13603 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13604 nls_cv_use_gnu_gettext
=yes
13608 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13609 INTLOBJS
="\$(GETTOBJS)"
13610 BUILD_INCLUDED_LIBINTL
=yes
13611 USE_INCLUDED_LIBINTL
=yes
13612 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13613 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13614 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13617 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13618 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13623 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13624 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13626 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13633 if test "$USE_NLS" = "yes"; then
13635 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13636 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13638 $as_echo_n "checking how to link with libintl... " >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13640 $as_echo "$LIBINTL" >&6; }
13642 for element
in $INCINTL; do
13644 for x
in $CPPFLAGS; do
13646 acl_save_prefix
="$prefix"
13647 prefix
="$acl_final_prefix"
13648 acl_save_exec_prefix
="$exec_prefix"
13649 exec_prefix
="$acl_final_exec_prefix"
13651 exec_prefix
="$acl_save_exec_prefix"
13652 prefix
="$acl_save_prefix"
13654 if test "X$x" = "X$element"; then
13659 if test -z "$haveit"; then
13660 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13667 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13670 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13678 if test "$PACKAGE" = gettext; then
13679 BUILD_INCLUDED_LIBINTL
=yes
13687 nls_cv_header_intl
=
13688 nls_cv_header_libgt
=
13699 INTL_LIBTOOL_SUFFIX_PREFIX
=
13703 INTLLIBS
="$LIBINTL"
13710 if test $USE_INCLUDED_LIBINTL = yes; then :
13711 INCINTL
=-I\
${top_builddir}/intl
13714 if test x
$USE_NLS = xyes
; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
13717 $as_echo_n "checking for autopoint... " >&6; }
13718 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
13719 if test -n "$autopoint_version"; then :
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
13722 $as_echo "yes ($autopoint_version)" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13734 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13736 You need to install GNU gettext/gettext-tools to compile aMule with
13738 $as_echo "$as_me: WARNING:
13739 You need to install GNU gettext/gettext-tools to compile aMule with
13740 i18n support." >&2;}
13741 _mule_warning_9
=yes
13742 _mule_has_warnings
=yes
13746 if test ${USE_NLS:-no} = yes; then :
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
13749 $as_echo_n "checking for requested languages... " >&6; }
13750 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
13752 if test ${enable_amule_daemon:-no} = yes; then :
13754 if test -z "$LINGUAS"; then :
13755 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
13758 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13759 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
13762 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
13765 AMULE_DAEMON_MANPAGES
=
13770 if test ${enable_amulecmd:-no} = yes; then :
13772 if test -z "$LINGUAS"; then :
13773 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
13776 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13777 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
13780 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
13788 if test ${enable_webserver:-no} = yes; then :
13790 if test -z "$LINGUAS"; then :
13791 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
13794 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13795 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
13798 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
13801 WEBSERVER_MANPAGES
=
13806 if test ${enable_amule_gui:-no} = yes; then :
13808 if test -z "$LINGUAS"; then :
13809 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
13812 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13813 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
13816 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
13819 AMULE_GUI_MANPAGES
=
13824 if test ${enable_cas:-no} = yes; then :
13826 if test -z "$LINGUAS"; then :
13827 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
13830 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13831 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
13834 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
13842 if test ${enable_wxcas:-no} = yes; then :
13844 if test -z "$LINGUAS"; then :
13845 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
13848 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13849 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
13852 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
13860 if test ${enable_ed2k:-yes} = yes; then :
13862 if test -z "$LINGUAS"; then :
13863 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
13866 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13867 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
13870 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
13878 if test ${enable_alc:-no} = yes; then :
13880 if test -z "$LINGUAS"; then :
13881 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
13884 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13885 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
13888 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
13896 if test ${enable_alcc:-no} = yes; then :
13898 if test -z "$LINGUAS"; then :
13899 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
13902 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13903 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
13906 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
13914 if test ${enable_monolithic:-yes} = yes; then :
13916 if test -z "$LINGUAS"; then :
13917 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
13920 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13921 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
13924 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
13927 MONOLITHIC_MANPAGES
=
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
13932 $as_echo "${LINGUAS:-all}" >&6; }
13938 # Check for bfd.h (to have proper backtraces without using wxExecute)
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
13941 $as_echo_n "checking for bfd... " >&6; }
13943 for bfd_ldadd
in "" "${LIBINTL}" "-ldl" "-ldl ${LIBINTL}"; do
13944 mule_backup_LIBS
="$LIBS"
13945 mule_backup_LDFLAGS
="$LDFLAGS"
13946 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
13947 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13952 #include <ansidecl.h>
13959 char *dummy = bfd_errmsg(bfd_get_error());
13966 if ac_fn_c_try_link
"$LINENO"; then :
13969 BFD_CPPFLAGS
="-DHAVE_BFD"
13970 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
13971 LIBS
="$mule_backup_LIBS"
13972 LDFLAGS
="$mule_backup_LDFLAGS"
13976 rm -f core conftest.err conftest.
$ac_objext \
13977 conftest
$ac_exeext conftest.
$ac_ext
13978 LIBS
="$mule_backup_LIBS"
13979 LDFLAGS
="$mule_backup_LDFLAGS"
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13983 $as_echo "$result" >&6; }
13985 if test $result = no
; then :
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13987 bfd.h not found or unusable, please install binutils development
13988 package if you are a developer or want to help testing aMule" >&5
13989 $as_echo "$as_me: WARNING:
13990 bfd.h not found or unusable, please install binutils development
13991 package if you are a developer or want to help testing aMule" >&2;}
13992 _mule_warning_10
=yes
13993 _mule_has_warnings
=yes
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
14000 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
14001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14005 #include <execinfo.h>
14012 int n = backtrace(&bt, 1);
14013 const char **bt_syms = backtrace_symbols(bt, n);
14020 if ac_fn_c_try_link
"$LINENO"; then :
14023 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14026 $as_echo "yes" >&6; }
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14034 rm -f core conftest.err conftest.
$ac_objext \
14035 conftest
$ac_exeext conftest.
$ac_ext
14038 # Flush standard test results for speeding cache
14039 cat >confcache
<<\_ACEOF
14040 # This file is a shell script that caches the results of configure
14041 # tests run on this system so they can be shared between configure
14042 # scripts and configure runs, see configure's option --config-cache.
14043 # It is not useful on other systems. If it contains results you don't
14044 # want to keep, you may remove or edit it.
14046 # config.status only pays attention to the cache file if you give it
14047 # the --recheck option to rerun configure.
14049 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14050 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14051 # following values.
14055 # The following way of writing the cache mishandles newlines in values,
14056 # but we know of no workaround that is simple, portable, and efficient.
14057 # So, we kill variables containing newlines.
14058 # Ultrix sh set writes to stderr and can't be redirected directly,
14059 # and sets the high bit in the cache file unless we assign to the vars.
14061 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14062 eval ac_val
=\$
$ac_var
14066 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14070 _ | IFS | as_nl
) ;; #(
14071 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14072 *) { eval $ac_var=; unset $ac_var;} ;;
14078 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14079 *${as_nl}ac_space
=\
*)
14080 # `set' does not quote correctly, so add quotes: double-quote
14081 # substitution turns \\\\ into \\, and sed turns \\ into \.
14084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14087 # `set' quotes correctly as required by POSIX, so do not add quotes.
14088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14097 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14099 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14101 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14102 if test -w "$cache_file"; then
14103 test "x$cache_file" != "x/dev/null" &&
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14105 $as_echo "$as_me: updating cache $cache_file" >&6;}
14106 cat confcache
>$cache_file
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14109 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14117 # Check whether --enable-debug was given.
14118 if test "${enable_debug+set}" = set; then :
14119 enableval
=$enable_debug;
14123 # Check whether --enable-profile was given.
14124 if test "${enable_profile+set}" = set; then :
14125 enableval
=$enable_profile;
14129 # Check whether --enable-optimize was given.
14130 if test "${enable_optimize+set}" = set; then :
14131 enableval
=$enable_optimize;
14136 if test ${enable_debug:-yes} = yes; then :
14138 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
14140 MULECFLAGS
="$MULECFLAGS -g"
14141 MULECXXFLAGS
="$MULECXXFLAGS -g"
14143 if test ${GLIBCXX:-no} = yes; then :
14144 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
14146 if test ${GCC:-no} = yes; then :
14148 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14149 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14152 if test ${SYS:-unknown} = win32
; then :
14153 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
14158 if test ${GCC:-no} = yes; then :
14160 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
14161 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
14167 if test ${enable_profile:-no} = yes; then :
14170 MULECFLAGS
="$MULECFLAGS -pg"
14171 MULECXXFLAGS
="$MULECXXFLAGS -pg"
14173 MULELDFLAGS
="$MULELDFLAGS -pg"
14177 if test ${enable_optimize:-no} = yes; then :
14179 MULECFLAGS
="$MULECFLAGS -O2"
14180 MULECXXFLAGS
="$MULECXXFLAGS -O2"
14184 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
14187 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
14189 $as_echo_n "checking for docdir... " >&6; }
14190 if test -z "$docdir"; then :
14191 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
14194 $as_echo "$docdir" >&6; }
14196 # Try to set the SVN checkout-date
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
14198 $as_echo_n "checking for SVNDATE... " >&6; }
14199 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
14201 svndate
="rev. `cat $srcdir/.svn-revision`"
14202 elif test -d $srcdir/.svn
# SVNDATE for svn
14204 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
14207 $as_echo "${svndate:-None required}" >&6; }
14208 if test -n "$svndate"; then :
14211 cat >>confdefs.h
<<_ACEOF
14212 #define SVNDATE "$svndate"
14215 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
14222 # Check whether --with-denoise-level was given.
14223 if test "${with_denoise_level+set}" = set; then :
14224 withval
=$with_denoise_level;
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
14229 $as_echo_n "checking denoising level... " >&6; }
14230 if test ${with_denoise_level:-5} = yes; then :
14231 with_denoise_level
=5
14233 if test ${with_denoise_level:-5} = no
; then :
14234 with_denoise_level
=0
14236 if test ${with_denoise_level:-5} -gt 4; then :
14237 if test "${svndate:+set}" = "set"; then :
14238 with_denoise_level
=0
14240 with_denoise_level
=4
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
14244 $as_echo "$with_denoise_level" >&6; }
14246 ac_config_commands
="$ac_config_commands denoiser"
14250 if test ${enable_plasmamule:-no} = yes; then :
14253 if test -z ${QT_MOC}; then :
14255 for ac_prog
in moc-qt4 moc
14257 # Extract the first word of "$ac_prog", so it can be a program name with args.
14258 set dummy
$ac_prog; ac_word
=$2
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14260 $as_echo_n "checking for $ac_word... " >&6; }
14261 if test "${ac_cv_path_QT_MOC+set}" = set; then :
14262 $as_echo_n "(cached) " >&6
14266 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
14269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14270 for as_dir
in $PATH
14273 test -z "$as_dir" && as_dir
=.
14274 for ac_exec_ext
in '' $ac_executable_extensions; do
14275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14276 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
14277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14287 QT_MOC
=$ac_cv_path_QT_MOC
14288 if test -n "$QT_MOC"; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
14290 $as_echo "$QT_MOC" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14293 $as_echo "no" >&6; }
14297 test -n "$QT_MOC" && break
14300 if test -z ${QT_MOC}; then :
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
14310 $as_echo_n "checking for moc... " >&6; }
14311 if test -x ${QT_MOC}; then :
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
14314 $as_echo "${QT_MOC}" >&6; }
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
14320 $as_echo "\"not found\"" >&6; }
14329 if test "${QT_MOC}" != "not found"; then :
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
14332 $as_echo_n "checking for moc version >= 4... " >&6; }
14333 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
14334 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
14337 $as_echo "found ${QT_MOC_VERSION}" >&6; }
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
14342 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
14350 if test "${QT_MOC}" = "not found"; then :
14351 enable_plasmamule
=disabled
14354 if test ${enable_plasmamule:-no} = yes; then :
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
14359 $as_echo_n "checking for qt... " >&6; }
14360 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14363 $as_echo "found" >&6; }
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
14365 $as_echo_n "checking for qt core cflags... " >&6; }
14366 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
14368 $as_echo "$QT_CORE_CFLAGS" >&6; }
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
14370 $as_echo_n "checking for qt core libs... " >&6; }
14371 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
14373 $as_echo "$QT_CORE_LIBS" >&6; }
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
14375 $as_echo_n "checking for qt gui cflags... " >&6; }
14376 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
14378 $as_echo "$QT_GUI_CFLAGS" >&6; }
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
14380 $as_echo_n "checking for qt gui libs... " >&6; }
14381 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
14383 $as_echo "$QT_GUI_LIBS" >&6; }
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14387 $as_echo "not found" >&6; }
14392 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
14394 QT_DBUS_LDFLAGS
="-lQtDBus"
14404 if test -z "${QT_CORE_CXXFLAGS}"; then :
14405 enable_plasmamule
=disabled
14410 if test ${enable_plasmamule:-no} = yes; then :
14413 if test -z ${KDE4_CONFIG}; then :
14415 # Extract the first word of "kde4-config", so it can be a program name with args.
14416 set dummy kde4-config
; ac_word
=$2
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14418 $as_echo_n "checking for $ac_word... " >&6; }
14419 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
14420 $as_echo_n "(cached) " >&6
14422 case $KDE4_CONFIG in
14424 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
14427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14428 for as_dir
in $PATH
14431 test -z "$as_dir" && as_dir
=.
14432 for ac_exec_ext
in '' $ac_executable_extensions; do
14433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14434 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14445 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
14446 if test -n "$KDE4_CONFIG"; then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
14448 $as_echo "$KDE4_CONFIG" >&6; }
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451 $as_echo "no" >&6; }
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
14459 $as_echo_n "checking for kde4-config... " >&6; }
14460 if test ! -x KDE4_CONFIG
; then :
14462 KDE4_CONFIG
="not found"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14464 $as_echo "not found" >&6; }
14471 if test "${KDE4_CONFIG}" != "not found"; then :
14473 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
14474 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
14477 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
14482 $as_echo "at least version
4 required
" >&6; }
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14490 $as_echo "not found
" >&6; }
14496 if test "${KDE4_CONFIG}" = "not found
"; then :
14497 enable_plasmamule=disabled
14502 if test ${enable_plasmamule:-no} = yes; then :
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
14506 $as_echo_n "checking
for kde4 headers...
" >&6; }
14507 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
14509 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
14511 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
14514 $as_echo "${KDE_HEADER_DIR}" >&6; }
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
14519 $as_echo "dataengine.h not found
" >&6; }
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
14527 $as_echo "kdirwatch.h not found
" >&6; }
14533 if test -z ${KDE_HEADER_DIR}; then :
14534 enable_plasmamule=disabled
14539 if test ${enable_plasmamule:-no} = yes; then :
14541 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
14542 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
14547 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
14548 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14553 if test ${KDE_IN_HOME} = "yes"; then :
14555 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14559 if test -n ${prefix}; then :
14561 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
14562 if test -n ${KDE_APPLNK_PATH}; then :
14564 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14570 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
14576 $as_echo "${KDE_APPLNK_PATH}" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
14582 $as_echo_n "checking
for kde4 services Path...
" >&6; }
14583 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14588 if test ${KDE_IN_HOME} = "yes"; then :
14590 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14594 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
14598 $as_echo "${KDE_SERVICE_PATH}" >&6; }
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
14604 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
14605 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14610 if test ${KDE_IN_HOME} = "yes"; then :
14612 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14616 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
14620 $as_echo "${KDE_MODULE_PATH}" >&6; }
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
14626 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
14627 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14632 if test ${KDE_IN_HOME} = "yes"; then :
14634 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14638 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
14641 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
14643 $as_echo "${KDE_ICON_PATH}" >&6; }
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
14649 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
14650 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14655 if test ${KDE_IN_HOME} = "yes"; then :
14657 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14661 if test -n ${prefix}; then :
14663 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
14664 if test -n ${KDE_MIME_PATH}; then :
14666 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14672 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
14678 $as_echo "${KDE_MIME_PATH}" >&6; }
14683 enable_plasmamule=disabled
14688 if test ${enable_plasmamule:-no} = yes; then :
14690 if test -z ${DEB_HOST_ARCH}; then :
14693 for ac_prog in kbuildsycoca4 kbuildsycoca
14695 # Extract the first word of "$ac_prog", so it can be a program name with args.
14696 set dummy $ac_prog; ac_word=$2
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14698 $as_echo_n "checking
for $ac_word...
" >&6; }
14699 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
14700 $as_echo_n "(cached
) " >&6
14702 case $KBUILDSYCOCA in
14704 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
14707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14708 for as_dir in $PATH
14711 test -z "$as_dir" && as_dir=.
14712 for ac_exec_ext in '' $ac_executable_extensions; do
14713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14714 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
14715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14725 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
14726 if test -n "$KBUILDSYCOCA"; then
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
14728 $as_echo "$KBUILDSYCOCA" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14731 $as_echo "no
" >&6; }
14735 test -n "$KBUILDSYCOCA" && break
14739 if test -z ${KBUILDSYCOCA}; then :
14741 echo "No tool
for KDE Systemcache Management found
"
14748 # Extract the first word of "update-mime-database
", so it can be a program name with args.
14749 set dummy update-mime-database; ac_word=$2
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14751 $as_echo_n "checking
for $ac_word...
" >&6; }
14752 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
14753 $as_echo_n "(cached
) " >&6
14755 case $UPDATE_MIME_DATABASE in
14757 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
14760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14761 for as_dir in $PATH
14764 test -z "$as_dir" && as_dir=.
14765 for ac_exec_ext in '' $ac_executable_extensions; do
14766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14767 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14778 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14779 if test -n "$UPDATE_MIME_DATABASE"; then
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
14781 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14784 $as_echo "no
" >&6; }
14789 if test -z ${UPDATE_MIME_DATABASE}; then :
14791 echo "No tool
for MIME Datanase Management found
"
14798 USER_INSTALL_HOOK="USER_INSTALL
"
14806 if test ${enable_debug:-yes} = yes; then :
14808 DEBUGFLAG="-D__DEBUG__"
14815 if test x$SYS = xwin32; then
14817 SYS_WIN32_FALSE='#'
14823 if test x$SYS = xwin32 -a "$RC" != ":"; then
14831 if test x$SYS = xdarwin; then
14832 NEED_CORESERVICES_TRUE=
14833 NEED_CORESERVICES_FALSE='#'
14835 NEED_CORESERVICES_TRUE='#'
14836 NEED_CORESERVICES_FALSE=
14839 if test x$USE_NLS = xyes; then
14841 COMPILE_NLS_FALSE='#'
14843 COMPILE_NLS_TRUE='#'
14847 if test x$HAVE_FLEX_EXTENDED = xyes; then
14848 GENERATE_FLEX_HEADER_TRUE=
14849 GENERATE_FLEX_HEADER_FALSE='#'
14851 GENERATE_FLEX_HEADER_TRUE='#'
14852 GENERATE_FLEX_HEADER_FALSE=
14855 if test x$INSTALL_SKINS = xyes; then
14856 INSTALL_SKINS_TRUE=
14857 INSTALL_SKINS_FALSE='#'
14859 INSTALL_SKINS_TRUE='#'
14860 INSTALL_SKINS_FALSE=
14863 if test ${enable_plasmamule:-no} = yes; then
14865 PLASMAMULE_FALSE='#'
14867 PLASMAMULE_TRUE='#'
14872 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
14873 COMPILE_LIB_COMMON_TRUE=
14874 COMPILE_LIB_COMMON_FALSE='#'
14876 COMPILE_LIB_COMMON_TRUE='#'
14877 COMPILE_LIB_COMMON_FALSE=
14880 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
14881 COMPILE_LIB_EC_TRUE=
14882 COMPILE_LIB_EC_FALSE='#'
14884 COMPILE_LIB_EC_TRUE='#'
14885 COMPILE_LIB_EC_FALSE=
14889 # Check for readline library
14890 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
14893 $as_echo_n "checking
for a readline compatible library...
" >&6; }
14894 if test "${vl_cv_lib_readline+set}" = set; then :
14895 $as_echo_n "(cached
) " >&6
14899 for readline_lib in readline edit editline; do
14900 for termcap_lib in "" termcap curses ncurses; do
14901 if test -z "$termcap_lib"; then
14902 TRY_LIB="-l$readline_lib"
14904 TRY_LIB="-l$readline_lib -l$termcap_lib"
14906 LIBS="$ORIG_LIBS $TRY_LIB"
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14920 return readline ();
14925 if ac_fn_c_try_link "$LINENO"; then :
14926 vl_cv_lib_readline="$TRY_LIB"
14928 rm -f core conftest.err conftest.$ac_objext \
14929 conftest$ac_exeext conftest.$ac_ext
14930 if test -n "$vl_cv_lib_readline"; then
14934 if test -n "$vl_cv_lib_readline"; then
14938 if test -z "$vl_cv_lib_readline"; then
14939 vl_cv_lib_readline="no
"
14943 READLINE_LIBS="$vl_cv_lib_readline"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
14948 $as_echo "$vl_cv_lib_readline" >&6; }
14950 if test "$vl_cv_lib_readline" != "no
"; then
14952 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14954 for ac_header
in readline.h readline
/readline.h
14956 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14957 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14958 eval as_val
=\$
$as_ac_Header
14959 if test "x$as_val" = x
""yes; then :
14960 cat >>confdefs.h
<<_ACEOF
14961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14969 $as_echo_n "checking whether readline supports history... " >&6; }
14970 if test "${vl_cv_lib_readline_history+set}" = set; then :
14971 $as_echo_n "(cached) " >&6
14974 vl_cv_lib_readline_history
="no"
14975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14984 char add_history ();
14988 return add_history ();
14993 if ac_fn_c_try_link
"$LINENO"; then :
14994 vl_cv_lib_readline_history
="yes"
14996 rm -f core conftest.err conftest.
$ac_objext \
14997 conftest
$ac_exeext conftest.
$ac_ext
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
15001 $as_echo "$vl_cv_lib_readline_history" >&6; }
15002 if test "$vl_cv_lib_readline_history" = "yes"; then
15004 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
15006 for ac_header
in history.h readline
/history.h
15008 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15009 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15010 eval as_val
=\$
$as_ac_Header
15011 if test "x$as_val" = x
""yes; then :
15012 cat >>confdefs.h
<<_ACEOF
15013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15027 if test ${PLASMAMULE:-no} = yes; then :
15030 if test -z ${QT_MOC}; then :
15032 for ac_prog
in moc-qt4 moc
15034 # Extract the first word of "$ac_prog", so it can be a program name with args.
15035 set dummy
$ac_prog; ac_word
=$2
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15037 $as_echo_n "checking for $ac_word... " >&6; }
15038 if test "${ac_cv_path_QT_MOC+set}" = set; then :
15039 $as_echo_n "(cached) " >&6
15043 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15047 for as_dir
in $PATH
15050 test -z "$as_dir" && as_dir
=.
15051 for ac_exec_ext
in '' $ac_executable_extensions; do
15052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15053 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15064 QT_MOC
=$ac_cv_path_QT_MOC
15065 if test -n "$QT_MOC"; then
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15067 $as_echo "$QT_MOC" >&6; }
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15070 $as_echo "no" >&6; }
15074 test -n "$QT_MOC" && break
15077 if test -z ${QT_MOC}; then :
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15087 $as_echo_n "checking for moc... " >&6; }
15088 if test -x ${QT_MOC}; then :
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15091 $as_echo "${QT_MOC}" >&6; }
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15097 $as_echo "\"not found\"" >&6; }
15106 if test "${QT_MOC}" != "not found"; then :
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15109 $as_echo_n "checking for moc version >= 4... " >&6; }
15110 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15111 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15114 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15119 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15127 if test "${QT_MOC}" = "not found"; then :
15128 enable_plasmamule
=disabled
15131 if test ${enable_plasmamule:-no} = yes; then :
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15136 $as_echo_n "checking for qt... " >&6; }
15137 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15140 $as_echo "found" >&6; }
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15142 $as_echo_n "checking for qt core cflags... " >&6; }
15143 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15145 $as_echo "$QT_CORE_CFLAGS" >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15147 $as_echo_n "checking for qt core libs... " >&6; }
15148 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15150 $as_echo "$QT_CORE_LIBS" >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15152 $as_echo_n "checking for qt gui cflags... " >&6; }
15153 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15155 $as_echo "$QT_GUI_CFLAGS" >&6; }
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15157 $as_echo_n "checking for qt gui libs... " >&6; }
15158 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15160 $as_echo "$QT_GUI_LIBS" >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15164 $as_echo "not found" >&6; }
15169 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
15171 QT_DBUS_LDFLAGS
="-lQtDBus"
15181 if test -z "${QT_CORE_CXXFLAGS}"; then :
15182 enable_plasmamule
=disabled
15187 if test ${enable_plasmamule:-no} = yes; then :
15190 if test -z ${KDE4_CONFIG}; then :
15192 # Extract the first word of "kde4-config", so it can be a program name with args.
15193 set dummy kde4-config
; ac_word
=$2
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15195 $as_echo_n "checking for $ac_word... " >&6; }
15196 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
15197 $as_echo_n "(cached) " >&6
15199 case $KDE4_CONFIG in
15201 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15205 for as_dir
in $PATH
15208 test -z "$as_dir" && as_dir
=.
15209 for ac_exec_ext
in '' $ac_executable_extensions; do
15210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15211 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15222 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15223 if test -n "$KDE4_CONFIG"; then
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15225 $as_echo "$KDE4_CONFIG" >&6; }
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15228 $as_echo "no" >&6; }
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15236 $as_echo_n "checking for kde4-config... " >&6; }
15237 if test ! -x KDE4_CONFIG
; then :
15239 KDE4_CONFIG
="not found"
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15241 $as_echo "not found" >&6; }
15248 if test "${KDE4_CONFIG}" != "not found"; then :
15250 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15251 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15254 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15259 $as_echo "at least version
4 required
" >&6; }
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15267 $as_echo "not found
" >&6; }
15273 if test "${KDE4_CONFIG}" = "not found
"; then :
15274 enable_plasmamule=disabled
15279 if test ${enable_plasmamule:-no} = yes; then :
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15283 $as_echo_n "checking
for kde4 headers...
" >&6; }
15284 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15286 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15288 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15291 $as_echo "${KDE_HEADER_DIR}" >&6; }
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15296 $as_echo "dataengine.h not found
" >&6; }
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15304 $as_echo "kdirwatch.h not found
" >&6; }
15310 if test -z ${KDE_HEADER_DIR}; then :
15311 enable_plasmamule=disabled
15316 if test ${enable_plasmamule:-no} = yes; then :
15318 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15319 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15324 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15325 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15330 if test ${KDE_IN_HOME} = "yes"; then :
15332 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15336 if test -n ${prefix}; then :
15338 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15339 if test -n ${KDE_APPLNK_PATH}; then :
15341 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15347 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15353 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15359 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15360 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15365 if test ${KDE_IN_HOME} = "yes"; then :
15367 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15371 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15375 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15381 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15382 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15387 if test ${KDE_IN_HOME} = "yes"; then :
15389 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15393 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15397 $as_echo "${KDE_MODULE_PATH}" >&6; }
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15403 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15404 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15409 if test ${KDE_IN_HOME} = "yes"; then :
15411 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15415 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15418 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15420 $as_echo "${KDE_ICON_PATH}" >&6; }
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15426 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15427 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15432 if test ${KDE_IN_HOME} = "yes"; then :
15434 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15438 if test -n ${prefix}; then :
15440 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15441 if test -n ${KDE_MIME_PATH}; then :
15443 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15449 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15455 $as_echo "${KDE_MIME_PATH}" >&6; }
15460 enable_plasmamule=disabled
15465 if test ${enable_plasmamule:-no} = yes; then :
15467 if test -z ${DEB_HOST_ARCH}; then :
15470 for ac_prog in kbuildsycoca4 kbuildsycoca
15472 # Extract the first word of "$ac_prog", so it can be a program name with args.
15473 set dummy $ac_prog; ac_word=$2
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15475 $as_echo_n "checking
for $ac_word...
" >&6; }
15476 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
15477 $as_echo_n "(cached
) " >&6
15479 case $KBUILDSYCOCA in
15481 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
15484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15485 for as_dir in $PATH
15488 test -z "$as_dir" && as_dir=.
15489 for ac_exec_ext in '' $ac_executable_extensions; do
15490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15491 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
15492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15502 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
15503 if test -n "$KBUILDSYCOCA"; then
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
15505 $as_echo "$KBUILDSYCOCA" >&6; }
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15508 $as_echo "no
" >&6; }
15512 test -n "$KBUILDSYCOCA" && break
15516 if test -z ${KBUILDSYCOCA}; then :
15518 echo "No tool
for KDE Systemcache Management found
"
15525 # Extract the first word of "update-mime-database
", so it can be a program name with args.
15526 set dummy update-mime-database; ac_word=$2
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15528 $as_echo_n "checking
for $ac_word...
" >&6; }
15529 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
15530 $as_echo_n "(cached
) " >&6
15532 case $UPDATE_MIME_DATABASE in
15534 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15538 for as_dir in $PATH
15541 test -z "$as_dir" && as_dir=.
15542 for ac_exec_ext in '' $ac_executable_extensions; do
15543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15544 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15555 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15556 if test -n "$UPDATE_MIME_DATABASE"; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
15558 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15561 $as_echo "no
" >&6; }
15566 if test -z ${UPDATE_MIME_DATABASE}; then :
15568 echo "No tool
for MIME Datanase Management found
"
15575 USER_INSTALL_HOOK="USER_INSTALL
"
15583 if test ${enable_debug:-yes} = yes; then :
15585 DEBUGFLAG="-D__DEBUG__"
15592 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
15595 # Check whether --enable-ccache was given.
15596 if test "${enable_ccache+set}" = set; then :
15597 enableval=$enable_ccache;
15603 # Check whether --with-ccache-prefix was given.
15604 if test "${with_ccache_prefix+set}" = set; then :
15605 withval=$with_ccache_prefix;
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added
" >&5
15610 $as_echo_n "checking whether ccache support should be added...
" >&6; }
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15612 $as_echo "${enable_ccache:-no}" >&6; }
15614 if test ${enable_ccache:-no} = yes; then :
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ccache presence
" >&5
15617 $as_echo_n "checking
for ccache presence...
" >&6; }
15618 if test -z "$with_ccache_prefix"; then :
15620 ccache_full=`which ccache`
15621 with_ccache_prefix=`dirname ${ccache_full}`
15624 if $with_ccache_prefix/ccache -V >/dev/null 2>&1; then :
15626 CC="$with_ccache_prefix/ccache
$CC"
15627 CXX="$with_ccache_prefix/ccache
$CXX"
15628 BUILD_CC="$with_ccache_prefix/ccache
$BUILD_CC"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15634 $as_echo "${enable_ccache:-no}" >&6; }
15639 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
"
15641 ac_config_files="$ac_config_files po
/Makefile.
in Compilation.flags
"
15643 if test x$SYS = xwin32; then :
15644 ac_config_files="$ac_config_files version.rc
"
15647 cat >confcache <<\_ACEOF
15648 # This file is a shell script that caches the results of configure
15649 # tests run on this system so they can be shared between configure
15650 # scripts and configure runs, see configure's option --config-cache.
15651 # It is not useful on other systems. If it contains results you don't
15652 # want to keep, you may remove or edit it.
15654 # config.status only pays attention to the cache file if you give it
15655 # the --recheck option to rerun configure.
15657 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15658 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15659 # following values.
15663 # The following way of writing the cache mishandles newlines in values,
15664 # but we know of no workaround that is simple, portable, and efficient.
15665 # So, we kill variables containing newlines.
15666 # Ultrix sh set writes to stderr and can't be redirected directly,
15667 # and sets the high bit in the cache file unless we assign to the vars.
15669 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15670 eval ac_val=\$$ac_var
15674 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15675 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15678 _ | IFS | as_nl) ;; #(
15679 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15680 *) { eval $ac_var=; unset $ac_var;} ;;
15686 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15687 *${as_nl}ac_space=\ *)
15688 # `set' does not quote correctly, so add quotes: double-quote
15689 # substitution turns \\\\ into \\, and sed turns \\ into \.
15692 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15695 # `set' quotes correctly as required by POSIX, so do not add quotes.
15696 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15705 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15707 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15709 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15710 if test -w "$cache_file"; then
15711 test "x
$cache_file" != "x
/dev
/null
" &&
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15713 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15714 cat confcache >$cache_file
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15717 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15722 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15723 # Let make expand exec_prefix.
15724 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15726 DEFS=-DHAVE_CONFIG_H
15730 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
15731 # 1. Remove the extension, and $U if already installed.
15732 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15733 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15735 # will be set to the directory where LIBOBJS objects are built.
15736 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
15737 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
15739 LIBOBJS=$ac_libobjs
15741 LTLIBOBJS=$ac_ltlibobjs
15744 if test -n "$EXEEXT"; then
15746 am__EXEEXT_FALSE='#'
15748 am__EXEEXT_TRUE='#'
15752 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15753 as_fn_error "conditional
\"MAINTAINER_MODE
\" was never defined.
15754 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15756 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15757 as_fn_error "conditional
\"AMDEP
\" was never defined.
15758 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15760 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15761 as_fn_error "conditional
\"am__fastdepCXX
\" was never defined.
15762 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15764 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15765 as_fn_error "conditional
\"am__fastdepCC
\" was never defined.
15766 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15768 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
15769 as_fn_error "conditional
\"MONOLITHIC
\" was never defined.
15770 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15772 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
15773 as_fn_error "conditional
\"AMULE_DAEMON
\" was never defined.
15774 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15776 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
15777 as_fn_error "conditional
\"COMPILE_CMD
\" was never defined.
15778 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15780 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
15781 as_fn_error "conditional
\"WEB
\" was never defined.
15782 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15784 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
15785 as_fn_error "conditional
\"AMULE_GUI
\" was never defined.
15786 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15788 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
15789 as_fn_error "conditional
\"CAS
\" was never defined.
15790 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15792 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
15793 as_fn_error "conditional
\"WXCAS
\" was never defined.
15794 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15796 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
15797 as_fn_error "conditional
\"ED2K
\" was never defined.
15798 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15800 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
15801 as_fn_error "conditional
\"ALC
\" was never defined.
15802 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15804 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
15805 as_fn_error "conditional
\"ALCC
\" was never defined.
15806 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15808 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
15809 as_fn_error "conditional
\"XAS
\" was never defined.
15810 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15812 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
15813 as_fn_error "conditional
\"FILEVIEW
\" was never defined.
15814 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15816 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
15817 as_fn_error "conditional
\"SYS_WIN32
\" was never defined.
15818 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15820 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
15821 as_fn_error "conditional
\"NEED_RC
\" was never defined.
15822 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15824 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
15825 as_fn_error "conditional
\"NEED_CORESERVICES
\" was never defined.
15826 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15828 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
15829 as_fn_error "conditional
\"COMPILE_NLS
\" was never defined.
15830 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15832 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
15833 as_fn_error "conditional
\"GENERATE_FLEX_HEADER
\" was never defined.
15834 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15836 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
15837 as_fn_error "conditional
\"INSTALL_SKINS
\" was never defined.
15838 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15840 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
15841 as_fn_error "conditional
\"PLASMAMULE
\" was never defined.
15842 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15844 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
15845 as_fn_error "conditional
\"COMPILE_LIB_COMMON
\" was never defined.
15846 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15848 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
15849 as_fn_error "conditional
\"COMPILE_LIB_EC
\" was never defined.
15850 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15853 : ${CONFIG_STATUS=./config.status}
15855 ac_clean_files_save=$ac_clean_files
15856 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
15858 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
15860 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15862 # Generated by $as_me.
15863 # Run this file to recreate the current configuration.
15864 # Compiler output produced by configure, useful for debugging
15865 # configure, is in config.log if it exists.
15868 ac_cs_recheck=false
15871 SHELL=\${CONFIG_SHELL-$SHELL}
15874 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15875 ## -------------------- ##
15876 ## M4sh Initialization. ##
15877 ## -------------------- ##
15879 # Be more Bourne compatible
15880 DUALCASE=1; export DUALCASE # for MKS sh
15881 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15884 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15885 # is contrary to our usage. Disable this feature.
15886 alias -g '${1+"$@"}'='"$@
"'
15887 setopt NO_GLOB_SUBST
15889 case `(set -o) 2>/dev/null` in #(
15901 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15902 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15905 # Prefer a ksh shell builtin over an external printf program on Solaris,
15906 # but without wasting forks for bash or zsh.
15907 if test -z "$BASH_VERSION$ZSH_VERSION" \
15908 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
15909 as_echo='print -r --'
15910 as_echo_n='print -rn --'
15911 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
15912 as_echo='printf %s\n'
15913 as_echo_n='printf %s'
15915 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
15916 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15917 as_echo_n='/usr/ucb/echo -n'
15919 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
15920 as_echo_n_body='eval
15924 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
15925 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
15927 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
15929 export as_echo_n_body
15930 as_echo_n='sh -c $as_echo_n_body as_echo'
15932 export as_echo_body
15933 as_echo='sh -c $as_echo_body as_echo'
15936 # The user is always right.
15937 if test "${PATH_SEPARATOR+set}" != set; then
15939 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15940 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15947 # We need space, tab and new line, in precisely that order. Quoting is
15948 # there to prevent editors from complaining about space-tab.
15949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15950 # splitting by setting IFS to empty value.)
15953 # Find who we are. Look in the path if we contain no directory separator.
15955 *[\\/]* ) as_myself=$0 ;;
15956 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15957 for as_dir in $PATH
15960 test -z "$as_dir" && as_dir=.
15961 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15967 # We did not find ourselves, most probably we were run as `sh COMMAND'
15968 # in which case we are not to be found in the path.
15969 if test "x
$as_myself" = x; then
15972 if test ! -f "$as_myself"; then
15973 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
15977 # Unset variables that we do not need and which cause bugs (e.g. in
15978 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
15979 # suppresses any "Segmentation fault
" message there. '((' could
15980 # trigger a bug in pdksh 5.2.14.
15981 for as_var in BASH_ENV ENV MAIL MAILPATH
15982 do eval test x\${$as_var+set} = xset \
15983 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15996 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15999 # as_fn_error ERROR [LINENO LOG_FD]
16000 # ---------------------------------
16001 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
16002 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16003 # script with status $?, using 1 if that was 0.
16006 as_status=$?; test $as_status -eq 0 && as_status=1
16008 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16009 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
16011 $as_echo "$as_me: error
: $1" >&2
16012 as_fn_exit $as_status
16016 # as_fn_set_status STATUS
16017 # -----------------------
16018 # Set $? to STATUS, without forking.
16019 as_fn_set_status ()
16022 } # as_fn_set_status
16024 # as_fn_exit STATUS
16025 # -----------------
16026 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16030 as_fn_set_status $1
16036 # Portably unset VAR.
16039 { eval $1=; unset $1;}
16041 as_unset=as_fn_unset
16042 # as_fn_append VAR VALUE
16043 # ----------------------
16044 # Append the text in VALUE to the end of the definition contained in VAR. Take
16045 # advantage of any shell optimizations that allow amortized linear growth over
16046 # repeated appends, instead of the typical quadratic growth present in naive
16048 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
16049 eval 'as_fn_append ()
16060 # as_fn_arith ARG...
16061 # ------------------
16062 # Perform arithmetic evaluation on the ARGs, and store the result in the
16063 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16064 # must be portable across $(()) and expr.
16065 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
16066 eval 'as_fn_arith ()
16073 as_val=`expr "$@
" || test $? -eq 1`
16078 if expr a : '\(a\)' >/dev/null 2>&1 &&
16079 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
16085 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
16086 as_basename=basename
16091 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
16097 as_me=`$as_basename -- "$0" ||
16098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16099 X"$0" : 'X\(//\)$' \| \
16100 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16102 sed '/^.*\/\([^/][^/]*\)\/*$/{
16116 # Avoid depending upon Character Ranges.
16117 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16118 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16119 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16120 as_cr_digits='0123456789'
16121 as_cr_alnum=$as_cr_Letters$as_cr_digits
16123 ECHO_C= ECHO_N= ECHO_T=
16124 case `echo -n x` in #(((((
16126 case `echo 'xy\c'` in
16127 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16129 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16136 rm -f conf$$ conf$$.exe conf$$.file
16137 if test -d conf$$.dir; then
16138 rm -f conf$$.dir/conf$$.file
16141 mkdir conf$$.dir 2>/dev/null
16143 if (echo >conf$$.file) 2>/dev/null; then
16144 if ln -s conf$$.file conf$$ 2>/dev/null; then
16146 # ... but there are two gotchas:
16147 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16148 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16149 # In both cases, we have to default to `cp -p'.
16150 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16152 elif ln conf$$.file conf$$ 2>/dev/null; then
16160 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16161 rmdir conf$$.dir 2>/dev/null
16166 # Create "$as_dir" as a directory, including parents if necessary.
16171 -*) as_dir=./$as_dir;;
16173 test -d "$as_dir" || eval $as_mkdir_p || {
16177 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
16178 *) as_qdir=$as_dir;;
16180 as_dirs="'$as_qdir' $as_dirs"
16181 as_dir=`$as_dirname -- "$as_dir" ||
16182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16183 X"$as_dir" : 'X\(//\)[^/]' \| \
16184 X"$as_dir" : 'X\(//\)$' \| \
16185 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16186 $as_echo X"$as_dir" |
16187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16191 /^X\(\/\/\)[^/].*/{
16204 test -d "$as_dir" && break
16206 test -z "$as_dirs" || eval "mkdir
$as_dirs"
16207 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
16211 if mkdir -p . 2>/dev/null; then
16212 as_mkdir_p='mkdir -p "$as_dir"'
16214 test -d ./-p && rmdir ./-p
16218 if test -x / >/dev/null 2>&1; then
16219 as_test_x='test -x'
16221 if ls -dL / >/dev/null 2>&1; then
16228 if test -d "$1"; then
16234 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16235 ???[sx]*):;;*)false;;esac;fi
16239 as_executable_p=$as_test_x
16241 # Sed expression to map a string onto a valid CPP name.
16242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16244 # Sed expression to map a string onto a valid variable name.
16245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16249 ## ----------------------------------- ##
16250 ## Main body of $CONFIG_STATUS script. ##
16251 ## ----------------------------------- ##
16253 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16256 # Save the log message, to keep $0 and so on meaningful, and to
16257 # report actual input values of CONFIG_FILES etc. instead of their
16258 # values after options handling.
16260 This
file was extended by aMule
$as_me SVN
, which was
16261 generated by GNU Autoconf
2.65. Invocation
command line was
16263 CONFIG_FILES
= $CONFIG_FILES
16264 CONFIG_HEADERS
= $CONFIG_HEADERS
16265 CONFIG_LINKS
= $CONFIG_LINKS
16266 CONFIG_COMMANDS
= $CONFIG_COMMANDS
16269 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
16274 case $ac_config_files in *"
16275 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16278 case $ac_config_headers in *"
16279 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16284 # Files that config.status was made for.
16285 config_files="$ac_config_files"
16286 config_headers="$ac_config_headers"
16287 config_commands="$ac_config_commands"
16291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16293 \
`$as_me' instantiates files and other configuration actions
16294 from templates according to the current configuration. Unless the files
16295 and actions are specified as TAGs, all are instantiated by default.
16297 Usage: $0 [OPTION]... [TAG]...
16299 -h, --help print this help, then exit
16300 -V, --version print version number and configuration settings, then exit
16301 --config print configuration, then exit
16302 -q, --quiet, --silent
16303 do not print progress messages
16304 -d, --debug don't remove temporary files
16305 --recheck update $as_me by reconfiguring in the same conditions
16306 --file=FILE[:TEMPLATE]
16307 instantiate the configuration file FILE
16308 --header=FILE[:TEMPLATE]
16309 instantiate the configuration header FILE
16311 Configuration files:
16314 Configuration headers:
16317 Configuration commands:
16320 Report bugs to <admin@amule.org>."
16323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16324 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16326 aMule config.status SVN
16327 configured by $0, generated by GNU Autoconf 2.65,
16328 with options \\"\$ac_cs_config\\"
16330 Copyright (C) 2009 Free Software Foundation, Inc.
16331 This config.status script is free software; the Free Software Foundation
16332 gives unlimited permission to copy, distribute and modify it."
16339 test -n "\$AWK" || AWK=awk
16342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16343 # The default lists apply if the user does not specify any file.
16349 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16350 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16361 # Handling of the options.
16362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16365 $as_echo "$ac_cs_version"; exit ;;
16366 --config | --confi | --conf | --con | --co | --c )
16367 $as_echo "$ac_cs_config"; exit ;;
16368 --debug | --debu | --deb | --de | --d | -d )
16370 --file | --fil | --fi | --f )
16373 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16375 as_fn_append CONFIG_FILES " '$ac_optarg'"
16376 ac_need_defaults=false;;
16377 --header | --heade | --head | --hea )
16380 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16382 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16383 ac_need_defaults=false;;
16385 # Conflict between --help and --header
16386 as_fn_error "ambiguous option: \`$1'
16387 Try \`$0 --help' for more information.
";;
16388 --help | --hel | -h )
16389 $as_echo "$ac_cs_usage"; exit ;;
16390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16391 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16394 # This is an error.
16395 -*) as_fn_error "unrecognized option
: \
`$1'
16396 Try \`$0 --help' for more information." ;;
16398 *) as_fn_append ac_config_targets " $1"
16399 ac_need_defaults=false ;;
16405 ac_configure_extra_args=
16407 if $ac_cs_silent; then
16409 ac_configure_extra_args="$ac_configure_extra_args --silent"
16413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16414 if \$ac_cs_recheck; then
16415 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16417 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16418 CONFIG_SHELL='$SHELL'
16419 export CONFIG_SHELL
16424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16428 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16429 ## Running $as_me. ##
16435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16439 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16440 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16441 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16443 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
16444 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16445 LINGUAS="${LINGUAS-%UNSET%}"
16447 denoiserlevel=$with_denoise_level
16451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16453 # Handling of arguments.
16454 for ac_config_target
in $ac_config_targets
16456 case $ac_config_target in
16457 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16458 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16459 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16460 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
16461 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16462 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
16463 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
16464 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
16465 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16466 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
16467 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
16468 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
16469 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
16470 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
16471 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
16472 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
16473 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
16474 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
16475 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
16476 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
16477 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
16478 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
16479 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
16480 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
16481 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
16482 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
16483 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
16484 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
16485 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
16486 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
16487 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
16488 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
16489 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
16490 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
16491 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
16492 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
16493 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
16494 "Compilation.flags") CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
16495 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
16497 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16502 # If the user did not use the arguments to specify the items to instantiate,
16503 # then the envvar interface is used. Set only those that are not.
16504 # We use the long form for the default assignment because of an extremely
16505 # bizarre bug on SunOS 4.1.3.
16506 if $ac_need_defaults; then
16507 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16508 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16509 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16512 # Have a temporary directory for convenience. Make it in the build tree
16513 # simply because there is no reason against having it here, and in addition,
16514 # creating and moving files from /tmp can sometimes cause problems.
16515 # Hook for its removal unless debugging.
16516 # Note that there is a small window in which the directory will not be cleaned:
16517 # after its creation but before its name has been assigned to `$tmp'.
16521 trap 'exit_status=$?
16522 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16524 trap 'as_fn_exit 1' 1 2 13 15
16526 # Create a (secure) tmp directory for tmp files.
16529 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16530 test -n "$tmp" && test -d "$tmp"
16533 tmp
=.
/conf$$
-$RANDOM
16534 (umask 077 && mkdir
"$tmp")
16535 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16537 # Set up the scripts for CONFIG_FILES section.
16538 # No need to generate them if there are no CONFIG_FILES.
16539 # This happens for instance with `./config.status config.h'.
16540 if test -n "$CONFIG_FILES"; then
16543 ac_cr
=`echo X | tr X '\015'`
16544 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16545 # But we know of no other shell where ac_cr would be empty at this
16546 # point, so we can use a bashism as a fallback.
16547 if test "x$ac_cr" = x
; then
16548 eval ac_cr
=\$
\'\\r
\'
16550 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16554 ac_cs_awk_cr
=$ac_cr
16557 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16562 echo "cat >conf$$subs.awk <<_ACEOF" &&
16563 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16565 } >conf$$subs.sh ||
16566 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16567 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16569 for ac_last_try in false false false false false :; do
16570 . ./conf$$subs.sh ||
16571 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16573 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16574 if test $ac_delim_n = $ac_delim_num; then
16576 elif $ac_last_try; then
16577 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16579 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16582 rm -f conf$$subs.sh
16584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16585 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16589 s/^/S["/; s
/!.
*/"]=/
16599 s/\(.\{148\}\)..*/\1/
16601 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16606 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16613 s/\(.\{148\}\)..*/\1/
16615 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16619 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16624 ' <conf$$subs.awk | sed '
16629 ' >>$CONFIG_STATUS || ac_write_fail=1
16630 rm -f conf$$subs.awk
16631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16633 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16634 for (key in S) S_is_set[key] = 1
16640 nfields = split(line, field, "@
")
16642 len = length(field[1])
16643 for (i = 2; i < nfields; i++) {
16645 keylen = length(key)
16646 if (S_is_set[key]) {
16648 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16649 len += length(value) + length(field[++i])
16660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16661 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16662 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16665 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16666 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16669 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16670 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16671 # trailing colons and then remove the whole line if VPATH becomes empty
16672 # (actually we leave an empty line to preserve line numbers).
16673 if test "x
$srcdir" = x.; then
16674 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16675 s/:*\$(srcdir):*/:/
16676 s/:*\${srcdir}:*/:/
16678 s/^\([^=]*=[ ]*\):*/\1/
16684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16685 fi # test -n "$CONFIG_FILES"
16687 # Set up the scripts for CONFIG_HEADERS section.
16688 # No need to generate them if there are no CONFIG_HEADERS.
16689 # This happens for instance with `./config.status Makefile'.
16690 if test -n "$CONFIG_HEADERS"; then
16691 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16695 # Transform confdefs.h into an awk script `defines.awk', embedded as
16696 # here-document in config.status, that substitutes the proper values into
16697 # config.h.in to produce config.h.
16699 # Create a delimiter string that does not exist in confdefs.h, to ease
16700 # handling of long lines.
16702 for ac_last_try in false false :; do
16703 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16704 if test -z "$ac_t"; then
16706 elif $ac_last_try; then
16707 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16709 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16713 # For the awk script, D is an array of macro values keyed by name,
16714 # likewise P contains macro parameters if any. Preserve backslash
16715 # newline sequences.
16717 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16719 s/.\{148\}/&'"$ac_delim"'/g
16722 s/^[ ]*#[ ]*define[ ][ ]*/ /
16729 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16731 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16735 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16736 D["\
1"]=" \
3\\\\\\n
"\\/p
16738 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16743 s/.\{148\}/&'"$ac_delim"'/g
16748 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16751 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16753 ' <confdefs.h | sed '
16754 s/'"$ac_delim"'/"\\\
16755 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16758 for (key in D) D_is_set[key] = 1
16761 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16763 split(line, arg, " ")
16764 if (arg[1] == "#") {
16768 defundef
= substr
(arg
[1], 2)
16771 split(mac1
, mac2
, "(") #)
16773 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16774 if (D_is_set
[macro
]) {
16775 # Preserve the white space surrounding the "#".
16776 print prefix
"define", macro P
[macro
] D
[macro
]
16779 # Replace #undef with comments. This is necessary, for example,
16780 # in the case of _POSIX_SOURCE, which is predefined and required
16781 # on some systems where configure will not decide to define it.
16782 if (defundef
== "undef") {
16783 print
"/*", prefix defundef
, macro
, "*/"
16791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16792 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16793 fi # test -n "$CONFIG_HEADERS"
16796 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16801 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16803 case $ac_mode$ac_tag in
16805 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16806 :[FH
]-) ac_tag
=-:-;;
16807 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16824 -) ac_f
="$tmp/stdin";;
16825 *) # Look for the file first in the build tree, then in the source tree
16826 # (if the path is not absolute). The absolute path cannot be DOS-style,
16827 # because $ac_f cannot contain `:'.
16831 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16833 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16835 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16836 as_fn_append ac_file_inputs
" '$ac_f'"
16839 # Let's still pretend it is `configure' which instantiates (i.e., don't
16840 # use $as_me), people would be surprised to read:
16841 # /* config.h. Generated by config.status. */
16842 configure_input
='Generated from '`
16843 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16845 if test x
"$ac_file" != x-
; then
16846 configure_input
="$ac_file. $configure_input"
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16848 $as_echo "$as_me: creating $ac_file" >&6;}
16850 # Neutralize special characters interpreted by sed in replacement strings.
16851 case $configure_input in #(
16852 *\
&* |
*\|
* |
*\\* )
16853 ac_sed_conf_input
=`$as_echo "$configure_input" |
16854 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16855 *) ac_sed_conf_input
=$configure_input;;
16859 *:-:* |
*:-) cat >"$tmp/stdin" \
16860 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16865 ac_dir
=`$as_dirname -- "$ac_file" ||
16866 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16867 X"$ac_file" : 'X\(//\)[^/]' \| \
16868 X"$ac_file" : 'X\(//\)$' \| \
16869 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16870 $as_echo X"$ac_file" |
16871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16875 /^X\(\/\/\)[^/].*/{
16888 as_dir
="$ac_dir"; as_fn_mkdir_p
16892 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16894 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16895 # A ".." for each directory in $ac_dir_suffix.
16896 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16897 case $ac_top_builddir_sub in
16898 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16899 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16902 ac_abs_top_builddir
=$ac_pwd
16903 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16904 # for backward compatibility:
16905 ac_top_builddir
=$ac_top_build_prefix
16908 .
) # We are building in place.
16910 ac_top_srcdir
=$ac_top_builddir_sub
16911 ac_abs_top_srcdir
=$ac_pwd ;;
16912 [\\/]* | ?
:[\\/]* ) # Absolute name.
16913 ac_srcdir
=$srcdir$ac_dir_suffix;
16914 ac_top_srcdir
=$srcdir
16915 ac_abs_top_srcdir
=$srcdir ;;
16916 *) # Relative name.
16917 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16918 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16919 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16921 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16931 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16932 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16934 ac_MKDIR_P
=$MKDIR_P
16936 [\\/$
]* | ?
:[\\/]* ) ;;
16937 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16942 # If the template does not know about datarootdir, expand it.
16943 # FIXME: This hack should be removed a few years after 2.60.
16944 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16955 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16956 *datarootdir
*) ac_datarootdir_seen
=yes;;
16957 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16959 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16962 ac_datarootdir_hack='
16963 s&@datadir@&$datadir&g
16964 s&@docdir@&$docdir&g
16965 s&@infodir@&$infodir&g
16966 s&@localedir@&$localedir&g
16967 s&@mandir@&$mandir&g
16968 s&\\\${datarootdir}&$datarootdir&g' ;;
16972 # Neutralize VPATH when `$srcdir' = `.'.
16973 # Shell code in configure.ac might set extrasub.
16974 # FIXME: do we really want to maintain this feature?
16975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16976 ac_sed_extra="$ac_vpsub
16979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16981 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16982 s|@configure_input@|
$ac_sed_conf_input|
;t t
16983 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16984 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16985 s
&@srcdir@
&$ac_srcdir&;t t
16986 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16987 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16988 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16989 s
&@builddir@
&$ac_builddir&;t t
16990 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16991 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16992 s
&@INSTALL@
&$ac_INSTALL&;t t
16993 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16994 $ac_datarootdir_hack
16996 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16997 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16999 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17000 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17001 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17003 which seems to be undefined. Please make sure it is defined." >&5
17004 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17005 which seems to be undefined. Please make sure it is defined." >&2;}
17009 -) cat "$tmp/out" && rm -f "$tmp/out";;
17010 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17012 || as_fn_error "could not create $ac_file" "$LINENO" 5
17018 if test x"$ac_file" != x-; then
17020 $as_echo "/* $configure_input */" \
17021 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17022 } >"$tmp/config.h" \
17023 || as_fn_error "could not create $ac_file" "$LINENO" 5
17024 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17026 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17029 mv "$tmp/config.h" "$ac_file" \
17030 || as_fn_error "could not create $ac_file" "$LINENO" 5
17033 $as_echo "/* $configure_input */" \
17034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17035 || as_fn_error "could not create -" "$LINENO" 5
17037 # Compute "$ac_file"'s index
in $config_headers.
17040 for _am_header
in $config_headers :; do
17041 case $_am_header in
17042 $_am_arg |
$_am_arg:* )
17045 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17048 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17049 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17050 X"$_am_arg" : 'X\(//\)[^/]' \| \
17051 X"$_am_arg" : 'X\(//\)$' \| \
17052 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17053 $as_echo X"$_am_arg" |
17054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17058 /^X\(\/\/\)[^/].*/{
17070 s/.*/./; q'`/stamp-h
$_am_stamp_count
17073 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17074 $as_echo "$as_me: executing $ac_file commands" >&6;}
17079 case $ac_file$ac_mode in
17080 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17081 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17082 # are listed without --file. Let's play safe and only enable the eval
17083 # if we detect the quoting.
17084 case $CONFIG_FILES in
17085 *\'*) eval set x
"$CONFIG_FILES" ;;
17086 *) set x
$CONFIG_FILES ;;
17091 # Strip MF so we end up with the name of the file.
17092 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17093 # Check whether this is an Automake generated Makefile or not.
17094 # We used to match only the files named `Makefile.in', but
17095 # some people rename them; so instead we look at the file content.
17096 # Grep'ing the first line is not enough: some people post-process
17097 # each Makefile.in and add a new line on top of each file to say so.
17098 # Grep'ing the whole file is not good either: AIX grep has a line
17099 # limit of 2048, but all sed's we know have understand at least 4000.
17100 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17101 dirpart
=`$as_dirname -- "$mf" ||
17102 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17103 X"$mf" : 'X\(//\)[^/]' \| \
17104 X"$mf" : 'X\(//\)$' \| \
17105 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17111 /^X\(\/\/\)[^/].*/{
17127 # Extract the definition of DEPDIR, am__include, and am__quote
17128 # from the Makefile without running `make'.
17129 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17130 test -z "$DEPDIR" && continue
17131 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17132 test -z "am__include" && continue
17133 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17134 # When using ansi2knr, U may be empty or an underscore; expand it
17135 U
=`sed -n 's/^U = //p' < "$mf"`
17136 # Find all dependency output files, they are included files with
17137 # $(DEPDIR) in their names. We invoke sed twice because it is the
17138 # simplest approach to changing $(DEPDIR) to its actual value in the
17140 for file in `sed -n "
17141 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17142 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17143 # Make sure the directory exists.
17144 test -f "$dirpart/$file" && continue
17145 fdir
=`$as_dirname -- "$file" ||
17146 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17147 X"$file" : 'X\(//\)[^/]' \| \
17148 X"$file" : 'X\(//\)$' \| \
17149 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17150 $as_echo X"$file" |
17151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17155 /^X\(\/\/\)[^/].*/{
17168 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17169 # echo "creating $dirpart/$file"
17170 echo '# dummy' > "$dirpart/$file"
17176 for ac_file
in $CONFIG_FILES; do
17177 # Support "outfile[:infile[:infile...]]"
17179 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17181 # PO directories have a Makefile.in generated from Makefile.in.in.
17182 case "$ac_file" in */Makefile.
in)
17183 # Adjust a relative srcdir.
17184 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17185 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17186 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17187 # In autoconf-2.13 it is called $ac_given_srcdir.
17188 # In autoconf-2.50 it is called $srcdir.
17189 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17190 case "$ac_given_srcdir" in
17191 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17192 /*) top_srcdir
="$ac_given_srcdir" ;;
17193 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17195 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17196 rm -f "$ac_dir/POTFILES"
17197 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17198 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17199 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17200 # on $ac_dir but don't depend on user-specified configuration
17202 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17203 # The LINGUAS file contains the set of available languages.
17204 if test -n "$ALL_LINGUAS"; then
17205 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17207 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17208 # Hide the ALL_LINGUAS assigment from automake.
17209 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17211 case "$ac_given_srcdir" in
17213 *) srcdirpre
='$(srcdir)/' ;;
17219 for lang
in $ALL_LINGUAS; do
17220 POFILES
="$POFILES $srcdirpre$lang.po"
17221 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17222 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17223 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17225 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17226 # environment variable.
17228 if test -n "$ALL_LINGUAS"; then
17229 for presentlang
in $ALL_LINGUAS; do
17231 if test "%UNSET%" != "$LINGUAS"; then
17232 desiredlanguages
="$LINGUAS"
17234 desiredlanguages
="$ALL_LINGUAS"
17236 for desiredlang
in $desiredlanguages; do
17237 # Use the presentlang catalog if desiredlang is
17238 # a. equal to presentlang, or
17239 # b. a variant of presentlang (because in this case,
17240 # presentlang can be used as a fallback for messages
17241 # which are not translated in the desiredlang catalog).
17242 case "$desiredlang" in
17243 "$presentlang"*) useit
=yes;;
17246 if test $useit = yes; then
17247 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17252 if test -n "$INST_LINGUAS"; then
17253 for lang
in $INST_LINGUAS; do
17254 CATALOGS
="$CATALOGS $lang.gmo"
17257 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17258 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"
17259 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17260 if test -f "$f"; then
17262 *.orig |
*.bak |
*~
) ;;
17263 *) cat "$f" >> "$ac_dir/Makefile" ;;
17271 "denoiser":C
) if test $denoiserlevel -gt 0; then
17272 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
17273 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" \
17274 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
17275 for i
in `find . -name 'Makefile' -print`; do
17276 if test -n "`head -n 1 $i | grep '^#'`"; then
17277 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
17288 ac_clean_files
=$ac_clean_files_save
17290 test $ac_write_fail = 0 ||
17291 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17294 # configure is writing to config.log, and then calls config.status.
17295 # config.status does its own redirection, appending to config.log.
17296 # Unfortunately, on DOS this fails, as config.log is still kept open
17297 # by configure, so config.status won't be able to write to it; its
17298 # output is simply discarded. So we exec the FD to /dev/null,
17299 # effectively closing config.log, so it can be properly (re)opened and
17300 # appended to by config.status. When coming back to configure, we
17301 # need to make the FD available again.
17302 if test "$no_create" != yes; then
17304 ac_config_status_args
=
17305 test "$silent" = yes &&
17306 ac_config_status_args
="$ac_config_status_args --quiet"
17308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17311 # would make configure fail if this is the last instruction.
17312 $ac_cs_success || as_fn_exit $?
17314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17320 if test -n "$svndate"; then :
17321 SVN_REVISION
=" ($svndate)"
17328 echo " Configure script has finished system check."
17330 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
17332 echo " aMule enabled options:"
17334 echo " **** aMule Core ****"
17335 echo " Prefix where aMule should be installed? ${prefix:-none}"
17336 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
17337 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
17338 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
17339 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
17340 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
17341 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
17342 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
17343 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
17344 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
17345 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
17348 echo " **** aMule TextClient ****"
17349 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
17351 echo " **** aMule WebServer ****"
17352 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
17354 echo " **** aMule ED2K Links Handler ****"
17355 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
17357 echo " **** aMuleLinkCreator ****"
17358 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
17359 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
17361 echo " **** aMule Statistics ****"
17362 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
17363 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
17364 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
17365 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
17368 echo " **** General Libraries and Tools ****"
17369 echo " Should ccache support be enabled? ${enable_ccache:-no}"
17370 echo " Libraries aMule will use to build:"
17371 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 :
17374 if test $WX_DEBUG -eq 1; then :
17375 wxinfo
="$wxinfo,debug"
17377 if test $WX_SHARED -eq 1; then :
17378 wxinfo
="$wxinfo,shared"
17380 wxinfo
="$wxinfo,static"
17382 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
17385 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
17386 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
17388 if test ${enable_upnp:-yes} = yes; then :
17390 if test -n "$with_libupnp_prefix"; then :
17391 libupnp_place
=" (in $with_libupnp_prefix)"
17393 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
17396 if test ${enable_nls:-yes} = yes; then
17397 if test x
$USE_NLS = xno
; then :
17398 libintl_found
="Not detected"
17400 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
17401 libintl_found
="included"
17403 libintl_found
="system"
17406 echo " libintl $libintl_found"
17408 if test ${enable_geoip:-no} = yes; then :
17409 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
17414 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
17415 echo " libGeoIP ${geoip_style}"
17418 if test ${enable_webserver:-no} = yes; then :
17419 echo " libpng ${LIBPNG_VERSION:-Not detected}"
17421 if test ${enable_cas:-no} = yes; then :
17422 echo " libgd ${GDLIB_VERSION:-Not detected}"
17424 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 :
17425 echo " zlib ${ZLIB_VERSION:-Not detected}"
17427 if test ${enable_plasmamule:-no} = yes; then :
17428 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
17429 echo " qt-core-libs ${QT_CORE_LIBS}"
17430 echo " qt-gui-libs ${QT_GUI_LIBS}"
17431 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
17432 echo " kde-headers ${KDE_HEADER_DIR}"
17433 echo " kde-services-path ${KDE_SERVICE_PATH}"
17434 echo " kde-module-path ${KDE_MODULE_PATH}"
17435 echo " kde-icon-path ${KDE_ICON_PATH}"
17436 echo " kde-mime-path ${KDE_MIME_PATH}"
17437 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
17440 if test ${_mule_has_warnings:-no} = yes; then
17443 echo " *** Warnings during configuration ***"
17445 if test ${_mule_warning_0:-no} = yes; then
17448 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
17449 Please check that gdlib-config is in your default path, check out
17450 LD_LIBRARY_PATH or equivalent variable.
17451 Or this might also be that your gdlib-config has other name.
17452 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
17453 /usr/bin/gdlib-config with a valid path to your gdlib-config).
17454 If you use compiled packages check if you have devel pack installed.
17455 To download the latest version check http://www.boutell.com/gd for sources.
17458 if test ${_mule_warning_1:-no} = yes; then
17461 * libpng >= 1.2.0 not found.
17462 amuleweb will be compiled but file download progress bar images will NOT be
17466 if test ${_mule_warning_2:-no} = yes; then
17469 * File::Copy perl module is required by the mldonkey_importer script.
17470 If you want to use this script please install File::Copy from CPAN.
17473 if test ${_mule_warning_3:-no} = yes; then
17476 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
17479 if test ${_mule_warning_4:-no} = yes; then
17482 * GeoIP support has been disabled because the GeoIP libraries were not found
17485 if test ${_mule_warning_5:-no} = yes; then
17488 * GeoIP support has been disabled because the GeoIP header files were not
17492 if test ${_mule_warning_6:-no} = yes; then
17495 * UPnP code has been disabled because ${libupnp_error}.
17498 if test ${_mule_warning_7:-no} = yes; then
17501 * Cross-compilation detected, so exception handling cannot be tested.
17502 Note that broken exception handling in your compiler may lead to unexpected
17506 if test ${_mule_warning_8:-no} = yes; then
17509 * configure cannot check whether malloc() and realloc() are GNU libc
17510 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
17511 configure with the --without-gnu-malloc switch.
17514 if test ${_mule_warning_9:-no} = yes; then
17517 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
17521 if test ${_mule_warning_10:-no} = yes; then
17524 * bfd.h not found or unusable, please install binutils development package if
17525 you are a developer or want to help testing aMule