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
649 AMULE_DAEMON_MANPAGES
654 INTL_LIBTOOL_SUFFIX_PREFIX
661 BUILD_INCLUDED_LIBINTL
794 MAINTAINER_MODE_FALSE
804 INSTALL_STRIP_PROGRAM
846 program_transform_name
862 enable_option_checking
863 enable_maintainer_mode
864 enable_dependency_tracking
909 with_included_gettext
918 ac_precious_vars
='build_alias
938 # Initialize some variables set by options.
940 ac_init_version
=false
941 ac_unrecognized_opts
=
943 # The variables have the same names as the options, with
944 # dashes changed to underlines.
952 program_transform_name
=s
,x
,x
,
960 # Installation directory options.
961 # These are left unexpanded so users can "make install exec_prefix=/foo"
962 # and all the variables that are supposed to be based on exec_prefix
963 # by default will actually change.
964 # Use braces instead of parens because sh, perl, etc. also accept them.
965 # (The list follows the same order as the GNU Coding Standards.)
966 bindir
='${exec_prefix}/bin'
967 sbindir
='${exec_prefix}/sbin'
968 libexecdir
='${exec_prefix}/libexec'
969 datarootdir
='${prefix}/share'
970 datadir
='${datarootdir}'
971 sysconfdir
='${prefix}/etc'
972 sharedstatedir
='${prefix}/com'
973 localstatedir
='${prefix}/var'
974 includedir
='${prefix}/include'
975 oldincludedir
='/usr/include'
976 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
977 infodir
='${datarootdir}/info'
982 libdir
='${exec_prefix}/lib'
983 localedir
='${datarootdir}/locale'
984 mandir
='${datarootdir}/man'
990 # If the previous option needs an argument, assign it.
991 if test -n "$ac_prev"; then
992 eval $ac_prev=\
$ac_option
998 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1002 # Accept the important Cygnus configure options, so we can diagnose typos.
1004 case $ac_dashdash$ac_option in
1008 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1010 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1011 bindir
=$ac_optarg ;;
1013 -build |
--build |
--buil |
--bui |
--bu)
1014 ac_prev
=build_alias
;;
1015 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1016 build_alias
=$ac_optarg ;;
1018 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1019 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1020 ac_prev
=cache_file
;;
1021 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1022 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1023 cache_file
=$ac_optarg ;;
1025 --config-cache |
-C)
1026 cache_file
=config.cache
;;
1028 -datadir |
--datadir |
--datadi |
--datad)
1030 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1031 datadir
=$ac_optarg ;;
1033 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1034 |
--dataroo |
--dataro |
--datar)
1035 ac_prev
=datarootdir
;;
1036 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1037 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1038 datarootdir
=$ac_optarg ;;
1040 -disable-* |
--disable-*)
1041 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 as_fn_error
"invalid feature name: $ac_useropt"
1045 ac_useropt_orig
=$ac_useropt
1046 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_
$ac_useropt"
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
1054 eval enable_
$ac_useropt=no
;;
1056 -docdir |
--docdir |
--docdi |
--doc |
--do)
1058 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1059 docdir
=$ac_optarg ;;
1061 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1063 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1064 dvidir
=$ac_optarg ;;
1066 -enable-* |
--enable-*)
1067 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1070 as_fn_error
"invalid feature name: $ac_useropt"
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
1194 -program-transform-name |
--program-transform-name \
1195 |
--program-transform-nam |
--program-transform-na \
1196 |
--program-transform-n |
--program-transform- \
1197 |
--program-transform |
--program-transfor \
1198 |
--program-transfo |
--program-transf \
1199 |
--program-trans |
--program-tran \
1200 |
--progr-tra |
--program-tr |
--program-t)
1201 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 as_fn_error
"invalid package name: $ac_useropt"
1275 ac_useropt_orig
=$ac_useropt
1276 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1282 ac_unrecognized_sep
=', ';;
1284 eval with_
$ac_useropt=\
$ac_optarg ;;
1286 -without-* |
--without-*)
1287 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1290 as_fn_error
"invalid package name: $ac_useropt"
1291 ac_useropt_orig
=$ac_useropt
1292 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1297 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1298 ac_unrecognized_sep
=', ';;
1300 eval with_
$ac_useropt=no
;;
1303 # Obsolete; use --with-x.
1306 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1307 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1308 ac_prev
=x_includes
;;
1309 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1310 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1311 x_includes
=$ac_optarg ;;
1313 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1314 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1315 ac_prev
=x_libraries
;;
1316 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1317 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1318 x_libraries
=$ac_optarg ;;
1320 -*) as_fn_error
"unrecognized option: \`$ac_option'
1321 Try \`$0 --help' for more information."
1325 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1326 # Reject names that are not valid shell variable names.
1327 case $ac_envvar in #(
1328 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1329 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1331 eval $ac_envvar=\
$ac_optarg
1332 export $ac_envvar ;;
1335 # FIXME: should be removed in autoconf 3.0.
1336 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1337 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1338 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1339 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1345 if test -n "$ac_prev"; then
1346 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1347 as_fn_error
"missing argument to $ac_option"
1350 if test -n "$ac_unrecognized_opts"; then
1351 case $enable_option_checking in
1353 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1354 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1358 # Check all directory arguments for consistency.
1359 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1360 datadir sysconfdir sharedstatedir localstatedir includedir \
1361 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1362 libdir localedir mandir
1364 eval ac_val
=\$
$ac_var
1365 # Remove trailing slashes.
1368 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1369 eval $ac_var=\
$ac_val;;
1371 # Be sure to have absolute directory names.
1373 [\\/$
]* | ?
:[\\/]* ) continue;;
1374 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1376 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1379 # There might be people who depend on the old broken behavior: `$host'
1380 # used to hold the argument of --host etc.
1381 # FIXME: To remove some day.
1384 target
=$target_alias
1386 # FIXME: To remove some day.
1387 if test "x$host_alias" != x
; then
1388 if test "x$build_alias" = x
; then
1389 cross_compiling
=maybe
1390 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1391 If a cross compiler is detected then cross compile mode will be used." >&2
1392 elif test "x$build_alias" != "x$host_alias"; then
1398 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1400 test "$silent" = yes && exec 6>/dev
/null
1403 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1404 ac_ls_di
=`ls -di .` &&
1405 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1406 as_fn_error
"working directory cannot be determined"
1407 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1408 as_fn_error
"pwd does not report name of working directory"
1411 # Find the source files, if location was not specified.
1412 if test -z "$srcdir"; then
1413 ac_srcdir_defaulted
=yes
1414 # Try the directory containing this script, then the parent directory.
1415 ac_confdir
=`$as_dirname -- "$as_myself" ||
1416 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1417 X"$as_myself" : 'X\(//\)[^/]' \| \
1418 X"$as_myself" : 'X\(//\)$' \| \
1419 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1420 $as_echo X"$as_myself" |
1421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1439 if test ! -r "$srcdir/$ac_unique_file"; then
1443 ac_srcdir_defaulted
=no
1445 if test ! -r "$srcdir/$ac_unique_file"; then
1446 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1447 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1449 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1453 # When building in place, set srcdir=.
1454 if test "$ac_abs_confdir" = "$ac_pwd"; then
1457 # Remove unnecessary trailing slashes from srcdir.
1458 # Double slashes in file names in object file debugging info
1459 # mess up M-x gdb in Emacs.
1461 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1463 for ac_var
in $ac_precious_vars; do
1464 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1465 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1466 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1467 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1471 # Report the --help message.
1473 if test "$ac_init_help" = "long"; then
1474 # Omit some internal or obsolete options to make the list less imposing.
1475 # This message is too long to be a string in the A/UX 3.1 sh.
1477 \`configure' configures aMule SVN to adapt to many kinds of systems.
1479 Usage: $0 [OPTION]... [VAR=VALUE]...
1481 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1482 VAR=VALUE. See below for descriptions of some of the useful variables.
1484 Defaults for the options are specified in brackets.
1487 -h, --help display this help and exit
1488 --help=short display options specific to this package
1489 --help=recursive display the short help of all the included packages
1490 -V, --version display version information and exit
1491 -q, --quiet, --silent do not print \`checking...' messages
1492 --cache-file=FILE cache test results in FILE [disabled]
1493 -C, --config-cache alias for \`--cache-file=config.cache'
1494 -n, --no-create do not create output files
1495 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1497 Installation directories:
1498 --prefix=PREFIX install architecture-independent files in PREFIX
1499 [$ac_default_prefix]
1500 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1503 By default, \`make install' will install all the files in
1504 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1505 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1506 for instance \`--prefix=\$HOME'.
1508 For better control, use the options below.
1510 Fine tuning of the installation directories:
1511 --bindir=DIR user executables [EPREFIX/bin]
1512 --sbindir=DIR system admin executables [EPREFIX/sbin]
1513 --libexecdir=DIR program executables [EPREFIX/libexec]
1514 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1515 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1516 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1517 --libdir=DIR object code libraries [EPREFIX/lib]
1518 --includedir=DIR C header files [PREFIX/include]
1519 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1520 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1521 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1522 --infodir=DIR info documentation [DATAROOTDIR/info]
1523 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1524 --mandir=DIR man documentation [DATAROOTDIR/man]
1525 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1526 --htmldir=DIR html documentation [DOCDIR]
1527 --dvidir=DIR dvi documentation [DOCDIR]
1528 --pdfdir=DIR pdf documentation [DOCDIR]
1529 --psdir=DIR ps documentation [DOCDIR]
1535 --program-prefix=PREFIX prepend PREFIX to installed program names
1536 --program-suffix=SUFFIX append SUFFIX to installed program names
1537 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1540 --build=BUILD configure
for building on BUILD
[guessed
]
1541 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1545 if test -n "$ac_init_help"; then
1546 case $ac_init_help in
1547 short | recursive
) echo "Configuration of aMule SVN:";;
1552 --disable-option-checking ignore unrecognized
--enable/--with options
1553 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1554 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1555 --enable-maintainer-mode enable make rules and dependencies not useful
1556 (and sometimes confusing
) to the casual installer
1557 --disable-dependency-tracking speeds up one-time build
1558 --enable-dependency-tracking do not reject slow dependency extractors
1559 --disable-monolithic disable building of the monolithic aMule app
1560 --enable-amule-daemon compile aMule daemon version
1561 --enable-amulecmd compile aMule
command line client
1562 --enable-webserver compile aMule WebServer
1563 --enable-amule-gui compile aMule remote GUI
1564 --enable-cas compile C aMule Statistics
1565 --enable-wxcas compile aMule GUI Statistics
1566 --disable-ed2k don
't compile aMule ed2k links handler
1567 --enable-alc compile aMuleLinkCreator GUI version
1568 --enable-alcc compile aMuleLinkCreator for console
1569 --enable-xas install xas XChat2 plugin
1570 --enable-fileview compile aMule file viewer for console (EXPERIMENTAL)
1571 --enable-plasmamule compile aMule plasma applet and engine
1572 --enable-static produce a statically linked executable
1573 --enable-kde-in-home install KDE related stuff in your home dir
1574 --enable-geoip compile with GeoIP IP2Country library
1575 --disable-upnp do not compile UPnP code
1576 --enable-mmap enable using mapped memory if supported
1577 --disable-rpath do not hardcode runtime library paths
1578 --disable-nls do not use Native Language Support
1579 --disable-debug disable additional debugging output
1580 --enable-profile enable code profiling
1581 --enable-optimize enable code optimization
1582 --enable-ccache enable ccache support for fast recompilation
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-kde4-config=PATH kde4-config script to use
1588 --with-moc=PATH Search in PATH for Qt's meta object compiler
1589 --without-gnu-malloc Don
't assume that we use GNU libc compatible
1590 malloc/realloc when cross-compiling
1591 --with-zlib=PREFIX use zlib in PREFIX
1592 --with-gdlib-prefix=PREFIX
1593 prefix where gdlib is installed (optional)
1594 --with-gdlib-config=CONFIG
1595 gdlib-config script to use (optional)
1596 --with-libpng-prefix=PREFIX
1597 prefix where libpng is installed (optional)
1598 --with-libpng-config=CONFIG
1599 libpng-config script to use (optional)
1600 --with-geoip-headers=DIR
1601 GeoIP include files location
1602 --with-geoip-lib=DIR GeoIP library location
1603 --with-geoip-static Explicitly link GeoIP statically (default=no)
1604 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1605 --with-wx-config=CONFIG wx-config script to use (optional)
1606 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1607 --with-wx-exec-prefix=PREFIX
1608 Exec prefix where wxWidgets is installed (optional)
1609 --with-toolkit Build against a specific wxWidgets toolkit (default
1611 --with-wxshared Force building against a shared build of wxWidgets,
1612 even if --disable-shared is given (default is auto)
1613 --with-wxdebug Force building against a debug build of wxWidgets,
1614 even if --disable-debug is given (default is auto)
1615 --with-wxversion Build against a specific version of wxWidgets
1617 --with-libupnp-prefix=PREFIX
1618 UPnP library location
1619 --with-crypto-prefix=PREFIX
1620 prefix where crypto++ is installed
1621 --with-language=<langs> Specify a comma-separated list of languages you want
1622 to have installed. See po/LINGUAS for available
1624 --with-gnu-ld assume the C compiler uses GNU ld default=no
1625 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1626 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1627 --with-included-gettext use the GNU
gettext library included here
1628 --with-libintl-prefix=DIR search
for libintl
in DIR
/include and DIR
/lib
1629 --without-libintl-prefix don
't search for libintl in includedir and libdir
1630 --with-denoise-level=<level>
1631 Specifies denoising level (0-4):
1633 4 - Suppress all normal output
1634 (for more information see
1635 src/utils/scripts/denoiser.rules)
1637 --with-ccache-prefix=PREFIX
1638 prefix where ccache is installed
1640 Some influential environment variables:
1641 CXX C++ compiler command
1642 CXXFLAGS C++ compiler flags
1643 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1644 nonstandard directory <lib dir>
1645 LIBS libraries to pass to the linker, e.g. -l<library>
1646 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1647 you have headers in a nonstandard directory <include dir>
1648 CXXCPP C++ preprocessor
1649 CC C compiler command
1650 CFLAGS C compiler flags
1652 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1653 the first program found out of
: `bison -y', `byacc
', `yacc'.
1654 YFLAGS The list of arguments that will be passed by default to
$YACC.
1655 This
script will default YFLAGS to the empty string to avoid a
1656 default value of
`-d' given by some make applications.
1657 RC Resource Compiler
1658 RCFLAGS Resource Compiler Flags
1659 PKG_CONFIG path to pkg-config utility
1661 Use these variables to override the choices made by `configure
' or to help
1662 it to find libraries and programs with nonstandard names/locations.
1664 Report bugs to <admin@amule.org>.
1669 if test "$ac_init_help" = "recursive"; then
1670 # If there are subdirs, report their specific --help.
1671 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1672 test -d "$ac_dir" ||
1673 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1678 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1680 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1681 # A ".." for each directory in $ac_dir_suffix.
1682 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1683 case $ac_top_builddir_sub in
1684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1688 ac_abs_top_builddir=$ac_pwd
1689 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1690 # for backward compatibility:
1691 ac_top_builddir=$ac_top_build_prefix
1694 .) # We are building in place.
1696 ac_top_srcdir=$ac_top_builddir_sub
1697 ac_abs_top_srcdir=$ac_pwd ;;
1698 [\\/]* | ?:[\\/]* ) # Absolute name.
1699 ac_srcdir=$srcdir$ac_dir_suffix;
1700 ac_top_srcdir=$srcdir
1701 ac_abs_top_srcdir=$srcdir ;;
1703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1704 ac_top_srcdir=$ac_top_build_prefix$srcdir
1705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1707 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1709 cd "$ac_dir" || { ac_status=$?; continue; }
1710 # Check for guested configure.
1711 if test -f "$ac_srcdir/configure.gnu"; then
1713 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1714 elif test -f "$ac_srcdir/configure"; then
1716 $SHELL "$ac_srcdir/configure" --help=recursive
1718 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1720 cd "$ac_pwd" || { ac_status=$?; break; }
1724 test -n "$ac_init_help" && exit $ac_status
1725 if $ac_init_version; then
1728 generated by GNU Autoconf 2.65
1730 Copyright (C) 2009 Free Software Foundation, Inc.
1731 This configure script is free software; the Free Software Foundation
1732 gives unlimited permission to copy, distribute and modify it.
1737 ## ------------------------ ##
1738 ## Autoconf initialization. ##
1739 ## ------------------------ ##
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext
1748 if { { ac_try="$ac_compile"
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1757 if test -s conftest.err; then
1758 grep -v '^
*+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext; then :
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's
/^
/|
/' conftest.$ac_ext >&5
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 as_fn_set_status $ac_retval
1777 } # ac_fn_cxx_try_compile
1779 # ac_fn_cxx_try_cpp LINENO
1780 # ------------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_cxx_try_cpp ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1794 if test -s conftest.err; then
1795 grep -v '^
*+' conftest.err >conftest.er1
1796 cat conftest.er1 >&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } >/dev/null && {
1801 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1802 test ! -s conftest.err
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's
/^
/|
/' conftest.$ac_ext >&5
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 as_fn_set_status $ac_retval
1814 } # ac_fn_cxx_try_cpp
1816 # ac_fn_c_try_compile LINENO
1817 # --------------------------
1818 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1819 ac_fn_c_try_compile ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext
1823 if { { ac_try="$ac_compile"
1825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_compile") 2>conftest.err
1832 if test -s conftest.err; then
1833 grep -v '^
*+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest.$ac_objext; then :
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's
/^
/|
/' conftest.$ac_ext >&5
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1850 as_fn_set_status $ac_retval
1852 } # ac_fn_c_try_compile
1854 # ac_fn_c_try_cpp LINENO
1855 # ----------------------
1856 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 if { { ac_try="$ac_cpp conftest.$ac_ext"
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1869 if test -s conftest.err; then
1870 grep -v '^
*+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } >/dev/null && {
1876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1877 test ! -s conftest.err
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's
/^
/|
/' conftest.$ac_ext >&5
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 as_fn_set_status $ac_retval
1891 # ac_fn_c_try_link LINENO
1892 # -----------------------
1893 # Try to link conftest.$ac_ext, and return whether this succeeded.
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 rm -f conftest.$ac_objext conftest$ac_exeext
1898 if { { ac_try="$ac_link"
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_link") 2>conftest.err
1907 if test -s conftest.err; then
1908 grep -v '^
*+' conftest.err >conftest.er1
1909 cat conftest.er1 >&5
1910 mv -f conftest.er1 conftest.err
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } && {
1914 test -z "$ac_c_werror_flag" ||
1915 test ! -s conftest.err
1916 } && test -s conftest$ac_exeext && {
1917 test "$cross_compiling" = yes ||
1918 $as_test_x conftest$ac_exeext
1922 $as_echo "$as_me: failed program was:" >&5
1923 sed 's
/^
/|
/' conftest.$ac_ext >&5
1927 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1928 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1929 # interfere with the next link command; also delete a directory that is
1930 # left behind by Apple's compiler. We
do this before executing the actions.
1931 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1933 as_fn_set_status
$ac_retval
1935 } # ac_fn_c_try_link
1937 # ac_fn_c_try_run LINENO
1938 # ----------------------
1939 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1940 # that executables *can* be run.
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 if { { ac_try
="$ac_link"
1946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 $as_echo "$ac_try_echo"; } >&5
1951 (eval "$ac_link") 2>&5
1953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1955 { { case "(($ac_try" in
1956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1957 *) ac_try_echo
=$ac_try;;
1959 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960 $as_echo "$ac_try_echo"; } >&5
1961 (eval "$ac_try") 2>&5
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; }; }; then :
1967 $as_echo "$as_me: program exited with status $ac_status" >&5
1968 $as_echo "$as_me: failed program was:" >&5
1969 sed 's/^/| /' conftest.
$ac_ext >&5
1971 ac_retval
=$ac_status
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1975 as_fn_set_status
$ac_retval
1979 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1980 # -------------------------------------------------------
1981 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1982 # the include files in INCLUDES and setting the cache variable VAR
1984 ac_fn_c_check_header_mongrel
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1991 $as_echo_n "(cached) " >&6
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1997 # Is the header compilable?
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1999 $as_echo_n "checking $2 usability... " >&6; }
2000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2006 ac_header_compiler
=yes
2008 ac_header_compiler
=no
2010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2012 $as_echo "$ac_header_compiler" >&6; }
2014 # Is the header present?
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2016 $as_echo_n "checking $2 presence... " >&6; }
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2021 if ac_fn_c_try_cpp
"$LINENO"; then :
2022 ac_header_preproc
=yes
2024 ac_header_preproc
=no
2026 rm -f conftest.err conftest.
$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2028 $as_echo "$ac_header_preproc" >&6; }
2030 # So? What about this header?
2031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2034 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2036 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2040 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2042 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2044 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2046 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2048 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2050 ## ------------------------------ ##
2051 ## Report this to admin@amule.org ##
2052 ## ------------------------------ ##
2054 ) |
sed "s/^/$as_me: WARNING: /" >&2
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2060 $as_echo_n "(cached) " >&6
2062 eval "$3=\$ac_header_compiler"
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2066 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2070 } # ac_fn_c_check_header_mongrel
2072 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2073 # -------------------------------------------------------
2074 # Tests whether HEADER exists and can be compiled using the include files in
2075 # INCLUDES, setting the cache variable VAR accordingly.
2076 ac_fn_c_check_header_compile
()
2078 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 $as_echo_n "checking for $2... " >&6; }
2081 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2082 $as_echo_n "(cached) " >&6
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2089 if ac_fn_c_try_compile
"$LINENO"; then :
2094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2101 } # ac_fn_c_check_header_compile
2103 # ac_fn_cxx_try_run LINENO
2104 # ------------------------
2105 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2106 # that executables *can* be run.
2107 ac_fn_cxx_try_run
()
2109 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2110 if { { ac_try
="$ac_link"
2112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116 $as_echo "$ac_try_echo"; } >&5
2117 (eval "$ac_link") 2>&5
2119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2120 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2121 { { case "(($ac_try" in
2122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2123 *) ac_try_echo
=$ac_try;;
2125 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2126 $as_echo "$ac_try_echo"; } >&5
2127 (eval "$ac_try") 2>&5
2129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2130 test $ac_status = 0; }; }; then :
2133 $as_echo "$as_me: program exited with status $ac_status" >&5
2134 $as_echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.
$ac_ext >&5
2137 ac_retval
=$ac_status
2139 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2140 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2141 as_fn_set_status
$ac_retval
2143 } # ac_fn_cxx_try_run
2145 # ac_fn_cxx_try_link LINENO
2146 # -------------------------
2147 # Try to link conftest.$ac_ext, and return whether this succeeded.
2148 ac_fn_cxx_try_link
()
2150 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2151 rm -f conftest.
$ac_objext conftest
$ac_exeext
2152 if { { ac_try
="$ac_link"
2154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2155 *) ac_try_echo=$ac_try;;
2157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2158 $as_echo "$ac_try_echo"; } >&5
2159 (eval "$ac_link") 2>conftest.err
2161 if test -s conftest.err; then
2162 grep -v '^ *+' conftest.err >conftest.er1
2163 cat conftest.er1 >&5
2164 mv -f conftest.er1 conftest.err
2166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2167 test $ac_status = 0; } && {
2168 test -z "$ac_cxx_werror_flag" ||
2169 test ! -s conftest.err
2170 } && test -s conftest$ac_exeext && {
2171 test "$cross_compiling" = yes ||
2172 $as_test_x conftest$ac_exeext
2176 $as_echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.$ac_ext >&5
2181 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2182 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2183 # interfere with the next link command; also delete a directory that is
2184 # left behind by Apple's compiler. We do this before executing the actions.
2185 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2186 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2187 as_fn_set_status $ac_retval
2189 } # ac_fn_cxx_try_link
2191 # ac_fn_c_check_func LINENO FUNC VAR
2192 # ----------------------------------
2193 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2194 ac_fn_c_check_func ()
2196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2198 $as_echo_n "checking for $2... " >&6; }
2199 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2200 $as_echo_n "(cached) " >&6
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2204 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2206 #define $2 innocuous_$2
2208 /* System header to define __stub macros and hopefully few prototypes,
2209 which can conflict with char $2 (); below.
2210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2211 <limits.h> exists even on freestanding compilers. */
2214 # include <limits.h>
2216 # include <assert.h>
2221 /* Override any GCC internal prototype to avoid an error.
2222 Use char because int might match the return type of a GCC
2223 builtin and then its argument prototype would still apply. */
2228 /* The GNU C library defines this for functions which it implements
2229 to always fail with ENOSYS. Some functions are actually named
2230 something starting with __ and the normal name is an alias. */
2231 #if defined __stub_$2 || defined __stub___$2
2243 if ac_fn_c_try_link "$LINENO"; then :
2248 rm -f core conftest.err conftest.$ac_objext \
2249 conftest$ac_exeext conftest.$ac_ext
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2256 } # ac_fn_c_check_func
2258 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2259 # -------------------------------------------
2260 # Tests whether TYPE exists after having included INCLUDES, setting cache
2261 # variable VAR accordingly.
2262 ac_fn_c_check_type ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2266 $as_echo_n "checking for $2... " >&6; }
2267 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2268 $as_echo_n "(cached) " >&6
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2283 if ac_fn_c_try_compile "$LINENO"; then :
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2296 if ac_fn_c_try_compile "$LINENO"; then :
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2308 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2310 } # ac_fn_c_check_type
2312 # ac_fn_c_check_decl LINENO SYMBOL VAR
2313 # ------------------------------------
2314 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2315 ac_fn_c_check_decl ()
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2319 $as_echo_n "checking whether $2 is declared... " >&6; }
2320 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2321 $as_echo_n "(cached) " >&6
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2337 if ac_fn_c_try_compile "$LINENO"; then :
2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2346 $as_echo "$ac_res" >&6; }
2347 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2349 } # ac_fn_c_check_decl
2350 cat >config.log <<_ACEOF
2351 This file contains any messages produced by compilers while
2352 running configure, to aid debugging if configure makes a mistake.
2354 It was created by aMule $as_me SVN, which was
2355 generated by GNU Autoconf 2.65. Invocation command line was
2367 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2368 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2369 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2370 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2371 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2373 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2374 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2376 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2377 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2378 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2379 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2380 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2381 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2382 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 $as_echo "PATH: $as_dir"
2407 # Keep a trace of the command line.
2408 # Strip out --no-create and --no-recursion so they do not pile up.
2409 # Strip out --silent because we don't want to record it for future runs.
2410 # Also quote any args containing shell meta-characters.
2411 # Make two passes to allow for proper duplicate-argument suppression.
2415 ac_must_keep_next=false
2421 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2423 | -silent | --silent | --silen | --sile | --sil)
2426 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2429 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2431 as_fn_append ac_configure_args1 " '$ac_arg'"
2432 if test $ac_must_keep_next = true; then
2433 ac_must_keep_next=false # Got value, back to normal.
2436 *=* | --config-cache | -C | -disable-* | --disable-* \
2437 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2438 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2439 | -with-* | --with-* | -without-* | --without-* | --x)
2440 case "$ac_configure_args0 " in
2441 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2444 -* ) ac_must_keep_next=true ;;
2447 as_fn_append ac_configure_args " '$ac_arg'"
2452 { ac_configure_args0=; unset ac_configure_args0;}
2453 { ac_configure_args1=; unset ac_configure_args1;}
2455 # When interrupted or exit'd, cleanup temporary files, and complete
2456 # config.log. We remove comments because anyway the quotes in there
2457 # would cause problems or look ugly.
2458 # WARNING: Use '\'' to represent an apostrophe within the trap.
2459 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2460 trap 'exit_status=$?
2461 # Save into config.log some information that might help in debugging.
2466 ## ---------------- ##
2467 ## Cache variables. ##
2468 ## ---------------- ##
2471 # The following way of writing the cache mishandles newlines in values,
2473 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2474 eval ac_val=\$$ac_var
2478 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2479 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2482 _ | IFS | as_nl) ;; #(
2483 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2484 *) { eval $ac_var=; unset $ac_var;} ;;
2489 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2490 *${as_nl}ac_space=\ *)
2492 "s/'\''/'\''\\\\'\'''\''/g;
2493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2504 ## ----------------- ##
2505 ## Output variables. ##
2506 ## ----------------- ##
2509 for ac_var in $ac_subst_vars
2511 eval ac_val=\$$ac_var
2513 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2515 $as_echo "$ac_var='\''$ac_val'\''"
2519 if test -n "$ac_subst_files"; then
2521 ## ------------------- ##
2522 ## File substitutions. ##
2523 ## ------------------- ##
2526 for ac_var in $ac_subst_files
2528 eval ac_val=\$$ac_var
2530 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2532 $as_echo "$ac_var='\''$ac_val'\''"
2537 if test -s confdefs.h; then
2547 test "$ac_signal" != 0 &&
2548 $as_echo "$as_me: caught signal $ac_signal"
2549 $as_echo "$as_me: exit $exit_status"
2551 rm -f core *.core core.conftest.* &&
2552 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2555 for ac_signal in 1 2 13 15; do
2556 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2560 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2561 rm -f -r conftest* confdefs.h
2563 $as_echo "/* confdefs.h */" > confdefs.h
2565 # Predefined preprocessor variables.
2567 cat >>confdefs.h <<_ACEOF
2568 #define PACKAGE_NAME "$PACKAGE_NAME"
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE_STRING "$PACKAGE_STRING"
2583 cat >>confdefs.h <<_ACEOF
2584 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2587 cat >>confdefs.h <<_ACEOF
2588 #define PACKAGE_URL "$PACKAGE_URL"
2592 # Let the site file select an alternate cache file if it wants to.
2593 # Prefer an explicitly selected file to automatically selected ones.
2596 if test -n "$CONFIG_SITE"; then
2597 ac_site_file1=$CONFIG_SITE
2598 elif test "x$prefix" != xNONE; then
2599 ac_site_file1=$prefix/share/config.site
2600 ac_site_file2=$prefix/etc/config.site
2602 ac_site_file1=$ac_default_prefix/share/config.site
2603 ac_site_file2=$ac_default_prefix/etc/config.site
2605 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2607 test "x$ac_site_file" = xNONE && continue
2608 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2611 sed 's/^/| /' "$ac_site_file" >&5
2616 if test -r "$cache_file"; then
2617 # Some versions of bash will fail to source /dev/null (special files
2618 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2619 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2621 $as_echo "$as_me: loading cache $cache_file" >&6;}
2623 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2624 *) . "./$cache_file";;
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2629 $as_echo "$as_me: creating cache $cache_file" >&6;}
2633 as_fn_append ac_header_list " stdlib.h"
2634 as_fn_append ac_header_list " unistd.h"
2635 as_fn_append ac_header_list " sys/param.h"
2636 # Check that the precious variables saved in the cache have kept the same
2638 ac_cache_corrupted=false
2639 for ac_var in $ac_precious_vars; do
2640 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2641 eval ac_new_set=\$ac_env_${ac_var}_set
2642 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2643 eval ac_new_val=\$ac_env_${ac_var}_value
2644 case $ac_old_set,$ac_new_set in
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2647 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2648 ac_cache_corrupted=: ;;
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2651 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2652 ac_cache_corrupted=: ;;
2655 if test "x$ac_old_val" != "x$ac_new_val"; then
2656 # differences in whitespace do not lead to failure.
2657 ac_old_val_w=`echo x
$ac_old_val`
2658 ac_new_val_w=`echo x
$ac_new_val`
2659 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2661 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2662 ac_cache_corrupted=:
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2665 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2666 eval $ac_var=\$ac_old_val
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2669 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2671 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2674 # Pass precious variables to config.status.
2675 if test "$ac_new_set" = set; then
2677 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2678 *) ac_arg=$ac_var=$ac_new_val ;;
2680 case " $ac_configure_args " in
2681 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2682 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2686 if $ac_cache_corrupted; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2690 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2691 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2693 ## -------------------- ##
2694 ## Main body of script. ##
2695 ## -------------------- ##
2698 ac_cpp='$CPP $CPPFLAGS'
2699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2704 am__api_version='1.11'
2707 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2708 for ac_t in install-sh install.sh shtool; do
2709 if test -f "$ac_dir/$ac_t"; then
2711 ac_install_sh="$ac_aux_dir/$ac_t -c"
2716 if test -z "$ac_aux_dir"; then
2717 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2720 # These three variables are undocumented and unsupported,
2721 # and are intended to be withdrawn in a future Autoconf release.
2722 # They can cause serious problems if a builder's source tree is in a directory
2723 # whose full name contains unusual characters.
2724 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2725 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2726 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2729 # Find a good install program. We prefer a C program (faster),
2730 # so one script is as good as another. But avoid the broken or
2731 # incompatible versions:
2732 # SysV /etc/install, /usr/sbin/install
2733 # SunOS /usr/etc/install
2734 # IRIX /sbin/install
2736 # AmigaOS /C/install, which installs bootblocks on floppy discs
2737 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2738 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2739 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2740 # OS/2's system install, which has a completely different semantic
2741 # ./install, which can be erroneously created by make from ./install.sh.
2742 # Reject install programs that cannot install multiple files.
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2744 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2745 if test -z "$INSTALL"; then
2746 if test "${ac_cv_path_install+set}" = set; then :
2747 $as_echo_n "(cached) " >&6
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 # Account for people who put trailing slashes in PATH elements.
2755 case $as_dir/ in #((
2756 ./ | .// | /[cC]/* | \
2757 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2758 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2761 # OSF1 and SCO ODT 3.0 have their own names for install.
2762 # Don't use installbsd from OSF since it installs stuff as root
2764 for ac_prog in ginstall scoinst install; do
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2767 if test $ac_prog = install &&
2768 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2769 # AIX install. It has an incompatible calling convention.
2771 elif test $ac_prog = install &&
2772 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2773 # program-specific install script used by HP pwplus--don't use.
2776 rm -rf conftest.one conftest.two conftest.dir
2777 echo one > conftest.one
2778 echo two > conftest.two
2780 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2781 test -s conftest.one && test -s conftest.two &&
2782 test -s conftest.dir/conftest.one &&
2783 test -s conftest.dir/conftest.two
2785 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2798 rm -rf conftest.one conftest.two conftest.dir
2801 if test "${ac_cv_path_install+set}" = set; then
2802 INSTALL=$ac_cv_path_install
2804 # As a last resort, use the slow shell script. Don't cache a
2805 # value for INSTALL within a source directory, because that will
2806 # break other packages using the cache if that directory is
2807 # removed, or if the value is a relative name.
2808 INSTALL=$ac_install_sh
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2812 $as_echo "$INSTALL" >&6; }
2814 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2815 # It thinks the first close brace ends the variable substitution.
2816 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2818 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2820 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2823 $as_echo_n "checking whether build environment is sane... " >&6; }
2826 echo timestamp > conftest.file
2827 # Reject unsafe characters in $srcdir or the absolute working directory
2828 # name. Accept space and tab only in the latter.
2832 *[\\\"\#\$\&\'\`$am_lf]*)
2833 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2836 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2837 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2840 # Do `set' in a subshell so we don't clobber the current shell's
2841 # arguments. Must try -L first in case configure is actually a
2842 # symlink; some systems play weird games with the mod time of symlinks
2843 # (eg FreeBSD returns the mod time of the symlink's containing
2846 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2847 if test "$*" = "X"; then
2849 set X
`ls -t "$srcdir/configure" conftest.file`
2852 if test "$*" != "X $srcdir/configure conftest.file" \
2853 && test "$*" != "X conftest.file $srcdir/configure"; then
2855 # If neither matched, then we have a broken ls. This can happen
2856 # if, for instance, CONFIG_SHELL is bash and it inherits a
2857 # broken ls alias from the environment. This has actually
2858 # happened. Such a system could not be considered "sane".
2859 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2860 alias in your environment" "$LINENO" 5
2863 test "$2" = conftest.
file
2869 as_fn_error
"newly created file is older than distributed files!
2870 Check your system clock" "$LINENO" 5
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2873 $as_echo "yes" >&6; }
2874 test "$program_prefix" != NONE
&&
2875 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2876 # Use a double $ so make ignores it.
2877 test "$program_suffix" != NONE
&&
2878 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2879 # Double any \ or $.
2880 # By default was `s,x,x', remove it if useless.
2881 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2882 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2884 # expand $ac_aux_dir to an absolute path
2885 am_aux_dir
=`cd $ac_aux_dir && pwd`
2887 if test x
"${MISSING+set}" != xset
; then
2890 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2892 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2895 # Use eval to expand $SHELL
2896 if eval "$MISSING --run true"; then
2897 am_missing_run
="$MISSING --run "
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2901 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2904 if test x
"${install_sh}" != xset
; then
2907 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2909 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2913 # Installed binaries are usually stripped using `strip' when the user
2914 # run `make install-strip'. However `strip' might not be the right
2915 # tool to use in cross-compilation environments, therefore Automake
2916 # will honor the `STRIP' environment variable to overrule this program.
2917 if test "$cross_compiling" != no
; then
2918 if test -n "$ac_tool_prefix"; then
2919 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2920 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if test "${ac_cv_prog_STRIP+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$STRIP"; then
2927 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir
=.
2934 for ac_exec_ext
in '' $ac_executable_extensions; do
2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2936 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 STRIP
=$ac_cv_prog_STRIP
2947 if test -n "$STRIP"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2949 $as_echo "$STRIP" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2957 if test -z "$ac_cv_prog_STRIP"; then
2959 # Extract the first word of "strip", so it can be a program name with args.
2960 set dummy strip
; ac_word
=$2
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2962 $as_echo_n "checking for $ac_word... " >&6; }
2963 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2964 $as_echo_n "(cached) " >&6
2966 if test -n "$ac_ct_STRIP"; then
2967 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir
=.
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2976 ac_cv_prog_ac_ct_STRIP
="strip"
2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2987 if test -n "$ac_ct_STRIP"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2989 $as_echo "$ac_ct_STRIP" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2992 $as_echo "no" >&6; }
2995 if test "x$ac_ct_STRIP" = x
; then
2998 case $cross_compiling:$ac_tool_warned in
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3002 ac_tool_warned
=yes ;;
3007 STRIP
="$ac_cv_prog_STRIP"
3011 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3014 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3015 if test -z "$MKDIR_P"; then
3016 if test "${ac_cv_path_mkdir+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3020 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3023 test -z "$as_dir" && as_dir
=.
3024 for ac_prog
in mkdir gmkdir
; do
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3027 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3028 'mkdir (GNU coreutils) '* | \
3029 'mkdir (coreutils) '* | \
3030 'mkdir (fileutils) '4.1*)
3031 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3041 test -d .
/--version && rmdir .
/--version
3042 if test "${ac_cv_path_mkdir+set}" = set; then
3043 MKDIR_P
="$ac_cv_path_mkdir -p"
3045 # As a last resort, use the slow shell script. Don't cache a
3046 # value for MKDIR_P within a source directory, because that will
3047 # break other packages using the cache if that directory is
3048 # removed, or if the value is a relative name.
3049 MKDIR_P
="$ac_install_sh -d"
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3053 $as_echo "$MKDIR_P" >&6; }
3057 [\\/$
]* | ?
:[\\/]*) ;;
3058 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3061 for ac_prog
in gawk mawk nawk
awk
3063 # Extract the first word of "$ac_prog", so it can be a program name with args.
3064 set dummy
$ac_prog; ac_word
=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if test "${ac_cv_prog_AWK+set}" = set; then :
3068 $as_echo_n "(cached) " >&6
3070 if test -n "$AWK"; then
3071 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080 ac_cv_prog_AWK
="$ac_prog"
3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 if test -n "$AWK"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3093 $as_echo "$AWK" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3100 test -n "$AWK" && break
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3104 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3106 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3107 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3108 $as_echo_n "(cached) " >&6
3110 cat >conftest.
make <<\_ACEOF
3113 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3115 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3116 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3118 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3120 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3124 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3126 $as_echo "yes" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3131 SET_MAKE
="MAKE=${MAKE-make}"
3134 rm -rf .tst
2>/dev
/null
3135 mkdir .tst
2>/dev
/null
3136 if test -d .tst
; then
3141 rmdir .tst
2>/dev
/null
3143 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3144 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3145 # is not polluted with repeated "-I."
3146 am__isrc
=' -I$(srcdir)'
3147 # test to see if srcdir already configured
3148 if test -f $srcdir/config.status
; then
3149 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3153 # test whether we have cygpath
3154 if test -z "$CYGPATH_W"; then
3155 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3156 CYGPATH_W
='cygpath -w'
3163 # Define the identity of the package.
3168 cat >>confdefs.h
<<_ACEOF
3169 #define PACKAGE "$PACKAGE"
3173 cat >>confdefs.h
<<_ACEOF
3174 #define VERSION "$VERSION"
3177 # Some tools Automake needs.
3179 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3182 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3185 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3188 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3191 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3193 # We need awk for the "check" target. The system "awk" is bad on
3195 # Always define AMTAR for backward compatibility.
3197 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3199 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3209 ac_config_headers
="$ac_config_headers config.h"
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3213 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3214 # Check whether --enable-maintainer-mode was given.
3215 if test "${enable_maintainer_mode+set}" = set; then :
3216 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3218 USE_MAINTAINER_MODE
=no
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3222 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3223 if test $USE_MAINTAINER_MODE = yes; then
3224 MAINTAINER_MODE_TRUE
=
3225 MAINTAINER_MODE_FALSE
='#'
3227 MAINTAINER_MODE_TRUE
='#'
3228 MAINTAINER_MODE_FALSE
=
3231 MAINT
=$MAINTAINER_MODE_TRUE
3235 # Make sure we can run config.sub.
3236 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3237 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3240 $as_echo_n "checking build system type... " >&6; }
3241 if test "${ac_cv_build+set}" = set; then :
3242 $as_echo_n "(cached) " >&6
3244 ac_build_alias
=$build_alias
3245 test "x$ac_build_alias" = x
&&
3246 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3247 test "x$ac_build_alias" = x
&&
3248 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3249 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3250 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3254 $as_echo "$ac_cv_build" >&6; }
3255 case $ac_cv_build in
3257 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3260 ac_save_IFS
=$IFS; IFS
='-'
3266 # Remember, the first character of IFS is used to create $*,
3267 # except with old shells:
3270 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3274 $as_echo_n "checking host system type... " >&6; }
3275 if test "${ac_cv_host+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3278 if test "x$host_alias" = x
; then
3279 ac_cv_host
=$ac_cv_build
3281 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3282 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3287 $as_echo "$ac_cv_host" >&6; }
3290 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3293 ac_save_IFS
=$IFS; IFS
='-'
3299 # Remember, the first character of IFS is used to create $*,
3300 # except with old shells:
3303 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3307 case "${host_os}" in
3310 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3311 MULELDFLAGS
="-bind_at_load"
3312 touch src
/Scanner.cpp
3316 LIBS
="$LIBS -L/usr/local/lib"
3317 MULECPPFLAGS
="-D__OPENBSD__"
3319 *cygwin
* |
*mingw32
*)
3321 MULECPPFLAGS
="-DNOMINMAX"
3325 RESOLV_LIB
="-lresolv -lnsl"
3330 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3331 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3332 # Still, we prepend them, instead of adding, so the user may override them.
3333 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3334 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3338 MULECPPFLAGS
="-D__IRIX__"
3345 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3346 if test ${SYS:-unknown} != win32
; then :
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3349 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3350 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3352 MULELDFLAGS
="$MULELDFLAGS -pthread"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3354 $as_echo "yes" >&6; }
3358 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3368 mule_backup_CFLAGS
="$CFLAGS"
3369 mule_backup_CXXFLAGS
="$CXXFLAGS"
3370 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3372 ac_cpp
='$CXXCPP $CPPFLAGS'
3373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3376 if test -z "$CXX"; then
3377 if test -n "$CCC"; then
3380 if test -n "$ac_tool_prefix"; then
3381 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_CXX+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3390 if test -n "$CXX"; then
3391 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir
=.
3398 for ac_exec_ext
in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 if test -n "$CXX"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3413 $as_echo "$CXX" >&6; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3420 test -n "$CXX" && break
3423 if test -z "$CXX"; then
3425 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3427 # Extract the first word of "$ac_prog", so it can be a program name with args.
3428 set dummy
$ac_prog; ac_word
=$2
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3430 $as_echo_n "checking for $ac_word... " >&6; }
3431 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3432 $as_echo_n "(cached) " >&6
3434 if test -n "$ac_ct_CXX"; then
3435 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir
=.
3442 for ac_exec_ext
in '' $ac_executable_extensions; do
3443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3444 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3455 if test -n "$ac_ct_CXX"; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3457 $as_echo "$ac_ct_CXX" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3464 test -n "$ac_ct_CXX" && break
3467 if test "x$ac_ct_CXX" = x
; then
3470 case $cross_compiling:$ac_tool_warned in
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3474 ac_tool_warned
=yes ;;
3482 # Provide some information about the compiler.
3483 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3486 for ac_option
in --version -v -V -qversion; do
3487 { { ac_try
="$ac_compiler $ac_option >&5"
3489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3490 *) ac_try_echo=$ac_try;;
3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493 $as_echo "$ac_try_echo"; } >&5
3494 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3496 if test -s conftest.err; then
3498 ... rest of stderr output deleted ...
3499 10q' conftest.err >conftest.er1
3500 cat conftest.er1 >&5
3502 rm -f conftest.er1 conftest.err
3503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3504 test $ac_status = 0; }
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3518 ac_clean_files_save=$ac_clean_files
3519 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3520 # Try to create an executable without -o first, disregard a.out.
3521 # It will help us diagnose broken compilers, and finding out an intuition
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3524 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3525 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3527 # The possible output files:
3528 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3531 for ac_file in $ac_files
3534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3535 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3540 if { { ac_try="$ac_link_default"
3542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3543 *) ac_try_echo
=$ac_try;;
3545 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546 $as_echo "$ac_try_echo"; } >&5
3547 (eval "$ac_link_default") 2>&5
3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550 test $ac_status = 0; }; then :
3551 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3552 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3553 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3554 # so that the user can short-circuit this test for compilers unknown to
3556 for ac_file
in $ac_files ''
3558 test -f "$ac_file" ||
continue
3560 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3563 # We found the default executable, but exeext='' is most
3567 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3569 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3571 # We set ac_cv_exeext here because the later test for it is not
3572 # safe: cross compilers may not add the suffix if given an `-o'
3573 # argument, so we may need to know it at that point already.
3574 # Even if this section looks crufty: it has the advantage of
3581 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3586 if test -z "$ac_file"; then :
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3589 $as_echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.
$ac_ext >&5
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 { as_fn_set_status
77
3595 as_fn_error
"C++ compiler cannot create executables
3596 See \`config.log' for more details." "$LINENO" 5; }; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3599 $as_echo "yes" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3602 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3604 $as_echo "$ac_file" >&6; }
3605 ac_exeext
=$ac_cv_exeext
3607 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3608 ac_clean_files
=$ac_clean_files_save
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3610 $as_echo_n "checking for suffix of executables... " >&6; }
3611 if { { ac_try
="$ac_link"
3613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;;
3616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617 $as_echo "$ac_try_echo"; } >&5
3618 (eval "$ac_link") 2>&5
3620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621 test $ac_status = 0; }; then :
3622 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3623 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3624 # work properly (i.e., refer to `conftest.exe'), while it won't with
3626 for ac_file
in conftest.exe conftest conftest.
*; do
3627 test -f "$ac_file" ||
continue
3629 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3630 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3639 See \`config.log' for more details." "$LINENO" 5; }
3641 rm -f conftest conftest
$ac_cv_exeext
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3643 $as_echo "$ac_cv_exeext" >&6; }
3645 rm -f conftest.
$ac_ext
3646 EXEEXT
=$ac_cv_exeext
3648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3654 FILE *f = fopen ("conftest.out", "w");
3655 return ferror (f) || fclose (f) != 0;
3661 ac_clean_files
="$ac_clean_files conftest.out"
3662 # Check that the compiler produces executables we can run. If not, either
3663 # the compiler is broken, or we cross compile.
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3665 $as_echo_n "checking whether we are cross compiling... " >&6; }
3666 if test "$cross_compiling" != yes; then
3667 { { ac_try
="$ac_link"
3669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_link") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; }
3678 if { ac_try='./conftest$ac_cv_exeext'
3679 { { case "(($ac_try" in
3680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3681 *) ac_try_echo
=$ac_try;;
3683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3684 $as_echo "$ac_try_echo"; } >&5
3685 (eval "$ac_try") 2>&5
3687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3688 test $ac_status = 0; }; }; then
3691 if test "$cross_compiling" = maybe
; then
3694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 as_fn_error
"cannot run C++ compiled programs.
3697 If you meant to cross compile, use \`--host'.
3698 See \`config.log' for more details." "$LINENO" 5; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3703 $as_echo "$cross_compiling" >&6; }
3705 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3706 ac_clean_files
=$ac_clean_files_save
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3708 $as_echo_n "checking for suffix of object files... " >&6; }
3709 if test "${ac_cv_objext+set}" = set; then :
3710 $as_echo_n "(cached) " >&6
3712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3723 rm -f conftest.o conftest.obj
3724 if { { ac_try
="$ac_compile"
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_compile") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }; then :
3735 for ac_file in conftest.o conftest.obj conftest.*; do
3736 test -f "$ac_file" || continue;
3738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3739 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3744 $as_echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error "cannot compute suffix of object files
: cannot compile
3750 See \
`config.log' for more details." "$LINENO" 5; }
3752 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3755 $as_echo "$ac_cv_objext" >&6; }
3756 OBJEXT=$ac_cv_objext
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3759 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3760 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3777 if ac_fn_cxx_try_compile "$LINENO"; then :
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3787 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3788 if test $ac_compiler_gnu = yes; then
3793 ac_test_CXXFLAGS=${CXXFLAGS+set}
3794 ac_save_CXXFLAGS=$CXXFLAGS
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3796 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3797 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3801 ac_cxx_werror_flag=yes
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_cxx_try_compile "$LINENO"; then :
3816 ac_cv_prog_cxx_g=yes
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3830 if ac_fn_cxx_try_compile "$LINENO"; then :
3833 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3846 if ac_fn_cxx_try_compile "$LINENO"; then :
3847 ac_cv_prog_cxx_g=yes
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3857 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3858 if test "$ac_test_CXXFLAGS" = set; then
3859 CXXFLAGS=$ac_save_CXXFLAGS
3860 elif test $ac_cv_prog_cxx_g = yes; then
3861 if test "$GXX" = yes; then
3867 if test "$GXX" = yes; then
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878 DEPDIR="${am__leading_dot}deps"
3880 ac_config_commands="$ac_config_commands depfiles"
3883 am_make=${MAKE-make}
3884 cat > confinc << 'END'
3886 @echo this is the am__doit target
3889 # If we don't find an include directive, just comment out the code.
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3891 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3895 # First try GNU make style include.
3896 echo "include confinc" > confmf
3897 # Ignore all kinds of additional output from `make'.
3898 case `$am_make -s -f confmf 2> /dev/null` in #(
3899 *the\ am__doit\ target*)
3905 # Now try BSD make style include.
3906 if test "$am__include" = "#"; then
3907 echo '.include
"confinc"' > confmf
3908 case `$am_make -s -f confmf 2> /dev/null` in #(
3909 *the\ am__doit\ target*)
3910 am__include=.include
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3919 $as_echo "$_am_result" >&6; }
3920 rm -f confinc confmf
3922 # Check whether --enable-dependency-tracking was given.
3923 if test "${enable_dependency_tracking+set}" = set; then :
3924 enableval=$enable_dependency_tracking;
3927 if test "x$enable_dependency_tracking" != xno; then
3928 am_depcomp="$ac_aux_dir/depcomp"
3931 if test "x$enable_dependency_tracking" != xno
; then
3941 depcc
="$CXX" am_compiler_list
=
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3944 $as_echo_n "checking dependency style of $depcc... " >&6; }
3945 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3946 $as_echo_n "(cached) " >&6
3948 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3949 # We make a subdir and do the tests there. Otherwise we can end up
3950 # making bogus files that we don't know about and never remove. For
3951 # instance it was reported that on HP-UX the gcc test will end up
3952 # making a dummy file named `D' -- because `-MD' means `put the output
3955 # Copy depcomp to subdir because otherwise we won't find it if we're
3956 # using a relative directory.
3957 cp "$am_depcomp" conftest.dir
3959 # We will build objects and dependencies in a subdirectory because
3960 # it helps to detect inapplicable dependency modes. For instance
3961 # both Tru64's cc and ICC support -MD to output dependencies as a
3962 # side effect of compilation, but ICC will put the dependencies in
3963 # the current directory while Tru64 will put them in the object
3967 am_cv_CXX_dependencies_compiler_type
=none
3968 if test "$am_compiler_list" = ""; then
3969 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3972 case " $depcc " in #(
3973 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3976 for depmode
in $am_compiler_list; do
3977 # Setup a source with many dependencies, because some compilers
3978 # like to wrap large dependency lists on column 80 (with \), and
3979 # we should not choose a depcomp mode which is confused by this.
3981 # We need to recreate these files for each test, as the compiler may
3982 # overwrite some of them when testing with obscure command lines.
3983 # This happens at least with the AIX C compiler.
3985 for i
in 1 2 3 4 5 6; do
3986 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3987 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3988 # Solaris 8's {/usr,}/bin/sh.
3989 touch sub
/conftst
$i.h
3991 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3993 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3994 # mode. It turns out that the SunPro C++ compiler does not properly
3995 # handle `-M -o', and we need to detect this. Also, some Intel
3996 # versions had trouble with output in subdirs
3997 am__obj
=sub
/conftest.
${OBJEXT-o}
3998 am__minus_obj
="-o $am__obj"
4001 # This depmode causes a compiler race in universal mode.
4002 test "$am__universal" = false ||
continue
4005 # after this tag, mechanisms are not by side-effect, so they'll
4006 # only be used when explicitly requested
4007 if test "x$enable_dependency_tracking" = xyes
; then
4013 msvisualcpp | msvcmsys
)
4014 # This compiler won't grok `-c -o', but also, the minuso test has
4015 # not run yet. These depmodes are late enough in the game, and
4016 # so weak that their functioning should not be impacted.
4017 am__obj
=conftest.
${OBJEXT-o}
4022 if depmode
=$depmode \
4023 source=sub
/conftest.c object
=$am__obj \
4024 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4025 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4026 >/dev
/null
2>conftest.err
&&
4027 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4028 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4029 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4030 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4031 # icc doesn't choke on unknown options, it will just issue warnings
4032 # or remarks (even with -Werror). So we grep stderr for any message
4033 # that says an option was ignored or not supported.
4034 # When given -MP, icc 7.0 and 7.1 complain thusly:
4035 # icc: Command line warning: ignoring option '-M'; no argument required
4036 # The diagnosis changed in icc 8.0:
4037 # icc: Command line remark: option '-MP' not supported
4038 if (grep 'ignoring option' conftest.err ||
4039 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4040 am_cv_CXX_dependencies_compiler_type
=$depmode
4049 am_cv_CXX_dependencies_compiler_type
=none
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4054 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4055 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4058 test "x$enable_dependency_tracking" != xno \
4059 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4060 am__fastdepCXX_TRUE
=
4061 am__fastdepCXX_FALSE
='#'
4063 am__fastdepCXX_TRUE
='#'
4064 am__fastdepCXX_FALSE
=
4069 ac_cpp
='$CXXCPP $CPPFLAGS'
4070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4074 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4075 if test -z "$CXXCPP"; then
4076 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4077 $as_echo_n "(cached) " >&6
4079 # Double quotes because CXXCPP needs to be expanded
4080 for CXXCPP
in "$CXX -E" "/lib/cpp"
4083 for ac_cxx_preproc_warn_flag
in '' yes
4085 # Use a header file that comes with gcc, so configuring glibc
4086 # with a fresh cross-compiler works.
4087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4088 # <limits.h> exists even on freestanding compilers.
4089 # On the NeXT, cc -E runs the code through the compiler's parser,
4090 # not just through cpp. "Syntax error" is here to catch this case.
4091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4094 # include <limits.h>
4096 # include <assert.h>
4100 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4103 # Broken: fails on valid input.
4106 rm -f conftest.err conftest.
$ac_ext
4108 # OK, works on sane cases. Now check whether nonexistent headers
4109 # can be detected and how.
4110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4112 #include <ac_nonexistent.h>
4114 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4115 # Broken: success on invalid input.
4118 # Passes both tests.
4122 rm -f conftest.err conftest.
$ac_ext
4125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4126 rm -f conftest.err conftest.
$ac_ext
4127 if $ac_preproc_ok; then :
4132 ac_cv_prog_CXXCPP
=$CXXCPP
4135 CXXCPP
=$ac_cv_prog_CXXCPP
4137 ac_cv_prog_CXXCPP
=$CXXCPP
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4140 $as_echo "$CXXCPP" >&6; }
4142 for ac_cxx_preproc_warn_flag
in '' yes
4144 # Use a header file that comes with gcc, so configuring glibc
4145 # with a fresh cross-compiler works.
4146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4147 # <limits.h> exists even on freestanding compilers.
4148 # On the NeXT, cc -E runs the code through the compiler's parser,
4149 # not just through cpp. "Syntax error" is here to catch this case.
4150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4153 # include <limits.h>
4155 # include <assert.h>
4159 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4162 # Broken: fails on valid input.
4165 rm -f conftest.err conftest.
$ac_ext
4167 # OK, works on sane cases. Now check whether nonexistent headers
4168 # can be detected and how.
4169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4171 #include <ac_nonexistent.h>
4173 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4174 # Broken: success on invalid input.
4177 # Passes both tests.
4181 rm -f conftest.err conftest.
$ac_ext
4184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4185 rm -f conftest.err conftest.
$ac_ext
4186 if $ac_preproc_ok; then :
4189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4192 See \`config.log' for more details." "$LINENO" 5; }
4196 ac_cpp
='$CPP $CPPFLAGS'
4197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4202 ac_cpp
='$CPP $CPPFLAGS'
4203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4208 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210 $as_echo_n "checking for $ac_word... " >&6; }
4211 if test "${ac_cv_prog_CC+set}" = set; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -n "$CC"; then
4215 ac_cv_prog_CC
="$CC" # Let the user override the test.
4217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir
=.
4222 for ac_exec_ext
in '' $ac_executable_extensions; do
4223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 if test -n "$CC"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4237 $as_echo "$CC" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4245 if test -z "$ac_cv_prog_CC"; then
4247 # Extract the first word of "gcc", so it can be a program name with args.
4248 set dummy gcc
; ac_word
=$2
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4250 $as_echo_n "checking for $ac_word... " >&6; }
4251 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4252 $as_echo_n "(cached) " >&6
4254 if test -n "$ac_ct_CC"; then
4255 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4261 test -z "$as_dir" && as_dir
=.
4262 for ac_exec_ext
in '' $ac_executable_extensions; do
4263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4264 ac_cv_prog_ac_ct_CC
="gcc"
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4275 if test -n "$ac_ct_CC"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4277 $as_echo "$ac_ct_CC" >&6; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4283 if test "x$ac_ct_CC" = x
; then
4286 case $cross_compiling:$ac_tool_warned in
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4290 ac_tool_warned
=yes ;;
4298 if test -z "$CC"; then
4299 if test -n "$ac_tool_prefix"; then
4300 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4301 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if test "${ac_cv_prog_CC+set}" = set; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -n "$CC"; then
4308 ac_cv_prog_CC
="$CC" # Let the user override the test.
4310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir
=.
4315 for ac_exec_ext
in '' $ac_executable_extensions; do
4316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4317 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 if test -n "$CC"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4330 $as_echo "$CC" >&6; }
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4339 if test -z "$CC"; then
4340 # Extract the first word of "cc", so it can be a program name with args.
4341 set dummy cc
; ac_word
=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if test "${ac_cv_prog_CC+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -n "$CC"; then
4348 ac_cv_prog_CC
="$CC" # Let the user override the test.
4351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir
=.
4356 for ac_exec_ext
in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4359 ac_prog_rejected
=yes
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 if test $ac_prog_rejected = yes; then
4371 # We found a bogon in the path, so make sure we never use it.
4372 set dummy
$ac_cv_prog_CC
4374 if test $# != 0; then
4375 # We chose a different compiler from the bogus one.
4376 # However, it has the same basename, so the bogon will be chosen
4377 # first if we set CC to just the basename; use the full file name.
4379 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4385 if test -n "$CC"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4387 $as_echo "$CC" >&6; }
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4395 if test -z "$CC"; then
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog
in cl.exe
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if test "${ac_cv_prog_CC+set}" = set; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$CC"; then
4407 ac_cv_prog_CC
="$CC" # Let the user override the test.
4409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir
=.
4414 for ac_exec_ext
in '' $ac_executable_extensions; do
4415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 if test -n "$CC"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4429 $as_echo "$CC" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$CC" && break
4439 if test -z "$CC"; then
4441 for ac_prog
in cl.exe
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy
$ac_prog; ac_word
=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$ac_ct_CC"; then
4451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir
=.
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_ac_ct_CC
="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4471 if test -n "$ac_ct_CC"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4473 $as_echo "$ac_ct_CC" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_CC" && break
4483 if test "x$ac_ct_CC" = x
; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned
=yes ;;
4499 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4501 as_fn_error
"no acceptable C compiler found in \$PATH
4502 See \`config.log' for more details." "$LINENO" 5; }
4504 # Provide some information about the compiler.
4505 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4508 for ac_option
in --version -v -V -qversion; do
4509 { { ac_try
="$ac_compiler $ac_option >&5"
4511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4512 *) ac_try_echo=$ac_try;;
4514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4515 $as_echo "$ac_try_echo"; } >&5
4516 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4518 if test -s conftest.err; then
4520 ... rest of stderr output deleted ...
4521 10q' conftest.err >conftest.er1
4522 cat conftest.er1 >&5
4524 rm -f conftest.er1 conftest.err
4525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4526 test $ac_status = 0; }
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4530 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4531 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4532 $as_echo_n "(cached) " >&6
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4548 if ac_fn_c_try_compile "$LINENO"; then :
4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4554 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4558 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4559 if test $ac_compiler_gnu = yes; then
4564 ac_test_CFLAGS=${CFLAGS+set}
4565 ac_save_CFLAGS=$CFLAGS
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4567 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4568 if test "${ac_cv_prog_cc_g+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 ac_save_c_werror_flag=$ac_c_werror_flag
4572 ac_c_werror_flag=yes
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4586 if ac_fn_c_try_compile "$LINENO"; then :
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4601 if ac_fn_c_try_compile "$LINENO"; then :
4604 ac_c_werror_flag=$ac_save_c_werror_flag
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4617 if ac_fn_c_try_compile "$LINENO"; then :
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 ac_c_werror_flag=$ac_save_c_werror_flag
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4628 $as_echo "$ac_cv_prog_cc_g" >&6; }
4629 if test "$ac_test_CFLAGS" = set; then
4630 CFLAGS=$ac_save_CFLAGS
4631 elif test $ac_cv_prog_cc_g = yes; then
4632 if test "$GCC" = yes; then
4638 if test "$GCC" = yes; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4645 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4646 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4649 ac_cv_prog_cc_c89=no
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4655 #include <sys/types.h>
4656 #include <sys/stat.h>
4657 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4658 struct buf { int x; };
4659 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4660 static char *e (p, i)
4666 static char *f (char * (*g) (char **, int), char **p, ...)
4671 s = g (p, va_arg (v,int));
4676 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4677 function prototypes and stuff, but not '\xHH' hex character constants.
4678 These don't provoke an error unfortunately, instead are silently treated
4679 as 'x'. The following induces an error, until -std is added to get
4680 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4681 array size at least. It's necessary to write '\x00'==0 to get something
4682 that's true only with -std. */
4683 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4685 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4686 inside strings and character constants. */
4688 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4690 int test (int i, double x);
4691 struct s1 {int (*f) (int a);};
4692 struct s2 {int (*f) (double a);};
4693 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4699 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4704 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4705 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4707 CC="$ac_save_CC $ac_arg"
4708 if ac_fn_c_try_compile "$LINENO"; then :
4709 ac_cv_prog_cc_c89=$ac_arg
4711 rm -f core conftest.err conftest.$ac_objext
4712 test "x$ac_cv_prog_cc_c89" != "xno" && break
4714 rm -f conftest.$ac_ext
4719 case "x$ac_cv_prog_cc_c89" in
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4722 $as_echo "none needed" >&6; } ;;
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4725 $as_echo "unsupported" >&6; } ;;
4727 CC="$CC $ac_cv_prog_cc_c89"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4729 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4731 if test "x$ac_cv_prog_cc_c89" != xno; then :
4736 ac_cpp='$CPP $CPPFLAGS'
4737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4741 depcc="$CC" am_compiler_list=
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4744 $as_echo_n "checking dependency style of $depcc... " >&6; }
4745 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4748 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4749 # We make a subdir and do the tests there. Otherwise we can end up
4750 # making bogus files that we don't know about and never remove. For
4751 # instance it was reported that on HP-UX the gcc test will end up
4752 # making a dummy file named `D
' -- because `-MD' means
`put the output
4755 # Copy depcomp to subdir because otherwise we won't find it if we're
4756 # using a relative directory.
4757 cp "$am_depcomp" conftest.dir
4759 # We will build objects and dependencies in a subdirectory because
4760 # it helps to detect inapplicable dependency modes. For instance
4761 # both Tru64's cc and ICC support -MD to output dependencies as a
4762 # side effect of compilation, but ICC will put the dependencies in
4763 # the current directory while Tru64 will put them in the object
4767 am_cv_CC_dependencies_compiler_type=none
4768 if test "$am_compiler_list" = ""; then
4769 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4772 case " $depcc " in #(
4773 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4776 for depmode in $am_compiler_list; do
4777 # Setup a source with many dependencies, because some compilers
4778 # like to wrap large dependency lists on column 80 (with \), and
4779 # we should not choose a depcomp mode which is confused by this.
4781 # We need to recreate these files for each test, as the compiler may
4782 # overwrite some of them when testing with obscure command lines.
4783 # This happens at least with the AIX C compiler.
4785 for i in 1 2 3 4 5 6; do
4786 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4787 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4788 # Solaris 8's
{/usr
,}/bin
/sh.
4789 touch sub
/conftst
$i.h
4791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4793 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4794 # mode. It turns out that the SunPro C++ compiler does not properly
4795 # handle `-M -o', and we need to detect this. Also, some Intel
4796 # versions had trouble with output in subdirs
4797 am__obj
=sub
/conftest.
${OBJEXT-o}
4798 am__minus_obj
="-o $am__obj"
4801 # This depmode causes a compiler race in universal mode.
4802 test "$am__universal" = false ||
continue
4805 # after this tag, mechanisms are not by side-effect, so they'll
4806 # only be used when explicitly requested
4807 if test "x$enable_dependency_tracking" = xyes
; then
4813 msvisualcpp | msvcmsys
)
4814 # This compiler won't grok `-c -o', but also, the minuso test has
4815 # not run yet. These depmodes are late enough in the game, and
4816 # so weak that their functioning should not be impacted.
4817 am__obj
=conftest.
${OBJEXT-o}
4822 if depmode
=$depmode \
4823 source=sub
/conftest.c object
=$am__obj \
4824 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4825 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4826 >/dev
/null
2>conftest.err
&&
4827 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4828 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4829 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4830 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4831 # icc doesn't choke on unknown options, it will just issue warnings
4832 # or remarks (even with -Werror). So we grep stderr for any message
4833 # that says an option was ignored or not supported.
4834 # When given -MP, icc 7.0 and 7.1 complain thusly:
4835 # icc: Command line warning: ignoring option '-M'; no argument required
4836 # The diagnosis changed in icc 8.0:
4837 # icc: Command line remark: option '-MP' not supported
4838 if (grep 'ignoring option' conftest.err ||
4839 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4840 am_cv_CC_dependencies_compiler_type
=$depmode
4849 am_cv_CC_dependencies_compiler_type
=none
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4854 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4855 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4858 test "x$enable_dependency_tracking" != xno \
4859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4861 am__fastdepCC_FALSE
='#'
4863 am__fastdepCC_TRUE
='#'
4864 am__fastdepCC_FALSE
=
4869 ac_cpp
='$CPP $CPPFLAGS'
4870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4874 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4875 # On Suns, sometimes $CPP names a directory.
4876 if test -n "$CPP" && test -d "$CPP"; then
4879 if test -z "$CPP"; then
4880 if test "${ac_cv_prog_CPP+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 # Double quotes because CPP needs to be expanded
4884 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4887 for ac_c_preproc_warn_flag
in '' yes
4889 # Use a header file that comes with gcc, so configuring glibc
4890 # with a fresh cross-compiler works.
4891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4892 # <limits.h> exists even on freestanding compilers.
4893 # On the NeXT, cc -E runs the code through the compiler's parser,
4894 # not just through cpp. "Syntax error" is here to catch this case.
4895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4898 # include <limits.h>
4900 # include <assert.h>
4904 if ac_fn_c_try_cpp
"$LINENO"; then :
4907 # Broken: fails on valid input.
4910 rm -f conftest.err conftest.
$ac_ext
4912 # OK, works on sane cases. Now check whether nonexistent headers
4913 # can be detected and how.
4914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4916 #include <ac_nonexistent.h>
4918 if ac_fn_c_try_cpp
"$LINENO"; then :
4919 # Broken: success on invalid input.
4922 # Passes both tests.
4926 rm -f conftest.err conftest.
$ac_ext
4929 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4930 rm -f conftest.err conftest.
$ac_ext
4931 if $ac_preproc_ok; then :
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4944 $as_echo "$CPP" >&6; }
4946 for ac_c_preproc_warn_flag
in '' yes
4948 # Use a header file that comes with gcc, so configuring glibc
4949 # with a fresh cross-compiler works.
4950 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4951 # <limits.h> exists even on freestanding compilers.
4952 # On the NeXT, cc -E runs the code through the compiler's parser,
4953 # not just through cpp. "Syntax error" is here to catch this case.
4954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4957 # include <limits.h>
4959 # include <assert.h>
4963 if ac_fn_c_try_cpp
"$LINENO"; then :
4966 # Broken: fails on valid input.
4969 rm -f conftest.err conftest.
$ac_ext
4971 # OK, works on sane cases. Now check whether nonexistent headers
4972 # can be detected and how.
4973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4975 #include <ac_nonexistent.h>
4977 if ac_fn_c_try_cpp
"$LINENO"; then :
4978 # Broken: success on invalid input.
4981 # Passes both tests.
4985 rm -f conftest.err conftest.
$ac_ext
4988 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4989 rm -f conftest.err conftest.
$ac_ext
4990 if $ac_preproc_ok; then :
4993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4995 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4996 See \`config.log' for more details." "$LINENO" 5; }
5000 ac_cpp
='$CPP $CPPFLAGS'
5001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5006 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5008 if test "$cross_compiling" = yes; then :
5010 # Even if we're cross-compiling, we want a compiler here
5011 # that is not a cross-compiler.
5012 saved_cross
=$cross_compiling
5016 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5017 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5018 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5020 if test -n "$ac_build_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5022 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$BUILD_CC"; then
5029 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir
=.
5036 for ac_exec_ext
in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 BUILD_CC
=$ac_cv_prog_BUILD_CC
5049 if test -n "$BUILD_CC"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5051 $as_echo "$BUILD_CC" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5059 if test -z "$ac_cv_prog_BUILD_CC"; then
5060 ac_ct_BUILD_CC
=$BUILD_CC
5061 # Extract the first word of "gcc", so it can be a program name with args.
5062 set dummy gcc
; ac_word
=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$ac_ct_BUILD_CC"; then
5069 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5089 if test -n "$ac_ct_BUILD_CC"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5091 $as_echo "$ac_ct_BUILD_CC" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5097 if test "x$ac_ct_BUILD_CC" = x
; then
5100 case $cross_compiling:$ac_tool_warned in
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned
=yes ;;
5106 BUILD_CC
=$ac_ct_BUILD_CC
5109 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5112 if test -z "$BUILD_CC"; then
5113 if test -n "$ac_build_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5115 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$BUILD_CC"; then
5122 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 BUILD_CC
=$ac_cv_prog_BUILD_CC
5142 if test -n "$BUILD_CC"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5144 $as_echo "$BUILD_CC" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5152 if test -z "$ac_cv_prog_BUILD_CC"; then
5153 ac_ct_BUILD_CC
=$BUILD_CC
5154 # Extract the first word of "cc", so it can be a program name with args.
5155 set dummy cc
; ac_word
=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5159 $as_echo_n "(cached) " >&6
5161 if test -n "$ac_ct_BUILD_CC"; then
5162 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir
=.
5169 for ac_exec_ext
in '' $ac_executable_extensions; do
5170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5171 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5182 if test -n "$ac_ct_BUILD_CC"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5184 $as_echo "$ac_ct_BUILD_CC" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_ct_BUILD_CC" = x
; then
5193 case $cross_compiling:$ac_tool_warned in
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned
=yes ;;
5199 BUILD_CC
=$ac_ct_BUILD_CC
5202 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5206 if test -z "$BUILD_CC"; then
5207 # Extract the first word of "cc", so it can be a program name with args.
5208 set dummy cc
; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$BUILD_CC"; then
5215 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir
=.
5223 for ac_exec_ext
in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5226 ac_prog_rejected
=yes
5229 ac_cv_prog_BUILD_CC
="cc"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 if test $ac_prog_rejected = yes; then
5238 # We found a bogon in the path, so make sure we never use it.
5239 set dummy
$ac_cv_prog_BUILD_CC
5241 if test $# != 0; then
5242 # We chose a different compiler from the bogus one.
5243 # However, it has the same basename, so the bogon will be chosen
5244 # first if we set BUILD_CC to just the basename; use the full file name.
5246 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5251 BUILD_CC
=$ac_cv_prog_BUILD_CC
5252 if test -n "$BUILD_CC"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5254 $as_echo "$BUILD_CC" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test -z "$BUILD_CC"; then
5263 if test -n "$ac_build_prefix"; then
5266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5267 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5271 $as_echo_n "(cached) " >&6
5273 if test -n "$BUILD_CC"; then
5274 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 BUILD_CC
=$ac_cv_prog_BUILD_CC
5294 if test -n "$BUILD_CC"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5296 $as_echo "$BUILD_CC" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5303 test -n "$BUILD_CC" && break
5306 if test -z "$BUILD_CC"; then
5307 ac_ct_BUILD_CC
=$BUILD_CC
5310 # Extract the first word of "$ac_prog", so it can be a program name with args.
5311 set dummy
$ac_prog; ac_word
=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5315 $as_echo_n "(cached) " >&6
5317 if test -n "$ac_ct_BUILD_CC"; then
5318 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5327 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5338 if test -n "$ac_ct_BUILD_CC"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5340 $as_echo "$ac_ct_BUILD_CC" >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$ac_ct_BUILD_CC" && break
5350 if test "x$ac_ct_BUILD_CC" = x
; then
5353 case $cross_compiling:$ac_tool_warned in
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5357 ac_tool_warned
=yes ;;
5359 BUILD_CC
=$ac_ct_BUILD_CC
5366 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5368 as_fn_error
"no acceptable C compiler found in \$PATH
5369 See \`config.log' for more details." "$LINENO" 5; }
5371 # Provide some information about the compiler.
5372 echo "$as_me:$LINENO:" \
5373 "checking for C compiler version" >&5
5374 ac_compiler
=`set X $ac_compile; echo $2`
5375 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5376 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5379 test $ac_status = 0; }
5380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5381 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5384 test $ac_status = 0; }
5385 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5386 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5389 test $ac_status = 0; }
5391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5402 ac_clean_files_save
=$ac_clean_files
5403 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5404 # Try to create an executable without -o first, disregard a.out.
5405 # It will help us diagnose broken compilers, and finding out an intuition
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5408 $as_echo_n "checking whether the C compiler works... " >&6; }
5409 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5411 # The possible output files:
5412 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5415 for ac_file
in $ac_files
5418 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5419 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5424 if { { ac_try
="$ac_link_default"
5426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5427 *) ac_try_echo=$ac_try;;
5429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5430 $as_echo "$ac_try_echo"; } >&5
5431 (eval "$ac_link_default") 2>&5
5433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5434 test $ac_status = 0; }; then :
5435 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5436 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5437 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5438 # so that the user can short-circuit this test for compilers unknown to
5440 for ac_file in $ac_files ''
5442 test -f "$ac_file" || continue
5444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5447 # We found the default executable, but exeext='' is most
5451 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5453 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5455 # We set ac_cv_exeext here because the later test for it is not
5456 # safe: cross compilers may not add the suffix if given an `-o'
5457 # argument, so we may need to know it at that point already.
5458 # Even if this section looks crufty: it has the advantage of
5465 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5470 if test -z "$ac_file"; then :
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5473 $as_echo "$as_me: failed program was:" >&5
5474 sed 's
/^
/|
/' conftest.$ac_ext >&5
5476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5477 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5478 { as_fn_set_status 77
5479 as_fn_error "C compiler cannot create executables
5480 See \`config.log
' for more details." "$LINENO" 5; }; }
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5483 $as_echo "yes" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5486 $as_echo_n "checking for C compiler default output file name... " >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5488 $as_echo "$ac_file" >&6; }
5489 ac_build_exeext=$ac_cv_build_exeext
5491 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5492 ac_clean_files=$ac_clean_files_save
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5494 $as_echo_n "checking for suffix of executables... " >&6; }
5495 if { { ac_try="$ac_link"
5497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5498 *) ac_try_echo=$ac_try;;
5500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5501 $as_echo "$ac_try_echo"; } >&5
5502 (eval "$ac_link") 2>&5
5504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5505 test $ac_status = 0; }; then :
5506 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5507 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5508 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5510 for ac_file
in conftest.exe conftest conftest.
*; do
5511 test -f "$ac_file" ||
continue
5513 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5514 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5522 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5523 See \`config.log' for more details." "$LINENO" 5; }
5525 rm -f conftest conftest
$ac_cv_build_exeext
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5527 $as_echo "$ac_cv_build_exeext" >&6; }
5529 rm -f conftest.
$ac_ext
5530 BUILD_EXEEXT
=$ac_cv_build_exeext
5531 ac_build_exeext
=$BUILD_EXEEXT
5532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5533 /* end confdefs.h. */
5538 FILE *f = fopen ("conftest.out", "w");
5539 return ferror (f) || fclose (f) != 0;
5545 ac_clean_files
="$ac_clean_files conftest.out"
5546 # Check that the compiler produces executables we can run. If not, either
5547 # the compiler is broken, or we cross compile.
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5549 $as_echo_n "checking whether we are cross compiling... " >&6; }
5550 if test "$cross_compiling" != yes; then
5551 { { ac_try
="$ac_link"
5553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5557 $as_echo "$ac_try_echo"; } >&5
5558 (eval "$ac_link") 2>&5
5560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5561 test $ac_status = 0; }
5562 if { ac_try='./conftest$ac_cv_build_exeext'
5563 { { case "(($ac_try" in
5564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5565 *) ac_try_echo
=$ac_try;;
5567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5568 $as_echo "$ac_try_echo"; } >&5
5569 (eval "$ac_try") 2>&5
5571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5572 test $ac_status = 0; }; }; then
5575 if test "$cross_compiling" = maybe
; then
5578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5580 as_fn_error
"cannot run C compiled programs.
5581 If you meant to cross compile, use \`--host'.
5582 See \`config.log' for more details." "$LINENO" 5; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5587 $as_echo "$cross_compiling" >&6; }
5589 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5590 ac_clean_files
=$ac_clean_files_save
5593 # Restore configuration environment
5594 cross_compiling
=$saved_cross
5597 ac_cpp
='$CPP $CPPFLAGS'
5598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5603 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5605 CFLAGS
="$mule_backup_CFLAGS"
5606 CXXFLAGS
="$mule_backup_CXXFLAGS"
5607 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5608 for ac_prog
in gawk mawk nawk
awk
5610 # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy
$ac_prog; ac_word
=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if test "${ac_cv_prog_AWK+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5617 if test -n "$AWK"; then
5618 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir
=.
5625 for ac_exec_ext
in '' $ac_executable_extensions; do
5626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627 ac_cv_prog_AWK
="$ac_prog"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 if test -n "$AWK"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5640 $as_echo "$AWK" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5647 test -n "$AWK" && break
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5651 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5652 if test "${ac_cv_path_GREP+set}" = set; then :
5653 $as_echo_n "(cached) " >&6
5655 if test -z "$GREP"; then
5656 ac_path_GREP_found
=false
5657 # Loop through the user's path and test for each of PROGNAME-LIST
5658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5662 test -z "$as_dir" && as_dir
=.
5663 for ac_prog
in grep ggrep
; do
5664 for ac_exec_ext
in '' $ac_executable_extensions; do
5665 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5666 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5667 # Check for GNU ac_path_GREP and select it if it is found.
5668 # Check for GNU $ac_path_GREP
5669 case `"$ac_path_GREP" --version 2>&1` in
5671 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5674 $as_echo_n 0123456789 >"conftest.in"
5677 cat "conftest.in" "conftest.in" >"conftest.tmp"
5678 mv "conftest.tmp" "conftest.in"
5679 cp "conftest.in" "conftest.nl"
5680 $as_echo 'GREP' >> "conftest.nl"
5681 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5682 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5683 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5684 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5685 # Best one so far, save it but keep looking for a better one
5686 ac_cv_path_GREP
="$ac_path_GREP"
5687 ac_path_GREP_max
=$ac_count
5689 # 10*(2^10) chars as input seems more than enough
5690 test $ac_count -gt 10 && break
5692 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5695 $ac_path_GREP_found && break 3
5700 if test -z "$ac_cv_path_GREP"; then
5701 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5704 ac_cv_path_GREP
=$GREP
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5709 $as_echo "$ac_cv_path_GREP" >&6; }
5710 GREP
="$ac_cv_path_GREP"
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5714 $as_echo_n "checking for egrep... " >&6; }
5715 if test "${ac_cv_path_EGREP+set}" = set; then :
5716 $as_echo_n "(cached) " >&6
5718 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5719 then ac_cv_path_EGREP
="$GREP -E"
5721 if test -z "$EGREP"; then
5722 ac_path_EGREP_found
=false
5723 # Loop through the user's path and test for each of PROGNAME-LIST
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5725 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_prog
in egrep; do
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5732 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5733 # Check for GNU ac_path_EGREP and select it if it is found.
5734 # Check for GNU $ac_path_EGREP
5735 case `"$ac_path_EGREP" --version 2>&1` in
5737 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5740 $as_echo_n 0123456789 >"conftest.in"
5743 cat "conftest.in" "conftest.in" >"conftest.tmp"
5744 mv "conftest.tmp" "conftest.in"
5745 cp "conftest.in" "conftest.nl"
5746 $as_echo 'EGREP' >> "conftest.nl"
5747 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5748 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5749 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5750 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5751 # Best one so far, save it but keep looking for a better one
5752 ac_cv_path_EGREP
="$ac_path_EGREP"
5753 ac_path_EGREP_max
=$ac_count
5755 # 10*(2^10) chars as input seems more than enough
5756 test $ac_count -gt 10 && break
5758 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5761 $ac_path_EGREP_found && break 3
5766 if test -z "$ac_cv_path_EGREP"; then
5767 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5770 ac_cv_path_EGREP
=$EGREP
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5776 $as_echo "$ac_cv_path_EGREP" >&6; }
5777 EGREP
="$ac_cv_path_EGREP"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5781 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5783 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5784 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5785 $as_echo_n "(cached) " >&6
5787 cat >conftest.
make <<\_ACEOF
5790 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5792 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5793 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5795 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5797 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5801 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5803 $as_echo "yes" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5808 SET_MAKE
="MAKE=${MAKE-make}"
5812 for ac_prog
in flex
lex
5814 # Extract the first word of "$ac_prog", so it can be a program name with args.
5815 set dummy
$ac_prog; ac_word
=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if test "${ac_cv_prog_LEX+set}" = set; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$LEX"; then
5822 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir
=.
5829 for ac_exec_ext
in '' $ac_executable_extensions; do
5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831 ac_cv_prog_LEX
="$ac_prog"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 if test -n "$LEX"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5844 $as_echo "$LEX" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5851 test -n "$LEX" && break
5853 test -n "$LEX" || LEX
=":"
5855 if test "x$LEX" != "x:"; then
5856 cat >conftest.l
<<_ACEOF
5862 e { yyless (input () != 0); }
5863 f { unput (yytext[0]); }
5864 . { BEGIN INITIAL; }
5866 #ifdef YYTEXT_POINTER
5867 extern char *yytext;
5872 return ! yylex () + ! yywrap ();
5875 { { ac_try
="$LEX conftest.l"
5877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5878 *) ac_try_echo=$ac_try;;
5880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5881 $as_echo "$ac_try_echo"; } >&5
5882 (eval "$LEX conftest.l") 2>&5
5884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5885 test $ac_status = 0; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5887 $as_echo_n "checking lex output file root... " >&6; }
5888 if test "${ac_cv_prog_lex_root+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5892 if test -f lex.yy.c; then
5893 ac_cv_prog_lex_root=lex.yy
5894 elif test -f lexyy.c; then
5895 ac_cv_prog_lex_root=lexyy
5897 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5901 $as_echo "$ac_cv_prog_lex_root" >&6; }
5902 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5904 if test -z "${LEXLIB+set}"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5906 $as_echo_n "checking lex library... " >&6; }
5907 if test "${ac_cv_lib_lex+set}" = set; then :
5908 $as_echo_n "(cached) " >&6
5912 ac_cv_lib_lex='none needed'
5913 for ac_lib in '' -lfl -ll; do
5914 LIBS="$ac_lib $ac_save_LIBS"
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917 `cat $LEX_OUTPUT_ROOT.c
`
5919 if ac_fn_c_try_link "$LINENO"; then :
5920 ac_cv_lib_lex=$ac_lib
5922 rm -f core conftest.err conftest.$ac_objext \
5923 conftest$ac_exeext conftest.$ac_ext
5924 test "$ac_cv_lib_lex" != 'none needed' && break
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5930 $as_echo "$ac_cv_lib_lex" >&6; }
5931 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5936 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5937 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5938 $as_echo_n "(cached) " >&6
5940 # POSIX says lex can declare yytext either as a pointer or an array; the
5941 # default is implementation-dependent. Figure out which it is, since
5942 # not all implementations provide the %pointer and %array declarations.
5943 ac_cv_prog_lex_yytext_pointer=no
5945 LIBS="$LEXLIB $ac_save_LIBS"
5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5948 #define YYTEXT_POINTER 1
5949 `cat $LEX_OUTPUT_ROOT.c
`
5951 if ac_fn_c_try_link "$LINENO"; then :
5952 ac_cv_prog_lex_yytext_pointer=yes
5954 rm -f core conftest.err conftest.$ac_objext \
5955 conftest$ac_exeext conftest.$ac_ext
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5960 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5961 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5963 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5966 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5970 if test -n "$ac_tool_prefix"; then
5971 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5972 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$RANLIB"; then
5979 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5988 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 RANLIB=$ac_cv_prog_RANLIB
5999 if test -n "$RANLIB"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6001 $as_echo "$RANLIB" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6009 if test -z "$ac_cv_prog_RANLIB"; then
6010 ac_ct_RANLIB=$RANLIB
6011 # Extract the first word of "ranlib", so it can be a program name with args.
6012 set dummy ranlib; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6016 $as_echo_n "(cached) " >&6
6018 if test -n "$ac_ct_RANLIB"; then
6019 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_ac_ct_RANLIB="ranlib"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6039 if test -n "$ac_ct_RANLIB"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6041 $as_echo "$ac_ct_RANLIB" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6047 if test "x$ac_ct_RANLIB" = x; then
6050 case $cross_compiling:$ac_tool_warned in
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6056 RANLIB=$ac_ct_RANLIB
6059 RANLIB="$ac_cv_prog_RANLIB"
6062 for ac_prog in 'bison -y' byacc
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 set dummy $ac_prog; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if test "${ac_cv_prog_YACC+set}" = set; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$YACC"; then
6072 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_prog_YACC="$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 YACC=$ac_cv_prog_YACC
6092 if test -n "$YACC"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6094 $as_echo "$YACC" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$YACC" && break
6103 test -n "$YACC" || YACC="yacc"
6106 if test -n "$ac_tool_prefix"; then
6107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6108 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6112 $as_echo_n "(cached) " >&6
6114 if test -n "$RANLIB"; then
6115 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6124 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 RANLIB=$ac_cv_prog_RANLIB
6135 if test -n "$RANLIB"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6137 $as_echo "$RANLIB" >&6; }
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6145 if test -z "$ac_cv_prog_RANLIB"; then
6146 ac_ct_RANLIB=$RANLIB
6147 # Extract the first word of "ranlib", so it can be a program name with args.
6148 set dummy ranlib; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6154 if test -n "$ac_ct_RANLIB"; then
6155 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6164 ac_cv_prog_ac_ct_RANLIB="ranlib"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6175 if test -n "$ac_ct_RANLIB"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6177 $as_echo "$ac_ct_RANLIB" >&6; }
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6183 if test "x$ac_ct_RANLIB" = x; then
6186 case $cross_compiling:$ac_tool_warned in
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6190 ac_tool_warned=yes ;;
6192 RANLIB=$ac_ct_RANLIB
6195 RANLIB="$ac_cv_prog_RANLIB"
6198 if test -n "$ac_tool_prefix"; then
6199 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6200 set dummy ${ac_tool_prefix}strip; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if test "${ac_cv_prog_STRIP+set}" = set; then :
6204 $as_echo_n "(cached) " >&6
6206 if test -n "$STRIP"; then
6207 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6216 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 STRIP=$ac_cv_prog_STRIP
6227 if test -n "$STRIP"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6229 $as_echo "$STRIP" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6237 if test -z "$ac_cv_prog_STRIP"; then
6239 # Extract the first word of "strip", so it can be a program name with args.
6240 set dummy strip; ac_word=$2
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6242 $as_echo_n "checking for $ac_word... " >&6; }
6243 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6244 $as_echo_n "(cached) " >&6
6246 if test -n "$ac_ct_STRIP"; then
6247 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6256 ac_cv_prog_ac_ct_STRIP="strip"
6257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6266 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6267 if test -n "$ac_ct_STRIP"; then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6269 $as_echo "$ac_ct_STRIP" >&6; }
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 $as_echo "no" >&6; }
6275 if test "x$ac_ct_STRIP" = x; then
6278 case $cross_compiling:$ac_tool_warned in
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6282 ac_tool_warned=yes ;;
6287 STRIP="$ac_cv_prog_STRIP"
6290 if test -n "$ac_tool_prefix"; then
6291 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6292 set dummy ${ac_tool_prefix}ar; ac_word=$2
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6294 $as_echo_n "checking for $ac_word... " >&6; }
6295 if test "${ac_cv_prog_AR+set}" = set; then :
6296 $as_echo_n "(cached) " >&6
6298 if test -n "$AR"; then
6299 ac_cv_prog_AR="$AR" # Let the user override the test.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6308 ac_cv_prog_AR="${ac_tool_prefix}ar"
6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 if test -n "$AR"; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6321 $as_echo "$AR" >&6; }
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6324 $as_echo "no" >&6; }
6329 if test -z "$ac_cv_prog_AR"; then
6331 # Extract the first word of "ar", so it can be a program name with args.
6332 set dummy ar; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6336 $as_echo_n "(cached) " >&6
6338 if test -n "$ac_ct_AR"; then
6339 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6348 ac_cv_prog_ac_ct_AR="ar"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6358 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6359 if test -n "$ac_ct_AR"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6361 $as_echo "$ac_ct_AR" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6367 if test "x$ac_ct_AR" = x; then
6370 case $cross_compiling:$ac_tool_warned in
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6374 ac_tool_warned=yes ;;
6382 if test -n "$ac_tool_prefix"; then
6383 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6384 set dummy ${ac_tool_prefix}ld; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if test "${ac_cv_prog_LD+set}" = set; then :
6388 $as_echo_n "(cached) " >&6
6390 if test -n "$LD"; then
6391 ac_cv_prog_LD="$LD" # Let the user override the test.
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_LD="${ac_tool_prefix}ld"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 if test -n "$LD"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6413 $as_echo "$LD" >&6; }
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 $as_echo "no" >&6; }
6421 if test -z "$ac_cv_prog_LD"; then
6423 # Extract the first word of "ld", so it can be a program name with args.
6424 set dummy ld; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -n "$ac_ct_LD"; then
6431 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ac_ct_LD="ld"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6451 if test -n "$ac_ct_LD"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6453 $as_echo "$ac_ct_LD" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6459 if test "x$ac_ct_LD" = x; then
6462 case $cross_compiling:$ac_tool_warned in
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6466 ac_tool_warned=yes ;;
6475 # Check whether --enable-monolithic was given.
6476 if test "${enable_monolithic+set}" = set; then :
6477 enableval=$enable_monolithic;
6480 if test ${enable_monolithic:-yes} = yes; then
6482 MONOLITHIC_FALSE='#'
6489 # Check whether --enable-amule-daemon was given.
6490 if test "${enable_amule_daemon+set}" = set; then :
6491 enableval=$enable_amule_daemon;
6494 if test ${enable_amule_daemon:-no} = yes; then
6496 AMULE_DAEMON_FALSE='#'
6498 AMULE_DAEMON_TRUE='#'
6503 # Check whether --enable-amulecmd was given.
6504 if test "${enable_amulecmd+set}" = set; then :
6505 enableval=$enable_amulecmd;
6508 if test ${enable_amulecmd:-no} = yes; then
6510 COMPILE_CMD_FALSE='#'
6512 COMPILE_CMD_TRUE='#'
6517 # Check whether --enable-webserver was given.
6518 if test "${enable_webserver+set}" = set; then :
6519 enableval=$enable_webserver;
6522 if test ${enable_webserver:-no} = yes; then
6531 # Check whether --enable-amule-gui was given.
6532 if test "${enable_amule_gui+set}" = set; then :
6533 enableval=$enable_amule_gui;
6536 if test ${enable_amule_gui:-no} = yes; then
6545 # Check whether --enable-cas was given.
6546 if test "${enable_cas+set}" = set; then :
6547 enableval=$enable_cas;
6550 if test ${enable_cas:-no} = yes; then
6559 # Check whether --enable-wxcas was given.
6560 if test "${enable_wxcas+set}" = set; then :
6561 enableval=$enable_wxcas;
6564 if test ${enable_wxcas:-no} = yes; then
6573 # Check whether --enable-ed2k was given.
6574 if test "${enable_ed2k+set}" = set; then :
6575 enableval=$enable_ed2k;
6578 if test ${enable_ed2k:-yes} = yes; then
6587 # Check whether --enable-alc was given.
6588 if test "${enable_alc+set}" = set; then :
6589 enableval=$enable_alc;
6592 if test ${enable_alc:-no} = yes; then
6601 # Check whether --enable-alcc was given.
6602 if test "${enable_alcc+set}" = set; then :
6603 enableval=$enable_alcc;
6606 if test ${enable_alcc:-no} = yes; then
6615 # Check whether --enable-xas was given.
6616 if test "${enable_xas+set}" = set; then :
6617 enableval=$enable_xas;
6620 if test ${enable_xas:-no} = yes; then
6629 # Check whether --enable-fileview was given.
6630 if test "${enable_fileview+set}" = set; then :
6631 enableval=$enable_fileview;
6634 if test ${enable_fileview:-no} = yes; then
6643 # Check whether --enable-plasmamule was given.
6644 if test "${enable_plasmamule+set}" = set; then :
6645 enableval=$enable_plasmamule;
6650 # Run all the tests with static linkage if we want a statically linked binary
6651 # Check whether --enable-static was given.
6652 if test "${enable_static+set}" = set; then :
6653 enableval=$enable_static;
6657 if test ${enable_static:-no} = yes; then :
6658 LDFLAGS="$LDFLAGS -static"
6663 # Check whether --with-kde4-config was given.
6664 if test "${with_kde4_config+set}" = set; then :
6665 withval=$with_kde4_config; KDE4_CONFIG=$withval
6670 # Check whether --enable-kde-in-home was given.
6671 if test "${enable_kde_in_home+set}" = set; then :
6672 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
6680 # Check whether --with-moc was given.
6681 if test "${with_moc+set}" = set; then :
6682 withval=$with_moc; QT_MOC=$withval
6689 # Default is yes, because they're most likely compatible.
6690 # However, this is only used when cross-compiling.
6692 # Check whether --with-gnu-malloc was given.
6693 if test "${with_gnu_malloc+set}" = set; then :
6694 withval=$with_gnu_malloc; gnumalloc=$withval
6701 # Checking for libs before all other stuff to break
6702 # configure as soon as possible in case of a missing one
6703 # to avoid losing too much time
6706 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 :
6709 # Check whether --with-zlib was given.
6710 if test "${with_zlib+set}" = set; then :
6715 case "${with_zlib:-yes}" in
6717 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6722 zlib_prefix="$with_zlib"
6725 mule_backup_CPPFLAGS="$CPPFLAGS"
6726 mule_backup_LDFLAGS="$LDFLAGS"
6727 mule_backup_LIBS="$LIBS"
6728 if test -n "$zlib_prefix"; then :
6730 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
6731 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
6732 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
6733 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
6742 LIBS="$ZLIB_LIBS $LIBS"
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
6745 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
6746 if test "$cross_compiling" = yes; then :
6750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6761 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
6769 if ac_fn_c_try_link "$LINENO"; then :
6771 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
6772 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
6773 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
6774 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
6775 if test "$cross_zver_max" -gt "1"; then
6777 elif test "$cross_zver_max" -eq "1"; then
6779 if test "$cross_zver_mid" -gt "1"; then
6781 elif test "$cross_zver_mid" -eq "1"; then
6782 if test "$cross_zver_min" -ge "4"; then
6791 if test ${result:-no} = yes; then :
6792 z_version=" (version $ZLIB_VERSION)"
6796 rm -f core conftest.err conftest.$ac_objext \
6797 conftest$ac_exeext conftest.$ac_ext
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6799 $as_echo "$result$z_version" >&6; }
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6812 char *zver = zlibVersion();
6813 FILE *f=fopen("conftestval", "w");
6820 zver[4] >= '4'))) ? "yes" : "no");
6822 f=fopen("conftestver", "w");
6824 fprintf(f, "%s", ZLIB_VERSION);
6833 if ac_fn_c_try_run "$LINENO"; then :
6835 if test -f conftestval; then :
6836 result=`cat conftestval
`
6840 if test ${result:-no} = yes; then :
6842 if test -f conftestver; then :
6844 ZLIB_VERSION=`cat conftestver
`
6845 z_version=" (version $ZLIB_VERSION)"
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6853 $as_echo "$result$z_version" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6859 $as_echo "$result" >&6; }
6862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6863 conftest.$ac_objext conftest.beam conftest.$ac_ext
6867 CPPFLAGS="$mule_backup_CPPFLAGS"
6868 LDFLAGS="$mule_backup_LDFLAGS"
6869 LIBS="$mule_backup_LIBS"
6871 if test ${result:-no} = no; then :
6876 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6885 $as_echo_n "checking for ANSI C header files... " >&6; }
6886 if test "${ac_cv_header_stdc+set}" = set; then :
6887 $as_echo_n "(cached) " >&6
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6904 if ac_fn_c_try_compile "$LINENO"; then :
6905 ac_cv_header_stdc=yes
6907 ac_cv_header_stdc=no
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 if test $ac_cv_header_stdc = yes; then
6912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6919 $EGREP "memchr" >/dev/null 2>&1; then :
6922 ac_cv_header_stdc=no
6928 if test $ac_cv_header_stdc = yes; then
6929 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6936 $EGREP "free" >/dev/null 2>&1; then :
6939 ac_cv_header_stdc=no
6945 if test $ac_cv_header_stdc = yes; then
6946 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6947 if test "$cross_compiling" = yes; then :
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6954 #if ((' ' & 0x0FF) == 0x020)
6955 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6956 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6958 # define ISLOWER(c) \
6959 (('a' <= (c) && (c) <= 'i') \
6960 || ('j' <= (c) && (c) <= 'r') \
6961 || ('s' <= (c) && (c) <= 'z'))
6962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6970 for (i = 0; i < 256; i++)
6971 if (XOR (islower (i), ISLOWER (i))
6972 || toupper (i) != TOUPPER (i))
6977 if ac_fn_c_try_run "$LINENO"; then :
6980 ac_cv_header_stdc=no
6982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6983 conftest.$ac_objext conftest.beam conftest.$ac_ext
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6989 $as_echo "$ac_cv_header_stdc" >&6; }
6990 if test $ac_cv_header_stdc = yes; then
6992 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6997 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6998 inttypes.h stdint.h unistd.h
7000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7001 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7003 eval as_val=\$$as_ac_Header
7004 if test "x$as_val" = x""yes; then :
7005 cat >>confdefs.h <<_ACEOF
7006 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7014 if test ${enable_cas:-no} = yes; then :
7019 # Check whether --with-gdlib-prefix was given.
7020 if test "${with_gdlib_prefix+set}" = set; then :
7021 withval=$with_gdlib_prefix;
7025 # Check whether --with-gdlib-config was given.
7026 if test "${with_gdlib_config+set}" = set; then :
7027 withval=$with_gdlib_config;
7033 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7034 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7035 GDLIB_CONFIG_NAME=gdlib-config
7037 if test -n "$with_gdlib_config"; then :
7038 GDLIB_CONFIG_NAME="$with_gdlib_config"
7041 # deal with optional prefix
7042 if test -n "$with_gdlib_prefix"; then :
7043 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7046 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7047 if test -x "$GDLIB_CONFIG_NAME"; then :
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7050 $as_echo_n "checking for gdlib-config... " >&6; }
7051 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7053 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7056 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7057 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7061 $as_echo_n "(cached) " >&6
7063 case $GDLIB_CONFIG_PATH in
7065 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7070 for as_dir in $as_dummy
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7088 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7089 if test -n "$GDLIB_CONFIG_PATH"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7091 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094 $as_echo "no" >&6; }
7100 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7103 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7104 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7106 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7107 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7108 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7109 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7112 if test $gdlib_config_major_version -gt 2; then
7114 elif test $gdlib_config_major_version -eq 2; then
7116 if test $gdlib_config_minor_version -gt 0; then
7118 elif test $gdlib_config_minor_version -eq 0; then
7119 if test $gdlib_config_micro_version -ge 0; then
7129 if test -z "$gdlib_ver_ok"; then :
7131 if test -z "$GDLIB_VERSION"; then :
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7137 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7145 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7146 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7147 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7148 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7149 mule_backup_CFLAGS="$CFLAGS"
7150 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7151 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7152 if test "x$ac_cv_header_gd_h" = x""yes; then :
7159 CFLAGS="$mule_backup_CFLAGS"
7165 if test -n "$GDLIB_VERSION"; then :
7168 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7176 if test -z "$CAS_DEFS"; then :
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7178 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7179 Please check that gdlib-config is in your default path, check out
7180 LD_LIBRARY_PATH or equivalent variable.
7181 Or this might also be that your gdlib-config has other name.
7182 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7183 (replace /usr/bin/gdlib-config with a valid path to your
7185 If you use compiled packages check if you have devel pack installed.
7186 To download the latest version check http://www.boutell.com/gd for
7188 $as_echo "$as_me: WARNING:
7189 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7190 Please check that gdlib-config is in your default path, check out
7191 LD_LIBRARY_PATH or equivalent variable.
7192 Or this might also be that your gdlib-config has other name.
7193 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7194 (replace /usr/bin/gdlib-config with a valid path to your
7196 If you use compiled packages check if you have devel pack installed.
7197 To download the latest version check http://www.boutell.com/gd for
7200 _mule_has_warnings=yes
7206 if test ${enable_webserver:-no} = yes; then :
7209 # Check whether --with-libpng-prefix was given.
7210 if test "${with_libpng_prefix+set}" = set; then :
7211 withval=$with_libpng_prefix;
7215 # Check whether --with-libpng-config was given.
7216 if test "${with_libpng_config+set}" = set; then :
7217 withval=$with_libpng_config;
7223 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7224 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7225 LIBPNG_CONFIG_NAME=libpng-config
7227 if test -n "$with_libpng_config"; then :
7228 LIBPNG_CONFIG_NAME="$with_libpng_config"
7231 # deal with optional prefix
7232 if test -n "$with_libpng_prefix"; then :
7233 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7236 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7237 if test -x "$LIBPNG_CONFIG_NAME"; then :
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7240 $as_echo_n "checking for libpng-config... " >&6; }
7241 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7243 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7246 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7247 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7251 $as_echo_n "(cached) " >&6
7253 case $LIBPNG_CONFIG_PATH in
7255 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7260 for as_dir in $as_dummy
7263 test -z "$as_dir" && as_dir=.
7264 for ac_exec_ext in '' $ac_executable_extensions; do
7265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7266 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7278 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7279 if test -n "$LIBPNG_CONFIG_PATH"; then
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7281 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284 $as_echo "no" >&6; }
7290 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7293 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7295 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7297 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7298 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7299 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7300 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7303 if test $libpng_config_major_version -gt 1; then
7305 elif test $libpng_config_major_version -eq 1; then
7307 if test $libpng_config_minor_version -gt 2; then
7309 elif test $libpng_config_minor_version -eq 2; then
7310 if test $libpng_config_micro_version -ge 0; then
7320 if test -z "$libpng_ver_ok"; then :
7322 if test -z "$LIBPNG_VERSION"; then :
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7328 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7335 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7336 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7337 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7339 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7345 if test -n "$LIBPNG_VERSION"; then :
7346 AMULEWEB_DEFS="-DWITH_LIBPNG"
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7350 libpng >= 1.2.0 not found.
7351 amuleweb will be compiled but file download progress bar images will
7352 NOT be generated." >&5
7353 $as_echo "$as_me: WARNING:
7354 libpng >= 1.2.0 not found.
7355 amuleweb will be compiled but file download progress bar images will
7356 NOT be generated." >&2;}
7358 _mule_has_warnings=yes
7368 # Check for perl File::Copy
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
7370 $as_echo_n "checking for File::Copy... " >&6; }
7371 if perl -e "require File::Copy" 2>/dev/null; then :
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7373 $as_echo "ok" >&6; }
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7376 File::Copy perl module is required by the mldonkey_importer script.
7377 If you want to use this script please install File::Copy from CPAN." >&5
7378 $as_echo "$as_me: WARNING:
7379 File::Copy perl module is required by the mldonkey_importer script.
7380 If you want to use this script please install File::Copy from CPAN." >&2;}
7382 _mule_has_warnings=yes
7386 # Check if we need to install skins
7387 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7393 # Check for GeoIP (required for IP2Country capability)
7394 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7396 # Check whether --enable-geoip was given.
7397 if test "${enable_geoip+set}" = set; then :
7398 enableval=$enable_geoip;
7403 if test ${enable_geoip:-no} = yes; then :
7406 # Check whether --with-geoip-headers was given.
7407 if test "${with_geoip_headers+set}" = set; then :
7408 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
7412 # Check whether --with-geoip-lib was given.
7413 if test "${with_geoip_lib+set}" = set; then :
7414 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
7418 mule_backup_CPPFLAGS="$CPPFLAGS"
7419 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
7420 mule_backup_LDFLAGS="$LDFLAGS"
7421 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
7423 ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
7424 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
7426 if test x$SYS = xwin32; then :
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
7429 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
7430 # Actually, we might not need any if GeoIP is linked as a .dll
7431 # - but that's even harder to check for
7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7438 I do know it's not the best approach, but at least works with MinGW stock headers.
7439 (tested with w32api-3.12)
7451 if ac_fn_c_try_compile "$LINENO"; then :
7453 GEOIP_WINSOCK_LIB="-lwsock32"
7457 GEOIP_WINSOCK_LIB="-lws2_32"
7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
7462 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
7466 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
7467 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
7468 $as_echo_n "(cached) " >&6
7470 ac_check_lib_save_LIBS=$LIBS
7471 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7475 /* Override any GCC internal prototype to avoid an error.
7476 Use char because int might match the return type of a GCC
7477 builtin and then its argument prototype would still apply. */
7485 return GeoIP_open ();
7490 if ac_fn_c_try_link "$LINENO"; then :
7491 ac_cv_lib_GeoIP_GeoIP_open=yes
7493 ac_cv_lib_GeoIP_GeoIP_open=no
7495 rm -f core conftest.err conftest.$ac_objext \
7496 conftest$ac_exeext conftest.$ac_ext
7497 LIBS=$ac_check_lib_save_LIBS
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7500 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
7501 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
7504 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
7506 GEOIP_LIBS="-lGeoIP"
7507 if test x$SYS = xwin32; then :
7508 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7510 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7512 # Check whether --with-geoip-static was given.
7513 if test "${with_geoip_static+set}" = set; then :
7514 withval=$with_geoip_static;
7515 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
7517 mule_backup_LIBS="$LIBS"
7518 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7520 /* end confdefs.h. */
7529 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7536 if ac_fn_c_try_link "$LINENO"; then :
7538 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7543 Cannot link GeoIP statically, because your linker ($LD) does not
7545 $as_echo "$as_me: WARNING:
7546 Cannot link GeoIP statically, because your linker ($LD) does not
7549 _mule_has_warnings=yes
7553 rm -f core conftest.err conftest.$ac_objext \
7554 conftest$ac_exeext conftest.$ac_ext
7555 LIBS="$mule_backup_LIBS"
7564 enable_geoip=disabled
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7566 GeoIP support has been disabled because the GeoIP libraries were not
7568 $as_echo "$as_me: WARNING:
7569 GeoIP support has been disabled because the GeoIP libraries were not
7572 _mule_has_warnings=yes
7580 enable_geoip=disabled
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7582 GeoIP support has been disabled because the GeoIP header files were
7584 $as_echo "$as_me: WARNING:
7585 GeoIP support has been disabled because the GeoIP header files were
7588 _mule_has_warnings=yes
7595 CPPFLAGS="$mule_backup_CPPFLAGS"
7596 LDFLAGS="$mule_backup_LDFLAGS"
7603 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 :
7606 # Check whether --with-wxdir was given.
7607 if test "${with_wxdir+set}" = set; then :
7608 withval=$with_wxdir; wx_config_name="$withval/wx-config"
7609 wx_config_args="--inplace"
7613 # Check whether --with-wx-config was given.
7614 if test "${with_wx_config+set}" = set; then :
7615 withval=$with_wx_config; wx_config_name="$withval"
7619 # Check whether --with-wx-prefix was given.
7620 if test "${with_wx_prefix+set}" = set; then :
7621 withval=$with_wx_prefix; wx_config_prefix="$withval"
7627 # Check whether --with-wx-exec-prefix was given.
7628 if test "${with_wx_exec_prefix+set}" = set; then :
7629 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
7631 wx_config_exec_prefix=""
7646 # Check whether --with-toolkit was given.
7647 if test "${with_toolkit+set}" = set; then :
7648 withval=$with_toolkit;
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
7655 $as_echo_n "checking for the --with-toolkit option... " >&6; }
7656 if test "$withval" = "auto" ; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7658 $as_echo "will be automatically detected" >&6; }
7663 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7664 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7665 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7666 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7667 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7668 "$TOOLKIT" != "osx_cocoa"; then
7670 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
7675 $as_echo "$TOOLKIT" >&6; }
7682 # Check whether --with-wxshared was given.
7683 if test "${with_wxshared+set}" = set; then :
7684 withval=$with_wxshared;
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
7691 $as_echo_n "checking for the --with-wxshared option... " >&6; }
7692 if test "$withval" = "yes" ; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7694 $as_echo "yes" >&6; }
7697 elif test "1" = "1" -a "$withval" = "no" ; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 $as_echo "no" >&6; }
7701 elif test "$withval" = "auto" ; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7703 $as_echo "will be automatically detected" >&6; }
7707 Unrecognized option value (allowed values: yes, auto)
7715 # Check whether --with-wxdebug was given.
7716 if test "${with_wxdebug+set}" = set; then :
7717 withval=$with_wxdebug;
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
7724 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
7725 if test "$withval" = "yes" ; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7727 $as_echo "yes" >&6; }
7730 elif test "1" = "1" -a "$withval" = "no" ; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732 $as_echo "no" >&6; }
7734 elif test "$withval" = "auto" ; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7736 $as_echo "will be automatically detected" >&6; }
7740 Unrecognized option value (allowed values: yes, auto)
7748 # Check whether --with-wxversion was given.
7749 if test "${with_wxversion+set}" = set; then :
7750 withval=$with_wxversion;
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
7757 $as_echo_n "checking for the --with-wxversion option... " >&6; }
7758 if test "$withval" = "auto" ; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7760 $as_echo "will be automatically detected" >&6; }
7764 wx_requested_major_version=`echo $withval | \
7765 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7766 wx_requested_minor_version=`echo $withval | \
7767 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7769 if test "${#wx_requested_major_version}" != "1" -o \
7770 "${#wx_requested_minor_version}" != "1" ; then
7772 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7776 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
7778 $as_echo "$WX_VERSION" >&6; }
7782 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7783 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7784 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7785 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7786 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7787 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7790 # Force using a static wxWidgets library if the executable is to be linked statically.
7791 if test ${enable_static:-no} = yes; then :
7794 # Force using a unicode build of the library
7795 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 :
7800 if test "$WX_SHARED" = "1" ; then
7801 WXCONFIG_FLAGS="--static=no "
7802 elif test "$WX_SHARED" = "0" ; then
7803 WXCONFIG_FLAGS="--static=yes "
7806 if test "$WX_DEBUG" = "1" ; then
7807 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
7808 elif test "$WX_DEBUG" = "0" ; then
7809 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
7812 if test "$WX_UNICODE" = "1" ; then
7813 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
7814 elif test "$WX_UNICODE" = "0" ; then
7815 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
7818 if test "$TOOLKIT" != "auto" ; then
7819 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7822 if test "$WX_VERSION" != "auto" ; then
7823 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7826 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
7828 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7829 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7833 if test x${WX_CONFIG_NAME+set} != xset ; then
7834 WX_CONFIG_NAME=wx-config
7837 if test "x$wx_config_name" != x ; then
7838 WX_CONFIG_NAME="$wx_config_name"
7841 if test x$wx_config_exec_prefix != x ; then
7842 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7843 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
7845 if test x$wx_config_prefix != x ; then
7846 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
7847 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7849 if test "$cross_compiling" = "yes"; then
7850 wx_config_args="$wx_config_args --host=$host_alias"
7853 if test -x "$WX_CONFIG_NAME" ; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
7855 $as_echo_n "checking for wx-config... " >&6; }
7856 WX_CONFIG_PATH="$WX_CONFIG_NAME"
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7858 $as_echo "$WX_CONFIG_PATH" >&6; }
7860 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7861 set dummy $WX_CONFIG_NAME; ac_word=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863 $as_echo_n "checking for $ac_word... " >&6; }
7864 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
7865 $as_echo_n "(cached) " >&6
7867 case $WX_CONFIG_PATH in
7869 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 as_dummy=""$WX_LOOKUP_PATH:$PATH""
7874 for as_dir in $as_dummy
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7880 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
7892 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
7893 if test -n "$WX_CONFIG_PATH"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7895 $as_echo "$WX_CONFIG_PATH" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7898 $as_echo "no" >&6; }
7904 if test "$WX_CONFIG_PATH" != "no" ; then
7907 min_wx_version=2.8.8
7908 if test -z "$WXCONFIG_FLAGS" ; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
7910 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7913 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
7916 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7918 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
7919 wx_config_major_version=`echo $WX_VERSION_FULL | \
7920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7921 wx_config_minor_version=`echo $WX_VERSION_FULL | \
7922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7923 wx_config_micro_version=`echo $WX_VERSION_FULL | \
7924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7926 wx_requested_major_version=`echo $min_wx_version | \
7927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7928 wx_requested_minor_version=`echo $min_wx_version | \
7929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7930 wx_requested_micro_version=`echo $min_wx_version | \
7931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7935 if test "x$WX_VERSION_FULL" != x ; then
7936 if test $wx_config_major_version -gt $wx_requested_major_version; then
7939 if test $wx_config_major_version -eq $wx_requested_major_version; then
7940 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7943 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7944 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7954 if test -n "$wx_ver_ok"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
7957 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
7958 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
7960 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
7962 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
7963 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
7964 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
7966 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
7967 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
7973 if test "x$WX_VERSION_FULL" = x; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7978 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
7987 if test ! -z "$WXCONFIG_FLAGS"; then
7990 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7991 build with the following settings:
7993 but such build is not available.
7995 To see the wxWidgets builds available on this system, please use
7996 'wx-config --list' command. To use the default build, returned by
7997 'wx-config --selected-config', use the options with their 'auto'
8003 The requested wxWidgets build couldn't be found.
8006 If you still get this error, then check that 'wx-config' is
8007 in path, the directory where wxWidgets libraries are installed
8008 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8009 or equivalent variable and wxWidgets version is 2.8.8 or above."
8011 as_fn_error "$wx_error_message" "$LINENO" 5
8035 WX_VERSION_MAJOR="$wx_config_major_version"
8036 WX_VERSION_MINOR="$wx_config_minor_version"
8040 if test "$wxWin" != 1; then :
8042 wxWidgets must be installed on your system but wx-config
8043 script couldn't be found. Please check that wx-config is
8044 in path or specified by --with-wx-config=path flag, the
8045 directory where wxWidgets libraries are installed (returned
8046 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8047 equivalent variable and wxWidgets version is 2.8.8 or above.
8051 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8053 This version of wxWidgets is known to not work with aMule.
8054 Please upgrade to a newer version.
8059 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8061 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8063 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8064 echo "[dbg] Using wx-config --selected-config"
8065 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8069 if test $WX_SHARED = "1"; then
8071 elif test $WX_SHARED = "0"; then
8073 elif test $WX_SHARED = "auto"; then
8078 if test "$UNICODE" = "auto" ; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8081 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8083 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8085 if test "$WX_UNICODE" != "0"; then
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8088 $as_echo "yes" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8102 if test "$DEBUG" = "auto" ; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8105 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8107 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8109 if test "$WX_DEBUG" != "0"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8112 $as_echo "yes" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8126 if test "$STATIC" = "auto" ; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8129 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8131 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8133 if test "$WX_STATIC" != "0"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8136 $as_echo "yes" >&6; }
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8141 $as_echo "no" >&6; }
8150 if test "$WX_STATIC" != "0"; then
8160 if test "$TOOLKIT" = "auto" ; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8163 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8165 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8166 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8167 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8168 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8169 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8170 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8171 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8172 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8173 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8174 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8175 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8178 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8179 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8180 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8181 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8182 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8183 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8184 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8185 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8186 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8187 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8188 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8191 if test "$WX_PORT" = "unknown" ; then
8193 Cannot detect the currently installed wxWidgets port !
8194 Please check your 'wx-config --cxxflags'...
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8199 $as_echo "$WX_PORT" >&6; }
8202 if test -n "$TOOLKIT" ; then
8211 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8212 echo "[dbg] Values of all WX_* options after final detection:"
8213 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8214 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8215 echo "[dbg] WX_SHARED: $WX_SHARED"
8216 echo "[dbg] WX_VERSION: $WX_VERSION"
8217 echo "[dbg] WX_PORT: $WX_PORT"
8220 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8222 Cannot build shared library against a static build of wxWidgets !
8223 This error happens because the wxWidgets build which was selected
8224 has been detected as static while you asked to build $PACKAGE_NAME
8225 as shared library and this is not possible.
8226 Use the '--disable-shared' option to build $PACKAGE_NAME
8227 as static library or '--with-wxshared' to use wxWidgets as shared library.
8231 if test "$DEBUG" = "auto"; then
8234 if test "$DEBUG" = "1"; then
8236 elif test "$DEBUG" = ""; then
8240 if test "$UNICODE" = "auto"; then
8243 if test "$SHARED" = "auto"; then
8246 if test "$TOOLKIT" = "auto"; then
8251 # We also need wxBase
8252 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8253 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8254 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8256 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8260 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8261 if test "${WX_PORT}" = base; then :
8263 The selected components need a wxWidgets library with GUI,
8264 but your installation is base-only. Please install a GUI
8265 enabled version of wxWidgets and then retry.
8271 if test ${SYS:-unknown} = win32; then :
8272 if test -n "$ac_tool_prefix"; then
8273 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8274 set dummy ${ac_tool_prefix}windres; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if test "${ac_cv_prog_RC+set}" = set; then :
8278 $as_echo_n "(cached) " >&6
8280 if test -n "$RC"; then
8281 ac_cv_prog_RC="$RC" # Let the user override the test.
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8290 ac_cv_prog_RC="${ac_tool_prefix}windres"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 if test -n "$RC"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8303 $as_echo "$RC" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8311 if test -z "$ac_cv_prog_RC"; then
8313 # Extract the first word of "windres", so it can be a program name with args.
8314 set dummy windres; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8318 $as_echo_n "(cached) " >&6
8320 if test -n "$ac_ct_RC"; then
8321 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_ac_ct_RC="windres"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8340 ac_ct_RC=$ac_cv_prog_ac_ct_RC
8341 if test -n "$ac_ct_RC"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
8343 $as_echo "$ac_ct_RC" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8349 if test "x$ac_ct_RC" = x; then
8352 case $cross_compiling:$ac_tool_warned in
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8356 ac_tool_warned=yes ;;
8368 # Check whether --enable-upnp was given.
8369 if test "${enable_upnp+set}" = set; then :
8370 enableval=$enable_upnp;
8374 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
8381 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8382 if test -n "$ac_tool_prefix"; then
8383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8384 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8388 $as_echo_n "(cached) " >&6
8392 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8402 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8414 if test -n "$PKG_CONFIG"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8416 $as_echo "$PKG_CONFIG" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8424 if test -z "$ac_cv_path_PKG_CONFIG"; then
8425 ac_pt_PKG_CONFIG=$PKG_CONFIG
8426 # Extract the first word of "pkg-config", so it can be a program name with args.
8427 set dummy pkg-config; ac_word=$2
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8429 $as_echo_n "checking for $ac_word... " >&6; }
8430 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8431 $as_echo_n "(cached) " >&6
8433 case $ac_pt_PKG_CONFIG in
8435 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8445 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8457 if test -n "$ac_pt_PKG_CONFIG"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8459 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 $as_echo "no" >&6; }
8465 if test "x$ac_pt_PKG_CONFIG" = x; then
8468 case $cross_compiling:$ac_tool_warned in
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8472 ac_tool_warned=yes ;;
8474 PKG_CONFIG=$ac_pt_PKG_CONFIG
8477 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8481 if test -n "$PKG_CONFIG"; then
8482 _pkg_min_version=0.9.0
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8484 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8485 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8487 $as_echo "yes" >&6; }
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8490 $as_echo "no" >&6; }
8495 if test ${enable_upnp:-yes} = yes; then :
8499 # Check whether --with-libupnp-prefix was given.
8500 if test "${with_libupnp_prefix+set}" = set; then :
8501 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
8505 if test $cross_compiling = no; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
8508 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
8509 if test -n "$PKG_CONFIG"; then :
8511 if $PKG_CONFIG libupnp --exists; then :
8513 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
8514 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
8517 resultstr=" (version $LIBUPNP_VERSION)"
8518 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
8519 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
8520 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
8521 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
8522 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
8527 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
8534 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
8541 resultstr=" (pkg-config not found)"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8545 $as_echo "$result$resultstr" >&6; }
8546 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
8551 libupnp_error="cross compiling"
8555 if test ${result:-no} = yes; then :
8556 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8558 enable_upnp=disabled
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8560 UPnP code has been disabled because ${libupnp_error}." >&5
8561 $as_echo "$as_me: WARNING:
8562 UPnP code has been disabled because ${libupnp_error}." >&2;}
8564 _mule_has_warnings=yes
8573 # Check for Crypto++
8574 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8577 # Check whether --with-crypto-prefix was given.
8578 if test "${with_crypto_prefix+set}" = set; then :
8579 withval=$with_crypto_prefix;
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
8584 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
8586 cryptopp_file_with_version="cryptlib.h"
8588 CRYPTOPP_STYLE="unknown"
8589 CRYPTOPP_LIB_NAME="unknown"
8590 cryptopp_includedir="unknown"
8591 CRYPTOPP_INCLUDE_PREFIX="unknown"
8592 cryptopp_libdir="unknown"
8594 if test -n "$with_crypto_prefix"; then :
8596 CRYPTOPP_PREFIX="$with_crypto_prefix"
8597 # Find the Cryptopp header in the user-provided location
8598 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8600 CRYPTOPP_STYLE="sources"
8601 CRYPTOPP_LIB_NAME="cryptopp"
8602 cryptopp_includedir=
8603 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8606 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8608 CRYPTOPP_STYLE="installed"
8609 CRYPTOPP_LIB_NAME="cryptopp"
8610 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8611 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8612 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8614 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8616 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8617 CRYPTOPP_STYLE="gentoo_debian"
8618 CRYPTOPP_LIB_NAME="crypto++"
8619 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8620 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8621 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8628 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
8629 # Find the Cryptopp header in system locations
8630 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8632 CRYPTOPP_STYLE="sources"
8633 CRYPTOPP_LIB_NAME="cryptopp"
8634 cryptopp_includedir=
8635 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8639 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8641 CRYPTOPP_STYLE="installed"
8642 CRYPTOPP_LIB_NAME="cryptopp"
8643 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8644 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8645 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8648 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8650 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8651 CRYPTOPP_STYLE="gentoo_debian"
8652 CRYPTOPP_LIB_NAME="crypto++"
8653 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8654 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8655 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8664 if test $CRYPTOPP_STYLE = "unknown"; then :
8665 result=no; resultstr=""
8668 # Find out the crypto++ version and check against the minimum required
8669 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8670 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8671 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8672 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8674 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
8677 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8678 if test -n "$cryptopp_includedir"; then :
8679 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
8683 if test -n "$cryptopp_libdir"; then :
8685 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
8686 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
8691 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8695 cat >>confdefs.h <<_ACEOF
8696 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8703 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8710 $as_echo "$result$resultstr" >&6; }
8712 if test ${result:-no} = yes; then :
8714 # Check for CryptoPP >= 5.5
8715 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
8716 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8722 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8723 Please try again with --with-crypto-prefix=/my_crypto_prefix
8724 (replace /my_crypto_prefix with a valid path to your crypto++
8725 installation directory)." "$LINENO" 5
8734 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 :
8736 ac_cpp='$CXXCPP $CPPFLAGS'
8737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're using the GNU C++ library" >&5
8743 $as_echo_n "checking if we're using the GNU C++ library... " >&6; }
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8750 #error Non-GNU C++ library found.
8755 if ac_fn_cxx_try_cpp "$LINENO"; then :
8760 rm -f conftest.err conftest.$ac_ext
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBCXX" >&5
8762 $as_echo "$GLIBCXX" >&6; }
8764 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
8766 mule_backup_CPPFLAGS="$CPPFLAGS"
8767 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
8770 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8776 #include <wx/filefn.h>
8777 #ifndef wxHAS_LARGE_FILES
8778 #error No LargeFile support!
8783 if ac_fn_cxx_try_cpp "$LINENO"; then :
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8786 $as_echo "yes" >&6; }
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8791 $as_echo "no" >&6; }
8793 Support for large files in wxWidgets is required by aMule.
8794 To continue you must recompile wxWidgets with support for
8795 large files enabled." "$LINENO" 5
8798 rm -f conftest.err conftest.$ac_ext
8800 CPPFLAGS="$mule_backup_CPPFLAGS"
8804 # Check if the compiler is broken, wrt. exceptions.
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
8807 $as_echo_n "checking for exception-handling... " >&6; }
8808 if test "$cross_compiling" = yes; then :
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
8811 $as_echo "undeterminable" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8813 Cross-compilation detected, so exception handling cannot be tested.
8814 Note that broken exception handling in your compiler may lead to
8815 unexpected crashes." >&5
8816 $as_echo "$as_me: WARNING:
8817 Cross-compilation detected, so exception handling cannot be tested.
8818 Note that broken exception handling in your compiler may lead to
8819 unexpected crashes." >&2;}
8821 _mule_has_warnings=yes
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8845 if ac_fn_cxx_try_run "$LINENO"; then :
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8848 $as_echo "yes" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8853 $as_echo "no" >&6; }
8854 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
8857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8858 conftest.$ac_objext conftest.beam conftest.$ac_ext
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
8865 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8877 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8878 std::type_info *ti = abi::__cxa_current_exception_type();
8885 if ac_fn_cxx_try_link "$LINENO"; then :
8888 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8891 $as_echo "yes" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8903 ac_cpp='$CPP $CPPFLAGS'
8904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8911 # Ok, we have all needed libs, now checking for other stuff
8912 if test "$LEX" = "flex"; then :
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
8915 $as_echo_n "checking for extended flex capabilities... " >&6; }
8917 extended_flex=`flex
--help |
grep header-file
`
8918 if test -n "$extended_flex"; then :
8919 HAVE_FLEX_EXTENDED=yes
8921 HAVE_FLEX_EXTENDED=no
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
8924 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
8926 if test $HAVE_FLEX_EXTENDED = no; then :
8927 { $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
8928 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8932 HAVE_FLEX_EXTENDED=no
8935 # Flush standard test results for speeding cache
8936 cat >confcache <<\_ACEOF
8937 # This file is a shell script that caches the results of configure
8938 # tests run on this system so they can be shared between configure
8939 # scripts and configure runs, see configure's option --config-cache.
8940 # It is not useful on other systems. If it contains results you don't
8941 # want to keep, you may remove or edit it.
8943 # config.status only pays attention to the cache file if you give it
8944 # the --recheck option to rerun configure.
8946 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8952 # The following way of writing the cache mishandles newlines in values,
8953 # but we know of no workaround that is simple, portable, and efficient.
8954 # So, we kill variables containing newlines.
8955 # Ultrix sh set writes to stderr and can't be redirected directly,
8956 # and sets the high bit in the cache file unless we assign to the vars.
8958 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8959 eval ac_val
=\$
$ac_var
8963 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8967 _ | IFS | as_nl
) ;; #(
8968 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8969 *) { eval $ac_var=; unset $ac_var;} ;;
8975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8976 *${as_nl}ac_space
=\
*)
8977 # `set' does not quote correctly, so add quotes: double-quote
8978 # substitution turns \\\\ into \\, and sed turns \\ into \.
8981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8984 # `set' quotes correctly as required by POSIX, so do not add quotes.
8985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8998 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8999 if test -w "$cache_file"; then
9000 test "x$cache_file" != "x/dev/null" &&
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9002 $as_echo "$as_me: updating cache $cache_file" >&6;}
9003 cat confcache
>$cache_file
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9006 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9011 # Checks for header files.
9012 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9013 # for constant arguments. Useless!
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9015 $as_echo_n "checking for working alloca.h... " >&6; }
9016 if test "${ac_cv_working_alloca_h+set}" = set; then :
9017 $as_echo_n "(cached) " >&6
9019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9025 char *p = (char *) alloca (2 * sizeof (int));
9031 if ac_fn_c_try_link
"$LINENO"; then :
9032 ac_cv_working_alloca_h
=yes
9034 ac_cv_working_alloca_h
=no
9036 rm -f core conftest.err conftest.
$ac_objext \
9037 conftest
$ac_exeext conftest.
$ac_ext
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
9040 $as_echo "$ac_cv_working_alloca_h" >&6; }
9041 if test $ac_cv_working_alloca_h = yes; then
9043 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9048 $as_echo_n "checking for alloca... " >&6; }
9049 if test "${ac_cv_func_alloca_works+set}" = set; then :
9050 $as_echo_n "(cached) " >&6
9052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9055 # define alloca __builtin_alloca
9058 # include <malloc.h>
9059 # define alloca _alloca
9061 # ifdef HAVE_ALLOCA_H
9062 # include <alloca.h>
9067 # ifndef alloca /* predefined by HP cc +Olibcalls */
9078 char *p = (char *) alloca (1);
9084 if ac_fn_c_try_link
"$LINENO"; then :
9085 ac_cv_func_alloca_works
=yes
9087 ac_cv_func_alloca_works
=no
9089 rm -f core conftest.err conftest.
$ac_objext \
9090 conftest
$ac_exeext conftest.
$ac_ext
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
9093 $as_echo "$ac_cv_func_alloca_works" >&6; }
9095 if test $ac_cv_func_alloca_works = yes; then
9097 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
9100 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9101 # that cause trouble. Some versions do not even contain alloca or
9102 # contain a buggy version. If you still want to use their alloca,
9103 # use ar to extract alloca.o from them instead of compiling alloca.c.
9105 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
9107 $as_echo "#define C_ALLOCA 1" >>confdefs.h
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9111 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9112 if test "${ac_cv_os_cray+set}" = set; then :
9113 $as_echo_n "(cached) " >&6
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 #if defined CRAY && ! defined CRAY2
9124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9125 $EGREP "webecray" >/dev
/null
2>&1; then :
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
9134 $as_echo "$ac_cv_os_cray" >&6; }
9135 if test $ac_cv_os_cray = yes; then
9136 for ac_func
in _getb67 GETB67 getb67
; do
9137 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9138 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9139 eval as_val
=\$
$as_ac_var
9140 if test "x$as_val" = x
""yes; then :
9142 cat >>confdefs.h
<<_ACEOF
9143 #define CRAY_STACKSEG_END $ac_func
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9153 $as_echo_n "checking stack direction for C alloca... " >&6; }
9154 if test "${ac_cv_c_stack_direction+set}" = set; then :
9155 $as_echo_n "(cached) " >&6
9157 if test "$cross_compiling" = yes; then :
9158 ac_cv_c_stack_direction
=0
9160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 $ac_includes_default
9164 find_stack_direction ()
9166 static char *addr = 0;
9171 return find_stack_direction ();
9174 return (&dummy > addr) ? 1 : -1;
9180 return find_stack_direction () < 0;
9183 if ac_fn_c_try_run
"$LINENO"; then :
9184 ac_cv_c_stack_direction
=1
9186 ac_cv_c_stack_direction
=-1
9188 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9189 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
9194 $as_echo "$ac_cv_c_stack_direction" >&6; }
9195 cat >>confdefs.h
<<_ACEOF
9196 #define STACK_DIRECTION $ac_cv_c_stack_direction
9203 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9204 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9206 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9207 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9208 $as_echo_n "(cached) " >&6
9210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9212 #include <sys/types.h>
9224 if ac_fn_c_try_compile
"$LINENO"; then :
9225 eval "$as_ac_Header=yes"
9227 eval "$as_ac_Header=no"
9229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9231 eval ac_res
=\$
$as_ac_Header
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9233 $as_echo "$ac_res" >&6; }
9234 eval as_val
=\$
$as_ac_Header
9235 if test "x$as_val" = x
""yes; then :
9236 cat >>confdefs.h
<<_ACEOF
9237 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9240 ac_header_dirent
=$ac_hdr; break
9244 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9245 if test $ac_header_dirent = dirent.h
; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9247 $as_echo_n "checking for library containing opendir... " >&6; }
9248 if test "${ac_cv_search_opendir+set}" = set; then :
9249 $as_echo_n "(cached) " >&6
9251 ac_func_search_save_LIBS
=$LIBS
9252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9255 /* Override any GCC internal prototype to avoid an error.
9256 Use char because int might match the return type of a GCC
9257 builtin and then its argument prototype would still apply. */
9270 for ac_lib
in '' dir
; do
9271 if test -z "$ac_lib"; then
9272 ac_res
="none required"
9275 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9277 if ac_fn_c_try_link
"$LINENO"; then :
9278 ac_cv_search_opendir
=$ac_res
9280 rm -f core conftest.err conftest.
$ac_objext \
9282 if test "${ac_cv_search_opendir+set}" = set; then :
9286 if test "${ac_cv_search_opendir+set}" = set; then :
9289 ac_cv_search_opendir
=no
9292 LIBS
=$ac_func_search_save_LIBS
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9295 $as_echo "$ac_cv_search_opendir" >&6; }
9296 ac_res
=$ac_cv_search_opendir
9297 if test "$ac_res" != no
; then :
9298 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9304 $as_echo_n "checking for library containing opendir... " >&6; }
9305 if test "${ac_cv_search_opendir+set}" = set; then :
9306 $as_echo_n "(cached) " >&6
9308 ac_func_search_save_LIBS
=$LIBS
9309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9327 for ac_lib
in '' x
; do
9328 if test -z "$ac_lib"; then
9329 ac_res
="none required"
9332 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9334 if ac_fn_c_try_link
"$LINENO"; then :
9335 ac_cv_search_opendir
=$ac_res
9337 rm -f core conftest.err conftest.
$ac_objext \
9339 if test "${ac_cv_search_opendir+set}" = set; then :
9343 if test "${ac_cv_search_opendir+set}" = set; then :
9346 ac_cv_search_opendir
=no
9349 LIBS
=$ac_func_search_save_LIBS
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9352 $as_echo "$ac_cv_search_opendir" >&6; }
9353 ac_res
=$ac_cv_search_opendir
9354 if test "$ac_res" != no
; then :
9355 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9362 $as_echo_n "checking for ANSI C header files... " >&6; }
9363 if test "${ac_cv_header_stdc+set}" = set; then :
9364 $as_echo_n "(cached) " >&6
9366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9381 if ac_fn_c_try_compile
"$LINENO"; then :
9382 ac_cv_header_stdc
=yes
9384 ac_cv_header_stdc
=no
9386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9388 if test $ac_cv_header_stdc = yes; then
9389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9396 $EGREP "memchr" >/dev
/null
2>&1; then :
9399 ac_cv_header_stdc
=no
9405 if test $ac_cv_header_stdc = yes; then
9406 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9413 $EGREP "free" >/dev
/null
2>&1; then :
9416 ac_cv_header_stdc
=no
9422 if test $ac_cv_header_stdc = yes; then
9423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9424 if test "$cross_compiling" = yes; then :
9427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9431 #if ((' ' & 0x0FF) == 0x020)
9432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9435 # define ISLOWER(c) \
9436 (('a' <= (c) && (c) <= 'i') \
9437 || ('j' <= (c) && (c) <= 'r') \
9438 || ('s' <= (c) && (c) <= 'z'))
9439 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9442 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9447 for (i = 0; i < 256; i++)
9448 if (XOR (islower (i), ISLOWER (i))
9449 || toupper (i) != TOUPPER (i))
9454 if ac_fn_c_try_run
"$LINENO"; then :
9457 ac_cv_header_stdc
=no
9459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9460 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9466 $as_echo "$ac_cv_header_stdc" >&6; }
9467 if test $ac_cv_header_stdc = yes; then
9469 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9473 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
9475 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9476 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9477 eval as_val
=\$
$as_ac_Header
9478 if test "x$as_val" = x
""yes; then :
9479 cat >>confdefs.h
<<_ACEOF
9480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9488 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9489 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
9490 $as_echo_n "(cached) " >&6
9492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9494 #include <sys/types.h>
9495 #include <sys/wait.h>
9497 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9500 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9508 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9513 if ac_fn_c_try_compile
"$LINENO"; then :
9514 ac_cv_header_sys_wait_h
=yes
9516 ac_cv_header_sys_wait_h
=no
9518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9521 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9522 if test $ac_cv_header_sys_wait_h = yes; then
9524 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9529 # Checks for typedefs, structures, and compiler characteristics.
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
9531 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
9532 if test "${ac_cv_header_stdbool_h+set}" = set; then :
9533 $as_echo_n "(cached) " >&6
9535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 #include <stdbool.h>
9540 "error: bool is not defined"
9543 "error: false is not defined"
9546 "error: false is not 0"
9549 "error: true is not defined"
9552 "error: true is not 1"
9554 #ifndef __bool_true_false_are_defined
9555 "error: __bool_true_false_are_defined is not defined"
9558 struct s { _Bool s: 1; _Bool t; } s;
9560 char a[true == 1 ? 1 : -1];
9561 char b[false == 0 ? 1 : -1];
9562 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9563 char d[(bool) 0.5 == true ? 1 : -1];
9565 char f[(_Bool) 0.0 == false ? 1 : -1];
9567 char h[sizeof (_Bool)];
9569 enum { j = false, k = true, l = false * true, m = true * 256 };
9570 /* The following fails for
9571 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
9573 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9574 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9575 # if defined __xlc__ || defined __GNUC__
9576 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9577 reported by James Lemley on 2005-10-05; see
9578 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9579 This test is not quite right, since xlc is allowed to
9580 reject this program, as the initializer for xlcbug is
9581 not one of the forms that C requires support for.
9582 However, doing the test right would require a runtime
9583 test, and that would make cross-compilation harder.
9584 Let us hope that IBM fixes the xlc bug, and also adds
9585 support for this kind of constant expression. In the
9586 meantime, this test will reject xlc, which is OK, since
9587 our stdbool.h substitute should suffice. We also test
9588 this with GCC, where it should work, to detect more
9589 quickly whether someone messes up the test in the
9591 char digs[] = "0123456789";
9592 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
9594 /* Catch a bug in an HP-UX C compiler. See
9595 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
9596 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
9607 /* Refer to every declared value, to avoid compiler optimizations. */
9608 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
9609 + !m + !n + !o + !p + !q + !pq);
9615 if ac_fn_c_try_compile
"$LINENO"; then :
9616 ac_cv_header_stdbool_h
=yes
9618 ac_cv_header_stdbool_h
=no
9620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
9623 $as_echo "$ac_cv_header_stdbool_h" >&6; }
9624 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
9625 if test "x$ac_cv_type__Bool" = x
""yes; then :
9627 cat >>confdefs.h
<<_ACEOF
9628 #define HAVE__BOOL 1
9634 if test $ac_cv_header_stdbool_h = yes; then
9636 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9641 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9642 if test "${ac_cv_c_const+set}" = set; then :
9643 $as_echo_n "(cached) " >&6
9645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9651 /* FIXME: Include the comments suggested by Paul. */
9653 /* Ultrix mips cc rejects this. */
9654 typedef int charset[2];
9656 /* SunOS 4.1.1 cc rejects this. */
9657 char const *const *pcpcc;
9659 /* NEC SVR4.0.2 mips cc rejects this. */
9660 struct point {int x, y;};
9661 static struct point const zero = {0,0};
9662 /* AIX XL C 1.02.0.0 rejects this.
9663 It does not let you subtract one const X* pointer from another in
9664 an arm of an if-expression whose if-part is not a constant
9666 const char *g = "string";
9667 pcpcc = &g + (g ? g-g : 0);
9668 /* HPUX 7.0 cc rejects these. */
9670 ppc = (char**) pcpcc;
9671 pcpcc = (char const *const *) ppc;
9672 { /* SCO 3.2v4 cc rejects this. */
9674 char const *s = 0 ? (char *) 0 : (char const *) 0;
9679 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9681 const int *foo = &x[0];
9684 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9685 typedef const int *iptr;
9689 { /* AIX XL C 1.02.0.0 rejects this saying
9690 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9691 struct s { int j; const int *ap[3]; };
9692 struct s *b; b->j = 5;
9694 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9698 return !cs[0] && !zero.x;
9705 if ac_fn_c_try_compile
"$LINENO"; then :
9710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9713 $as_echo "$ac_cv_c_const" >&6; }
9714 if test $ac_cv_c_const = no
; then
9716 $as_echo "#define const /**/" >>confdefs.h
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9721 $as_echo_n "checking for inline... " >&6; }
9722 if test "${ac_cv_c_inline+set}" = set; then :
9723 $as_echo_n "(cached) " >&6
9726 for ac_kw
in inline __inline__ __inline
; do
9727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9731 static $ac_kw foo_t static_foo () {return 0; }
9732 $ac_kw foo_t foo () {return 0; }
9736 if ac_fn_c_try_compile
"$LINENO"; then :
9737 ac_cv_c_inline
=$ac_kw
9739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9740 test "$ac_cv_c_inline" != no
&& break
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9745 $as_echo "$ac_cv_c_inline" >&6; }
9747 case $ac_cv_c_inline in
9750 case $ac_cv_c_inline in
9752 *) ac_val
=$ac_cv_c_inline;;
9754 cat >>confdefs.h
<<_ACEOF
9756 #define inline $ac_val
9762 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
9763 if test "x$ac_cv_type_mode_t" = x
""yes; then :
9767 cat >>confdefs.h
<<_ACEOF
9773 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9774 if test "x$ac_cv_type_off_t" = x
""yes; then :
9778 cat >>confdefs.h
<<_ACEOF
9779 #define off_t long int
9784 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9785 if test "x$ac_cv_type_size_t" = x
""yes; then :
9789 cat >>confdefs.h
<<_ACEOF
9790 #define size_t unsigned int
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9796 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9797 if test "${ac_cv_header_time+set}" = set; then :
9798 $as_echo_n "(cached) " >&6
9800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9802 #include <sys/types.h>
9803 #include <sys/time.h>
9809 if ((struct tm *) 0)
9815 if ac_fn_c_try_compile
"$LINENO"; then :
9816 ac_cv_header_time
=yes
9818 ac_cv_header_time
=no
9820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9823 $as_echo "$ac_cv_header_time" >&6; }
9824 if test $ac_cv_header_time = yes; then
9826 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9831 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9832 if test "${ac_cv_struct_tm+set}" = set; then :
9833 $as_echo_n "(cached) " >&6
9835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9837 #include <sys/types.h>
9844 int *p = &tm.tm_sec;
9850 if ac_fn_c_try_compile
"$LINENO"; then :
9851 ac_cv_struct_tm
=time.h
9853 ac_cv_struct_tm
=sys
/time.h
9855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9858 $as_echo "$ac_cv_struct_tm" >&6; }
9859 if test $ac_cv_struct_tm = sys
/time.h
; then
9861 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
9866 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
9867 if test "${ac_cv_type_uid_t+set}" = set; then :
9868 $as_echo_n "(cached) " >&6
9870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 #include <sys/types.h>
9875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9876 $EGREP "uid_t" >/dev
/null
2>&1; then :
9877 ac_cv_type_uid_t
=yes
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
9885 $as_echo "$ac_cv_type_uid_t" >&6; }
9886 if test $ac_cv_type_uid_t = no
; then
9888 $as_echo "#define uid_t int" >>confdefs.h
9891 $as_echo "#define gid_t int" >>confdefs.h
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9896 $as_echo_n "checking for working volatile... " >&6; }
9897 if test "${ac_cv_c_volatile+set}" = set; then :
9898 $as_echo_n "(cached) " >&6
9900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9908 int * volatile y = (int *) 0;
9914 if ac_fn_c_try_compile
"$LINENO"; then :
9915 ac_cv_c_volatile
=yes
9919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9922 $as_echo "$ac_cv_c_volatile" >&6; }
9923 if test $ac_cv_c_volatile = no
; then
9925 $as_echo "#define volatile /**/" >>confdefs.h
9929 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
9930 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
9932 cat >>confdefs.h
<<_ACEOF
9933 #define HAVE_PTRDIFF_T 1
9940 # Checks for library functions.
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
9942 $as_echo_n "checking whether closedir returns void... " >&6; }
9943 if test "${ac_cv_func_closedir_void+set}" = set; then :
9944 $as_echo_n "(cached) " >&6
9946 if test "$cross_compiling" = yes; then :
9947 ac_cv_func_closedir_void
=yes
9949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 $ac_includes_default
9952 #include <$ac_header_dirent>
9960 return closedir (opendir (".")) != 0;
9965 if ac_fn_c_try_run
"$LINENO"; then :
9966 ac_cv_func_closedir_void
=no
9968 ac_cv_func_closedir_void
=yes
9970 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9971 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
9976 $as_echo "$ac_cv_func_closedir_void" >&6; }
9977 if test $ac_cv_func_closedir_void = yes; then
9979 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
9983 if test $ac_cv_c_compiler_gnu = yes; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
9985 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
9986 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
9987 $as_echo_n "(cached) " >&6
9989 ac_pattern
="Autoconf.*'x'"
9990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9996 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
9997 ac_cv_prog_gcc_traditional
=yes
9999 ac_cv_prog_gcc_traditional
=no
10004 if test $ac_cv_prog_gcc_traditional = no
; then
10005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 #include <termio.h>
10010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10011 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10012 ac_cv_prog_gcc_traditional
=yes
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10019 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10020 if test $ac_cv_prog_gcc_traditional = yes; then
10021 CC
="$CC -traditional"
10025 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10026 if test "x$ac_cv_type_pid_t" = x
""yes; then :
10030 cat >>confdefs.h
<<_ACEOF
10036 for ac_header
in vfork.h
10038 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10039 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
10040 cat >>confdefs.h
<<_ACEOF
10041 #define HAVE_VFORK_H 1
10048 for ac_func
in fork vfork
10050 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10051 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10052 eval as_val
=\$
$as_ac_var
10053 if test "x$as_val" = x
""yes; then :
10054 cat >>confdefs.h
<<_ACEOF
10055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10061 if test "x$ac_cv_func_fork" = xyes
; then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10063 $as_echo_n "checking for working fork... " >&6; }
10064 if test "${ac_cv_func_fork_works+set}" = set; then :
10065 $as_echo_n "(cached) " >&6
10067 if test "$cross_compiling" = yes; then :
10068 ac_cv_func_fork_works
=cross
10070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10072 $ac_includes_default
10077 /* By Ruediger Kuhlmann. */
10078 return fork () < 0;
10084 if ac_fn_c_try_run
"$LINENO"; then :
10085 ac_cv_func_fork_works
=yes
10087 ac_cv_func_fork_works
=no
10089 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10090 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10095 $as_echo "$ac_cv_func_fork_works" >&6; }
10098 ac_cv_func_fork_works
=$ac_cv_func_fork
10100 if test "x$ac_cv_func_fork_works" = xcross
; then
10102 *-*-amigaos* |
*-*-msdosdjgpp*)
10103 # Override, as these systems have only a dummy fork() stub
10104 ac_cv_func_fork_works
=no
10107 ac_cv_func_fork_works
=yes
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10111 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10113 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10114 if test "x$ac_cv_func_vfork" = xyes
; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10116 $as_echo_n "checking for working vfork... " >&6; }
10117 if test "${ac_cv_func_vfork_works+set}" = set; then :
10118 $as_echo_n "(cached) " >&6
10120 if test "$cross_compiling" = yes; then :
10121 ac_cv_func_vfork_works
=cross
10123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 /* Thanks to Paul Eggert for this test. */
10126 $ac_includes_default
10127 #include <sys/wait.h>
10128 #ifdef HAVE_VFORK_H
10129 # include <vfork.h>
10131 /* On some sparc systems, changes by the child to local and incoming
10132 argument registers are propagated back to the parent. The compiler
10133 is told about this with #include <vfork.h>, but some compilers
10134 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10135 static variable whose address is put into a register that is
10136 clobbered by the vfork. */
10139 sparc_address_test (int arg)
10141 sparc_address_test (arg) int arg;
10144 static pid_t child;
10162 pid_t parent = getpid ();
10165 sparc_address_test (0);
10170 /* Here is another test for sparc vfork register problems. This
10171 test uses lots of local variables, at least as many local
10172 variables as main has allocated so far including compiler
10173 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10174 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10175 reuse the register of parent for one of the local variables,
10176 since it will think that parent can't possibly be used any more
10177 in this routine. Assigning to the local variable will thus
10178 munge parent in the parent process. */
10180 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10181 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10182 /* Convince the compiler that p..p7 are live; otherwise, it might
10183 use the same hardware register for all 8 local variables. */
10184 if (p != p1 || p != p2 || p != p3 || p != p4
10185 || p != p5 || p != p6 || p != p7)
10188 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10189 from child file descriptors. If the child closes a descriptor
10190 before it execs or exits, this munges the parent's descriptor
10191 as well. Test for this by closing stdout in the child. */
10192 _exit(close(fileno(stdout)) != 0);
10197 while (wait(&status) != child)
10200 /* Was there some problem with vforking? */
10203 /* Did the child fail? (This shouldn't happen.) */
10206 /* Did the vfork/compiler bug occur? */
10207 || parent != getpid()
10209 /* Did the file descriptor bug occur? */
10210 || fstat(fileno(stdout), &st) != 0
10215 if ac_fn_c_try_run
"$LINENO"; then :
10216 ac_cv_func_vfork_works
=yes
10218 ac_cv_func_vfork_works
=no
10220 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10221 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
10226 $as_echo "$ac_cv_func_vfork_works" >&6; }
10229 if test "x$ac_cv_func_fork_works" = xcross
; then
10230 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10232 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10235 if test "x$ac_cv_func_vfork_works" = xyes
; then
10237 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
10241 $as_echo "#define vfork fork" >>confdefs.h
10244 if test "x$ac_cv_func_fork_works" = xyes
; then
10246 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10251 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10252 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10253 $as_echo_n "(cached) " >&6
10255 rm -f conftest.sym conftest.
file
10256 echo >conftest.
file
10257 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10258 if test "$cross_compiling" = yes; then :
10259 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10263 $ac_includes_default
10268 /* Linux will dereference the symlink and fail, as required by POSIX.
10269 That is better in the sense that it means we will not
10270 have to compile and use the lstat wrapper. */
10271 return lstat ("conftest.sym/", &sbuf) == 0;
10276 if ac_fn_c_try_run
"$LINENO"; then :
10277 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10279 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10281 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10282 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10286 # If the `ln -s' command failed, then we probably don't even
10287 # have an lstat function.
10288 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10290 rm -f conftest.sym conftest.
file
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10294 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10296 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10298 cat >>confdefs.h
<<_ACEOF
10299 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10303 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10304 case " $LIBOBJS " in
10305 *" lstat.$ac_objext "* ) ;;
10306 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10312 if test x
$SYS != xwin32
; then :
10314 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10315 # -lseq on Dynix/PTX, -lgen on Unixware.
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
10317 $as_echo_n "checking for library containing getmntent... " >&6; }
10318 if test "${ac_cv_search_getmntent+set}" = set; then :
10319 $as_echo_n "(cached) " >&6
10321 ac_func_search_save_LIBS
=$LIBS
10322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10335 return getmntent ();
10340 for ac_lib
in '' sun
seq gen
; do
10341 if test -z "$ac_lib"; then
10342 ac_res
="none required"
10345 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10347 if ac_fn_c_try_link
"$LINENO"; then :
10348 ac_cv_search_getmntent
=$ac_res
10350 rm -f core conftest.err conftest.
$ac_objext \
10352 if test "${ac_cv_search_getmntent+set}" = set; then :
10356 if test "${ac_cv_search_getmntent+set}" = set; then :
10359 ac_cv_search_getmntent
=no
10361 rm conftest.
$ac_ext
10362 LIBS
=$ac_func_search_save_LIBS
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
10365 $as_echo "$ac_cv_search_getmntent" >&6; }
10366 ac_res
=$ac_cv_search_getmntent
10367 if test "$ac_res" != no
; then :
10368 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10369 ac_cv_func_getmntent
=yes
10371 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
10374 ac_cv_func_getmntent
=no
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
10379 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
10380 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
10381 $as_echo_n "(cached) " >&6
10383 if test "$cross_compiling" = yes; then :
10384 ac_cv_func_lstat_empty_string_bug
=yes
10386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 $ac_includes_default
10393 return lstat ("", &sbuf) == 0;
10398 if ac_fn_c_try_run
"$LINENO"; then :
10399 ac_cv_func_lstat_empty_string_bug
=no
10401 ac_cv_func_lstat_empty_string_bug
=yes
10403 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10404 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
10409 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
10410 if test $ac_cv_func_lstat_empty_string_bug = yes; then
10411 case " $LIBOBJS " in
10412 *" lstat.$ac_objext "* ) ;;
10413 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10418 cat >>confdefs.h
<<_ACEOF
10419 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10425 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10426 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10427 $as_echo_n "(cached) " >&6
10429 rm -f conftest.sym conftest.
file
10430 echo >conftest.
file
10431 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10432 if test "$cross_compiling" = yes; then :
10433 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 $ac_includes_default
10442 /* Linux will dereference the symlink and fail, as required by POSIX.
10443 That is better in the sense that it means we will not
10444 have to compile and use the lstat wrapper. */
10445 return lstat ("conftest.sym/", &sbuf) == 0;
10450 if ac_fn_c_try_run
"$LINENO"; then :
10451 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10453 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10455 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10456 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10460 # If the `ln -s' command failed, then we probably don't even
10461 # have an lstat function.
10462 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10464 rm -f conftest.sym conftest.
file
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10468 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10470 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10472 cat >>confdefs.h
<<_ACEOF
10473 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10477 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10478 case " $LIBOBJS " in
10479 *" lstat.$ac_objext "* ) ;;
10480 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
10489 $as_echo_n "checking for working memcmp... " >&6; }
10490 if test "${ac_cv_func_memcmp_working+set}" = set; then :
10491 $as_echo_n "(cached) " >&6
10493 if test "$cross_compiling" = yes; then :
10494 ac_cv_func_memcmp_working
=no
10496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10497 /* end confdefs.h. */
10498 $ac_includes_default
10503 /* Some versions of memcmp are not 8-bit clean. */
10504 char c0 = '\100', c1 = '\200', c2 = '\201';
10505 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10508 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10509 or more and with at least one buffer not starting on a 4-byte boundary.
10510 William Lewis provided this test program. */
10515 for (i = 0; i < 4; i++)
10519 strcpy (a, "--------01111111");
10520 strcpy (b, "--------10000000");
10521 if (memcmp (a, b, 16) >= 0)
10531 if ac_fn_c_try_run
"$LINENO"; then :
10532 ac_cv_func_memcmp_working
=yes
10534 ac_cv_func_memcmp_working
=no
10536 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10537 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
10542 $as_echo "$ac_cv_func_memcmp_working" >&6; }
10543 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10544 *" memcmp.$ac_objext "* ) ;;
10545 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10550 for ac_header
in sys
/select.h sys
/socket.h
10552 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10553 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10554 eval as_val
=\$
$as_ac_Header
10555 if test "x$as_val" = x
""yes; then :
10556 cat >>confdefs.h
<<_ACEOF
10557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
10565 $as_echo_n "checking types of arguments for select... " >&6; }
10566 if test "${ac_cv_func_select_args+set}" = set; then :
10567 $as_echo_n "(cached) " >&6
10569 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10570 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10571 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10574 $ac_includes_default
10575 #ifdef HAVE_SYS_SELECT_H
10576 # include <sys/select.h>
10578 #ifdef HAVE_SYS_SOCKET_H
10579 # include <sys/socket.h>
10585 extern int select ($ac_arg1,
10586 $ac_arg234, $ac_arg234, $ac_arg234,
10592 if ac_fn_c_try_compile
"$LINENO"; then :
10593 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10599 # Provide a safe default value.
10600 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10604 $as_echo "$ac_cv_func_select_args" >&6; }
10605 ac_save_IFS
=$IFS; IFS
=','
10606 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10610 cat >>confdefs.h
<<_ACEOF
10611 #define SELECT_TYPE_ARG1 $1
10615 cat >>confdefs.h
<<_ACEOF
10616 #define SELECT_TYPE_ARG234 ($2)
10620 cat >>confdefs.h
<<_ACEOF
10621 #define SELECT_TYPE_ARG5 ($3)
10626 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
10627 $as_echo_n "(cached) " >&6
10629 ac_cv_func_setvbuf_reversed
=no
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10634 $as_echo_n "checking return type of signal handlers... " >&6; }
10635 if test "${ac_cv_type_signal+set}" = set; then :
10636 $as_echo_n "(cached) " >&6
10638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 #include <sys/types.h>
10641 #include <signal.h>
10646 return *(signal (0, 0)) (0) == 1;
10651 if ac_fn_c_try_compile
"$LINENO"; then :
10652 ac_cv_type_signal
=int
10654 ac_cv_type_signal
=void
10656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
10659 $as_echo "$ac_cv_type_signal" >&6; }
10661 cat >>confdefs.h
<<_ACEOF
10662 #define RETSIGTYPE $ac_cv_type_signal
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
10667 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10668 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
10669 $as_echo_n "(cached) " >&6
10671 if test "$cross_compiling" = yes; then :
10672 ac_cv_func_stat_empty_string_bug
=yes
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10676 $ac_includes_default
10681 return stat ("", &sbuf) == 0;
10686 if ac_fn_c_try_run
"$LINENO"; then :
10687 ac_cv_func_stat_empty_string_bug
=no
10689 ac_cv_func_stat_empty_string_bug
=yes
10691 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10692 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
10697 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10698 if test $ac_cv_func_stat_empty_string_bug = yes; then
10699 case " $LIBOBJS " in
10700 *" stat.$ac_objext "* ) ;;
10701 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
10706 cat >>confdefs.h
<<_ACEOF
10707 #define HAVE_STAT_EMPTY_STRING_BUG 1
10712 for ac_func
in strftime
10714 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
10715 if test "x$ac_cv_func_strftime" = x
""yes; then :
10716 cat >>confdefs.h
<<_ACEOF
10717 #define HAVE_STRFTIME 1
10721 # strftime is in -lintl on SCO UNIX.
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
10723 $as_echo_n "checking for strftime in -lintl... " >&6; }
10724 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
10725 $as_echo_n "(cached) " >&6
10727 ac_check_lib_save_LIBS
=$LIBS
10728 LIBS
="-lintl $LIBS"
10729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10732 /* Override any GCC internal prototype to avoid an error.
10733 Use char because int might match the return type of a GCC
10734 builtin and then its argument prototype would still apply. */
10742 return strftime ();
10747 if ac_fn_c_try_link
"$LINENO"; then :
10748 ac_cv_lib_intl_strftime
=yes
10750 ac_cv_lib_intl_strftime
=no
10752 rm -f core conftest.err conftest.
$ac_objext \
10753 conftest
$ac_exeext conftest.
$ac_ext
10754 LIBS
=$ac_check_lib_save_LIBS
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
10757 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
10758 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
10759 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
10761 LIBS
="-lintl $LIBS"
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
10768 $as_echo_n "checking for working strtod... " >&6; }
10769 if test "${ac_cv_func_strtod+set}" = set; then :
10770 $as_echo_n "(cached) " >&6
10772 if test "$cross_compiling" = yes; then :
10773 ac_cv_func_strtod
=no
10775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 $ac_includes_default
10786 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10787 char *string = " +69";
10790 value = strtod (string, &term);
10791 if (value != 69 || term != (string + 4))
10796 /* Under Solaris 2.4, strtod returns the wrong value for the
10797 terminating character under some conditions. */
10798 char *string = "NaN";
10800 strtod (string, &term);
10801 if (term != string && *(term - 1) == 0)
10808 if ac_fn_c_try_run
"$LINENO"; then :
10809 ac_cv_func_strtod
=yes
10811 ac_cv_func_strtod
=no
10813 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10814 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
10819 $as_echo "$ac_cv_func_strtod" >&6; }
10820 if test $ac_cv_func_strtod = no
; then
10821 case " $LIBOBJS " in
10822 *" strtod.$ac_objext "* ) ;;
10823 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
10827 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
10828 if test "x$ac_cv_func_pow" = x
""yes; then :
10832 if test $ac_cv_func_pow = no
; then
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
10834 $as_echo_n "checking for pow in -lm... " >&6; }
10835 if test "${ac_cv_lib_m_pow+set}" = set; then :
10836 $as_echo_n "(cached) " >&6
10838 ac_check_lib_save_LIBS
=$LIBS
10840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10843 /* Override any GCC internal prototype to avoid an error.
10844 Use char because int might match the return type of a GCC
10845 builtin and then its argument prototype would still apply. */
10858 if ac_fn_c_try_link
"$LINENO"; then :
10859 ac_cv_lib_m_pow
=yes
10863 rm -f core conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10865 LIBS
=$ac_check_lib_save_LIBS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
10868 $as_echo "$ac_cv_lib_m_pow" >&6; }
10869 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
10873 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10880 for ac_func
in vprintf
10882 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10883 if test "x$ac_cv_func_vprintf" = x
""yes; then :
10884 cat >>confdefs.h
<<_ACEOF
10885 #define HAVE_VPRINTF 1
10888 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10889 if test "x$ac_cv_func__doprnt" = x
""yes; then :
10891 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10899 if test $cross_compiling = yes -a $gnumalloc = yes; then :
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10902 configure cannot check whether malloc() and realloc() are GNU libc
10903 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10904 run configure with the --without-gnu-malloc switch." >&5
10905 $as_echo "$as_me: WARNING:
10906 configure cannot check whether malloc() and realloc() are GNU libc
10907 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10908 run configure with the --without-gnu-malloc switch." >&2;}
10909 _mule_warning_8
=yes
10910 _mule_has_warnings
=yes
10912 ac_cv_func_malloc_0_nonnull
=yes
10913 ac_cv_func_realloc_0_nonnull
=yes
10916 for ac_header
in stdlib.h
10918 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10919 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10920 cat >>confdefs.h
<<_ACEOF
10921 #define HAVE_STDLIB_H 1
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10929 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
10930 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
10931 $as_echo_n "(cached) " >&6
10933 if test "$cross_compiling" = yes; then :
10934 ac_cv_func_malloc_0_nonnull
=no
10936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10939 # include <stdlib.h>
10947 return ! malloc (0);
10952 if ac_fn_c_try_run
"$LINENO"; then :
10953 ac_cv_func_malloc_0_nonnull
=yes
10955 ac_cv_func_malloc_0_nonnull
=no
10957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10958 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
10963 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
10964 if test $ac_cv_func_malloc_0_nonnull = yes; then :
10966 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
10969 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
10971 case " $LIBOBJS " in
10972 *" malloc.$ac_objext "* ) ;;
10973 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
10978 $as_echo "#define malloc rpl_malloc" >>confdefs.h
10983 for ac_header
in stdlib.h
10985 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10986 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10987 cat >>confdefs.h
<<_ACEOF
10988 #define HAVE_STDLIB_H 1
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
10996 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
10997 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
10998 $as_echo_n "(cached) " >&6
11000 if test "$cross_compiling" = yes; then :
11001 ac_cv_func_realloc_0_nonnull
=no
11003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11005 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11006 # include <stdlib.h>
11014 return ! realloc (0, 0);
11019 if ac_fn_c_try_run
"$LINENO"; then :
11020 ac_cv_func_realloc_0_nonnull
=yes
11022 ac_cv_func_realloc_0_nonnull
=no
11024 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11025 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11030 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11031 if test $ac_cv_func_realloc_0_nonnull = yes; then :
11033 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11036 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11038 case " $LIBOBJS " in
11039 *" realloc.$ac_objext "* ) ;;
11040 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11045 $as_echo "#define realloc rpl_realloc" >>confdefs.h
11050 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
11052 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11053 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11054 eval as_val
=\$
$as_ac_var
11055 if test "x$as_val" = x
""yes; then :
11056 cat >>confdefs.h
<<_ACEOF
11057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11063 #-------------------------------------------------------------------------------
11064 # End of autoscan stuff
11065 #-------------------------------------------------------------------------------
11067 for ac_func
in mkdir getrlimit setrlimit getopt_long
11069 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11070 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11071 eval as_val
=\$
$as_ac_var
11072 if test "x$as_val" = x
""yes; then :
11073 cat >>confdefs.h
<<_ACEOF
11074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11084 for ac_header
in $ac_header_list
11086 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11087 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11089 eval as_val
=\$
$as_ac_Header
11090 if test "x$as_val" = x
""yes; then :
11091 cat >>confdefs.h
<<_ACEOF
11092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11105 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11107 # Check whether --enable-mmap was given.
11108 if test "${enable_mmap+set}" = set; then :
11109 enableval
=$enable_mmap;
11114 if test ${enable_mmap:-no} = yes; then :
11116 for ac_header
in sys
/mman.h
11118 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11119 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11120 cat >>confdefs.h
<<_ACEOF
11121 #define HAVE_SYS_MMAN_H 1
11129 for ac_func
in getpagesize
11131 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11132 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
11133 cat >>confdefs.h
<<_ACEOF
11134 #define HAVE_GETPAGESIZE 1
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11141 $as_echo_n "checking for working mmap... " >&6; }
11142 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
11143 $as_echo_n "(cached) " >&6
11145 if test "$cross_compiling" = yes; then :
11146 ac_cv_func_mmap_fixed_mapped
=no
11148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11150 $ac_includes_default
11151 /* malloc might have been renamed as rpl_malloc. */
11154 /* Thanks to Mike Haertel and Jim Avera for this test.
11155 Here is a matrix of mmap possibilities:
11156 mmap private not fixed
11157 mmap private fixed at somewhere currently unmapped
11158 mmap private fixed at somewhere already mapped
11159 mmap shared not fixed
11160 mmap shared fixed at somewhere currently unmapped
11161 mmap shared fixed at somewhere already mapped
11162 For private mappings, we should verify that changes cannot be read()
11163 back from the file, nor mmap's back from the file at a different
11164 address. (There have been systems where private was not correctly
11165 implemented like the infamous i386 svr4.0, and systems where the
11166 VM page cache was not coherent with the file system buffer cache
11167 like early versions of FreeBSD and possibly contemporary NetBSD.)
11168 For shared mappings, we should conversely verify that changes get
11169 propagated back to all the places they're supposed to be.
11171 Grep wants private fixed already mapped.
11172 The main things grep needs to know about mmap are:
11173 * does it exist and is it safe to write into the mmap'd area
11174 * how to use it (BSD variants) */
11177 #include <sys/mman.h>
11179 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11183 /* This mess was copied from the GNU getpagesize.h. */
11184 #ifndef HAVE_GETPAGESIZE
11185 # ifdef _SC_PAGESIZE
11186 # define getpagesize() sysconf(_SC_PAGESIZE)
11187 # else /* no _SC_PAGESIZE */
11188 # ifdef HAVE_SYS_PARAM_H
11189 # include <sys/param.h>
11190 # ifdef EXEC_PAGESIZE
11191 # define getpagesize() EXEC_PAGESIZE
11192 # else /* no EXEC_PAGESIZE */
11194 # define getpagesize() NBPG * CLSIZE
11197 # endif /* no CLSIZE */
11198 # else /* no NBPG */
11200 # define getpagesize() NBPC
11201 # else /* no NBPC */
11203 # define getpagesize() PAGESIZE
11204 # endif /* PAGESIZE */
11205 # endif /* no NBPC */
11206 # endif /* no NBPG */
11207 # endif /* no EXEC_PAGESIZE */
11208 # else /* no HAVE_SYS_PARAM_H */
11209 # define getpagesize() 8192 /* punt totally */
11210 # endif /* no HAVE_SYS_PARAM_H */
11211 # endif /* no _SC_PAGESIZE */
11213 #endif /* no HAVE_GETPAGESIZE */
11218 char *data, *data2, *data3;
11222 pagesize = getpagesize ();
11224 /* First, make a file with some known garbage in it. */
11225 data = (char *) malloc (pagesize);
11228 for (i = 0; i < pagesize; ++i)
11229 *(data + i) = rand ();
11231 fd = creat ("conftest.mmap", 0600);
11234 if (write (fd, data, pagesize) != pagesize)
11238 /* Next, check that the tail of a page is zero-filled. File must have
11239 non-zero length, otherwise we risk SIGBUS for entire page. */
11240 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11244 if (write (fd2, data2, 1) != 1)
11246 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11247 if (data2 == MAP_FAILED)
11249 for (i = 0; i < pagesize; ++i)
11253 if (munmap (data2, pagesize))
11256 /* Next, try to mmap the file at a fixed address which already has
11257 something else allocated at it. If we can, also make sure that
11258 we see the same garbage. */
11259 fd = open ("conftest.mmap", O_RDWR);
11262 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11263 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11265 for (i = 0; i < pagesize; ++i)
11266 if (*(data + i) != *(data2 + i))
11269 /* Finally, make sure that changes to the mapped area do not
11270 percolate back to the file as seen by read(). (This is a bug on
11271 some variants of i386 svr4.0.) */
11272 for (i = 0; i < pagesize; ++i)
11273 *(data2 + i) = *(data2 + i) + 1;
11274 data3 = (char *) malloc (pagesize);
11277 if (read (fd, data3, pagesize) != pagesize)
11279 for (i = 0; i < pagesize; ++i)
11280 if (*(data + i) != *(data3 + i))
11286 if ac_fn_c_try_run
"$LINENO"; then :
11287 ac_cv_func_mmap_fixed_mapped
=yes
11289 ac_cv_func_mmap_fixed_mapped
=no
11291 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11292 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11297 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11298 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11300 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11303 rm -f conftest.mmap conftest.txt
11305 for ac_func
in munmap sysconf
11307 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11308 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11309 eval as_val
=\$
$as_ac_var
11310 if test "x$as_val" = x
""yes; then :
11311 cat >>confdefs.h
<<_ACEOF
11312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11318 if test $ac_cv_func_sysconf = yes; then :
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
11321 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
11322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11326 #include <unistd.h>
11332 return sysconf(_SC_PAGESIZE);
11339 if ac_fn_c_try_link
"$LINENO"; then :
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
11342 $as_echo "_SC_PAGESIZE" >&6; }
11344 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
11349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11353 #include <unistd.h>
11359 return sysconf(_SC_PAGE_SIZE);
11366 if ac_fn_c_try_link
"$LINENO"; then :
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
11369 $as_echo "_SC_PAGE_SIZE" >&6; }
11371 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11377 $as_echo "none" >&6; }
11380 rm -f core conftest.err conftest.
$ac_objext \
11381 conftest
$ac_exeext conftest.
$ac_ext
11384 rm -f core conftest.err conftest.
$ac_objext \
11385 conftest
$ac_exeext conftest.
$ac_ext
11391 # fake the result of the test for munmap() for the gettext macros
11392 ac_cv_func_munmap
=no
11398 mule_backup_CPPFLAGS
="$CPPFLAGS"
11399 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
11400 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11401 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
11407 cat >>confdefs.h
<<_ACEOF
11408 #define HAVE_DECL_STRERROR_R $ac_have_decl
11411 for ac_func
in strerror_r
11413 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11414 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
11415 cat >>confdefs.h
<<_ACEOF
11416 #define HAVE_STRERROR_R 1
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11423 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
11424 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
11425 $as_echo_n "(cached) " >&6
11428 ac_cv_func_strerror_r_char_p
=no
11429 if test $ac_cv_have_decl_strerror_r = yes; then
11430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432 $ac_includes_default
11438 char x = *strerror_r (0, buf, sizeof buf);
11439 char *p = strerror_r (0, buf, sizeof buf);
11446 if ac_fn_c_try_compile
"$LINENO"; then :
11447 ac_cv_func_strerror_r_char_p
=yes
11449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11451 # strerror_r is not declared. Choose between
11452 # systems that have relatively inaccessible declarations for the
11453 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11454 # former has a strerror_r that returns char*, while the latter
11455 # has a strerror_r that returns `int'.
11456 # This test should segfault on the DEC system.
11457 if test "$cross_compiling" = yes; then :
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11462 $ac_includes_default
11463 extern char *strerror_r ();
11468 char x = *strerror_r (0, buf, sizeof buf);
11469 return ! isalpha (x);
11474 if ac_fn_c_try_run
"$LINENO"; then :
11475 ac_cv_func_strerror_r_char_p
=yes
11477 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11478 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11485 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
11486 if test $ac_cv_func_strerror_r_char_p = yes; then
11488 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
11492 CPPFLAGS
="$mule_backup_CPPFLAGS"
11494 # Look for a way to preallocate disk space for files.
11495 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
11498 $as_echo_n "checking for fallocate... " >&6; }
11499 mule_backup_CPPFLAGS
="$CPPFLAGS"
11500 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
11501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11505 #define _GNU_SOURCE
11506 #ifdef HAVE_FCNTL_H
11507 # include <fcntl.h>
11509 #include <linux/falloc.h>
11515 fallocate(0, 0, 0, 0);
11522 if ac_fn_c_try_link
"$LINENO"; then :
11525 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11528 $as_echo "yes" >&6; }
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 $as_echo "no" >&6; }
11536 rm -f core conftest.err conftest.
$ac_objext \
11537 conftest
$ac_exeext conftest.
$ac_ext
11538 CPPFLAGS
="$mule_backup_CPPFLAGS"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
11542 $as_echo_n "checking for SYS_fallocate... " >&6; }
11543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11547 #include <sys/syscall.h>
11548 #include <sys/types.h>
11549 #include <unistd.h>
11555 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
11562 if ac_fn_c_try_link
"$LINENO"; then :
11565 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11568 $as_echo "yes" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11576 rm -f core conftest.err conftest.
$ac_objext \
11577 conftest
$ac_exeext conftest.
$ac_ext
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
11580 $as_echo_n "checking for posix_fallocate... " >&6; }
11581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11585 #define _XOPEN_SOURCE 600
11586 #include <stdlib.h>
11587 #ifdef HAVE_FCNTL_H
11588 # include <fcntl.h>
11595 posix_fallocate(0, 0, 0);
11602 if ac_fn_c_try_link
"$LINENO"; then :
11605 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11608 $as_echo "yes" >&6; }
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11613 $as_echo "no" >&6; }
11616 rm -f core conftest.err conftest.
$ac_objext \
11617 conftest
$ac_exeext conftest.
$ac_ext
11621 # Checking Native Language Support
11625 if test -n "$ac_aux_dir"; then
11626 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
11628 if test -z "$MKINSTALLDIRS"; then
11629 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11636 # Extract the first word of "msgfmt", so it can be a program name with args.
11637 set dummy msgfmt
; ac_word
=$2
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11639 $as_echo_n "checking for $ac_word... " >&6; }
11640 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11641 $as_echo_n "(cached) " >&6
11645 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11648 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11649 for ac_dir
in $PATH; do
11650 test -z "$ac_dir" && ac_dir
=.
11651 if test -f $ac_dir/$ac_word; then
11652 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11653 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11654 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
11660 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11664 MSGFMT
="$ac_cv_path_MSGFMT"
11665 if test "$MSGFMT" != ":"; then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11667 $as_echo "$MSGFMT" >&6; }
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11670 $as_echo "no" >&6; }
11673 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11674 set dummy gmsgfmt
; ac_word
=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11678 $as_echo_n "(cached) " >&6
11682 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11686 for as_dir
in $PATH
11689 test -z "$as_dir" && as_dir
=.
11690 for ac_exec_ext
in '' $ac_executable_extensions; do
11691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11692 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11700 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11704 GMSGFMT
=$ac_cv_path_GMSGFMT
11705 if test -n "$GMSGFMT"; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11707 $as_echo "$GMSGFMT" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 $as_echo "no" >&6; }
11715 # Extract the first word of "xgettext", so it can be a program name with args.
11716 set dummy xgettext
; ac_word
=$2
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11718 $as_echo_n "checking for $ac_word... " >&6; }
11719 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11720 $as_echo_n "(cached) " >&6
11722 case "$XGETTEXT" in
11724 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11727 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11728 for ac_dir
in $PATH; do
11729 test -z "$ac_dir" && ac_dir
=.
11730 if test -f $ac_dir/$ac_word; then
11731 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11732 (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
11733 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
11739 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11743 XGETTEXT
="$ac_cv_path_XGETTEXT"
11744 if test "$XGETTEXT" != ":"; then
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11746 $as_echo "$XGETTEXT" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11754 # Extract the first word of "msgmerge", so it can be a program name with args.
11755 set dummy msgmerge
; ac_word
=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757 $as_echo_n "checking for $ac_word... " >&6; }
11758 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11759 $as_echo_n "(cached) " >&6
11761 case "$MSGMERGE" in
11763 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11766 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11767 for ac_dir
in $PATH; do
11768 test -z "$ac_dir" && ac_dir
=.
11769 if test -f $ac_dir/$ac_word; then
11770 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11771 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
11777 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11781 MSGMERGE
="$ac_cv_path_MSGMERGE"
11782 if test "$MSGMERGE" != ":"; then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11784 $as_echo "$MSGMERGE" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11791 if test "$GMSGFMT" != ":"; then
11792 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11793 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11796 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11798 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11803 if test "$XGETTEXT" != ":"; then
11804 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11805 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11809 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11815 ac_config_commands
="$ac_config_commands default-1"
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11820 $as_echo_n "checking for strerror in -lcposix... " >&6; }
11821 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
11822 $as_echo_n "(cached) " >&6
11824 ac_check_lib_save_LIBS
=$LIBS
11825 LIBS
="-lcposix $LIBS"
11826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11839 return strerror ();
11844 if ac_fn_c_try_link
"$LINENO"; then :
11845 ac_cv_lib_cposix_strerror
=yes
11847 ac_cv_lib_cposix_strerror
=no
11849 rm -f core conftest.err conftest.
$ac_objext \
11850 conftest
$ac_exeext conftest.
$ac_ext
11851 LIBS
=$ac_check_lib_save_LIBS
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11854 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11855 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
11856 LIBS
="$LIBS -lcposix"
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
11863 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
11864 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
11865 $as_echo_n "(cached) " >&6
11867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11870 #include <features.h>
11871 #ifdef __GNU_LIBRARY__
11872 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
11878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11879 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
11880 ac_cv_gnu_library_2_1
=yes
11882 ac_cv_gnu_library_2_1
=no
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
11890 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
11892 GLIBC21
="$ac_cv_gnu_library_2_1"
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11898 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11899 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
11900 $as_echo_n "(cached) " >&6
11903 if test "$cross_compiling" = yes; then :
11905 # Guess based on the CPU.
11906 case "$host_cpu" in
11907 alpha
* | i3456786 | m68k | s390
*)
11908 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
11910 gt_cv_int_divbyzero_sigfpe
="guessing no";;
11914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 #include <stdlib.h>
11918 #include <signal.h>
11922 sigfpe_handler (int sig)
11924 sigfpe_handler (sig) int sig;
11927 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
11928 exit (sig != SIGFPE);
11938 signal (SIGFPE, sigfpe_handler);
11939 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
11940 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
11941 signal (SIGTRAP, sigfpe_handler);
11943 /* Linux/SPARC yields signal SIGILL. */
11944 #if defined (__sparc__) && defined (__linux__)
11945 signal (SIGILL, sigfpe_handler);
11954 if ac_fn_c_try_run
"$LINENO"; then :
11955 gt_cv_int_divbyzero_sigfpe
=yes
11957 gt_cv_int_divbyzero_sigfpe
=no
11959 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11960 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
11966 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
11967 case "$gt_cv_int_divbyzero_sigfpe" in
11972 cat >>confdefs.h
<<_ACEOF
11973 #define INTDIV0_RAISES_SIGFPE $value
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
11979 $as_echo_n "checking for inttypes.h... " >&6; }
11980 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
11981 $as_echo_n "(cached) " >&6
11983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11985 #include <sys/types.h>
11986 #include <inttypes.h>
11990 uintmax_t i = (uintmax_t) -1;
11995 if ac_fn_c_try_compile
"$LINENO"; then :
11996 jm_ac_cv_header_inttypes_h
=yes
11998 jm_ac_cv_header_inttypes_h
=no
12000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
12003 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
12004 if test $jm_ac_cv_header_inttypes_h = yes; then
12006 cat >>confdefs.h
<<_ACEOF
12007 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12014 $as_echo_n "checking for stdint.h... " >&6; }
12015 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
12016 $as_echo_n "(cached) " >&6
12018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #include <sys/types.h>
12021 #include <stdint.h>
12025 uintmax_t i = (uintmax_t) -1;
12030 if ac_fn_c_try_compile
"$LINENO"; then :
12031 jm_ac_cv_header_stdint_h
=yes
12033 jm_ac_cv_header_stdint_h
=no
12035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
12038 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
12039 if test $jm_ac_cv_header_stdint_h = yes; then
12041 cat >>confdefs.h
<<_ACEOF
12042 #define HAVE_STDINT_H_WITH_UINTMAX 1
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
12049 $as_echo_n "checking for unsigned long long... " >&6; }
12050 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
12051 $as_echo_n "(cached) " >&6
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 unsigned long long ull = 1; int i = 63;
12059 unsigned long long ullmax = (unsigned long long) -1;
12060 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
12065 if ac_fn_c_try_link
"$LINENO"; then :
12066 ac_cv_type_unsigned_long_long
=yes
12068 ac_cv_type_unsigned_long_long
=no
12070 rm -f core conftest.err conftest.
$ac_objext \
12071 conftest
$ac_exeext conftest.
$ac_ext
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
12074 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
12075 if test $ac_cv_type_unsigned_long_long = yes; then
12077 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
12084 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
12086 test $ac_cv_type_unsigned_long_long = yes \
12087 && ac_type
='unsigned long long' \
12088 || ac_type
='unsigned long'
12090 cat >>confdefs.h
<<_ACEOF
12091 #define uintmax_t $ac_type
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12098 $as_echo_n "checking for inttypes.h... " >&6; }
12099 if test "${gt_cv_header_inttypes_h+set}" = set; then :
12100 $as_echo_n "(cached) " >&6
12103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12105 #include <sys/types.h>
12106 #include <inttypes.h>
12115 if ac_fn_c_try_compile
"$LINENO"; then :
12116 gt_cv_header_inttypes_h
=yes
12118 gt_cv_header_inttypes_h
=no
12120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
12124 $as_echo "$gt_cv_header_inttypes_h" >&6; }
12125 if test $gt_cv_header_inttypes_h = yes; then
12127 cat >>confdefs.h
<<_ACEOF
12128 #define HAVE_INTTYPES_H 1
12135 if test $gt_cv_header_inttypes_h = yes; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12137 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12138 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
12139 $as_echo_n "(cached) " >&6
12142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12144 #include <inttypes.h>
12157 if ac_fn_c_try_compile
"$LINENO"; then :
12158 gt_cv_inttypes_pri_broken
=no
12160 gt_cv_inttypes_pri_broken
=yes
12162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
12166 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
12168 if test "$gt_cv_inttypes_pri_broken" = yes; then
12170 cat >>confdefs.h
<<_ACEOF
12171 #define PRI_MACROS_BROKEN 1
12177 if test "X$prefix" = "XNONE"; then
12178 acl_final_prefix
="$ac_default_prefix"
12180 acl_final_prefix
="$prefix"
12182 if test "X$exec_prefix" = "XNONE"; then
12183 acl_final_exec_prefix
='${prefix}'
12185 acl_final_exec_prefix
="$exec_prefix"
12187 acl_save_prefix
="$prefix"
12188 prefix
="$acl_final_prefix"
12189 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12190 prefix
="$acl_save_prefix"
12193 # Check whether --with-gnu-ld was given.
12194 if test "${with_gnu_ld+set}" = set; then :
12195 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12201 if test "$GCC" = yes; then
12202 # Check if gcc -print-prog-name=ld gives a path.
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12204 $as_echo_n "checking for ld used by GCC... " >&6; }
12207 # gcc leaves a trailing carriage return which upsets mingw
12208 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12210 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12213 # Accept absolute paths.
12214 [\\/]* |
[A-Za-z
]:[\\/]*)
12215 re_direlt
='/[^/][^/]*/\.\./'
12216 # Canonicalize the path of ld
12217 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12218 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12219 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12221 test -z "$LD" && LD
="$ac_prog"
12224 # If it fails, then pretend we aren't using GCC.
12228 # If it is relative, then search for the first ld in PATH.
12229 with_gnu_ld
=unknown
12232 elif test "$with_gnu_ld" = yes; then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12234 $as_echo_n "checking for GNU ld... " >&6; }
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12237 $as_echo_n "checking for non-GNU ld... " >&6; }
12239 if test "${acl_cv_path_LD+set}" = set; then :
12240 $as_echo_n "(cached) " >&6
12242 if test -z "$LD"; then
12243 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12244 for ac_dir
in $PATH; do
12245 test -z "$ac_dir" && ac_dir
=.
12246 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12247 acl_cv_path_LD
="$ac_dir/$ac_prog"
12248 # Check to see if the program is GNU ld. I'd rather use --version,
12249 # but apparently some GNU ld's only accept -v.
12250 # Break only if it was the GNU/non-GNU ld that we prefer.
12251 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
12252 test "$with_gnu_ld" != no
&& break
12254 test "$with_gnu_ld" != yes && break
12260 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12264 LD
="$acl_cv_path_LD"
12265 if test -n "$LD"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12267 $as_echo "$LD" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12272 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12275 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12276 $as_echo_n "(cached) " >&6
12278 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12279 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
12280 acl_cv_prog_gnu_ld
=yes
12282 acl_cv_prog_gnu_ld
=no
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12286 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld
=$acl_cv_prog_gnu_ld
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12292 $as_echo_n "checking for shared library run path origin... " >&6; }
12293 if test "${acl_cv_rpath+set}" = set; then :
12294 $as_echo_n "(cached) " >&6
12297 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12298 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12300 rm -f .
/conftest.sh
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12305 $as_echo "$acl_cv_rpath" >&6; }
12307 libext
="$acl_cv_libext"
12308 shlibext
="$acl_cv_shlibext"
12309 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12310 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12311 hardcode_direct
="$acl_cv_hardcode_direct"
12312 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12313 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
12314 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
12315 # Check whether --enable-rpath was given.
12316 if test "${enable_rpath+set}" = set; then :
12317 enableval
=$enable_rpath; :
12331 acl_save_prefix
="$prefix"
12332 prefix
="$acl_final_prefix"
12333 acl_save_exec_prefix
="$exec_prefix"
12334 exec_prefix
="$acl_final_exec_prefix"
12336 eval additional_includedir
=\"$includedir\"
12337 eval additional_libdir
=\"$libdir\"
12339 exec_prefix
="$acl_save_exec_prefix"
12340 prefix
="$acl_save_prefix"
12343 # Check whether --with-libiconv-prefix was given.
12344 if test "${with_libiconv_prefix+set}" = set; then :
12345 withval
=$with_libiconv_prefix;
12346 if test "X$withval" = "Xno"; then
12349 if test "X$withval" = "X"; then
12351 acl_save_prefix
="$prefix"
12352 prefix
="$acl_final_prefix"
12353 acl_save_exec_prefix
="$exec_prefix"
12354 exec_prefix
="$acl_final_exec_prefix"
12356 eval additional_includedir
=\"$includedir\"
12357 eval additional_libdir
=\"$libdir\"
12359 exec_prefix
="$acl_save_exec_prefix"
12360 prefix
="$acl_save_prefix"
12363 additional_includedir
="$withval/include"
12364 additional_libdir
="$withval/lib"
12375 names_already_handled
=
12376 names_next_round
='iconv '
12377 while test -n "$names_next_round"; do
12378 names_this_round
="$names_next_round"
12380 for name
in $names_this_round; do
12382 for n
in $names_already_handled; do
12383 if test "$n" = "$name"; then
12384 already_handled
=yes
12388 if test -z "$already_handled"; then
12389 names_already_handled
="$names_already_handled $name"
12390 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12391 eval value
=\"\
$HAVE_LIB$uppername\"
12392 if test -n "$value"; then
12393 if test "$value" = yes; then
12394 eval value
=\"\
$LIB$uppername\"
12395 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12396 eval value
=\"\
$LTLIB$uppername\"
12397 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12406 if test $use_additional = yes; then
12407 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12408 found_dir
="$additional_libdir"
12409 found_so
="$additional_libdir/lib$name.$shlibext"
12410 if test -f "$additional_libdir/lib$name.la"; then
12411 found_la
="$additional_libdir/lib$name.la"
12414 if test -f "$additional_libdir/lib$name.$libext"; then
12415 found_dir
="$additional_libdir"
12416 found_a
="$additional_libdir/lib$name.$libext"
12417 if test -f "$additional_libdir/lib$name.la"; then
12418 found_la
="$additional_libdir/lib$name.la"
12423 if test "X$found_dir" = "X"; then
12424 for x
in $LDFLAGS $LTLIBICONV; do
12426 acl_save_prefix
="$prefix"
12427 prefix
="$acl_final_prefix"
12428 acl_save_exec_prefix
="$exec_prefix"
12429 exec_prefix
="$acl_final_exec_prefix"
12431 exec_prefix
="$acl_save_exec_prefix"
12432 prefix
="$acl_save_prefix"
12436 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12437 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12439 found_so
="$dir/lib$name.$shlibext"
12440 if test -f "$dir/lib$name.la"; then
12441 found_la
="$dir/lib$name.la"
12444 if test -f "$dir/lib$name.$libext"; then
12446 found_a
="$dir/lib$name.$libext"
12447 if test -f "$dir/lib$name.la"; then
12448 found_la
="$dir/lib$name.la"
12454 if test "X$found_dir" != "X"; then
12459 if test "X$found_dir" != "X"; then
12460 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12461 if test "X$found_so" != "X"; then
12462 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12463 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12466 for x
in $ltrpathdirs; do
12467 if test "X$x" = "X$found_dir"; then
12472 if test -z "$haveit"; then
12473 ltrpathdirs
="$ltrpathdirs $found_dir"
12475 if test "$hardcode_direct" = yes; then
12476 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12478 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12479 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12481 for x
in $rpathdirs; do
12482 if test "X$x" = "X$found_dir"; then
12487 if test -z "$haveit"; then
12488 rpathdirs
="$rpathdirs $found_dir"
12492 for x
in $LDFLAGS $LIBICONV; do
12494 acl_save_prefix
="$prefix"
12495 prefix
="$acl_final_prefix"
12496 acl_save_exec_prefix
="$exec_prefix"
12497 exec_prefix
="$acl_final_exec_prefix"
12499 exec_prefix
="$acl_save_exec_prefix"
12500 prefix
="$acl_save_prefix"
12502 if test "X$x" = "X-L$found_dir"; then
12507 if test -z "$haveit"; then
12508 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12510 if test "$hardcode_minus_L" != no
; then
12511 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12513 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12519 if test "X$found_a" != "X"; then
12520 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12522 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12525 additional_includedir
=
12526 case "$found_dir" in
12528 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12529 additional_includedir
="$basedir/include"
12532 if test "X$additional_includedir" != "X"; then
12533 if test "X$additional_includedir" != "X/usr/include"; then
12535 if test "X$additional_includedir" = "X/usr/local/include"; then
12536 if test -n "$GCC"; then
12538 linux
*) haveit
=yes;;
12542 if test -z "$haveit"; then
12543 for x
in $CPPFLAGS $INCICONV; do
12545 acl_save_prefix
="$prefix"
12546 prefix
="$acl_final_prefix"
12547 acl_save_exec_prefix
="$exec_prefix"
12548 exec_prefix
="$acl_final_exec_prefix"
12550 exec_prefix
="$acl_save_exec_prefix"
12551 prefix
="$acl_save_prefix"
12553 if test "X$x" = "X-I$additional_includedir"; then
12558 if test -z "$haveit"; then
12559 if test -d "$additional_includedir"; then
12560 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12566 if test -n "$found_la"; then
12567 save_libdir
="$libdir"
12568 case "$found_la" in
12569 */* |
*\\*) .
"$found_la" ;;
12570 *) .
"./$found_la" ;;
12572 libdir
="$save_libdir"
12573 for dep
in $dependency_libs; do
12576 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12577 if test "X$additional_libdir" != "X/usr/lib"; then
12579 if test "X$additional_libdir" = "X/usr/local/lib"; then
12580 if test -n "$GCC"; then
12582 linux
*) haveit
=yes;;
12586 if test -z "$haveit"; then
12588 for x
in $LDFLAGS $LIBICONV; do
12590 acl_save_prefix
="$prefix"
12591 prefix
="$acl_final_prefix"
12592 acl_save_exec_prefix
="$exec_prefix"
12593 exec_prefix
="$acl_final_exec_prefix"
12595 exec_prefix
="$acl_save_exec_prefix"
12596 prefix
="$acl_save_prefix"
12598 if test "X$x" = "X-L$additional_libdir"; then
12603 if test -z "$haveit"; then
12604 if test -d "$additional_libdir"; then
12605 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12609 for x
in $LDFLAGS $LTLIBICONV; do
12611 acl_save_prefix
="$prefix"
12612 prefix
="$acl_final_prefix"
12613 acl_save_exec_prefix
="$exec_prefix"
12614 exec_prefix
="$acl_final_exec_prefix"
12616 exec_prefix
="$acl_save_exec_prefix"
12617 prefix
="$acl_save_prefix"
12619 if test "X$x" = "X-L$additional_libdir"; then
12624 if test -z "$haveit"; then
12625 if test -d "$additional_libdir"; then
12626 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12633 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12634 if test "$enable_rpath" != no
; then
12636 for x
in $rpathdirs; do
12637 if test "X$x" = "X$dir"; then
12642 if test -z "$haveit"; then
12643 rpathdirs
="$rpathdirs $dir"
12646 for x
in $ltrpathdirs; do
12647 if test "X$x" = "X$dir"; then
12652 if test -z "$haveit"; then
12653 ltrpathdirs
="$ltrpathdirs $dir"
12658 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12661 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12664 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12665 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12671 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12672 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12678 if test "X$rpathdirs" != "X"; then
12679 if test -n "$hardcode_libdir_separator"; then
12681 for found_dir
in $rpathdirs; do
12682 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12684 acl_save_libdir
="$libdir"
12686 eval flag
=\"$hardcode_libdir_flag_spec\"
12687 libdir
="$acl_save_libdir"
12688 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12690 for found_dir
in $rpathdirs; do
12691 acl_save_libdir
="$libdir"
12692 libdir
="$found_dir"
12693 eval flag
=\"$hardcode_libdir_flag_spec\"
12694 libdir
="$acl_save_libdir"
12695 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12699 if test "X$ltrpathdirs" != "X"; then
12700 for found_dir
in $ltrpathdirs; do
12701 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12708 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
12709 stdlib.h string.h unistd.h sys
/param.h
12711 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12712 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12713 eval as_val
=\$
$as_ac_Header
12714 if test "x$as_val" = x
""yes; then :
12715 cat >>confdefs.h
<<_ACEOF
12716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12723 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
12724 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
12725 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
12727 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12728 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12729 eval as_val
=\$
$as_ac_var
12730 if test "x$as_val" = x
""yes; then :
12731 cat >>confdefs.h
<<_ACEOF
12732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12744 am_save_CPPFLAGS
="$CPPFLAGS"
12746 for element
in $INCICONV; do
12748 for x
in $CPPFLAGS; do
12750 acl_save_prefix
="$prefix"
12751 prefix
="$acl_final_prefix"
12752 acl_save_exec_prefix
="$exec_prefix"
12753 exec_prefix
="$acl_final_exec_prefix"
12755 exec_prefix
="$acl_save_exec_prefix"
12756 prefix
="$acl_save_prefix"
12758 if test "X$x" = "X$element"; then
12763 if test -z "$haveit"; then
12764 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12770 $as_echo_n "checking for iconv... " >&6; }
12771 if test "${am_cv_func_iconv+set}" = set; then :
12772 $as_echo_n "(cached) " >&6
12775 am_cv_func_iconv
="no, consider installing GNU libiconv"
12777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12779 #include <stdlib.h>
12784 iconv_t cd = iconv_open("","");
12785 iconv(cd,NULL,NULL,NULL,NULL);
12791 if ac_fn_c_try_link
"$LINENO"; then :
12792 am_cv_func_iconv
=yes
12794 rm -f core conftest.err conftest.
$ac_objext \
12795 conftest
$ac_exeext conftest.
$ac_ext
12796 if test "$am_cv_func_iconv" != yes; then
12797 am_save_LIBS
="$LIBS"
12798 LIBS
="$LIBS $LIBICONV"
12799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12801 #include <stdlib.h>
12806 iconv_t cd = iconv_open("","");
12807 iconv(cd,NULL,NULL,NULL,NULL);
12813 if ac_fn_c_try_link
"$LINENO"; then :
12814 am_cv_lib_iconv
=yes
12815 am_cv_func_iconv
=yes
12817 rm -f core conftest.err conftest.
$ac_objext \
12818 conftest
$ac_exeext conftest.
$ac_ext
12819 LIBS
="$am_save_LIBS"
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12824 $as_echo "$am_cv_func_iconv" >&6; }
12825 if test "$am_cv_func_iconv" = yes; then
12827 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12830 if test "$am_cv_lib_iconv" = yes; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12832 $as_echo_n "checking how to link with libiconv... " >&6; }
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12834 $as_echo "$LIBICONV" >&6; }
12836 CPPFLAGS
="$am_save_CPPFLAGS"
12843 if test "$am_cv_func_iconv" = yes; then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12845 $as_echo_n "checking for iconv declaration... " >&6; }
12846 if test "${am_cv_proto_iconv+set}" = set; then :
12847 $as_echo_n "(cached) " >&6
12850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 #include <stdlib.h>
12859 #if defined(__STDC__) || defined(__cplusplus)
12860 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12873 if ac_fn_c_try_compile
"$LINENO"; then :
12874 am_cv_proto_iconv_arg1
=""
12876 am_cv_proto_iconv_arg1
="const"
12878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12879 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);"
12882 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
12884 }$am_cv_proto_iconv" >&5
12886 }$am_cv_proto_iconv" >&6; }
12888 cat >>confdefs.h
<<_ACEOF
12889 #define ICONV_CONST $am_cv_proto_iconv_arg1
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
12896 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
12897 if test "${am_cv_langinfo_codeset+set}" = set; then :
12898 $as_echo_n "(cached) " >&6
12900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12902 #include <langinfo.h>
12906 char* cs = nl_langinfo(CODESET);
12911 if ac_fn_c_try_link
"$LINENO"; then :
12912 am_cv_langinfo_codeset
=yes
12914 am_cv_langinfo_codeset
=no
12916 rm -f core conftest.err conftest.
$ac_objext \
12917 conftest
$ac_exeext conftest.
$ac_ext
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
12921 $as_echo "$am_cv_langinfo_codeset" >&6; }
12922 if test $am_cv_langinfo_codeset = yes; then
12924 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
12928 if test $ac_cv_header_locale_h = yes; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12931 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12932 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12933 $as_echo_n "(cached) " >&6
12935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12937 #include <locale.h>
12946 if ac_fn_c_try_link
"$LINENO"; then :
12947 am_cv_val_LC_MESSAGES
=yes
12949 am_cv_val_LC_MESSAGES
=no
12951 rm -f core conftest.err conftest.
$ac_objext \
12952 conftest
$ac_exeext conftest.
$ac_ext
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12955 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12956 if test $am_cv_val_LC_MESSAGES = yes; then
12958 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12964 for ac_prog
in bison
12966 # Extract the first word of "$ac_prog", so it can be a program name with args.
12967 set dummy
$ac_prog; ac_word
=$2
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12969 $as_echo_n "checking for $ac_word... " >&6; }
12970 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
12971 $as_echo_n "(cached) " >&6
12973 if test -n "$INTLBISON"; then
12974 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
12976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12977 for as_dir
in $PATH
12980 test -z "$as_dir" && as_dir
=.
12981 for ac_exec_ext
in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_INTLBISON
="$ac_prog"
12984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12993 INTLBISON
=$ac_cv_prog_INTLBISON
12994 if test -n "$INTLBISON"; then
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
12996 $as_echo "$INTLBISON" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12999 $as_echo "no" >&6; }
13003 test -n "$INTLBISON" && break
13006 if test -z "$INTLBISON"; then
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
13010 $as_echo_n "checking version of bison... " >&6; }
13011 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13012 case $ac_prog_version in
13013 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
13014 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
13015 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
13016 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
13019 $as_echo "$ac_prog_version" >&6; }
13021 if test $ac_verc_fail = yes; then
13027 # Check whether --with-language was given.
13028 if test "${with_language+set}" = set; then :
13029 withval
=$with_language; if test "$withval" != "all"; then :
13030 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13050 $as_echo_n "checking whether NLS is requested... " >&6; }
13051 # Check whether --enable-nls was given.
13052 if test "${enable_nls+set}" = set; then :
13053 enableval
=$enable_nls; USE_NLS
=$enableval
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13059 $as_echo "$USE_NLS" >&6; }
13063 BUILD_INCLUDED_LIBINTL
=no
13064 USE_INCLUDED_LIBINTL
=no
13070 if test "$USE_NLS" = "yes"; then
13071 gt_use_preinstalled_gnugettext
=no
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
13074 $as_echo_n "checking whether included gettext is requested... " >&6; }
13076 # Check whether --with-included-gettext was given.
13077 if test "${with_included_gettext+set}" = set; then :
13078 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
13080 nls_cv_force_use_gnu_gettext
=no
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
13084 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
13086 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
13087 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13095 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13096 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
13097 $as_echo_n "(cached) " >&6
13099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13101 #include <libintl.h>
13102 extern int _nl_msg_cat_cntr;
13103 extern int *_nl_domain_bindings;
13107 bindtextdomain ("", "");
13108 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
13113 if ac_fn_c_try_link
"$LINENO"; then :
13114 gt_cv_func_gnugettext2_libc
=yes
13116 gt_cv_func_gnugettext2_libc
=no
13118 rm -f core conftest.err conftest.
$ac_objext \
13119 conftest
$ac_exeext conftest.
$ac_ext
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
13122 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
13124 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13130 acl_save_prefix
="$prefix"
13131 prefix
="$acl_final_prefix"
13132 acl_save_exec_prefix
="$exec_prefix"
13133 exec_prefix
="$acl_final_exec_prefix"
13135 eval additional_includedir
=\"$includedir\"
13136 eval additional_libdir
=\"$libdir\"
13138 exec_prefix
="$acl_save_exec_prefix"
13139 prefix
="$acl_save_prefix"
13142 # Check whether --with-libintl-prefix was given.
13143 if test "${with_libintl_prefix+set}" = set; then :
13144 withval
=$with_libintl_prefix;
13145 if test "X$withval" = "Xno"; then
13148 if test "X$withval" = "X"; then
13150 acl_save_prefix
="$prefix"
13151 prefix
="$acl_final_prefix"
13152 acl_save_exec_prefix
="$exec_prefix"
13153 exec_prefix
="$acl_final_exec_prefix"
13155 eval additional_includedir
=\"$includedir\"
13156 eval additional_libdir
=\"$libdir\"
13158 exec_prefix
="$acl_save_exec_prefix"
13159 prefix
="$acl_save_prefix"
13162 additional_includedir
="$withval/include"
13163 additional_libdir
="$withval/lib"
13174 names_already_handled
=
13175 names_next_round
='intl '
13176 while test -n "$names_next_round"; do
13177 names_this_round
="$names_next_round"
13179 for name
in $names_this_round; do
13181 for n
in $names_already_handled; do
13182 if test "$n" = "$name"; then
13183 already_handled
=yes
13187 if test -z "$already_handled"; then
13188 names_already_handled
="$names_already_handled $name"
13189 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13190 eval value
=\"\
$HAVE_LIB$uppername\"
13191 if test -n "$value"; then
13192 if test "$value" = yes; then
13193 eval value
=\"\
$LIB$uppername\"
13194 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13195 eval value
=\"\
$LTLIB$uppername\"
13196 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13205 if test $use_additional = yes; then
13206 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13207 found_dir
="$additional_libdir"
13208 found_so
="$additional_libdir/lib$name.$shlibext"
13209 if test -f "$additional_libdir/lib$name.la"; then
13210 found_la
="$additional_libdir/lib$name.la"
13213 if test -f "$additional_libdir/lib$name.$libext"; then
13214 found_dir
="$additional_libdir"
13215 found_a
="$additional_libdir/lib$name.$libext"
13216 if test -f "$additional_libdir/lib$name.la"; then
13217 found_la
="$additional_libdir/lib$name.la"
13222 if test "X$found_dir" = "X"; then
13223 for x
in $LDFLAGS $LTLIBINTL; do
13225 acl_save_prefix
="$prefix"
13226 prefix
="$acl_final_prefix"
13227 acl_save_exec_prefix
="$exec_prefix"
13228 exec_prefix
="$acl_final_exec_prefix"
13230 exec_prefix
="$acl_save_exec_prefix"
13231 prefix
="$acl_save_prefix"
13235 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13236 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13238 found_so
="$dir/lib$name.$shlibext"
13239 if test -f "$dir/lib$name.la"; then
13240 found_la
="$dir/lib$name.la"
13243 if test -f "$dir/lib$name.$libext"; then
13245 found_a
="$dir/lib$name.$libext"
13246 if test -f "$dir/lib$name.la"; then
13247 found_la
="$dir/lib$name.la"
13253 if test "X$found_dir" != "X"; then
13258 if test "X$found_dir" != "X"; then
13259 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13260 if test "X$found_so" != "X"; then
13261 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13262 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13265 for x
in $ltrpathdirs; do
13266 if test "X$x" = "X$found_dir"; then
13271 if test -z "$haveit"; then
13272 ltrpathdirs
="$ltrpathdirs $found_dir"
13274 if test "$hardcode_direct" = yes; then
13275 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13277 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13278 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13280 for x
in $rpathdirs; do
13281 if test "X$x" = "X$found_dir"; then
13286 if test -z "$haveit"; then
13287 rpathdirs
="$rpathdirs $found_dir"
13291 for x
in $LDFLAGS $LIBINTL; do
13293 acl_save_prefix
="$prefix"
13294 prefix
="$acl_final_prefix"
13295 acl_save_exec_prefix
="$exec_prefix"
13296 exec_prefix
="$acl_final_exec_prefix"
13298 exec_prefix
="$acl_save_exec_prefix"
13299 prefix
="$acl_save_prefix"
13301 if test "X$x" = "X-L$found_dir"; then
13306 if test -z "$haveit"; then
13307 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13309 if test "$hardcode_minus_L" != no
; then
13310 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13312 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13318 if test "X$found_a" != "X"; then
13319 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13321 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13324 additional_includedir
=
13325 case "$found_dir" in
13327 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13328 additional_includedir
="$basedir/include"
13331 if test "X$additional_includedir" != "X"; then
13332 if test "X$additional_includedir" != "X/usr/include"; then
13334 if test "X$additional_includedir" = "X/usr/local/include"; then
13335 if test -n "$GCC"; then
13337 linux
*) haveit
=yes;;
13341 if test -z "$haveit"; then
13342 for x
in $CPPFLAGS $INCINTL; do
13344 acl_save_prefix
="$prefix"
13345 prefix
="$acl_final_prefix"
13346 acl_save_exec_prefix
="$exec_prefix"
13347 exec_prefix
="$acl_final_exec_prefix"
13349 exec_prefix
="$acl_save_exec_prefix"
13350 prefix
="$acl_save_prefix"
13352 if test "X$x" = "X-I$additional_includedir"; then
13357 if test -z "$haveit"; then
13358 if test -d "$additional_includedir"; then
13359 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13365 if test -n "$found_la"; then
13366 save_libdir
="$libdir"
13367 case "$found_la" in
13368 */* |
*\\*) .
"$found_la" ;;
13369 *) .
"./$found_la" ;;
13371 libdir
="$save_libdir"
13372 for dep
in $dependency_libs; do
13375 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13376 if test "X$additional_libdir" != "X/usr/lib"; then
13378 if test "X$additional_libdir" = "X/usr/local/lib"; then
13379 if test -n "$GCC"; then
13381 linux
*) haveit
=yes;;
13385 if test -z "$haveit"; then
13387 for x
in $LDFLAGS $LIBINTL; do
13389 acl_save_prefix
="$prefix"
13390 prefix
="$acl_final_prefix"
13391 acl_save_exec_prefix
="$exec_prefix"
13392 exec_prefix
="$acl_final_exec_prefix"
13394 exec_prefix
="$acl_save_exec_prefix"
13395 prefix
="$acl_save_prefix"
13397 if test "X$x" = "X-L$additional_libdir"; then
13402 if test -z "$haveit"; then
13403 if test -d "$additional_libdir"; then
13404 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13408 for x
in $LDFLAGS $LTLIBINTL; do
13410 acl_save_prefix
="$prefix"
13411 prefix
="$acl_final_prefix"
13412 acl_save_exec_prefix
="$exec_prefix"
13413 exec_prefix
="$acl_final_exec_prefix"
13415 exec_prefix
="$acl_save_exec_prefix"
13416 prefix
="$acl_save_prefix"
13418 if test "X$x" = "X-L$additional_libdir"; then
13423 if test -z "$haveit"; then
13424 if test -d "$additional_libdir"; then
13425 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13432 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13433 if test "$enable_rpath" != no
; then
13435 for x
in $rpathdirs; do
13436 if test "X$x" = "X$dir"; then
13441 if test -z "$haveit"; then
13442 rpathdirs
="$rpathdirs $dir"
13445 for x
in $ltrpathdirs; do
13446 if test "X$x" = "X$dir"; then
13451 if test -z "$haveit"; then
13452 ltrpathdirs
="$ltrpathdirs $dir"
13457 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13460 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13463 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13464 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13470 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13471 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13477 if test "X$rpathdirs" != "X"; then
13478 if test -n "$hardcode_libdir_separator"; then
13480 for found_dir
in $rpathdirs; do
13481 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13483 acl_save_libdir
="$libdir"
13485 eval flag
=\"$hardcode_libdir_flag_spec\"
13486 libdir
="$acl_save_libdir"
13487 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13489 for found_dir
in $rpathdirs; do
13490 acl_save_libdir
="$libdir"
13491 libdir
="$found_dir"
13492 eval flag
=\"$hardcode_libdir_flag_spec\"
13493 libdir
="$acl_save_libdir"
13494 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13498 if test "X$ltrpathdirs" != "X"; then
13499 for found_dir
in $ltrpathdirs; do
13500 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13505 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13506 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
13507 $as_echo_n "(cached) " >&6
13509 gt_save_CPPFLAGS
="$CPPFLAGS"
13510 CPPFLAGS
="$CPPFLAGS $INCINTL"
13511 gt_save_LIBS
="$LIBS"
13512 LIBS
="$LIBS $LIBINTL"
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 #include <libintl.h>
13516 extern int _nl_msg_cat_cntr;
13521 const char *_nl_expand_alias ();
13525 bindtextdomain ("", "");
13526 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13531 if ac_fn_c_try_link
"$LINENO"; then :
13532 gt_cv_func_gnugettext2_libintl
=yes
13534 gt_cv_func_gnugettext2_libintl
=no
13536 rm -f core conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13539 LIBS
="$LIBS $LIBICONV"
13540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13542 #include <libintl.h>
13543 extern int _nl_msg_cat_cntr;
13548 const char *_nl_expand_alias ();
13552 bindtextdomain ("", "");
13553 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13558 if ac_fn_c_try_link
"$LINENO"; then :
13559 LIBINTL
="$LIBINTL $LIBICONV"
13560 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13561 gt_cv_func_gnugettext2_libintl
=yes
13564 rm -f core conftest.err conftest.
$ac_objext \
13565 conftest
$ac_exeext conftest.
$ac_ext
13567 CPPFLAGS
="$gt_save_CPPFLAGS"
13568 LIBS
="$gt_save_LIBS"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
13571 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
13574 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13575 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
13576 && test "$PACKAGE" != gettext; }; then
13577 gt_use_preinstalled_gnugettext
=yes
13585 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13586 nls_cv_use_gnu_gettext
=yes
13590 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13591 INTLOBJS
="\$(GETTOBJS)"
13592 BUILD_INCLUDED_LIBINTL
=yes
13593 USE_INCLUDED_LIBINTL
=yes
13594 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13595 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13596 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13599 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13600 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13605 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13606 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13608 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13615 if test "$USE_NLS" = "yes"; then
13617 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13618 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13620 $as_echo_n "checking how to link with libintl... " >&6; }
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13622 $as_echo "$LIBINTL" >&6; }
13624 for element
in $INCINTL; do
13626 for x
in $CPPFLAGS; do
13628 acl_save_prefix
="$prefix"
13629 prefix
="$acl_final_prefix"
13630 acl_save_exec_prefix
="$exec_prefix"
13631 exec_prefix
="$acl_final_exec_prefix"
13633 exec_prefix
="$acl_save_exec_prefix"
13634 prefix
="$acl_save_prefix"
13636 if test "X$x" = "X$element"; then
13641 if test -z "$haveit"; then
13642 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13649 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13652 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13660 if test "$PACKAGE" = gettext; then
13661 BUILD_INCLUDED_LIBINTL
=yes
13669 nls_cv_header_intl
=
13670 nls_cv_header_libgt
=
13681 INTL_LIBTOOL_SUFFIX_PREFIX
=
13685 INTLLIBS
="$LIBINTL"
13692 if test $USE_INCLUDED_LIBINTL = yes; then :
13693 INCINTL
=-I\
${top_builddir}/intl
13696 if test x
$USE_NLS = xyes
; then :
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
13699 $as_echo_n "checking for autopoint... " >&6; }
13700 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
13701 if test -n "$autopoint_version"; then :
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
13704 $as_echo "yes ($autopoint_version)" >&6; }
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13710 $as_echo "no" >&6; }
13716 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13718 You need to install GNU gettext/gettext-tools to compile aMule with
13720 $as_echo "$as_me: WARNING:
13721 You need to install GNU gettext/gettext-tools to compile aMule with
13722 i18n support." >&2;}
13723 _mule_warning_9
=yes
13724 _mule_has_warnings
=yes
13728 if test ${USE_NLS:-no} = yes; then :
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
13731 $as_echo_n "checking for requested languages... " >&6; }
13732 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
13734 if test ${enable_amule_daemon:-no} = yes; then :
13736 if test -z "$LINGUAS"; then :
13737 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
13740 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13741 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
13744 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
13747 AMULE_DAEMON_MANPAGES
=
13752 if test ${enable_amulecmd:-no} = yes; then :
13754 if test -z "$LINGUAS"; then :
13755 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
13758 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13759 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
13762 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
13770 if test ${enable_webserver:-no} = yes; then :
13772 if test -z "$LINGUAS"; then :
13773 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
13776 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13777 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
13780 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
13783 WEBSERVER_MANPAGES
=
13788 if test ${enable_amule_gui:-no} = yes; then :
13790 if test -z "$LINGUAS"; then :
13791 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
13794 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13795 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
13798 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
13801 AMULE_GUI_MANPAGES
=
13806 if test ${enable_cas:-no} = yes; then :
13808 if test -z "$LINGUAS"; then :
13809 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
13812 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13813 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
13816 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
13824 if test ${enable_wxcas:-no} = yes; then :
13826 if test -z "$LINGUAS"; then :
13827 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
13830 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13831 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
13834 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
13842 if test ${enable_ed2k:-yes} = yes; then :
13844 if test -z "$LINGUAS"; then :
13845 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
13848 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13849 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
13852 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
13860 if test ${enable_alc:-no} = yes; then :
13862 if test -z "$LINGUAS"; then :
13863 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
13866 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13867 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
13870 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
13878 if test ${enable_alcc:-no} = yes; then :
13880 if test -z "$LINGUAS"; then :
13881 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
13884 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13885 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
13888 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
13896 if test ${enable_monolithic:-yes} = yes; then :
13898 if test -z "$LINGUAS"; then :
13899 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
13902 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13903 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
13906 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
13909 MONOLITHIC_MANPAGES
=
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
13914 $as_echo "${LINGUAS:-all}" >&6; }
13920 # Check for bfd.h (to have proper backtraces without using wxExecute)
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
13923 $as_echo_n "checking for bfd... " >&6; }
13925 for bfd_ldadd
in "" "${LIBINTL}"; do
13926 mule_backup_LIBS
="$LIBS"
13927 mule_backup_LDFLAGS
="$LDFLAGS"
13928 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
13929 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
13930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13934 #include <ansidecl.h>
13941 char *dummy = bfd_errmsg(bfd_get_error());
13948 if ac_fn_c_try_link
"$LINENO"; then :
13951 BFD_CPPFLAGS
="-DHAVE_BFD"
13952 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
13953 LIBS
="$mule_backup_LIBS"
13954 LDFLAGS
="$mule_backup_LDFLAGS"
13958 rm -f core conftest.err conftest.
$ac_objext \
13959 conftest
$ac_exeext conftest.
$ac_ext
13960 LIBS
="$mule_backup_LIBS"
13961 LDFLAGS
="$mule_backup_LDFLAGS"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13965 $as_echo "$result" >&6; }
13967 if test $result = no
; then :
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13969 bfd.h not found or unusable, please install binutils development
13970 package if you are a developer or want to help testing aMule" >&5
13971 $as_echo "$as_me: WARNING:
13972 bfd.h not found or unusable, please install binutils development
13973 package if you are a developer or want to help testing aMule" >&2;}
13974 _mule_warning_10
=yes
13975 _mule_has_warnings
=yes
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
13982 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
13983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13987 #include <execinfo.h>
13994 int n = backtrace(&bt, 1);
13995 const char **bt_syms = backtrace_symbols(bt, n);
14002 if ac_fn_c_try_link
"$LINENO"; then :
14005 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14008 $as_echo "yes" >&6; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14013 $as_echo "no" >&6; }
14016 rm -f core conftest.err conftest.
$ac_objext \
14017 conftest
$ac_exeext conftest.
$ac_ext
14020 # Flush standard test results for speeding cache
14021 cat >confcache
<<\_ACEOF
14022 # This file is a shell script that caches the results of configure
14023 # tests run on this system so they can be shared between configure
14024 # scripts and configure runs, see configure's option --config-cache.
14025 # It is not useful on other systems. If it contains results you don't
14026 # want to keep, you may remove or edit it.
14028 # config.status only pays attention to the cache file if you give it
14029 # the --recheck option to rerun configure.
14031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14033 # following values.
14037 # The following way of writing the cache mishandles newlines in values,
14038 # but we know of no workaround that is simple, portable, and efficient.
14039 # So, we kill variables containing newlines.
14040 # Ultrix sh set writes to stderr and can't be redirected directly,
14041 # and sets the high bit in the cache file unless we assign to the vars.
14043 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14044 eval ac_val
=\$
$ac_var
14048 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14052 _ | IFS | as_nl
) ;; #(
14053 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14054 *) { eval $ac_var=; unset $ac_var;} ;;
14060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14061 *${as_nl}ac_space
=\
*)
14062 # `set' does not quote correctly, so add quotes: double-quote
14063 # substitution turns \\\\ into \\, and sed turns \\ into \.
14066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14069 # `set' quotes correctly as required by POSIX, so do not add quotes.
14070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14084 if test -w "$cache_file"; then
14085 test "x$cache_file" != "x/dev/null" &&
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14087 $as_echo "$as_me: updating cache $cache_file" >&6;}
14088 cat confcache
>$cache_file
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14091 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14099 # Check whether --enable-debug was given.
14100 if test "${enable_debug+set}" = set; then :
14101 enableval
=$enable_debug;
14105 # Check whether --enable-profile was given.
14106 if test "${enable_profile+set}" = set; then :
14107 enableval
=$enable_profile;
14111 # Check whether --enable-optimize was given.
14112 if test "${enable_optimize+set}" = set; then :
14113 enableval
=$enable_optimize;
14118 if test ${enable_debug:-yes} = yes; then :
14120 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
14122 MULECFLAGS
="$MULECFLAGS -g"
14123 MULECXXFLAGS
="$MULECXXFLAGS -g"
14125 if test ${GLIBCXX:-no} = yes; then :
14126 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
14128 if test ${GCC:-no} = yes; then :
14130 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14131 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14134 if test ${SYS:-unknown} = win32
; then :
14135 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
14140 if test ${GCC:-no} = yes; then :
14142 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
14143 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
14149 if test ${enable_profile:-no} = yes; then :
14152 MULECFLAGS
="$MULECFLAGS -pg"
14153 MULECXXFLAGS
="$MULECXXFLAGS -pg"
14155 MULELDFLAGS
="$MULELDFLAGS -pg"
14159 if test ${enable_optimize:-no} = yes; then :
14161 MULECFLAGS
="$MULECFLAGS -O2"
14162 MULECXXFLAGS
="$MULECXXFLAGS -O2"
14166 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
14169 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
14171 $as_echo_n "checking for docdir... " >&6; }
14172 if test -z "$docdir"; then :
14173 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
14176 $as_echo "$docdir" >&6; }
14178 # Try to set the SVN checkout-date
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
14180 $as_echo_n "checking for SVNDATE... " >&6; }
14181 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
14183 svndate
="rev. `cat $srcdir/.svn-revision`"
14184 elif test -d $srcdir/.svn
# SVNDATE for svn
14186 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
14189 $as_echo "${svndate:-None required}" >&6; }
14190 if test -n "$svndate"; then :
14193 cat >>confdefs.h
<<_ACEOF
14194 #define SVNDATE "$svndate"
14197 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
14204 # Check whether --with-denoise-level was given.
14205 if test "${with_denoise_level+set}" = set; then :
14206 withval
=$with_denoise_level;
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
14211 $as_echo_n "checking denoising level... " >&6; }
14212 if test ${with_denoise_level:-5} = yes; then :
14213 with_denoise_level
=5
14215 if test ${with_denoise_level:-5} = no
; then :
14216 with_denoise_level
=0
14218 if test ${with_denoise_level:-5} -gt 4; then :
14219 if test "${svndate:+set}" = "set"; then :
14220 with_denoise_level
=0
14222 with_denoise_level
=4
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
14226 $as_echo "$with_denoise_level" >&6; }
14228 ac_config_commands
="$ac_config_commands denoiser"
14232 if test ${enable_plasmamule:-no} = yes; then :
14235 if test -z ${QT_MOC}; then :
14237 for ac_prog
in moc-qt4 moc
14239 # Extract the first word of "$ac_prog", so it can be a program name with args.
14240 set dummy
$ac_prog; ac_word
=$2
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14242 $as_echo_n "checking for $ac_word... " >&6; }
14243 if test "${ac_cv_path_QT_MOC+set}" = set; then :
14244 $as_echo_n "(cached) " >&6
14248 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
14251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14252 for as_dir
in $PATH
14255 test -z "$as_dir" && as_dir
=.
14256 for ac_exec_ext
in '' $ac_executable_extensions; do
14257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14258 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
14259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14269 QT_MOC
=$ac_cv_path_QT_MOC
14270 if test -n "$QT_MOC"; then
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
14272 $as_echo "$QT_MOC" >&6; }
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14275 $as_echo "no" >&6; }
14279 test -n "$QT_MOC" && break
14282 if test -z ${QT_MOC}; then :
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
14292 $as_echo_n "checking for moc... " >&6; }
14293 if test -x ${QT_MOC}; then :
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
14296 $as_echo "${QT_MOC}" >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
14302 $as_echo "\"not found\"" >&6; }
14311 if test "${QT_MOC}" != "not found"; then :
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
14314 $as_echo_n "checking for moc version >= 4... " >&6; }
14315 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
14316 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
14319 $as_echo "found ${QT_MOC_VERSION}" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
14324 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
14332 if test "${QT_MOC}" = "not found"; then :
14333 enable_plasmamule
=disabled
14336 if test ${enable_plasmamule:-no} = yes; then :
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
14341 $as_echo_n "checking for qt... " >&6; }
14342 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14345 $as_echo "found" >&6; }
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
14347 $as_echo_n "checking for qt core cflags... " >&6; }
14348 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
14350 $as_echo "$QT_CORE_CFLAGS" >&6; }
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
14352 $as_echo_n "checking for qt core libs... " >&6; }
14353 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
14355 $as_echo "$QT_CORE_LIBS" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
14357 $as_echo_n "checking for qt gui cflags... " >&6; }
14358 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
14360 $as_echo "$QT_GUI_CFLAGS" >&6; }
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
14362 $as_echo_n "checking for qt gui libs... " >&6; }
14363 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
14365 $as_echo "$QT_GUI_LIBS" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14369 $as_echo "not found" >&6; }
14378 if test -z "${QT_CORE_CXXFLAGS}"; then :
14379 enable_plasmamule
=disabled
14384 if test ${enable_plasmamule:-no} = yes; then :
14387 if test -z ${KDE4_CONFIG}; then :
14389 # Extract the first word of "kde4-config", so it can be a program name with args.
14390 set dummy kde4-config
; ac_word
=$2
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14392 $as_echo_n "checking for $ac_word... " >&6; }
14393 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
14394 $as_echo_n "(cached) " >&6
14396 case $KDE4_CONFIG in
14398 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
14401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14402 for as_dir
in $PATH
14405 test -z "$as_dir" && as_dir
=.
14406 for ac_exec_ext
in '' $ac_executable_extensions; do
14407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14408 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14419 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
14420 if test -n "$KDE4_CONFIG"; then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
14422 $as_echo "$KDE4_CONFIG" >&6; }
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14425 $as_echo "no" >&6; }
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
14433 $as_echo_n "checking for kde4-config... " >&6; }
14434 if test ! -x KDE4_CONFIG
; then :
14436 KDE4_CONFIG
="not found"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14438 $as_echo "not found" >&6; }
14445 if test "${KDE4_CONFIG}" != "not found"; then :
14447 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
14448 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
14451 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
14456 $as_echo "at least version
4 required
" >&6; }
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14464 $as_echo "not found
" >&6; }
14470 if test "${KDE4_CONFIG}" = "not found
"; then :
14471 enable_plasmamule=disabled
14476 if test ${enable_plasmamule:-no} = yes; then :
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
14480 $as_echo_n "checking
for kde4 headers...
" >&6; }
14481 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
14483 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
14485 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
14488 $as_echo "${KDE_HEADER_DIR}" >&6; }
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
14493 $as_echo "dataengine.h not found
" >&6; }
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
14501 $as_echo "kdirwatch.h not found
" >&6; }
14507 if test -z ${KDE_HEADER_DIR}; then :
14508 enable_plasmamule=disabled
14513 if test ${enable_plasmamule:-no} = yes; then :
14515 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
14516 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
14521 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
14522 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14527 if test ${KDE_IN_HOME} = "yes"; then :
14529 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14533 if test -n ${prefix}; then :
14535 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
14536 if test -n ${KDE_APPLNK_PATH}; then :
14538 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14544 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
14550 $as_echo "${KDE_APPLNK_PATH}" >&6; }
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
14556 $as_echo_n "checking
for kde4 services Path...
" >&6; }
14557 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14562 if test ${KDE_IN_HOME} = "yes"; then :
14564 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14568 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
14572 $as_echo "${KDE_SERVICE_PATH}" >&6; }
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
14578 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
14579 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14584 if test ${KDE_IN_HOME} = "yes"; then :
14586 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14590 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
14594 $as_echo "${KDE_MODULE_PATH}" >&6; }
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
14600 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
14601 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14606 if test ${KDE_IN_HOME} = "yes"; then :
14608 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14612 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
14615 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
14617 $as_echo "${KDE_ICON_PATH}" >&6; }
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
14623 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
14624 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14629 if test ${KDE_IN_HOME} = "yes"; then :
14631 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14635 if test -n ${prefix}; then :
14637 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
14638 if test -n ${KDE_MIME_PATH}; then :
14640 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14646 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
14652 $as_echo "${KDE_MIME_PATH}" >&6; }
14657 enable_plasmamule=disabled
14662 if test ${enable_plasmamule:-no} = yes; then :
14664 if test -z ${DEB_HOST_ARCH}; then :
14667 for ac_prog in kbuildsycoca4 kbuildsycoca
14669 # Extract the first word of "$ac_prog", so it can be a program name with args.
14670 set dummy $ac_prog; ac_word=$2
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14672 $as_echo_n "checking
for $ac_word...
" >&6; }
14673 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
14674 $as_echo_n "(cached
) " >&6
14676 case $KBUILDSYCOCA in
14678 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
14681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14682 for as_dir in $PATH
14685 test -z "$as_dir" && as_dir=.
14686 for ac_exec_ext in '' $ac_executable_extensions; do
14687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14688 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
14689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14699 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
14700 if test -n "$KBUILDSYCOCA"; then
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
14702 $as_echo "$KBUILDSYCOCA" >&6; }
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14705 $as_echo "no
" >&6; }
14709 test -n "$KBUILDSYCOCA" && break
14713 if test -z ${KBUILDSYCOCA}; then :
14715 echo "No tool
for KDE Systemcache Management found
"
14722 # Extract the first word of "update-mime-database
", so it can be a program name with args.
14723 set dummy update-mime-database; ac_word=$2
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14725 $as_echo_n "checking
for $ac_word...
" >&6; }
14726 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
14727 $as_echo_n "(cached
) " >&6
14729 case $UPDATE_MIME_DATABASE in
14731 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
14734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14735 for as_dir in $PATH
14738 test -z "$as_dir" && as_dir=.
14739 for ac_exec_ext in '' $ac_executable_extensions; do
14740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14741 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14752 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14753 if test -n "$UPDATE_MIME_DATABASE"; then
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
14755 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14758 $as_echo "no
" >&6; }
14763 if test -z ${UPDATE_MIME_DATABASE}; then :
14765 echo "No tool
for MIME Datanase Management found
"
14772 USER_INSTALL_HOOK="USER_INSTALL
"
14780 if test ${enable_debug:-yes} = yes; then :
14782 DEBUGFLAG="-D__DEBUG__"
14789 if test x$SYS = xwin32; then
14791 SYS_WIN32_FALSE='#'
14797 if test x$SYS = xwin32 -a "$RC" != ":"; then
14805 if test x$SYS = xdarwin; then
14806 NEED_CORESERVICES_TRUE=
14807 NEED_CORESERVICES_FALSE='#'
14809 NEED_CORESERVICES_TRUE='#'
14810 NEED_CORESERVICES_FALSE=
14813 if test x$USE_NLS = xyes; then
14815 COMPILE_NLS_FALSE='#'
14817 COMPILE_NLS_TRUE='#'
14821 if test x$HAVE_FLEX_EXTENDED = xyes; then
14822 GENERATE_FLEX_HEADER_TRUE=
14823 GENERATE_FLEX_HEADER_FALSE='#'
14825 GENERATE_FLEX_HEADER_TRUE='#'
14826 GENERATE_FLEX_HEADER_FALSE=
14829 if test x$INSTALL_SKINS = xyes; then
14830 INSTALL_SKINS_TRUE=
14831 INSTALL_SKINS_FALSE='#'
14833 INSTALL_SKINS_TRUE='#'
14834 INSTALL_SKINS_FALSE=
14837 if test ${enable_plasmamule:-no} = yes; then
14839 PLASMAMULE_FALSE='#'
14841 PLASMAMULE_TRUE='#'
14846 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
14847 COMPILE_LIB_COMMON_TRUE=
14848 COMPILE_LIB_COMMON_FALSE='#'
14850 COMPILE_LIB_COMMON_TRUE='#'
14851 COMPILE_LIB_COMMON_FALSE=
14854 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
14855 COMPILE_LIB_EC_TRUE=
14856 COMPILE_LIB_EC_FALSE='#'
14858 COMPILE_LIB_EC_TRUE='#'
14859 COMPILE_LIB_EC_FALSE=
14863 # Check for readline library
14864 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
14867 $as_echo_n "checking
for a readline compatible library...
" >&6; }
14868 if test "${vl_cv_lib_readline+set}" = set; then :
14869 $as_echo_n "(cached
) " >&6
14873 for readline_lib in readline edit editline; do
14874 for termcap_lib in "" termcap curses ncurses; do
14875 if test -z "$termcap_lib"; then
14876 TRY_LIB="-l$readline_lib"
14878 TRY_LIB="-l$readline_lib -l$termcap_lib"
14880 LIBS="$ORIG_LIBS $TRY_LIB"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14884 /* Override any GCC internal prototype to avoid an error.
14885 Use char because int might match the return type of a GCC
14886 builtin and then its argument prototype would still apply. */
14894 return readline ();
14899 if ac_fn_c_try_link "$LINENO"; then :
14900 vl_cv_lib_readline="$TRY_LIB"
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14904 if test -n "$vl_cv_lib_readline"; then
14908 if test -n "$vl_cv_lib_readline"; then
14912 if test -z "$vl_cv_lib_readline"; then
14913 vl_cv_lib_readline="no
"
14917 READLINE_LIBS="$vl_cv_lib_readline"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
14922 $as_echo "$vl_cv_lib_readline" >&6; }
14924 if test "$vl_cv_lib_readline" != "no
"; then
14926 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14928 for ac_header
in readline.h readline
/readline.h
14930 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14931 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14932 eval as_val
=\$
$as_ac_Header
14933 if test "x$as_val" = x
""yes; then :
14934 cat >>confdefs.h
<<_ACEOF
14935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14943 $as_echo_n "checking whether readline supports history... " >&6; }
14944 if test "${vl_cv_lib_readline_history+set}" = set; then :
14945 $as_echo_n "(cached) " >&6
14948 vl_cv_lib_readline_history
="no"
14949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14958 char add_history ();
14962 return add_history ();
14967 if ac_fn_c_try_link
"$LINENO"; then :
14968 vl_cv_lib_readline_history
="yes"
14970 rm -f core conftest.err conftest.
$ac_objext \
14971 conftest
$ac_exeext conftest.
$ac_ext
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14975 $as_echo "$vl_cv_lib_readline_history" >&6; }
14976 if test "$vl_cv_lib_readline_history" = "yes"; then
14978 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14980 for ac_header
in history.h readline
/history.h
14982 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14983 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14984 eval as_val
=\$
$as_ac_Header
14985 if test "x$as_val" = x
""yes; then :
14986 cat >>confdefs.h
<<_ACEOF
14987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15001 if test ${PLASMAMULE:-no} = yes; then :
15004 if test -z ${QT_MOC}; then :
15006 for ac_prog
in moc-qt4 moc
15008 # Extract the first word of "$ac_prog", so it can be a program name with args.
15009 set dummy
$ac_prog; ac_word
=$2
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15011 $as_echo_n "checking for $ac_word... " >&6; }
15012 if test "${ac_cv_path_QT_MOC+set}" = set; then :
15013 $as_echo_n "(cached) " >&6
15017 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15021 for as_dir
in $PATH
15024 test -z "$as_dir" && as_dir
=.
15025 for ac_exec_ext
in '' $ac_executable_extensions; do
15026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15027 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15038 QT_MOC
=$ac_cv_path_QT_MOC
15039 if test -n "$QT_MOC"; then
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15041 $as_echo "$QT_MOC" >&6; }
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15044 $as_echo "no" >&6; }
15048 test -n "$QT_MOC" && break
15051 if test -z ${QT_MOC}; then :
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15061 $as_echo_n "checking for moc... " >&6; }
15062 if test -x ${QT_MOC}; then :
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15065 $as_echo "${QT_MOC}" >&6; }
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15071 $as_echo "\"not found\"" >&6; }
15080 if test "${QT_MOC}" != "not found"; then :
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15083 $as_echo_n "checking for moc version >= 4... " >&6; }
15084 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15085 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15088 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15093 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15101 if test "${QT_MOC}" = "not found"; then :
15102 enable_plasmamule
=disabled
15105 if test ${enable_plasmamule:-no} = yes; then :
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15110 $as_echo_n "checking for qt... " >&6; }
15111 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15114 $as_echo "found" >&6; }
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15116 $as_echo_n "checking for qt core cflags... " >&6; }
15117 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15119 $as_echo "$QT_CORE_CFLAGS" >&6; }
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15121 $as_echo_n "checking for qt core libs... " >&6; }
15122 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15124 $as_echo "$QT_CORE_LIBS" >&6; }
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15126 $as_echo_n "checking for qt gui cflags... " >&6; }
15127 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15129 $as_echo "$QT_GUI_CFLAGS" >&6; }
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15131 $as_echo_n "checking for qt gui libs... " >&6; }
15132 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15134 $as_echo "$QT_GUI_LIBS" >&6; }
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15138 $as_echo "not found" >&6; }
15147 if test -z "${QT_CORE_CXXFLAGS}"; then :
15148 enable_plasmamule
=disabled
15153 if test ${enable_plasmamule:-no} = yes; then :
15156 if test -z ${KDE4_CONFIG}; then :
15158 # Extract the first word of "kde4-config", so it can be a program name with args.
15159 set dummy kde4-config
; ac_word
=$2
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15161 $as_echo_n "checking for $ac_word... " >&6; }
15162 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
15163 $as_echo_n "(cached) " >&6
15165 case $KDE4_CONFIG in
15167 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15171 for as_dir
in $PATH
15174 test -z "$as_dir" && as_dir
=.
15175 for ac_exec_ext
in '' $ac_executable_extensions; do
15176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15177 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15188 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15189 if test -n "$KDE4_CONFIG"; then
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15191 $as_echo "$KDE4_CONFIG" >&6; }
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15194 $as_echo "no" >&6; }
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15202 $as_echo_n "checking for kde4-config... " >&6; }
15203 if test ! -x KDE4_CONFIG
; then :
15205 KDE4_CONFIG
="not found"
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15207 $as_echo "not found" >&6; }
15214 if test "${KDE4_CONFIG}" != "not found"; then :
15216 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15217 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15220 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15225 $as_echo "at least version
4 required
" >&6; }
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15233 $as_echo "not found
" >&6; }
15239 if test "${KDE4_CONFIG}" = "not found
"; then :
15240 enable_plasmamule=disabled
15245 if test ${enable_plasmamule:-no} = yes; then :
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15249 $as_echo_n "checking
for kde4 headers...
" >&6; }
15250 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15252 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15254 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15257 $as_echo "${KDE_HEADER_DIR}" >&6; }
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15262 $as_echo "dataengine.h not found
" >&6; }
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15270 $as_echo "kdirwatch.h not found
" >&6; }
15276 if test -z ${KDE_HEADER_DIR}; then :
15277 enable_plasmamule=disabled
15282 if test ${enable_plasmamule:-no} = yes; then :
15284 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15285 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15290 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15291 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15296 if test ${KDE_IN_HOME} = "yes"; then :
15298 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15302 if test -n ${prefix}; then :
15304 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15305 if test -n ${KDE_APPLNK_PATH}; then :
15307 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15313 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15319 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15325 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15326 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15331 if test ${KDE_IN_HOME} = "yes"; then :
15333 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15337 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15341 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15347 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15348 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15353 if test ${KDE_IN_HOME} = "yes"; then :
15355 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15359 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15363 $as_echo "${KDE_MODULE_PATH}" >&6; }
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15369 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15370 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15375 if test ${KDE_IN_HOME} = "yes"; then :
15377 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15381 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15384 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15386 $as_echo "${KDE_ICON_PATH}" >&6; }
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15392 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15393 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15398 if test ${KDE_IN_HOME} = "yes"; then :
15400 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15404 if test -n ${prefix}; then :
15406 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15407 if test -n ${KDE_MIME_PATH}; then :
15409 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15415 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15421 $as_echo "${KDE_MIME_PATH}" >&6; }
15426 enable_plasmamule=disabled
15431 if test ${enable_plasmamule:-no} = yes; then :
15433 if test -z ${DEB_HOST_ARCH}; then :
15436 for ac_prog in kbuildsycoca4 kbuildsycoca
15438 # Extract the first word of "$ac_prog", so it can be a program name with args.
15439 set dummy $ac_prog; ac_word=$2
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15441 $as_echo_n "checking
for $ac_word...
" >&6; }
15442 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
15443 $as_echo_n "(cached
) " >&6
15445 case $KBUILDSYCOCA in
15447 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
15450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15451 for as_dir in $PATH
15454 test -z "$as_dir" && as_dir=.
15455 for ac_exec_ext in '' $ac_executable_extensions; do
15456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15457 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
15458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15468 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
15469 if test -n "$KBUILDSYCOCA"; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
15471 $as_echo "$KBUILDSYCOCA" >&6; }
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15474 $as_echo "no
" >&6; }
15478 test -n "$KBUILDSYCOCA" && break
15482 if test -z ${KBUILDSYCOCA}; then :
15484 echo "No tool
for KDE Systemcache Management found
"
15491 # Extract the first word of "update-mime-database
", so it can be a program name with args.
15492 set dummy update-mime-database; ac_word=$2
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15494 $as_echo_n "checking
for $ac_word...
" >&6; }
15495 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
15496 $as_echo_n "(cached
) " >&6
15498 case $UPDATE_MIME_DATABASE in
15500 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15504 for as_dir in $PATH
15507 test -z "$as_dir" && as_dir=.
15508 for ac_exec_ext in '' $ac_executable_extensions; do
15509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15510 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15521 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15522 if test -n "$UPDATE_MIME_DATABASE"; then
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
15524 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15527 $as_echo "no
" >&6; }
15532 if test -z ${UPDATE_MIME_DATABASE}; then :
15534 echo "No tool
for MIME Datanase Management found
"
15541 USER_INSTALL_HOOK="USER_INSTALL
"
15549 if test ${enable_debug:-yes} = yes; then :
15551 DEBUGFLAG="-D__DEBUG__"
15558 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
15561 # Check whether --enable-ccache was given.
15562 if test "${enable_ccache+set}" = set; then :
15563 enableval=$enable_ccache;
15569 # Check whether --with-ccache-prefix was given.
15570 if test "${with_ccache_prefix+set}" = set; then :
15571 withval=$with_ccache_prefix;
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added
" >&5
15576 $as_echo_n "checking whether ccache support should be added...
" >&6; }
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15578 $as_echo "${enable_ccache:-no}" >&6; }
15580 if test ${enable_ccache:-no} = yes; then :
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ccache presence
" >&5
15583 $as_echo_n "checking
for ccache presence...
" >&6; }
15584 if test -z "$with_ccache_prefix"; then :
15586 ccache_full=`which ccache`
15587 with_ccache_prefix=`dirname ${ccache_full}`
15590 if $with_ccache_prefix/ccache -V >/dev/null 2>&1; then :
15592 CC="$with_ccache_prefix/ccache
$CC"
15593 CXX="$with_ccache_prefix/ccache
$CXX"
15594 BUILD_CC="$with_ccache_prefix/ccache
$BUILD_CC"
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15600 $as_echo "${enable_ccache:-no}" >&6; }
15605 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
"
15607 ac_config_files="$ac_config_files po
/Makefile.
in Compilation.flags
"
15609 if test x$SYS = xwin32; then :
15610 ac_config_files="$ac_config_files version.rc
"
15613 cat >confcache <<\_ACEOF
15614 # This file is a shell script that caches the results of configure
15615 # tests run on this system so they can be shared between configure
15616 # scripts and configure runs, see configure's option --config-cache.
15617 # It is not useful on other systems. If it contains results you don't
15618 # want to keep, you may remove or edit it.
15620 # config.status only pays attention to the cache file if you give it
15621 # the --recheck option to rerun configure.
15623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15625 # following values.
15629 # The following way of writing the cache mishandles newlines in values,
15630 # but we know of no workaround that is simple, portable, and efficient.
15631 # So, we kill variables containing newlines.
15632 # Ultrix sh set writes to stderr and can't be redirected directly,
15633 # and sets the high bit in the cache file unless we assign to the vars.
15635 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15636 eval ac_val=\$$ac_var
15640 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15641 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15644 _ | IFS | as_nl) ;; #(
15645 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15646 *) { eval $ac_var=; unset $ac_var;} ;;
15652 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15653 *${as_nl}ac_space=\ *)
15654 # `set' does not quote correctly, so add quotes: double-quote
15655 # substitution turns \\\\ into \\, and sed turns \\ into \.
15658 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15661 # `set' quotes correctly as required by POSIX, so do not add quotes.
15662 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15671 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15673 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15675 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15676 if test -w "$cache_file"; then
15677 test "x
$cache_file" != "x
/dev
/null
" &&
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15679 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15680 cat confcache >$cache_file
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15683 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15688 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15689 # Let make expand exec_prefix.
15690 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15692 DEFS=-DHAVE_CONFIG_H
15696 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
15697 # 1. Remove the extension, and $U if already installed.
15698 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15699 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15700 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15701 # will be set to the directory where LIBOBJS objects are built.
15702 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
15703 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
15705 LIBOBJS=$ac_libobjs
15707 LTLIBOBJS=$ac_ltlibobjs
15710 if test -n "$EXEEXT"; then
15712 am__EXEEXT_FALSE='#'
15714 am__EXEEXT_TRUE='#'
15718 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15719 as_fn_error "conditional
\"MAINTAINER_MODE
\" was never defined.
15720 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15722 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15723 as_fn_error "conditional
\"AMDEP
\" was never defined.
15724 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15726 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15727 as_fn_error "conditional
\"am__fastdepCXX
\" was never defined.
15728 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15730 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15731 as_fn_error "conditional
\"am__fastdepCC
\" was never defined.
15732 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15734 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
15735 as_fn_error "conditional
\"MONOLITHIC
\" was never defined.
15736 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15738 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
15739 as_fn_error "conditional
\"AMULE_DAEMON
\" was never defined.
15740 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15742 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
15743 as_fn_error "conditional
\"COMPILE_CMD
\" was never defined.
15744 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15746 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
15747 as_fn_error "conditional
\"WEB
\" was never defined.
15748 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15750 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
15751 as_fn_error "conditional
\"AMULE_GUI
\" was never defined.
15752 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15754 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
15755 as_fn_error "conditional
\"CAS
\" was never defined.
15756 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15758 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
15759 as_fn_error "conditional
\"WXCAS
\" was never defined.
15760 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15762 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
15763 as_fn_error "conditional
\"ED2K
\" was never defined.
15764 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15766 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
15767 as_fn_error "conditional
\"ALC
\" was never defined.
15768 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15770 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
15771 as_fn_error "conditional
\"ALCC
\" was never defined.
15772 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15774 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
15775 as_fn_error "conditional
\"XAS
\" was never defined.
15776 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15778 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
15779 as_fn_error "conditional
\"FILEVIEW
\" was never defined.
15780 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15782 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
15783 as_fn_error "conditional
\"SYS_WIN32
\" was never defined.
15784 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15786 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
15787 as_fn_error "conditional
\"NEED_RC
\" was never defined.
15788 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15790 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
15791 as_fn_error "conditional
\"NEED_CORESERVICES
\" was never defined.
15792 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15794 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
15795 as_fn_error "conditional
\"COMPILE_NLS
\" was never defined.
15796 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15798 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
15799 as_fn_error "conditional
\"GENERATE_FLEX_HEADER
\" was never defined.
15800 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15802 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
15803 as_fn_error "conditional
\"INSTALL_SKINS
\" was never defined.
15804 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15806 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
15807 as_fn_error "conditional
\"PLASMAMULE
\" was never defined.
15808 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15810 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
15811 as_fn_error "conditional
\"COMPILE_LIB_COMMON
\" was never defined.
15812 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15814 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
15815 as_fn_error "conditional
\"COMPILE_LIB_EC
\" was never defined.
15816 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15819 : ${CONFIG_STATUS=./config.status}
15821 ac_clean_files_save=$ac_clean_files
15822 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
15824 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
15826 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15828 # Generated by $as_me.
15829 # Run this file to recreate the current configuration.
15830 # Compiler output produced by configure, useful for debugging
15831 # configure, is in config.log if it exists.
15834 ac_cs_recheck=false
15837 SHELL=\${CONFIG_SHELL-$SHELL}
15840 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15841 ## -------------------- ##
15842 ## M4sh Initialization. ##
15843 ## -------------------- ##
15845 # Be more Bourne compatible
15846 DUALCASE=1; export DUALCASE # for MKS sh
15847 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15850 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15851 # is contrary to our usage. Disable this feature.
15852 alias -g '${1+"$@"}'='"$@
"'
15853 setopt NO_GLOB_SUBST
15855 case `(set -o) 2>/dev/null` in #(
15867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15868 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15871 # Prefer a ksh shell builtin over an external printf program on Solaris,
15872 # but without wasting forks for bash or zsh.
15873 if test -z "$BASH_VERSION$ZSH_VERSION" \
15874 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
15875 as_echo='print -r --'
15876 as_echo_n='print -rn --'
15877 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
15878 as_echo='printf %s\n'
15879 as_echo_n='printf %s'
15881 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
15882 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15883 as_echo_n='/usr/ucb/echo -n'
15885 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
15886 as_echo_n_body='eval
15890 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
15891 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
15893 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
15895 export as_echo_n_body
15896 as_echo_n='sh -c $as_echo_n_body as_echo'
15898 export as_echo_body
15899 as_echo='sh -c $as_echo_body as_echo'
15902 # The user is always right.
15903 if test "${PATH_SEPARATOR+set}" != set; then
15905 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15906 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15913 # We need space, tab and new line, in precisely that order. Quoting is
15914 # there to prevent editors from complaining about space-tab.
15915 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15916 # splitting by setting IFS to empty value.)
15919 # Find who we are. Look in the path if we contain no directory separator.
15921 *[\\/]* ) as_myself=$0 ;;
15922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15923 for as_dir in $PATH
15926 test -z "$as_dir" && as_dir=.
15927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15933 # We did not find ourselves, most probably we were run as `sh COMMAND'
15934 # in which case we are not to be found in the path.
15935 if test "x
$as_myself" = x; then
15938 if test ! -f "$as_myself"; then
15939 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
15943 # Unset variables that we do not need and which cause bugs (e.g. in
15944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
15945 # suppresses any "Segmentation fault
" message there. '((' could
15946 # trigger a bug in pdksh 5.2.14.
15947 for as_var in BASH_ENV ENV MAIL MAILPATH
15948 do eval test x\${$as_var+set} = xset \
15949 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15965 # as_fn_error ERROR [LINENO LOG_FD]
15966 # ---------------------------------
15967 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
15968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15969 # script with status $?, using 1 if that was 0.
15972 as_status=$?; test $as_status -eq 0 && as_status=1
15974 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15975 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
15977 $as_echo "$as_me: error
: $1" >&2
15978 as_fn_exit $as_status
15982 # as_fn_set_status STATUS
15983 # -----------------------
15984 # Set $? to STATUS, without forking.
15985 as_fn_set_status ()
15988 } # as_fn_set_status
15990 # as_fn_exit STATUS
15991 # -----------------
15992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15996 as_fn_set_status $1
16002 # Portably unset VAR.
16005 { eval $1=; unset $1;}
16007 as_unset=as_fn_unset
16008 # as_fn_append VAR VALUE
16009 # ----------------------
16010 # Append the text in VALUE to the end of the definition contained in VAR. Take
16011 # advantage of any shell optimizations that allow amortized linear growth over
16012 # repeated appends, instead of the typical quadratic growth present in naive
16014 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
16015 eval 'as_fn_append ()
16026 # as_fn_arith ARG...
16027 # ------------------
16028 # Perform arithmetic evaluation on the ARGs, and store the result in the
16029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16030 # must be portable across $(()) and expr.
16031 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
16032 eval 'as_fn_arith ()
16039 as_val=`expr "$@
" || test $? -eq 1`
16044 if expr a : '\(a\)' >/dev/null 2>&1 &&
16045 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
16051 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
16052 as_basename=basename
16057 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
16063 as_me=`$as_basename -- "$0" ||
16064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16065 X"$0" : 'X\(//\)$' \| \
16066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16068 sed '/^.*\/\([^/][^/]*\)\/*$/{
16082 # Avoid depending upon Character Ranges.
16083 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16086 as_cr_digits='0123456789'
16087 as_cr_alnum=$as_cr_Letters$as_cr_digits
16089 ECHO_C= ECHO_N= ECHO_T=
16090 case `echo -n x` in #(((((
16092 case `echo 'xy\c'` in
16093 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16095 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16102 rm -f conf$$ conf$$.exe conf$$.file
16103 if test -d conf$$.dir; then
16104 rm -f conf$$.dir/conf$$.file
16107 mkdir conf$$.dir 2>/dev/null
16109 if (echo >conf$$.file) 2>/dev/null; then
16110 if ln -s conf$$.file conf$$ 2>/dev/null; then
16112 # ... but there are two gotchas:
16113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16115 # In both cases, we have to default to `cp -p'.
16116 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16118 elif ln conf$$.file conf$$ 2>/dev/null; then
16126 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16127 rmdir conf$$.dir 2>/dev/null
16132 # Create "$as_dir" as a directory, including parents if necessary.
16137 -*) as_dir=./$as_dir;;
16139 test -d "$as_dir" || eval $as_mkdir_p || {
16143 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
16144 *) as_qdir=$as_dir;;
16146 as_dirs="'$as_qdir' $as_dirs"
16147 as_dir=`$as_dirname -- "$as_dir" ||
16148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16149 X"$as_dir" : 'X\(//\)[^/]' \| \
16150 X"$as_dir" : 'X\(//\)$' \| \
16151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16152 $as_echo X"$as_dir" |
16153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16157 /^X\(\/\/\)[^/].*/{
16170 test -d "$as_dir" && break
16172 test -z "$as_dirs" || eval "mkdir
$as_dirs"
16173 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
16177 if mkdir -p . 2>/dev/null; then
16178 as_mkdir_p='mkdir -p "$as_dir"'
16180 test -d ./-p && rmdir ./-p
16184 if test -x / >/dev/null 2>&1; then
16185 as_test_x='test -x'
16187 if ls -dL / >/dev/null 2>&1; then
16194 if test -d "$1"; then
16200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16201 ???[sx]*):;;*)false;;esac;fi
16205 as_executable_p=$as_test_x
16207 # Sed expression to map a string onto a valid CPP name.
16208 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16210 # Sed expression to map a string onto a valid variable name.
16211 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16215 ## ----------------------------------- ##
16216 ## Main body of $CONFIG_STATUS script. ##
16217 ## ----------------------------------- ##
16219 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16222 # Save the log message, to keep $0 and so on meaningful, and to
16223 # report actual input values of CONFIG_FILES etc. instead of their
16224 # values after options handling.
16226 This
file was extended by aMule
$as_me SVN
, which was
16227 generated by GNU Autoconf
2.65. Invocation
command line was
16229 CONFIG_FILES
= $CONFIG_FILES
16230 CONFIG_HEADERS
= $CONFIG_HEADERS
16231 CONFIG_LINKS
= $CONFIG_LINKS
16232 CONFIG_COMMANDS
= $CONFIG_COMMANDS
16235 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
16240 case $ac_config_files in *"
16241 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16244 case $ac_config_headers in *"
16245 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16250 # Files that config.status was made for.
16251 config_files="$ac_config_files"
16252 config_headers="$ac_config_headers"
16253 config_commands="$ac_config_commands"
16257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16259 \
`$as_me' instantiates files and other configuration actions
16260 from templates according to the current configuration. Unless the files
16261 and actions are specified as TAGs, all are instantiated by default.
16263 Usage: $0 [OPTION]... [TAG]...
16265 -h, --help print this help, then exit
16266 -V, --version print version number and configuration settings, then exit
16267 --config print configuration, then exit
16268 -q, --quiet, --silent
16269 do not print progress messages
16270 -d, --debug don't remove temporary files
16271 --recheck update $as_me by reconfiguring in the same conditions
16272 --file=FILE[:TEMPLATE]
16273 instantiate the configuration file FILE
16274 --header=FILE[:TEMPLATE]
16275 instantiate the configuration header FILE
16277 Configuration files:
16280 Configuration headers:
16283 Configuration commands:
16286 Report bugs to <admin@amule.org>."
16289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16290 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16292 aMule config.status SVN
16293 configured by $0, generated by GNU Autoconf 2.65,
16294 with options \\"\$ac_cs_config\\"
16296 Copyright (C) 2009 Free Software Foundation, Inc.
16297 This config.status script is free software; the Free Software Foundation
16298 gives unlimited permission to copy, distribute and modify it."
16305 test -n "\$AWK" || AWK=awk
16308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16309 # The default lists apply if the user does not specify any file.
16315 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16316 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16327 # Handling of the options.
16328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16331 $as_echo "$ac_cs_version"; exit ;;
16332 --config | --confi | --conf | --con | --co | --c )
16333 $as_echo "$ac_cs_config"; exit ;;
16334 --debug | --debu | --deb | --de | --d | -d )
16336 --file | --fil | --fi | --f )
16339 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16341 as_fn_append CONFIG_FILES " '$ac_optarg'"
16342 ac_need_defaults=false;;
16343 --header | --heade | --head | --hea )
16346 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16348 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16349 ac_need_defaults=false;;
16351 # Conflict between --help and --header
16352 as_fn_error "ambiguous option: \`$1'
16353 Try \`$0 --help' for more information.
";;
16354 --help | --hel | -h )
16355 $as_echo "$ac_cs_usage"; exit ;;
16356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16357 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16360 # This is an error.
16361 -*) as_fn_error "unrecognized option
: \
`$1'
16362 Try \`$0 --help' for more information." ;;
16364 *) as_fn_append ac_config_targets " $1"
16365 ac_need_defaults=false ;;
16371 ac_configure_extra_args=
16373 if $ac_cs_silent; then
16375 ac_configure_extra_args="$ac_configure_extra_args --silent"
16379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16380 if \$ac_cs_recheck; then
16381 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16384 CONFIG_SHELL='$SHELL'
16385 export CONFIG_SHELL
16390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16394 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16395 ## Running $as_me. ##
16401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16405 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16406 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16407 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16409 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
16410 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16411 LINGUAS="${LINGUAS-%UNSET%}"
16413 denoiserlevel=$with_denoise_level
16417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16419 # Handling of arguments.
16420 for ac_config_target
in $ac_config_targets
16422 case $ac_config_target in
16423 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16424 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16425 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16426 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
16427 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16428 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
16429 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
16430 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
16431 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16432 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
16433 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
16434 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
16435 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
16436 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
16437 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
16438 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
16439 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
16440 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
16441 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
16442 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
16443 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
16444 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
16445 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
16446 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
16447 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
16448 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
16449 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
16450 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
16451 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
16452 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
16453 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
16454 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
16455 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
16456 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
16457 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
16458 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
16459 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
16460 "Compilation.flags") CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
16461 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
16463 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16468 # If the user did not use the arguments to specify the items to instantiate,
16469 # then the envvar interface is used. Set only those that are not.
16470 # We use the long form for the default assignment because of an extremely
16471 # bizarre bug on SunOS 4.1.3.
16472 if $ac_need_defaults; then
16473 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16474 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16475 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16478 # Have a temporary directory for convenience. Make it in the build tree
16479 # simply because there is no reason against having it here, and in addition,
16480 # creating and moving files from /tmp can sometimes cause problems.
16481 # Hook for its removal unless debugging.
16482 # Note that there is a small window in which the directory will not be cleaned:
16483 # after its creation but before its name has been assigned to `$tmp'.
16487 trap 'exit_status=$?
16488 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16490 trap 'as_fn_exit 1' 1 2 13 15
16492 # Create a (secure) tmp directory for tmp files.
16495 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16496 test -n "$tmp" && test -d "$tmp"
16499 tmp
=.
/conf$$
-$RANDOM
16500 (umask 077 && mkdir
"$tmp")
16501 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16503 # Set up the scripts for CONFIG_FILES section.
16504 # No need to generate them if there are no CONFIG_FILES.
16505 # This happens for instance with `./config.status config.h'.
16506 if test -n "$CONFIG_FILES"; then
16509 ac_cr
=`echo X | tr X '\015'`
16510 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16511 # But we know of no other shell where ac_cr would be empty at this
16512 # point, so we can use a bashism as a fallback.
16513 if test "x$ac_cr" = x
; then
16514 eval ac_cr
=\$
\'\\r
\'
16516 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16517 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16520 ac_cs_awk_cr
=$ac_cr
16523 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16528 echo "cat >conf$$subs.awk <<_ACEOF" &&
16529 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16531 } >conf$$subs.sh ||
16532 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16533 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16535 for ac_last_try in false false false false false :; do
16536 . ./conf$$subs.sh ||
16537 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16539 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16540 if test $ac_delim_n = $ac_delim_num; then
16542 elif $ac_last_try; then
16543 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16545 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16548 rm -f conf$$subs.sh
16550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16551 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16555 s/^/S["/; s
/!.
*/"]=/
16565 s/\(.\{148\}\)..*/\1/
16567 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16572 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16579 s/\(.\{148\}\)..*/\1/
16581 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16585 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16590 ' <conf$$subs.awk | sed '
16595 ' >>$CONFIG_STATUS || ac_write_fail=1
16596 rm -f conf$$subs.awk
16597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16599 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16600 for (key in S) S_is_set[key] = 1
16606 nfields = split(line, field, "@
")
16608 len = length(field[1])
16609 for (i = 2; i < nfields; i++) {
16611 keylen = length(key)
16612 if (S_is_set[key]) {
16614 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16615 len += length(value) + length(field[++i])
16626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16627 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16628 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16631 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16632 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16635 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16636 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16637 # trailing colons and then remove the whole line if VPATH becomes empty
16638 # (actually we leave an empty line to preserve line numbers).
16639 if test "x
$srcdir" = x.; then
16640 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16641 s/:*\$(srcdir):*/:/
16642 s/:*\${srcdir}:*/:/
16644 s/^\([^=]*=[ ]*\):*/\1/
16650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16651 fi # test -n "$CONFIG_FILES"
16653 # Set up the scripts for CONFIG_HEADERS section.
16654 # No need to generate them if there are no CONFIG_HEADERS.
16655 # This happens for instance with `./config.status Makefile'.
16656 if test -n "$CONFIG_HEADERS"; then
16657 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16661 # Transform confdefs.h into an awk script `defines.awk', embedded as
16662 # here-document in config.status, that substitutes the proper values into
16663 # config.h.in to produce config.h.
16665 # Create a delimiter string that does not exist in confdefs.h, to ease
16666 # handling of long lines.
16668 for ac_last_try in false false :; do
16669 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16670 if test -z "$ac_t"; then
16672 elif $ac_last_try; then
16673 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16675 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16679 # For the awk script, D is an array of macro values keyed by name,
16680 # likewise P contains macro parameters if any. Preserve backslash
16681 # newline sequences.
16683 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16685 s/.\{148\}/&'"$ac_delim"'/g
16688 s/^[ ]*#[ ]*define[ ][ ]*/ /
16695 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16697 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16702 D["\
1"]=" \
3\\\\\\n
"\\/p
16704 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16709 s/.\{148\}/&'"$ac_delim"'/g
16714 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16717 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16719 ' <confdefs.h | sed '
16720 s/'"$ac_delim"'/"\\\
16721 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16724 for (key in D) D_is_set[key] = 1
16727 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16729 split(line, arg, " ")
16730 if (arg[1] == "#") {
16734 defundef
= substr
(arg
[1], 2)
16737 split(mac1
, mac2
, "(") #)
16739 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16740 if (D_is_set
[macro
]) {
16741 # Preserve the white space surrounding the "#".
16742 print prefix
"define", macro P
[macro
] D
[macro
]
16745 # Replace #undef with comments. This is necessary, for example,
16746 # in the case of _POSIX_SOURCE, which is predefined and required
16747 # on some systems where configure will not decide to define it.
16748 if (defundef
== "undef") {
16749 print
"/*", prefix defundef
, macro
, "*/"
16757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16758 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16759 fi # test -n "$CONFIG_HEADERS"
16762 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16767 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16769 case $ac_mode$ac_tag in
16771 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16772 :[FH
]-) ac_tag
=-:-;;
16773 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16790 -) ac_f
="$tmp/stdin";;
16791 *) # Look for the file first in the build tree, then in the source tree
16792 # (if the path is not absolute). The absolute path cannot be DOS-style,
16793 # because $ac_f cannot contain `:'.
16797 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16799 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16801 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16802 as_fn_append ac_file_inputs
" '$ac_f'"
16805 # Let's still pretend it is `configure' which instantiates (i.e., don't
16806 # use $as_me), people would be surprised to read:
16807 # /* config.h. Generated by config.status. */
16808 configure_input
='Generated from '`
16809 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16811 if test x
"$ac_file" != x-
; then
16812 configure_input
="$ac_file. $configure_input"
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16814 $as_echo "$as_me: creating $ac_file" >&6;}
16816 # Neutralize special characters interpreted by sed in replacement strings.
16817 case $configure_input in #(
16818 *\
&* |
*\|
* |
*\\* )
16819 ac_sed_conf_input
=`$as_echo "$configure_input" |
16820 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16821 *) ac_sed_conf_input
=$configure_input;;
16825 *:-:* |
*:-) cat >"$tmp/stdin" \
16826 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16831 ac_dir
=`$as_dirname -- "$ac_file" ||
16832 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16833 X"$ac_file" : 'X\(//\)[^/]' \| \
16834 X"$ac_file" : 'X\(//\)$' \| \
16835 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16836 $as_echo X"$ac_file" |
16837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16841 /^X\(\/\/\)[^/].*/{
16854 as_dir
="$ac_dir"; as_fn_mkdir_p
16858 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16860 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16861 # A ".." for each directory in $ac_dir_suffix.
16862 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16863 case $ac_top_builddir_sub in
16864 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16865 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16868 ac_abs_top_builddir
=$ac_pwd
16869 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16870 # for backward compatibility:
16871 ac_top_builddir
=$ac_top_build_prefix
16874 .
) # We are building in place.
16876 ac_top_srcdir
=$ac_top_builddir_sub
16877 ac_abs_top_srcdir
=$ac_pwd ;;
16878 [\\/]* | ?
:[\\/]* ) # Absolute name.
16879 ac_srcdir
=$srcdir$ac_dir_suffix;
16880 ac_top_srcdir
=$srcdir
16881 ac_abs_top_srcdir
=$srcdir ;;
16882 *) # Relative name.
16883 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16884 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16885 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16887 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16897 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16898 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16900 ac_MKDIR_P
=$MKDIR_P
16902 [\\/$
]* | ?
:[\\/]* ) ;;
16903 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16908 # If the template does not know about datarootdir, expand it.
16909 # FIXME: This hack should be removed a few years after 2.60.
16910 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16921 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16922 *datarootdir
*) ac_datarootdir_seen
=yes;;
16923 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16925 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16928 ac_datarootdir_hack='
16929 s&@datadir@&$datadir&g
16930 s&@docdir@&$docdir&g
16931 s&@infodir@&$infodir&g
16932 s&@localedir@&$localedir&g
16933 s&@mandir@&$mandir&g
16934 s&\\\${datarootdir}&$datarootdir&g' ;;
16938 # Neutralize VPATH when `$srcdir' = `.'.
16939 # Shell code in configure.ac might set extrasub.
16940 # FIXME: do we really want to maintain this feature?
16941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16942 ac_sed_extra="$ac_vpsub
16945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16947 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16948 s|@configure_input@|
$ac_sed_conf_input|
;t t
16949 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16950 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16951 s
&@srcdir@
&$ac_srcdir&;t t
16952 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16953 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16954 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16955 s
&@builddir@
&$ac_builddir&;t t
16956 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16957 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16958 s
&@INSTALL@
&$ac_INSTALL&;t t
16959 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16960 $ac_datarootdir_hack
16962 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16963 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16965 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16966 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16967 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16969 which seems to be undefined. Please make sure it is defined." >&5
16970 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16971 which seems to be undefined. Please make sure it is defined." >&2;}
16975 -) cat "$tmp/out" && rm -f "$tmp/out";;
16976 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16978 || as_fn_error "could not create $ac_file" "$LINENO" 5
16984 if test x"$ac_file" != x-; then
16986 $as_echo "/* $configure_input */" \
16987 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16988 } >"$tmp/config.h" \
16989 || as_fn_error "could not create $ac_file" "$LINENO" 5
16990 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16992 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16995 mv "$tmp/config.h" "$ac_file" \
16996 || as_fn_error "could not create $ac_file" "$LINENO" 5
16999 $as_echo "/* $configure_input */" \
17000 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17001 || as_fn_error "could not create -" "$LINENO" 5
17003 # Compute "$ac_file"'s index
in $config_headers.
17006 for _am_header
in $config_headers :; do
17007 case $_am_header in
17008 $_am_arg |
$_am_arg:* )
17011 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17014 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17015 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17016 X"$_am_arg" : 'X\(//\)[^/]' \| \
17017 X"$_am_arg" : 'X\(//\)$' \| \
17018 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17019 $as_echo X"$_am_arg" |
17020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17024 /^X\(\/\/\)[^/].*/{
17036 s/.*/./; q'`/stamp-h
$_am_stamp_count
17039 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17040 $as_echo "$as_me: executing $ac_file commands" >&6;}
17045 case $ac_file$ac_mode in
17046 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17047 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17048 # are listed without --file. Let's play safe and only enable the eval
17049 # if we detect the quoting.
17050 case $CONFIG_FILES in
17051 *\'*) eval set x
"$CONFIG_FILES" ;;
17052 *) set x
$CONFIG_FILES ;;
17057 # Strip MF so we end up with the name of the file.
17058 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17059 # Check whether this is an Automake generated Makefile or not.
17060 # We used to match only the files named `Makefile.in', but
17061 # some people rename them; so instead we look at the file content.
17062 # Grep'ing the first line is not enough: some people post-process
17063 # each Makefile.in and add a new line on top of each file to say so.
17064 # Grep'ing the whole file is not good either: AIX grep has a line
17065 # limit of 2048, but all sed's we know have understand at least 4000.
17066 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17067 dirpart
=`$as_dirname -- "$mf" ||
17068 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17069 X"$mf" : 'X\(//\)[^/]' \| \
17070 X"$mf" : 'X\(//\)$' \| \
17071 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17077 /^X\(\/\/\)[^/].*/{
17093 # Extract the definition of DEPDIR, am__include, and am__quote
17094 # from the Makefile without running `make'.
17095 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17096 test -z "$DEPDIR" && continue
17097 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17098 test -z "am__include" && continue
17099 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17100 # When using ansi2knr, U may be empty or an underscore; expand it
17101 U
=`sed -n 's/^U = //p' < "$mf"`
17102 # Find all dependency output files, they are included files with
17103 # $(DEPDIR) in their names. We invoke sed twice because it is the
17104 # simplest approach to changing $(DEPDIR) to its actual value in the
17106 for file in `sed -n "
17107 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17108 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17109 # Make sure the directory exists.
17110 test -f "$dirpart/$file" && continue
17111 fdir
=`$as_dirname -- "$file" ||
17112 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17113 X"$file" : 'X\(//\)[^/]' \| \
17114 X"$file" : 'X\(//\)$' \| \
17115 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17116 $as_echo X"$file" |
17117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17121 /^X\(\/\/\)[^/].*/{
17134 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17135 # echo "creating $dirpart/$file"
17136 echo '# dummy' > "$dirpart/$file"
17142 for ac_file
in $CONFIG_FILES; do
17143 # Support "outfile[:infile[:infile...]]"
17145 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17147 # PO directories have a Makefile.in generated from Makefile.in.in.
17148 case "$ac_file" in */Makefile.
in)
17149 # Adjust a relative srcdir.
17150 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17151 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17152 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17153 # In autoconf-2.13 it is called $ac_given_srcdir.
17154 # In autoconf-2.50 it is called $srcdir.
17155 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17156 case "$ac_given_srcdir" in
17157 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17158 /*) top_srcdir
="$ac_given_srcdir" ;;
17159 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17161 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17162 rm -f "$ac_dir/POTFILES"
17163 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17164 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17165 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17166 # on $ac_dir but don't depend on user-specified configuration
17168 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17169 # The LINGUAS file contains the set of available languages.
17170 if test -n "$ALL_LINGUAS"; then
17171 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17173 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17174 # Hide the ALL_LINGUAS assigment from automake.
17175 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17177 case "$ac_given_srcdir" in
17179 *) srcdirpre
='$(srcdir)/' ;;
17185 for lang
in $ALL_LINGUAS; do
17186 POFILES
="$POFILES $srcdirpre$lang.po"
17187 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17188 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17189 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17191 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17192 # environment variable.
17194 if test -n "$ALL_LINGUAS"; then
17195 for presentlang
in $ALL_LINGUAS; do
17197 if test "%UNSET%" != "$LINGUAS"; then
17198 desiredlanguages
="$LINGUAS"
17200 desiredlanguages
="$ALL_LINGUAS"
17202 for desiredlang
in $desiredlanguages; do
17203 # Use the presentlang catalog if desiredlang is
17204 # a. equal to presentlang, or
17205 # b. a variant of presentlang (because in this case,
17206 # presentlang can be used as a fallback for messages
17207 # which are not translated in the desiredlang catalog).
17208 case "$desiredlang" in
17209 "$presentlang"*) useit
=yes;;
17212 if test $useit = yes; then
17213 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17218 if test -n "$INST_LINGUAS"; then
17219 for lang
in $INST_LINGUAS; do
17220 CATALOGS
="$CATALOGS $lang.gmo"
17223 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17224 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"
17225 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17226 if test -f "$f"; then
17228 *.orig |
*.bak |
*~
) ;;
17229 *) cat "$f" >> "$ac_dir/Makefile" ;;
17237 "denoiser":C
) if test $denoiserlevel -gt 0; then
17238 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
17239 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" \
17240 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
17241 for i
in `find . -name 'Makefile' -print`; do
17242 if test -n "`head -n 1 $i | grep '^#'`"; then
17243 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
17254 ac_clean_files
=$ac_clean_files_save
17256 test $ac_write_fail = 0 ||
17257 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17260 # configure is writing to config.log, and then calls config.status.
17261 # config.status does its own redirection, appending to config.log.
17262 # Unfortunately, on DOS this fails, as config.log is still kept open
17263 # by configure, so config.status won't be able to write to it; its
17264 # output is simply discarded. So we exec the FD to /dev/null,
17265 # effectively closing config.log, so it can be properly (re)opened and
17266 # appended to by config.status. When coming back to configure, we
17267 # need to make the FD available again.
17268 if test "$no_create" != yes; then
17270 ac_config_status_args
=
17271 test "$silent" = yes &&
17272 ac_config_status_args
="$ac_config_status_args --quiet"
17274 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17276 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17277 # would make configure fail if this is the last instruction.
17278 $ac_cs_success || as_fn_exit $?
17280 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17282 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17286 if test -n "$svndate"; then :
17287 SVN_REVISION
=" ($svndate)"
17294 echo " Configure script has finished system check."
17296 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
17298 echo " aMule enabled options:"
17300 echo " **** aMule Core ****"
17301 echo " Prefix where aMule should be installed? ${prefix:-none}"
17302 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
17303 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
17304 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
17305 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
17306 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
17307 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
17308 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
17309 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
17310 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
17311 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
17314 echo " **** aMule TextClient ****"
17315 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
17317 echo " **** aMule WebServer ****"
17318 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
17320 echo " **** aMule ED2K Links Handler ****"
17321 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
17323 echo " **** aMuleLinkCreator ****"
17324 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
17325 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
17327 echo " **** aMule Statistics ****"
17328 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
17329 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
17330 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
17331 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
17334 echo " **** General Libraries and Tools ****"
17335 echo " Should ccache support be enabled? ${enable_ccache:-no}"
17336 echo " Libraries aMule will use to build:"
17337 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 :
17340 if test $WX_DEBUG -eq 1; then :
17341 wxinfo
="$wxinfo,debug"
17343 if test $WX_SHARED -eq 1; then :
17344 wxinfo
="$wxinfo,shared"
17346 wxinfo
="$wxinfo,static"
17348 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
17351 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
17352 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
17354 if test ${enable_upnp:-yes} = yes; then :
17356 if test -n "$with_libupnp_prefix"; then :
17357 libupnp_place
=" (in $with_libupnp_prefix)"
17359 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
17362 if test ${enable_nls:-yes} = yes; then
17363 if test x
$USE_NLS = xno
; then :
17364 libintl_found
="Not detected"
17366 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
17367 libintl_found
="included"
17369 libintl_found
="system"
17372 echo " libintl $libintl_found"
17374 if test ${enable_geoip:-no} = yes; then :
17375 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
17380 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
17381 echo " libGeoIP ${geoip_style}"
17384 if test ${enable_webserver:-no} = yes; then :
17385 echo " libpng ${LIBPNG_VERSION:-Not detected}"
17387 if test ${enable_cas:-no} = yes; then :
17388 echo " libgd ${GDLIB_VERSION:-Not detected}"
17390 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 :
17391 echo " zlib ${ZLIB_VERSION:-Not detected}"
17393 if test ${enable_plasmamule:-no} = yes; then :
17394 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
17395 echo " qt-core-libs ${QT_CORE_LIBS}"
17396 echo " qt-gui-libs ${QT_GUI_LIBS}"
17397 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
17398 echo " kde-headers ${KDE_HEADER_DIR}"
17399 echo " kde-services-path ${KDE_SERVICE_PATH}"
17400 echo " kde-module-path ${KDE_MODULE_PATH}"
17401 echo " kde-icon-path ${KDE_ICON_PATH}"
17402 echo " kde-mime-path ${KDE_MIME_PATH}"
17403 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
17406 if test ${_mule_has_warnings:-no} = yes; then
17409 echo " *** Warnings during configuration ***"
17411 if test ${_mule_warning_0:-no} = yes; then
17414 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
17415 Please check that gdlib-config is in your default path, check out
17416 LD_LIBRARY_PATH or equivalent variable.
17417 Or this might also be that your gdlib-config has other name.
17418 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
17419 /usr/bin/gdlib-config with a valid path to your gdlib-config).
17420 If you use compiled packages check if you have devel pack installed.
17421 To download the latest version check http://www.boutell.com/gd for sources.
17424 if test ${_mule_warning_1:-no} = yes; then
17427 * libpng >= 1.2.0 not found.
17428 amuleweb will be compiled but file download progress bar images will NOT be
17432 if test ${_mule_warning_2:-no} = yes; then
17435 * File::Copy perl module is required by the mldonkey_importer script.
17436 If you want to use this script please install File::Copy from CPAN.
17439 if test ${_mule_warning_3:-no} = yes; then
17442 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
17445 if test ${_mule_warning_4:-no} = yes; then
17448 * GeoIP support has been disabled because the GeoIP libraries were not found
17451 if test ${_mule_warning_5:-no} = yes; then
17454 * GeoIP support has been disabled because the GeoIP header files were not
17458 if test ${_mule_warning_6:-no} = yes; then
17461 * UPnP code has been disabled because ${libupnp_error}.
17464 if test ${_mule_warning_7:-no} = yes; then
17467 * Cross-compilation detected, so exception handling cannot be tested.
17468 Note that broken exception handling in your compiler may lead to unexpected
17472 if test ${_mule_warning_8:-no} = yes; then
17475 * configure cannot check whether malloc() and realloc() are GNU libc
17476 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
17477 configure with the --without-gnu-malloc switch.
17480 if test ${_mule_warning_9:-no} = yes; then
17483 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
17487 if test ${_mule_warning_10:-no} = yes; then
17490 * bfd.h not found or unusable, please install binutils development package if
17491 you are a developer or want to help testing aMule