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
647 AMULE_DAEMON_MANPAGES
652 INTL_LIBTOOL_SUFFIX_PREFIX
659 BUILD_INCLUDED_LIBINTL
792 MAINTAINER_MODE_FALSE
804 INSTALL_STRIP_PROGRAM
846 program_transform_name
862 enable_option_checking
864 enable_maintainer_mode
865 enable_dependency_tracking
913 with_included_gettext
919 ac_precious_vars
='build_alias
939 # Initialize some variables set by options.
941 ac_init_version
=false
942 ac_unrecognized_opts
=
944 # The variables have the same names as the options, with
945 # dashes changed to underlines.
953 program_transform_name
=s
,x
,x
,
961 # Installation directory options.
962 # These are left unexpanded so users can "make install exec_prefix=/foo"
963 # and all the variables that are supposed to be based on exec_prefix
964 # by default will actually change.
965 # Use braces instead of parens because sh, perl, etc. also accept them.
966 # (The list follows the same order as the GNU Coding Standards.)
967 bindir
='${exec_prefix}/bin'
968 sbindir
='${exec_prefix}/sbin'
969 libexecdir
='${exec_prefix}/libexec'
970 datarootdir
='${prefix}/share'
971 datadir
='${datarootdir}'
972 sysconfdir
='${prefix}/etc'
973 sharedstatedir
='${prefix}/com'
974 localstatedir
='${prefix}/var'
975 includedir
='${prefix}/include'
976 oldincludedir
='/usr/include'
977 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
978 infodir
='${datarootdir}/info'
983 libdir
='${exec_prefix}/lib'
984 localedir
='${datarootdir}/locale'
985 mandir
='${datarootdir}/man'
991 # If the previous option needs an argument, assign it.
992 if test -n "$ac_prev"; then
993 eval $ac_prev=\
$ac_option
999 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003 # Accept the important Cygnus configure options, so we can diagnose typos.
1005 case $ac_dashdash$ac_option in
1009 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1011 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1012 bindir
=$ac_optarg ;;
1014 -build |
--build |
--buil |
--bui |
--bu)
1015 ac_prev
=build_alias
;;
1016 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1017 build_alias
=$ac_optarg ;;
1019 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1020 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1021 ac_prev
=cache_file
;;
1022 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1023 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1024 cache_file
=$ac_optarg ;;
1026 --config-cache |
-C)
1027 cache_file
=config.cache
;;
1029 -datadir |
--datadir |
--datadi |
--datad)
1031 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1032 datadir
=$ac_optarg ;;
1034 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1035 |
--dataroo |
--dataro |
--datar)
1036 ac_prev
=datarootdir
;;
1037 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1038 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1039 datarootdir
=$ac_optarg ;;
1041 -disable-* |
--disable-*)
1042 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error
"invalid feature name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_
$ac_useropt"
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval enable_
$ac_useropt=no
;;
1057 -docdir |
--docdir |
--docdi |
--doc |
--do)
1059 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1060 docdir
=$ac_optarg ;;
1062 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1064 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1065 dvidir
=$ac_optarg ;;
1067 -enable-* |
--enable-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error
"invalid feature name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1076 "enable_
$ac_useropt"
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval enable_
$ac_useropt=\
$ac_optarg ;;
1083 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1084 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1085 |
--exec |
--exe |
--ex)
1086 ac_prev
=exec_prefix
;;
1087 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1088 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1089 |
--exec=* |
--exe=* |
--ex=*)
1090 exec_prefix
=$ac_optarg ;;
1092 -gas |
--gas |
--ga |
--g)
1093 # Obsolete; use --with-gas.
1096 -help |
--help |
--hel |
--he |
-h)
1097 ac_init_help
=long
;;
1098 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1099 ac_init_help
=recursive
;;
1100 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1101 ac_init_help
=short
;;
1103 -host |
--host |
--hos |
--ho)
1104 ac_prev
=host_alias
;;
1105 -host=* |
--host=* |
--hos=* |
--ho=*)
1106 host_alias
=$ac_optarg ;;
1108 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1110 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1112 htmldir
=$ac_optarg ;;
1114 -includedir |
--includedir |
--includedi |
--included |
--include \
1115 |
--includ |
--inclu |
--incl |
--inc)
1116 ac_prev
=includedir
;;
1117 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1118 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1119 includedir
=$ac_optarg ;;
1121 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1123 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1124 infodir
=$ac_optarg ;;
1126 -libdir |
--libdir |
--libdi |
--libd)
1128 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1129 libdir
=$ac_optarg ;;
1131 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1132 |
--libexe |
--libex |
--libe)
1133 ac_prev
=libexecdir
;;
1134 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1135 |
--libexe=* |
--libex=* |
--libe=*)
1136 libexecdir
=$ac_optarg ;;
1138 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1139 ac_prev
=localedir
;;
1140 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1141 localedir
=$ac_optarg ;;
1143 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1144 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1145 ac_prev
=localstatedir
;;
1146 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1147 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1148 localstatedir
=$ac_optarg ;;
1150 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1152 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1153 mandir
=$ac_optarg ;;
1155 -nfp |
--nfp |
--nf)
1156 # Obsolete; use --without-fp.
1159 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1160 |
--no-cr |
--no-c |
-n)
1163 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1164 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1167 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1168 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1169 |
--oldin |
--oldi |
--old |
--ol |
--o)
1170 ac_prev
=oldincludedir
;;
1171 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1172 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1173 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1174 oldincludedir
=$ac_optarg ;;
1176 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1178 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1179 prefix
=$ac_optarg ;;
1181 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1182 |
--program-pre |
--program-pr |
--program-p)
1183 ac_prev
=program_prefix
;;
1184 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1185 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1186 program_prefix
=$ac_optarg ;;
1188 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1189 |
--program-suf |
--program-su |
--program-s)
1190 ac_prev
=program_suffix
;;
1191 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1192 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1193 program_suffix
=$ac_optarg ;;
1195 -program-transform-name |
--program-transform-name \
1196 |
--program-transform-nam |
--program-transform-na \
1197 |
--program-transform-n |
--program-transform- \
1198 |
--program-transform |
--program-transfor \
1199 |
--program-transfo |
--program-transf \
1200 |
--program-trans |
--program-tran \
1201 |
--progr-tra |
--program-tr |
--program-t)
1202 ac_prev
=program_transform_name
;;
1203 -program-transform-name=* |
--program-transform-name=* \
1204 |
--program-transform-nam=* |
--program-transform-na=* \
1205 |
--program-transform-n=* |
--program-transform-=* \
1206 |
--program-transform=* |
--program-transfor=* \
1207 |
--program-transfo=* |
--program-transf=* \
1208 |
--program-trans=* |
--program-tran=* \
1209 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1210 program_transform_name
=$ac_optarg ;;
1212 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1214 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1215 pdfdir
=$ac_optarg ;;
1217 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1219 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1223 |
-silent |
--silent |
--silen |
--sile |
--sil)
1226 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1228 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1230 sbindir
=$ac_optarg ;;
1232 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1233 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1234 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1236 ac_prev
=sharedstatedir
;;
1237 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1238 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1239 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1241 sharedstatedir
=$ac_optarg ;;
1243 -site |
--site |
--sit)
1245 -site=* |
--site=* |
--sit=*)
1248 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1250 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1251 srcdir
=$ac_optarg ;;
1253 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1254 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1255 ac_prev
=sysconfdir
;;
1256 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1257 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1258 sysconfdir
=$ac_optarg ;;
1260 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1261 ac_prev
=target_alias
;;
1262 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1263 target_alias
=$ac_optarg ;;
1265 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1268 -version |
--version |
--versio |
--versi |
--vers |
-V)
1269 ac_init_version
=: ;;
1272 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1275 as_fn_error
"invalid package name: $ac_useropt"
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 as_fn_error
"invalid package name: $ac_useropt"
1292 ac_useropt_orig
=$ac_useropt
1293 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1299 ac_unrecognized_sep
=', ';;
1301 eval with_
$ac_useropt=no
;;
1304 # Obsolete; use --with-x.
1307 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1308 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1309 ac_prev
=x_includes
;;
1310 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1311 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1312 x_includes
=$ac_optarg ;;
1314 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1315 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1316 ac_prev
=x_libraries
;;
1317 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1318 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1319 x_libraries
=$ac_optarg ;;
1321 -*) as_fn_error
"unrecognized option: \`$ac_option'
1322 Try \`$0 --help' for more information."
1326 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1327 # Reject names that are not valid shell variable names.
1328 case $ac_envvar in #(
1329 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1330 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1332 eval $ac_envvar=\
$ac_optarg
1333 export $ac_envvar ;;
1336 # FIXME: should be removed in autoconf 3.0.
1337 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1338 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1339 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1340 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1346 if test -n "$ac_prev"; then
1347 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1348 as_fn_error
"missing argument to $ac_option"
1351 if test -n "$ac_unrecognized_opts"; then
1352 case $enable_option_checking in
1354 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1355 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1359 # Check all directory arguments for consistency.
1360 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1361 datadir sysconfdir sharedstatedir localstatedir includedir \
1362 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1363 libdir localedir mandir
1365 eval ac_val
=\$
$ac_var
1366 # Remove trailing slashes.
1369 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1370 eval $ac_var=\
$ac_val;;
1372 # Be sure to have absolute directory names.
1374 [\\/$
]* | ?
:[\\/]* ) continue;;
1375 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1377 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1380 # There might be people who depend on the old broken behavior: `$host'
1381 # used to hold the argument of --host etc.
1382 # FIXME: To remove some day.
1385 target
=$target_alias
1387 # FIXME: To remove some day.
1388 if test "x$host_alias" != x
; then
1389 if test "x$build_alias" = x
; then
1390 cross_compiling
=maybe
1391 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1392 If a cross compiler is detected then cross compile mode will be used." >&2
1393 elif test "x$build_alias" != "x$host_alias"; then
1399 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1401 test "$silent" = yes && exec 6>/dev
/null
1404 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1405 ac_ls_di
=`ls -di .` &&
1406 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1407 as_fn_error
"working directory cannot be determined"
1408 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1409 as_fn_error
"pwd does not report name of working directory"
1412 # Find the source files, if location was not specified.
1413 if test -z "$srcdir"; then
1414 ac_srcdir_defaulted
=yes
1415 # Try the directory containing this script, then the parent directory.
1416 ac_confdir
=`$as_dirname -- "$as_myself" ||
1417 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1418 X"$as_myself" : 'X\(//\)[^/]' \| \
1419 X"$as_myself" : 'X\(//\)$' \| \
1420 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1421 $as_echo X"$as_myself" |
1422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1440 if test ! -r "$srcdir/$ac_unique_file"; then
1444 ac_srcdir_defaulted
=no
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1447 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1448 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1450 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1452 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var
in $ac_precious_vars; do
1465 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1467 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures aMule SVN to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --program-prefix=PREFIX prepend PREFIX to installed program names
1537 --program-suffix=SUFFIX append SUFFIX to installed program names
1538 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1541 --build=BUILD configure
for building on BUILD
[guessed
]
1542 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1546 if test -n "$ac_init_help"; then
1547 case $ac_init_help in
1548 short | recursive
) echo "Configuration of aMule SVN:";;
1553 --disable-option-checking ignore unrecognized
--enable/--with options
1554 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1555 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1556 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1557 --disable-silent-rules verbose build output (undo: `make V
=0')
1558 --enable-maintainer-mode enable make rules and dependencies not useful
1559 (and sometimes confusing) to the casual installer
1560 --disable-dependency-tracking speeds up one-time build
1561 --enable-dependency-tracking do not reject slow dependency extractors
1562 --disable-monolithic disable building of the monolithic aMule app
1563 --enable-amule-daemon compile aMule daemon version
1564 --enable-amulecmd compile aMule command line client
1565 --enable-webserver compile aMule WebServer
1566 --enable-amule-gui compile aMule remote GUI
1567 --enable-cas compile C aMule Statistics
1568 --enable-wxcas compile aMule GUI Statistics
1569 --disable-ed2k don't compile aMule ed2k links handler
1570 --enable-alc compile aMuleLinkCreator GUI version
1571 --enable-alcc compile aMuleLinkCreator
for console
1572 --enable-xas install xas XChat2 plugin
1573 --enable-fileview compile aMule
file viewer
for console
(EXPERIMENTAL
)
1574 --enable-plasmamule compile aMule plasma applet and engine
1575 --enable-static produce a statically linked executable
1576 --enable-kde-in-home install KDE related stuff
in your home dir
1577 --enable-geoip compile with GeoIP IP2Country library
1578 --disable-upnp do not compile UPnP code
1579 --disable-debug disable additional debugging output
1580 --enable-profile enable code profiling
1581 --enable-optimize enable code optimization
1582 --enable-mmap enable using mapped memory
if supported
1583 --disable-rpath do not hardcode runtime library paths
1584 --disable-nls do not use Native Language Support
1585 --enable-ccache enable ccache support
for fast recompilation
1588 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1589 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1590 --with-kde4-config=PATH kde4-config
script to use
1591 --with-moc=PATH Search
in PATH
for Qt
's meta object compiler
1592 --without-gnu-malloc Don't assume that we use GNU libc compatible
1593 malloc
/realloc when cross-compiling
1594 --with-zlib=PREFIX use zlib
in PREFIX
1595 --with-gdlib-prefix=PREFIX
1596 prefix where gdlib is installed
(optional
)
1597 --with-gdlib-config=CONFIG
1598 gdlib-config
script to use
(optional
)
1599 --with-libpng-prefix=PREFIX
1600 prefix where libpng is installed
(optional
)
1601 --with-libpng-config=CONFIG
1602 libpng-config
script to use
(optional
)
1603 --with-geoip-headers=DIR
1604 GeoIP include files location
1605 --with-geoip-lib=DIR GeoIP library location
1606 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
1607 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
1608 --with-wx-config=CONFIG wx-config
script to use
(optional
)
1609 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
1610 --with-wx-exec-prefix=PREFIX
1611 Exec prefix where wxWidgets is installed
(optional
)
1612 --with-toolkit Build against a specific wxWidgets toolkit
(default
1614 --with-wxshared Force building against a shared build of wxWidgets
,
1615 even
if --disable-shared is given
(default is auto
)
1616 --with-wxdebug Force building against a debug build of wxWidgets
,
1617 even
if --disable-debug is given
(default is auto
)
1618 --with-wxversion Build against a specific version of wxWidgets
1620 --with-libupnp-prefix=PREFIX
1621 UPnP library location
1622 --with-crypto-prefix=PREFIX
1623 prefix where crypto
++ is installed
1624 --with-language=<langs
> Specify a comma-separated list of languages you want
1625 to have installed. See po
/LINGUAS
for available
1627 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1628 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1629 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1630 --with-included-gettext use the GNU gettext library included here
1631 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1632 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1633 --with-denoise-level=<level
>
1634 Specifies denoising level
(0-4):
1636 4 - Suppress all normal output
1637 (for more information see
1638 src
/utils
/scripts
/denoiser.rules
)
1640 --with-ccache-prefix=PREFIX
1641 prefix where ccache is installed
1643 Some influential environment variables
:
1644 CXX C
++ compiler
command
1645 CXXFLAGS C
++ compiler flags
1646 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1647 nonstandard directory
<lib dir
>
1648 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1649 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1650 you have headers
in a nonstandard directory
<include dir
>
1651 CXXCPP C
++ preprocessor
1652 CC C compiler
command
1653 CFLAGS C compiler flags
1655 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1656 the first program found out of: `bison
-y', `byacc', `yacc'.
1657 YFLAGS The list of arguments that will be passed by default to $YACC.
1658 This script will default YFLAGS to the empty string to avoid a
1659 default value of `-d' given by some make applications.
1660 RC Resource Compiler
1661 RCFLAGS Resource Compiler Flags
1662 PKG_CONFIG path to pkg-config utility
1664 Use these variables to override the choices made by `configure' or to
help
1665 it to
find libraries and programs with nonstandard names
/locations.
1667 Report bugs to
<admin@amule.org
>.
1672 if test "$ac_init_help" = "recursive"; then
1673 # If there are subdirs, report their specific --help.
1674 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1675 test -d "$ac_dir" ||
1676 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1681 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1683 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1684 # A ".." for each directory in $ac_dir_suffix.
1685 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1686 case $ac_top_builddir_sub in
1687 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1688 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1691 ac_abs_top_builddir
=$ac_pwd
1692 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1693 # for backward compatibility:
1694 ac_top_builddir
=$ac_top_build_prefix
1697 .
) # We are building in place.
1699 ac_top_srcdir
=$ac_top_builddir_sub
1700 ac_abs_top_srcdir
=$ac_pwd ;;
1701 [\\/]* | ?
:[\\/]* ) # Absolute name.
1702 ac_srcdir
=$srcdir$ac_dir_suffix;
1703 ac_top_srcdir
=$srcdir
1704 ac_abs_top_srcdir
=$srcdir ;;
1706 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1707 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1708 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1710 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1712 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1713 # Check for guested configure.
1714 if test -f "$ac_srcdir/configure.gnu"; then
1716 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1717 elif test -f "$ac_srcdir/configure"; then
1719 $SHELL "$ac_srcdir/configure" --help=recursive
1721 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1723 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1727 test -n "$ac_init_help" && exit $ac_status
1728 if $ac_init_version; then
1731 generated by GNU Autoconf
2.65
1733 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1734 This configure
script is free software
; the Free Software Foundation
1735 gives unlimited permission to copy
, distribute and modify it.
1740 ## ------------------------ ##
1741 ## Autoconf initialization. ##
1742 ## ------------------------ ##
1744 # ac_fn_cxx_try_compile LINENO
1745 # ----------------------------
1746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1747 ac_fn_cxx_try_compile
()
1749 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1750 rm -f conftest.
$ac_objext
1751 if { { ac_try
="$ac_compile"
1753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_compile") 2>conftest.err
1760 if test -s conftest.err; then
1761 grep -v '^ *+' conftest.err >conftest.er1
1762 cat conftest.er1 >&5
1763 mv -f conftest.er1 conftest.err
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && {
1767 test -z "$ac_cxx_werror_flag" ||
1768 test ! -s conftest.err
1769 } && test -s conftest.$ac_objext; then :
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1778 as_fn_set_status $ac_retval
1780 } # ac_fn_cxx_try_compile
1782 # ac_fn_cxx_try_cpp LINENO
1783 # ------------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_cxx_try_cpp ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 if { { ac_try="$ac_cpp conftest.$ac_ext"
1790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1791 *) ac_try_echo
=$ac_try;;
1793 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 if test -s conftest.err
; then
1798 grep -v '^ *+' conftest.err
>conftest.er1
1799 cat conftest.er1
>&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } >/dev
/null
&& {
1804 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1805 test ! -s conftest.err
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.
$ac_ext >&5
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1815 as_fn_set_status
$ac_retval
1817 } # ac_fn_cxx_try_cpp
1819 # ac_fn_c_try_compile LINENO
1820 # --------------------------
1821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1822 ac_fn_c_try_compile
()
1824 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1825 rm -f conftest.
$ac_objext
1826 if { { ac_try
="$ac_compile"
1828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_compile") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest.$ac_objext; then :
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_c_try_compile
1857 # ac_fn_c_try_cpp LINENO
1858 # ----------------------
1859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 if { { ac_try="$ac_cpp conftest.$ac_ext"
1865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1866 *) ac_try_echo
=$ac_try;;
1868 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1872 if test -s conftest.err
; then
1873 grep -v '^ *+' conftest.err
>conftest.er1
1874 cat conftest.er1
>&5
1875 mv -f conftest.er1 conftest.err
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } >/dev
/null
&& {
1879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880 test ! -s conftest.err
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.
$ac_ext >&5
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1890 as_fn_set_status
$ac_retval
1894 # ac_fn_c_try_link LINENO
1895 # -----------------------
1896 # Try to link conftest.$ac_ext, and return whether this succeeded.
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 rm -f conftest.
$ac_objext conftest
$ac_exeext
1901 if { { ac_try
="$ac_link"
1903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_link") 2>conftest.err
1910 if test -s conftest.err; then
1911 grep -v '^ *+' conftest.err >conftest.er1
1912 cat conftest.er1 >&5
1913 mv -f conftest.er1 conftest.err
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && {
1917 test -z "$ac_c_werror_flag" ||
1918 test ! -s conftest.err
1919 } && test -s conftest$ac_exeext && {
1920 test "$cross_compiling" = yes ||
1921 $as_test_x conftest$ac_exeext
1925 $as_echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.$ac_ext >&5
1930 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1931 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1932 # interfere with the next link command; also delete a directory that is
1933 # left behind by Apple's compiler. We do this before executing the actions.
1934 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936 as_fn_set_status $ac_retval
1938 } # ac_fn_c_try_link
1940 # ac_fn_c_try_run LINENO
1941 # ----------------------
1942 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1943 # that executables *can* be run.
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 if { { ac_try="$ac_link"
1949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1950 *) ac_try_echo
=$ac_try;;
1952 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1953 $as_echo "$ac_try_echo"; } >&5
1954 (eval "$ac_link") 2>&5
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1958 { { case "(($ac_try" in
1959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_try") 2>&5
1966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1967 test $ac_status = 0; }; }; then :
1970 $as_echo "$as_me: program exited with status $ac_status" >&5
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.$ac_ext >&5
1974 ac_retval=$ac_status
1976 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978 as_fn_set_status $ac_retval
1982 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1983 # -------------------------------------------------------
1984 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1985 # the include files in INCLUDES and setting the cache variable VAR
1987 ac_fn_c_check_header_mongrel ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992 $as_echo_n "checking for $2... " >&6; }
1993 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1994 $as_echo_n "(cached) " >&6
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998 $as_echo "$ac_res" >&6; }
2000 # Is the header compilable?
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2002 $as_echo_n "checking $2 usability... " >&6; }
2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2008 if ac_fn_c_try_compile "$LINENO"; then :
2009 ac_header_compiler=yes
2011 ac_header_compiler=no
2013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2015 $as_echo "$ac_header_compiler" >&6; }
2017 # Is the header present?
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2019 $as_echo_n "checking $2 presence... " >&6; }
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2024 if ac_fn_c_try_cpp "$LINENO"; then :
2025 ac_header_preproc=yes
2027 ac_header_preproc=no
2029 rm -f conftest.err conftest.$ac_ext
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2031 $as_echo "$ac_header_preproc" >&6; }
2033 # So? What about this header?
2034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2037 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2039 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2043 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2045 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2047 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2049 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2051 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2053 ## ------------------------------ ##
2054 ## Report this to admin@amule.org ##
2055 ## ------------------------------ ##
2057 ) | sed "s/^/$as_me: WARNING: /" >&2
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061 $as_echo_n "checking for $2... " >&6; }
2062 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2063 $as_echo_n "(cached) " >&6
2065 eval "$3=\$ac_header_compiler"
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2073 } # ac_fn_c_check_header_mongrel
2075 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2076 # -------------------------------------------------------
2077 # Tests whether HEADER exists and can be compiled using the include files in
2078 # INCLUDES, setting the cache variable VAR accordingly.
2079 ac_fn_c_check_header_compile ()
2081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 $as_echo_n "(cached) " >&6
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2092 if ac_fn_c_try_compile "$LINENO"; then :
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104 } # ac_fn_c_check_header_compile
2106 # ac_fn_cxx_try_run LINENO
2107 # ------------------------
2108 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2109 # that executables *can* be run.
2110 ac_fn_cxx_try_run ()
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 if { { ac_try="$ac_link"
2115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2116 *) ac_try_echo
=$ac_try;;
2118 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2119 $as_echo "$ac_try_echo"; } >&5
2120 (eval "$ac_link") 2>&5
2122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2123 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2124 { { case "(($ac_try" in
2125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_try") 2>&5
2132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2133 test $ac_status = 0; }; }; then :
2136 $as_echo "$as_me: program exited with status $ac_status" >&5
2137 $as_echo "$as_me: failed program was:" >&5
2138 sed 's/^/| /' conftest.$ac_ext >&5
2140 ac_retval=$ac_status
2142 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2143 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144 as_fn_set_status $ac_retval
2146 } # ac_fn_cxx_try_run
2148 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2149 # ---------------------------------------------------------
2150 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2151 # the include files in INCLUDES and setting the cache variable VAR
2153 ac_fn_cxx_check_header_mongrel ()
2155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158 $as_echo_n "checking for $2... " >&6; }
2159 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2160 $as_echo_n "(cached) " >&6
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 # Is the header compilable?
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2168 $as_echo_n "checking $2 usability... " >&6; }
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2174 if ac_fn_cxx_try_compile "$LINENO"; then :
2175 ac_header_compiler=yes
2177 ac_header_compiler=no
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2181 $as_echo "$ac_header_compiler" >&6; }
2183 # Is the header present?
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2185 $as_echo_n "checking $2 presence... " >&6; }
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2190 if ac_fn_cxx_try_cpp "$LINENO"; then :
2191 ac_header_preproc=yes
2193 ac_header_preproc=no
2195 rm -f conftest.err conftest.$ac_ext
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2197 $as_echo "$ac_header_preproc" >&6; }
2199 # So? What about this header?
2200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2203 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2205 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2209 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2211 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2213 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2215 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2217 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2219 ## ------------------------------ ##
2220 ## Report this to admin@amule.org ##
2221 ## ------------------------------ ##
2223 ) | sed "s/^/$as_me: WARNING: /" >&2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2229 $as_echo_n "(cached) " >&6
2231 eval "$3=\$ac_header_compiler"
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2235 $as_echo "$ac_res" >&6; }
2237 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2239 } # ac_fn_cxx_check_header_mongrel
2241 # ac_fn_cxx_try_link LINENO
2242 # -------------------------
2243 # Try to link conftest.$ac_ext, and return whether this succeeded.
2244 ac_fn_cxx_try_link ()
2246 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2247 rm -f conftest.$ac_objext conftest$ac_exeext
2248 if { { ac_try="$ac_link"
2250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2251 *) ac_try_echo
=$ac_try;;
2253 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2254 $as_echo "$ac_try_echo"; } >&5
2255 (eval "$ac_link") 2>conftest.err
2257 if test -s conftest.err
; then
2258 grep -v '^ *+' conftest.err
>conftest.er1
2259 cat conftest.er1
>&5
2260 mv -f conftest.er1 conftest.err
2262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2263 test $ac_status = 0; } && {
2264 test -z "$ac_cxx_werror_flag" ||
2265 test ! -s conftest.err
2266 } && test -s conftest
$ac_exeext && {
2267 test "$cross_compiling" = yes ||
2268 $as_test_x conftest
$ac_exeext
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.
$ac_ext >&5
2277 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2278 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2279 # interfere with the next link command; also delete a directory that is
2280 # left behind by Apple's compiler. We do this before executing the actions.
2281 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2282 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2283 as_fn_set_status
$ac_retval
2285 } # ac_fn_cxx_try_link
2287 # ac_fn_c_check_func LINENO FUNC VAR
2288 # ----------------------------------
2289 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2290 ac_fn_c_check_func
()
2292 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2294 $as_echo_n "checking for $2... " >&6; }
2295 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2296 $as_echo_n "(cached) " >&6
2298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2300 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2302 #define $2 innocuous_$2
2304 /* System header to define __stub macros and hopefully few prototypes,
2305 which can conflict with char $2 (); below.
2306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2307 <limits.h> exists even on freestanding compilers. */
2310 # include <limits.h>
2312 # include <assert.h>
2317 /* Override any GCC internal prototype to avoid an error.
2318 Use char because int might match the return type of a GCC
2319 builtin and then its argument prototype would still apply. */
2324 /* The GNU C library defines this for functions which it implements
2325 to always fail with ENOSYS. Some functions are actually named
2326 something starting with __ and the normal name is an alias. */
2327 #if defined __stub_$2 || defined __stub___$2
2339 if ac_fn_c_try_link
"$LINENO"; then :
2344 rm -f core conftest.err conftest.
$ac_objext \
2345 conftest
$ac_exeext conftest.
$ac_ext
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2349 $as_echo "$ac_res" >&6; }
2350 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2352 } # ac_fn_c_check_func
2354 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2355 # -------------------------------------------
2356 # Tests whether TYPE exists after having included INCLUDES, setting cache
2357 # variable VAR accordingly.
2358 ac_fn_c_check_type
()
2360 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2362 $as_echo_n "checking for $2... " >&6; }
2363 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2364 $as_echo_n "(cached) " >&6
2367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2379 if ac_fn_c_try_compile
"$LINENO"; then :
2380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2392 if ac_fn_c_try_compile
"$LINENO"; then :
2397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2403 $as_echo "$ac_res" >&6; }
2404 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2406 } # ac_fn_c_check_type
2408 # ac_fn_c_check_decl LINENO SYMBOL VAR
2409 # ------------------------------------
2410 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2411 ac_fn_c_check_decl
()
2413 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2415 $as_echo_n "checking whether $2 is declared... " >&6; }
2416 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2417 $as_echo_n "(cached) " >&6
2419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2433 if ac_fn_c_try_compile
"$LINENO"; then :
2438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2442 $as_echo "$ac_res" >&6; }
2443 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2445 } # ac_fn_c_check_decl
2446 cat >config.log
<<_ACEOF
2447 This file contains any messages produced by compilers while
2448 running configure, to aid debugging if configure makes a mistake.
2450 It was created by aMule $as_me SVN, which was
2451 generated by GNU Autoconf 2.65. Invocation command line was
2463 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2464 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2465 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2466 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2467 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2469 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2470 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2472 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2473 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2474 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2475 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2476 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2477 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2478 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir
=.
2487 $as_echo "PATH: $as_dir"
2503 # Keep a trace of the command line.
2504 # Strip out --no-create and --no-recursion so they do not pile up.
2505 # Strip out --silent because we don't want to record it for future runs.
2506 # Also quote any args containing shell meta-characters.
2507 # Make two passes to allow for proper duplicate-argument suppression.
2511 ac_must_keep_next
=false
2517 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2518 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2519 |
-silent |
--silent |
--silen |
--sile |
--sil)
2522 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2525 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2527 as_fn_append ac_configure_args1
" '$ac_arg'"
2528 if test $ac_must_keep_next = true
; then
2529 ac_must_keep_next
=false
# Got value, back to normal.
2532 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2533 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2534 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2535 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2536 case "$ac_configure_args0 " in
2537 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2540 -* ) ac_must_keep_next
=true
;;
2543 as_fn_append ac_configure_args
" '$ac_arg'"
2548 { ac_configure_args0
=; unset ac_configure_args0
;}
2549 { ac_configure_args1
=; unset ac_configure_args1
;}
2551 # When interrupted or exit'd, cleanup temporary files, and complete
2552 # config.log. We remove comments because anyway the quotes in there
2553 # would cause problems or look ugly.
2554 # WARNING: Use '\'' to represent an apostrophe within the trap.
2555 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2556 trap 'exit_status=$?
2557 # Save into config.log some information that might help in debugging.
2562 ## ---------------- ##
2563 ## Cache variables. ##
2564 ## ---------------- ##
2567 # The following way of writing the cache mishandles newlines in values,
2569 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2570 eval ac_val=\$$ac_var
2574 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2578 _ | IFS | as_nl) ;; #(
2579 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2580 *) { eval $ac_var=; unset $ac_var;} ;;
2585 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2586 *${as_nl}ac_space=\ *)
2588 "s/'\''/'\''\\\\'\'''\''/g;
2589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2600 ## ----------------- ##
2601 ## Output variables. ##
2602 ## ----------------- ##
2605 for ac_var in $ac_subst_vars
2607 eval ac_val=\$$ac_var
2609 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2611 $as_echo "$ac_var='\''$ac_val'\''"
2615 if test -n "$ac_subst_files"; then
2617 ## ------------------- ##
2618 ## File substitutions. ##
2619 ## ------------------- ##
2622 for ac_var
in $ac_subst_files
2624 eval ac_val
=\$
$ac_var
2626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 $as_echo "$ac_var='\''$ac_val'\''"
2633 if test -s confdefs.h; then
2643 test "$ac_signal" != 0 &&
2644 $as_echo "$as_me: caught signal $ac_signal"
2645 $as_echo "$as_me: exit $exit_status"
2647 rm -f core *.core core.conftest.* &&
2648 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2651 for ac_signal
in 1 2 13 15; do
2652 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2656 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2657 rm -f -r conftest
* confdefs.h
2659 $as_echo "/* confdefs.h */" > confdefs.h
2661 # Predefined preprocessor variables.
2663 cat >>confdefs.h
<<_ACEOF
2664 #define PACKAGE_NAME "$PACKAGE_NAME"
2667 cat >>confdefs.h
<<_ACEOF
2668 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2671 cat >>confdefs.h
<<_ACEOF
2672 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2675 cat >>confdefs.h
<<_ACEOF
2676 #define PACKAGE_STRING "$PACKAGE_STRING"
2679 cat >>confdefs.h
<<_ACEOF
2680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2683 cat >>confdefs.h
<<_ACEOF
2684 #define PACKAGE_URL "$PACKAGE_URL"
2688 # Let the site file select an alternate cache file if it wants to.
2689 # Prefer an explicitly selected file to automatically selected ones.
2692 if test -n "$CONFIG_SITE"; then
2693 ac_site_file1
=$CONFIG_SITE
2694 elif test "x$prefix" != xNONE
; then
2695 ac_site_file1
=$prefix/share
/config.site
2696 ac_site_file2
=$prefix/etc
/config.site
2698 ac_site_file1
=$ac_default_prefix/share
/config.site
2699 ac_site_file2
=$ac_default_prefix/etc
/config.site
2701 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2703 test "x$ac_site_file" = xNONE
&& continue
2704 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2706 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2707 sed 's/^/| /' "$ac_site_file" >&5
2712 if test -r "$cache_file"; then
2713 # Some versions of bash will fail to source /dev/null (special files
2714 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2715 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2717 $as_echo "$as_me: loading cache $cache_file" >&6;}
2719 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2720 *) .
"./$cache_file";;
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2725 $as_echo "$as_me: creating cache $cache_file" >&6;}
2729 as_fn_append ac_header_list
" stdlib.h"
2730 as_fn_append ac_header_list
" unistd.h"
2731 as_fn_append ac_header_list
" sys/param.h"
2732 # Check that the precious variables saved in the cache have kept the same
2734 ac_cache_corrupted
=false
2735 for ac_var
in $ac_precious_vars; do
2736 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2737 eval ac_new_set
=\
$ac_env_${ac_var}_set
2738 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2739 eval ac_new_val
=\
$ac_env_${ac_var}_value
2740 case $ac_old_set,$ac_new_set in
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2743 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2744 ac_cache_corrupted
=: ;;
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2747 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2748 ac_cache_corrupted
=: ;;
2751 if test "x$ac_old_val" != "x$ac_new_val"; then
2752 # differences in whitespace do not lead to failure.
2753 ac_old_val_w
=`echo x $ac_old_val`
2754 ac_new_val_w
=`echo x $ac_new_val`
2755 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2757 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2758 ac_cache_corrupted
=:
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2761 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2762 eval $ac_var=\
$ac_old_val
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2765 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2767 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2770 # Pass precious variables to config.status.
2771 if test "$ac_new_set" = set; then
2773 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2774 *) ac_arg
=$ac_var=$ac_new_val ;;
2776 case " $ac_configure_args " in
2777 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2778 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2782 if $ac_cache_corrupted; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2786 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2787 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2789 ## -------------------- ##
2790 ## Main body of script. ##
2791 ## -------------------- ##
2794 ac_cpp
='$CPP $CPPFLAGS'
2795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2800 am__api_version
='1.11'
2803 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2804 for ac_t
in install-sh
install.sh shtool
; do
2805 if test -f "$ac_dir/$ac_t"; then
2807 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2812 if test -z "$ac_aux_dir"; then
2813 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2816 # These three variables are undocumented and unsupported,
2817 # and are intended to be withdrawn in a future Autoconf release.
2818 # They can cause serious problems if a builder's source tree is in a directory
2819 # whose full name contains unusual characters.
2820 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2821 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2822 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2825 # Find a good install program. We prefer a C program (faster),
2826 # so one script is as good as another. But avoid the broken or
2827 # incompatible versions:
2828 # SysV /etc/install, /usr/sbin/install
2829 # SunOS /usr/etc/install
2830 # IRIX /sbin/install
2832 # AmigaOS /C/install, which installs bootblocks on floppy discs
2833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2836 # OS/2's system install, which has a completely different semantic
2837 # ./install, which can be erroneously created by make from ./install.sh.
2838 # Reject install programs that cannot install multiple files.
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2840 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2841 if test -z "$INSTALL"; then
2842 if test "${ac_cv_path_install+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir
=.
2850 # Account for people who put trailing slashes in PATH elements.
2851 case $as_dir/ in #((
2852 .
/ | .
// |
/[cC
]/* | \
2853 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2854 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2857 # OSF1 and SCO ODT 3.0 have their own names for install.
2858 # Don't use installbsd from OSF since it installs stuff as root
2860 for ac_prog
in ginstall scoinst
install; do
2861 for ac_exec_ext
in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2863 if test $ac_prog = install &&
2864 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2865 # AIX install. It has an incompatible calling convention.
2867 elif test $ac_prog = install &&
2868 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2869 # program-specific install script used by HP pwplus--don't use.
2872 rm -rf conftest.one conftest.two conftest.dir
2873 echo one
> conftest.one
2874 echo two
> conftest.two
2876 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2877 test -s conftest.one
&& test -s conftest.two
&&
2878 test -s conftest.dir
/conftest.one
&&
2879 test -s conftest.dir
/conftest.two
2881 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2894 rm -rf conftest.one conftest.two conftest.dir
2897 if test "${ac_cv_path_install+set}" = set; then
2898 INSTALL
=$ac_cv_path_install
2900 # As a last resort, use the slow shell script. Don't cache a
2901 # value for INSTALL within a source directory, because that will
2902 # break other packages using the cache if that directory is
2903 # removed, or if the value is a relative name.
2904 INSTALL
=$ac_install_sh
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2908 $as_echo "$INSTALL" >&6; }
2910 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2911 # It thinks the first close brace ends the variable substitution.
2912 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2914 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2916 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2919 $as_echo_n "checking whether build environment is sane... " >&6; }
2922 echo timestamp
> conftest.
file
2923 # Reject unsafe characters in $srcdir or the absolute working directory
2924 # name. Accept space and tab only in the latter.
2928 *[\\\"\
#\$\&\'\`$am_lf]*)
2929 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2932 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2933 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2936 # Do `set' in a subshell so we don't clobber the current shell's
2937 # arguments. Must try -L first in case configure is actually a
2938 # symlink; some systems play weird games with the mod time of symlinks
2939 # (eg FreeBSD returns the mod time of the symlink's containing
2942 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2943 if test "$*" = "X"; then
2945 set X
`ls -t "$srcdir/configure" conftest.file`
2948 if test "$*" != "X $srcdir/configure conftest.file" \
2949 && test "$*" != "X conftest.file $srcdir/configure"; then
2951 # If neither matched, then we have a broken ls. This can happen
2952 # if, for instance, CONFIG_SHELL is bash and it inherits a
2953 # broken ls alias from the environment. This has actually
2954 # happened. Such a system could not be considered "sane".
2955 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2956 alias in your environment" "$LINENO" 5
2959 test "$2" = conftest.
file
2965 as_fn_error
"newly created file is older than distributed files!
2966 Check your system clock" "$LINENO" 5
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969 $as_echo "yes" >&6; }
2970 test "$program_prefix" != NONE
&&
2971 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2972 # Use a double $ so make ignores it.
2973 test "$program_suffix" != NONE
&&
2974 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2975 # Double any \ or $.
2976 # By default was `s,x,x', remove it if useless.
2977 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2978 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2980 # expand $ac_aux_dir to an absolute path
2981 am_aux_dir
=`cd $ac_aux_dir && pwd`
2983 if test x
"${MISSING+set}" != xset
; then
2986 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2988 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2991 # Use eval to expand $SHELL
2992 if eval "$MISSING --run true"; then
2993 am_missing_run
="$MISSING --run "
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2997 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3000 if test x
"${install_sh}" != xset
; then
3003 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3005 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3009 # Installed binaries are usually stripped using `strip' when the user
3010 # run `make install-strip'. However `strip' might not be the right
3011 # tool to use in cross-compilation environments, therefore Automake
3012 # will honor the `STRIP' environment variable to overrule this program.
3013 if test "$cross_compiling" != no
; then
3014 if test -n "$ac_tool_prefix"; then
3015 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3016 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if test "${ac_cv_prog_STRIP+set}" = set; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$STRIP"; then
3023 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 STRIP
=$ac_cv_prog_STRIP
3043 if test -n "$STRIP"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3045 $as_echo "$STRIP" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3053 if test -z "$ac_cv_prog_STRIP"; then
3055 # Extract the first word of "strip", so it can be a program name with args.
3056 set dummy strip
; ac_word
=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$ac_ct_STRIP"; then
3063 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 for ac_exec_ext
in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_ac_ct_STRIP
="strip"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3083 if test -n "$ac_ct_STRIP"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3085 $as_echo "$ac_ct_STRIP" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3091 if test "x$ac_ct_STRIP" = x
; then
3094 case $cross_compiling:$ac_tool_warned in
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098 ac_tool_warned
=yes ;;
3103 STRIP
="$ac_cv_prog_STRIP"
3107 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3110 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3111 if test -z "$MKDIR_P"; then
3112 if test "${ac_cv_path_mkdir+set}" = set; then :
3113 $as_echo_n "(cached) " >&6
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3116 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3119 test -z "$as_dir" && as_dir
=.
3120 for ac_prog
in mkdir gmkdir
; do
3121 for ac_exec_ext
in '' $ac_executable_extensions; do
3122 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3123 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3124 'mkdir (GNU coreutils) '* | \
3125 'mkdir (coreutils) '* | \
3126 'mkdir (fileutils) '4.1*)
3127 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3137 test -d .
/--version && rmdir .
/--version
3138 if test "${ac_cv_path_mkdir+set}" = set; then
3139 MKDIR_P
="$ac_cv_path_mkdir -p"
3141 # As a last resort, use the slow shell script. Don't cache a
3142 # value for MKDIR_P within a source directory, because that will
3143 # break other packages using the cache if that directory is
3144 # removed, or if the value is a relative name.
3145 MKDIR_P
="$ac_install_sh -d"
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3149 $as_echo "$MKDIR_P" >&6; }
3153 [\\/$
]* | ?
:[\\/]*) ;;
3154 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3157 for ac_prog
in gawk mawk nawk
awk
3159 # Extract the first word of "$ac_prog", so it can be a program name with args.
3160 set dummy
$ac_prog; ac_word
=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_AWK+set}" = set; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$AWK"; then
3167 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_exec_ext
in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_AWK
="$ac_prog"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 if test -n "$AWK"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3189 $as_echo "$AWK" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3196 test -n "$AWK" && break
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3200 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3202 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3203 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3204 $as_echo_n "(cached) " >&6
3206 cat >conftest.
make <<\_ACEOF
3209 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3211 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3212 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3214 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3216 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3220 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222 $as_echo "yes" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 SET_MAKE
="MAKE=${MAKE-make}"
3230 rm -rf .tst
2>/dev
/null
3231 mkdir .tst
2>/dev
/null
3232 if test -d .tst
; then
3237 rmdir .tst
2>/dev
/null
3239 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3240 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3241 # is not polluted with repeated "-I."
3242 am__isrc
=' -I$(srcdir)'
3243 # test to see if srcdir already configured
3244 if test -f $srcdir/config.status
; then
3245 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3249 # test whether we have cygpath
3250 if test -z "$CYGPATH_W"; then
3251 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3252 CYGPATH_W
='cygpath -w'
3259 # Define the identity of the package.
3264 cat >>confdefs.h
<<_ACEOF
3265 #define PACKAGE "$PACKAGE"
3269 cat >>confdefs.h
<<_ACEOF
3270 #define VERSION "$VERSION"
3273 # Some tools Automake needs.
3275 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3278 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3281 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3284 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3287 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3289 # We need awk for the "check" target. The system "awk" is bad on
3291 # Always define AMTAR for backward compatibility.
3293 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3295 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3301 # Check whether --enable-silent-rules was given.
3302 if test "${enable_silent_rules+set}" = set; then :
3303 enableval
=$enable_silent_rules;
3306 case $enable_silent_rules in
3307 yes) AM_DEFAULT_VERBOSITY
=0;;
3308 no
) AM_DEFAULT_VERBOSITY
=1;;
3309 *) AM_DEFAULT_VERBOSITY
=1;;
3317 ac_config_headers="$ac_config_headers config.h"
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3321 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3322 # Check whether --enable-maintainer-mode was given.
3323 if test "${enable_maintainer_mode+set}" = set; then :
3324 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3326 USE_MAINTAINER_MODE=no
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3330 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3331 if test $USE_MAINTAINER_MODE = yes; then
3332 MAINTAINER_MODE_TRUE=
3333 MAINTAINER_MODE_FALSE='#'
3335 MAINTAINER_MODE_TRUE
='#'
3336 MAINTAINER_MODE_FALSE
=
3339 MAINT
=$MAINTAINER_MODE_TRUE
3343 # Make sure we can run config.sub.
3344 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3345 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3348 $as_echo_n "checking build system type... " >&6; }
3349 if test "${ac_cv_build+set}" = set; then :
3350 $as_echo_n "(cached) " >&6
3352 ac_build_alias
=$build_alias
3353 test "x$ac_build_alias" = x
&&
3354 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3355 test "x$ac_build_alias" = x
&&
3356 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3357 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3358 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3362 $as_echo "$ac_cv_build" >&6; }
3363 case $ac_cv_build in
3365 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3368 ac_save_IFS
=$IFS; IFS
='-'
3374 # Remember, the first character of IFS is used to create $*,
3375 # except with old shells:
3378 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3382 $as_echo_n "checking host system type... " >&6; }
3383 if test "${ac_cv_host+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3386 if test "x$host_alias" = x
; then
3387 ac_cv_host
=$ac_cv_build
3389 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3390 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3395 $as_echo "$ac_cv_host" >&6; }
3398 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3401 ac_save_IFS
=$IFS; IFS
='-'
3407 # Remember, the first character of IFS is used to create $*,
3408 # except with old shells:
3411 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3415 case "${host_os}" in
3418 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3419 MULELDFLAGS
="-bind_at_load"
3420 touch src
/Scanner.cpp
3424 LIBS
="$LIBS -L/usr/local/lib"
3425 MULECPPFLAGS
="-D__OPENBSD__"
3427 *cygwin
* |
*mingw32
*)
3429 MULECPPFLAGS
="-DNOMINMAX"
3433 RESOLV_LIB
="-lresolv -lnsl"
3438 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3439 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3440 # Still, we prepend them, instead of adding, so the user may override them.
3441 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3442 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3446 MULECPPFLAGS
="-D__IRIX__"
3453 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3454 if test ${SYS:-unknown} != win32
; then :
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3457 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3458 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3460 MULELDFLAGS
="$MULELDFLAGS -pthread"
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3462 $as_echo "yes" >&6; }
3466 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3476 mule_backup_CFLAGS
="$CFLAGS"
3477 mule_backup_CXXFLAGS
="$CXXFLAGS"
3478 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3480 ac_cpp
='$CXXCPP $CPPFLAGS'
3481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3484 if test -z "$CXX"; then
3485 if test -n "$CCC"; then
3488 if test -n "$ac_tool_prefix"; then
3489 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if test "${ac_cv_prog_CXX+set}" = set; then :
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$CXX"; then
3499 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir
=.
3506 for ac_exec_ext
in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 if test -n "$CXX"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3521 $as_echo "$CXX" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3528 test -n "$CXX" && break
3531 if test -z "$CXX"; then
3533 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3535 # Extract the first word of "$ac_prog", so it can be a program name with args.
3536 set dummy
$ac_prog; ac_word
=$2
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538 $as_echo_n "checking for $ac_word... " >&6; }
3539 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3540 $as_echo_n "(cached) " >&6
3542 if test -n "$ac_ct_CXX"; then
3543 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_exec_ext
in '' $ac_executable_extensions; do
3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3552 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3563 if test -n "$ac_ct_CXX"; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3565 $as_echo "$ac_ct_CXX" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3572 test -n "$ac_ct_CXX" && break
3575 if test "x$ac_ct_CXX" = x
; then
3578 case $cross_compiling:$ac_tool_warned in
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3582 ac_tool_warned
=yes ;;
3590 # Provide some information about the compiler.
3591 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3594 for ac_option
in --version -v -V -qversion; do
3595 { { ac_try
="$ac_compiler $ac_option >&5"
3597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3604 if test -s conftest.err; then
3606 ... rest of stderr output deleted ...
3607 10q' conftest.err >conftest.er1
3608 cat conftest.er1 >&5
3610 rm -f conftest.er1 conftest.err
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3626 ac_clean_files_save=$ac_clean_files
3627 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3628 # Try to create an executable without -o first, disregard a.out.
3629 # It will help us diagnose broken compilers, and finding out an intuition
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3632 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3633 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3635 # The possible output files:
3636 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3639 for ac_file in $ac_files
3642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3648 if { { ac_try="$ac_link_default"
3650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3651 *) ac_try_echo
=$ac_try;;
3653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3654 $as_echo "$ac_try_echo"; } >&5
3655 (eval "$ac_link_default") 2>&5
3657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658 test $ac_status = 0; }; then :
3659 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3660 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3661 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3662 # so that the user can short-circuit this test for compilers unknown to
3664 for ac_file
in $ac_files ''
3666 test -f "$ac_file" ||
continue
3668 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3671 # We found the default executable, but exeext='' is most
3675 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3677 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3679 # We set ac_cv_exeext here because the later test for it is not
3680 # safe: cross compilers may not add the suffix if given an `-o'
3681 # argument, so we may need to know it at that point already.
3682 # Even if this section looks crufty: it has the advantage of
3689 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3694 if test -z "$ac_file"; then :
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3697 $as_echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 { as_fn_set_status
77
3703 as_fn_error
"C++ compiler cannot create executables
3704 See \`config.log' for more details." "$LINENO" 5; }; }
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3707 $as_echo "yes" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3710 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3712 $as_echo "$ac_file" >&6; }
3713 ac_exeext
=$ac_cv_exeext
3715 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3716 ac_clean_files
=$ac_clean_files_save
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3718 $as_echo_n "checking for suffix of executables... " >&6; }
3719 if { { ac_try
="$ac_link"
3721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3725 $as_echo "$ac_try_echo"; } >&5
3726 (eval "$ac_link") 2>&5
3728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 test $ac_status = 0; }; then :
3730 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3731 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3732 # work properly (i.e., refer to `conftest.exe'), while it won't with
3734 for ac_file
in conftest.exe conftest conftest.
*; do
3735 test -f "$ac_file" ||
continue
3737 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3738 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3747 See \`config.log' for more details." "$LINENO" 5; }
3749 rm -f conftest conftest
$ac_cv_exeext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3751 $as_echo "$ac_cv_exeext" >&6; }
3753 rm -f conftest.
$ac_ext
3754 EXEEXT
=$ac_cv_exeext
3756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3762 FILE *f = fopen ("conftest.out", "w");
3763 return ferror (f) || fclose (f) != 0;
3769 ac_clean_files
="$ac_clean_files conftest.out"
3770 # Check that the compiler produces executables we can run. If not, either
3771 # the compiler is broken, or we cross compile.
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3773 $as_echo_n "checking whether we are cross compiling... " >&6; }
3774 if test "$cross_compiling" != yes; then
3775 { { ac_try
="$ac_link"
3777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3778 *) ac_try_echo=$ac_try;;
3780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3781 $as_echo "$ac_try_echo"; } >&5
3782 (eval "$ac_link") 2>&5
3784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3785 test $ac_status = 0; }
3786 if { ac_try='./conftest$ac_cv_exeext'
3787 { { case "(($ac_try" in
3788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3789 *) ac_try_echo
=$ac_try;;
3791 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792 $as_echo "$ac_try_echo"; } >&5
3793 (eval "$ac_try") 2>&5
3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796 test $ac_status = 0; }; }; then
3799 if test "$cross_compiling" = maybe
; then
3802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error
"cannot run C++ compiled programs.
3805 If you meant to cross compile, use \`--host'.
3806 See \`config.log' for more details." "$LINENO" 5; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3811 $as_echo "$cross_compiling" >&6; }
3813 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3814 ac_clean_files
=$ac_clean_files_save
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3816 $as_echo_n "checking for suffix of object files... " >&6; }
3817 if test "${ac_cv_objext+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3831 rm -f conftest.o conftest.obj
3832 if { { ac_try
="$ac_compile"
3834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3838 $as_echo "$ac_try_echo"; } >&5
3839 (eval "$ac_compile") 2>&5
3841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3842 test $ac_status = 0; }; then :
3843 for ac_file in conftest.o conftest.obj conftest.*; do
3844 test -f "$ac_file" || continue;
3846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3847 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3852 $as_echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 as_fn_error "cannot compute suffix of object files
: cannot compile
3858 See \
`config.log' for more details." "$LINENO" 5; }
3860 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3863 $as_echo "$ac_cv_objext" >&6; }
3864 OBJEXT=$ac_cv_objext
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3867 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3868 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3869 $as_echo_n "(cached) " >&6
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3885 if ac_fn_cxx_try_compile "$LINENO"; then :
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3895 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3896 if test $ac_compiler_gnu = yes; then
3901 ac_test_CXXFLAGS=${CXXFLAGS+set}
3902 ac_save_CXXFLAGS=$CXXFLAGS
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3904 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3905 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3906 $as_echo_n "(cached) " >&6
3908 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3909 ac_cxx_werror_flag=yes
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3923 if ac_fn_cxx_try_compile "$LINENO"; then :
3924 ac_cv_prog_cxx_g=yes
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 if ac_fn_cxx_try_compile "$LINENO"; then :
3941 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3954 if ac_fn_cxx_try_compile "$LINENO"; then :
3955 ac_cv_prog_cxx_g=yes
3957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3965 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3966 if test "$ac_test_CXXFLAGS" = set; then
3967 CXXFLAGS=$ac_save_CXXFLAGS
3968 elif test $ac_cv_prog_cxx_g = yes; then
3969 if test "$GXX" = yes; then
3975 if test "$GXX" = yes; then
3982 ac_cpp='$CPP $CPPFLAGS'
3983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3986 DEPDIR="${am__leading_dot}deps"
3988 ac_config_commands="$ac_config_commands depfiles"
3991 am_make=${MAKE-make}
3992 cat > confinc << 'END'
3994 @echo this is the am__doit target
3997 # If we don't find an include directive, just comment out the code.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3999 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4003 # First try GNU make style include.
4004 echo "include confinc" > confmf
4005 # Ignore all kinds of additional output from `make'.
4006 case `$am_make -s -f confmf 2> /dev/null` in #(
4007 *the\ am__doit\ target*)
4013 # Now try BSD make style include.
4014 if test "$am__include" = "#"; then
4015 echo '.include
"confinc"' > confmf
4016 case `$am_make -s -f confmf 2> /dev/null` in #(
4017 *the\ am__doit\ target*)
4018 am__include=.include
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4027 $as_echo "$_am_result" >&6; }
4028 rm -f confinc confmf
4030 # Check whether --enable-dependency-tracking was given.
4031 if test "${enable_dependency_tracking+set}" = set; then :
4032 enableval=$enable_dependency_tracking;
4035 if test "x$enable_dependency_tracking" != xno; then
4036 am_depcomp="$ac_aux_dir/depcomp"
4039 if test "x$enable_dependency_tracking" != xno
; then
4049 depcc
="$CXX" am_compiler_list
=
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4052 $as_echo_n "checking dependency style of $depcc... " >&6; }
4053 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4054 $as_echo_n "(cached) " >&6
4056 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4057 # We make a subdir and do the tests there. Otherwise we can end up
4058 # making bogus files that we don't know about and never remove. For
4059 # instance it was reported that on HP-UX the gcc test will end up
4060 # making a dummy file named `D' -- because `-MD' means `put the output
4063 # Copy depcomp to subdir because otherwise we won't find it if we're
4064 # using a relative directory.
4065 cp "$am_depcomp" conftest.dir
4067 # We will build objects and dependencies in a subdirectory because
4068 # it helps to detect inapplicable dependency modes. For instance
4069 # both Tru64's cc and ICC support -MD to output dependencies as a
4070 # side effect of compilation, but ICC will put the dependencies in
4071 # the current directory while Tru64 will put them in the object
4075 am_cv_CXX_dependencies_compiler_type
=none
4076 if test "$am_compiler_list" = ""; then
4077 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4080 case " $depcc " in #(
4081 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4084 for depmode
in $am_compiler_list; do
4085 # Setup a source with many dependencies, because some compilers
4086 # like to wrap large dependency lists on column 80 (with \), and
4087 # we should not choose a depcomp mode which is confused by this.
4089 # We need to recreate these files for each test, as the compiler may
4090 # overwrite some of them when testing with obscure command lines.
4091 # This happens at least with the AIX C compiler.
4093 for i
in 1 2 3 4 5 6; do
4094 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4095 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4096 # Solaris 8's {/usr,}/bin/sh.
4097 touch sub
/conftst
$i.h
4099 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4101 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4102 # mode. It turns out that the SunPro C++ compiler does not properly
4103 # handle `-M -o', and we need to detect this. Also, some Intel
4104 # versions had trouble with output in subdirs
4105 am__obj
=sub
/conftest.
${OBJEXT-o}
4106 am__minus_obj
="-o $am__obj"
4109 # This depmode causes a compiler race in universal mode.
4110 test "$am__universal" = false ||
continue
4113 # after this tag, mechanisms are not by side-effect, so they'll
4114 # only be used when explicitly requested
4115 if test "x$enable_dependency_tracking" = xyes
; then
4121 msvisualcpp | msvcmsys
)
4122 # This compiler won't grok `-c -o', but also, the minuso test has
4123 # not run yet. These depmodes are late enough in the game, and
4124 # so weak that their functioning should not be impacted.
4125 am__obj
=conftest.
${OBJEXT-o}
4130 if depmode
=$depmode \
4131 source=sub
/conftest.c object
=$am__obj \
4132 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4133 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4134 >/dev
/null
2>conftest.err
&&
4135 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4136 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4137 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4138 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4139 # icc doesn't choke on unknown options, it will just issue warnings
4140 # or remarks (even with -Werror). So we grep stderr for any message
4141 # that says an option was ignored or not supported.
4142 # When given -MP, icc 7.0 and 7.1 complain thusly:
4143 # icc: Command line warning: ignoring option '-M'; no argument required
4144 # The diagnosis changed in icc 8.0:
4145 # icc: Command line remark: option '-MP' not supported
4146 if (grep 'ignoring option' conftest.err ||
4147 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4148 am_cv_CXX_dependencies_compiler_type
=$depmode
4157 am_cv_CXX_dependencies_compiler_type
=none
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4162 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4163 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4166 test "x$enable_dependency_tracking" != xno \
4167 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4168 am__fastdepCXX_TRUE
=
4169 am__fastdepCXX_FALSE
='#'
4171 am__fastdepCXX_TRUE
='#'
4172 am__fastdepCXX_FALSE
=
4177 ac_cpp
='$CXXCPP $CPPFLAGS'
4178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4182 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4183 if test -z "$CXXCPP"; then
4184 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 # Double quotes because CXXCPP needs to be expanded
4188 for CXXCPP
in "$CXX -E" "/lib/cpp"
4191 for ac_cxx_preproc_warn_flag
in '' yes
4193 # Use a header file that comes with gcc, so configuring glibc
4194 # with a fresh cross-compiler works.
4195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4196 # <limits.h> exists even on freestanding compilers.
4197 # On the NeXT, cc -E runs the code through the compiler's parser,
4198 # not just through cpp. "Syntax error" is here to catch this case.
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4202 # include <limits.h>
4204 # include <assert.h>
4208 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4211 # Broken: fails on valid input.
4214 rm -f conftest.err conftest.
$ac_ext
4216 # OK, works on sane cases. Now check whether nonexistent headers
4217 # can be detected and how.
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 #include <ac_nonexistent.h>
4222 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4223 # Broken: success on invalid input.
4226 # Passes both tests.
4230 rm -f conftest.err conftest.
$ac_ext
4233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4234 rm -f conftest.err conftest.
$ac_ext
4235 if $ac_preproc_ok; then :
4240 ac_cv_prog_CXXCPP
=$CXXCPP
4243 CXXCPP
=$ac_cv_prog_CXXCPP
4245 ac_cv_prog_CXXCPP
=$CXXCPP
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4248 $as_echo "$CXXCPP" >&6; }
4250 for ac_cxx_preproc_warn_flag
in '' yes
4252 # Use a header file that comes with gcc, so configuring glibc
4253 # with a fresh cross-compiler works.
4254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4255 # <limits.h> exists even on freestanding compilers.
4256 # On the NeXT, cc -E runs the code through the compiler's parser,
4257 # not just through cpp. "Syntax error" is here to catch this case.
4258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4261 # include <limits.h>
4263 # include <assert.h>
4267 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4270 # Broken: fails on valid input.
4273 rm -f conftest.err conftest.
$ac_ext
4275 # OK, works on sane cases. Now check whether nonexistent headers
4276 # can be detected and how.
4277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4279 #include <ac_nonexistent.h>
4281 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4282 # Broken: success on invalid input.
4285 # Passes both tests.
4289 rm -f conftest.err conftest.
$ac_ext
4292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4293 rm -f conftest.err conftest.
$ac_ext
4294 if $ac_preproc_ok; then :
4297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4299 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4300 See \`config.log' for more details." "$LINENO" 5; }
4304 ac_cpp
='$CPP $CPPFLAGS'
4305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4310 ac_cpp
='$CPP $CPPFLAGS'
4311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4314 if test -n "$ac_tool_prefix"; then
4315 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4316 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if test "${ac_cv_prog_CC+set}" = set; then :
4320 $as_echo_n "(cached) " >&6
4322 if test -n "$CC"; then
4323 ac_cv_prog_CC
="$CC" # Let the user override the test.
4325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir
=.
4330 for ac_exec_ext
in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 if test -n "$CC"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4345 $as_echo "$CC" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4353 if test -z "$ac_cv_prog_CC"; then
4355 # Extract the first word of "gcc", so it can be a program name with args.
4356 set dummy gcc
; ac_word
=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$ac_ct_CC"; then
4363 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_ac_ct_CC
="gcc"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4383 if test -n "$ac_ct_CC"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4385 $as_echo "$ac_ct_CC" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4391 if test "x$ac_ct_CC" = x
; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned
=yes ;;
4406 if test -z "$CC"; then
4407 if test -n "$ac_tool_prefix"; then
4408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4409 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_CC+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$CC"; then
4416 ac_cv_prog_CC
="$CC" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 if test -n "$CC"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438 $as_echo "$CC" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4447 if test -z "$CC"; then
4448 # Extract the first word of "cc", so it can be a program name with args.
4449 set dummy cc
; ac_word
=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if test "${ac_cv_prog_CC+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$CC"; then
4456 ac_cv_prog_CC
="$CC" # Let the user override the test.
4459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4463 test -z "$as_dir" && as_dir
=.
4464 for ac_exec_ext
in '' $ac_executable_extensions; do
4465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4467 ac_prog_rejected
=yes
4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 if test $ac_prog_rejected = yes; then
4479 # We found a bogon in the path, so make sure we never use it.
4480 set dummy
$ac_cv_prog_CC
4482 if test $# != 0; then
4483 # We chose a different compiler from the bogus one.
4484 # However, it has the same basename, so the bogon will be chosen
4485 # first if we set CC to just the basename; use the full file name.
4487 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4493 if test -n "$CC"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4495 $as_echo "$CC" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4503 if test -z "$CC"; then
4504 if test -n "$ac_tool_prefix"; then
4505 for ac_prog
in cl.exe
4507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4508 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if test "${ac_cv_prog_CC+set}" = set; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$CC"; then
4515 ac_cv_prog_CC
="$CC" # Let the user override the test.
4517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir
=.
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 if test -n "$CC"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4537 $as_echo "$CC" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$CC" && break
4547 if test -z "$CC"; then
4549 for ac_prog
in cl.exe
4551 # Extract the first word of "$ac_prog", so it can be a program name with args.
4552 set dummy
$ac_prog; ac_word
=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$ac_ct_CC"; then
4559 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4568 ac_cv_prog_ac_ct_CC
="$ac_prog"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4579 if test -n "$ac_ct_CC"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4581 $as_echo "$ac_ct_CC" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4588 test -n "$ac_ct_CC" && break
4591 if test "x$ac_ct_CC" = x
; then
4594 case $cross_compiling:$ac_tool_warned in
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4598 ac_tool_warned
=yes ;;
4607 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4609 as_fn_error
"no acceptable C compiler found in \$PATH
4610 See \`config.log' for more details." "$LINENO" 5; }
4612 # Provide some information about the compiler.
4613 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4616 for ac_option
in --version -v -V -qversion; do
4617 { { ac_try
="$ac_compiler $ac_option >&5"
4619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;;
4622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4623 $as_echo "$ac_try_echo"; } >&5
4624 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4626 if test -s conftest.err; then
4628 ... rest of stderr output deleted ...
4629 10q' conftest.err >conftest.er1
4630 cat conftest.er1 >&5
4632 rm -f conftest.er1 conftest.err
4633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4634 test $ac_status = 0; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4638 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4639 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4656 if ac_fn_c_try_compile "$LINENO"; then :
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4666 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4667 if test $ac_compiler_gnu = yes; then
4672 ac_test_CFLAGS=${CFLAGS+set}
4673 ac_save_CFLAGS=$CFLAGS
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4675 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4676 if test "${ac_cv_prog_cc_g+set}" = set; then :
4677 $as_echo_n "(cached) " >&6
4679 ac_save_c_werror_flag=$ac_c_werror_flag
4680 ac_c_werror_flag=yes
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4694 if ac_fn_c_try_compile "$LINENO"; then :
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4709 if ac_fn_c_try_compile "$LINENO"; then :
4712 ac_c_werror_flag=$ac_save_c_werror_flag
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4725 if ac_fn_c_try_compile "$LINENO"; then :
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 ac_c_werror_flag=$ac_save_c_werror_flag
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4736 $as_echo "$ac_cv_prog_cc_g" >&6; }
4737 if test "$ac_test_CFLAGS" = set; then
4738 CFLAGS=$ac_save_CFLAGS
4739 elif test $ac_cv_prog_cc_g = yes; then
4740 if test "$GCC" = yes; then
4746 if test "$GCC" = yes; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4753 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4754 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4757 ac_cv_prog_cc_c89=no
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4763 #include <sys/types.h>
4764 #include <sys/stat.h>
4765 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4766 struct buf { int x; };
4767 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4768 static char *e (p, i)
4774 static char *f (char * (*g) (char **, int), char **p, ...)
4779 s = g (p, va_arg (v,int));
4784 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4785 function prototypes and stuff, but not '\xHH' hex character constants.
4786 These don't provoke an error unfortunately, instead are silently treated
4787 as 'x'. The following induces an error, until -std is added to get
4788 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4789 array size at least. It's necessary to write '\x00'==0 to get something
4790 that's true only with -std. */
4791 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4793 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4794 inside strings and character constants. */
4796 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4798 int test (int i, double x);
4799 struct s1 {int (*f) (int a);};
4800 struct s2 {int (*f) (double a);};
4801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4812 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4813 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4815 CC="$ac_save_CC $ac_arg"
4816 if ac_fn_c_try_compile "$LINENO"; then :
4817 ac_cv_prog_cc_c89=$ac_arg
4819 rm -f core conftest.err conftest.$ac_objext
4820 test "x$ac_cv_prog_cc_c89" != "xno" && break
4822 rm -f conftest.$ac_ext
4827 case "x$ac_cv_prog_cc_c89" in
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4830 $as_echo "none needed" >&6; } ;;
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4833 $as_echo "unsupported" >&6; } ;;
4835 CC="$CC $ac_cv_prog_cc_c89"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4837 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4839 if test "x$ac_cv_prog_cc_c89" != xno; then :
4844 ac_cpp='$CPP $CPPFLAGS'
4845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4849 depcc="$CC" am_compiler_list=
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4852 $as_echo_n "checking dependency style of $depcc... " >&6; }
4853 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4857 # We make a subdir and do the tests there. Otherwise we can end up
4858 # making bogus files that we don't know about and never remove. For
4859 # instance it was reported that on HP-UX the gcc test will end up
4860 # making a dummy file named `D
' -- because `-MD' means
`put the output
4863 # Copy depcomp to subdir because otherwise we won't find it if we're
4864 # using a relative directory.
4865 cp "$am_depcomp" conftest.dir
4867 # We will build objects and dependencies in a subdirectory because
4868 # it helps to detect inapplicable dependency modes. For instance
4869 # both Tru64's cc and ICC support -MD to output dependencies as a
4870 # side effect of compilation, but ICC will put the dependencies in
4871 # the current directory while Tru64 will put them in the object
4875 am_cv_CC_dependencies_compiler_type=none
4876 if test "$am_compiler_list" = ""; then
4877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4880 case " $depcc " in #(
4881 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4884 for depmode in $am_compiler_list; do
4885 # Setup a source with many dependencies, because some compilers
4886 # like to wrap large dependency lists on column 80 (with \), and
4887 # we should not choose a depcomp mode which is confused by this.
4889 # We need to recreate these files for each test, as the compiler may
4890 # overwrite some of them when testing with obscure command lines.
4891 # This happens at least with the AIX C compiler.
4893 for i in 1 2 3 4 5 6; do
4894 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4895 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4896 # Solaris 8's
{/usr
,}/bin
/sh.
4897 touch sub
/conftst
$i.h
4899 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4901 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4902 # mode. It turns out that the SunPro C++ compiler does not properly
4903 # handle `-M -o', and we need to detect this. Also, some Intel
4904 # versions had trouble with output in subdirs
4905 am__obj
=sub
/conftest.
${OBJEXT-o}
4906 am__minus_obj
="-o $am__obj"
4909 # This depmode causes a compiler race in universal mode.
4910 test "$am__universal" = false ||
continue
4913 # after this tag, mechanisms are not by side-effect, so they'll
4914 # only be used when explicitly requested
4915 if test "x$enable_dependency_tracking" = xyes
; then
4921 msvisualcpp | msvcmsys
)
4922 # This compiler won't grok `-c -o', but also, the minuso test has
4923 # not run yet. These depmodes are late enough in the game, and
4924 # so weak that their functioning should not be impacted.
4925 am__obj
=conftest.
${OBJEXT-o}
4930 if depmode
=$depmode \
4931 source=sub
/conftest.c object
=$am__obj \
4932 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4933 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4934 >/dev
/null
2>conftest.err
&&
4935 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4936 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4937 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4938 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4939 # icc doesn't choke on unknown options, it will just issue warnings
4940 # or remarks (even with -Werror). So we grep stderr for any message
4941 # that says an option was ignored or not supported.
4942 # When given -MP, icc 7.0 and 7.1 complain thusly:
4943 # icc: Command line warning: ignoring option '-M'; no argument required
4944 # The diagnosis changed in icc 8.0:
4945 # icc: Command line remark: option '-MP' not supported
4946 if (grep 'ignoring option' conftest.err ||
4947 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4948 am_cv_CC_dependencies_compiler_type
=$depmode
4957 am_cv_CC_dependencies_compiler_type
=none
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4962 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4963 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4966 test "x$enable_dependency_tracking" != xno \
4967 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4969 am__fastdepCC_FALSE
='#'
4971 am__fastdepCC_TRUE
='#'
4972 am__fastdepCC_FALSE
=
4977 ac_cpp
='$CPP $CPPFLAGS'
4978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4982 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4983 # On Suns, sometimes $CPP names a directory.
4984 if test -n "$CPP" && test -d "$CPP"; then
4987 if test -z "$CPP"; then
4988 if test "${ac_cv_prog_CPP+set}" = set; then :
4989 $as_echo_n "(cached) " >&6
4991 # Double quotes because CPP needs to be expanded
4992 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4995 for ac_c_preproc_warn_flag
in '' yes
4997 # Use a header file that comes with gcc, so configuring glibc
4998 # with a fresh cross-compiler works.
4999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5000 # <limits.h> exists even on freestanding compilers.
5001 # On the NeXT, cc -E runs the code through the compiler's parser,
5002 # not just through cpp. "Syntax error" is here to catch this case.
5003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5006 # include <limits.h>
5008 # include <assert.h>
5012 if ac_fn_c_try_cpp
"$LINENO"; then :
5015 # Broken: fails on valid input.
5018 rm -f conftest.err conftest.
$ac_ext
5020 # OK, works on sane cases. Now check whether nonexistent headers
5021 # can be detected and how.
5022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024 #include <ac_nonexistent.h>
5026 if ac_fn_c_try_cpp
"$LINENO"; then :
5027 # Broken: success on invalid input.
5030 # Passes both tests.
5034 rm -f conftest.err conftest.
$ac_ext
5037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5038 rm -f conftest.err conftest.
$ac_ext
5039 if $ac_preproc_ok; then :
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5052 $as_echo "$CPP" >&6; }
5054 for ac_c_preproc_warn_flag
in '' yes
5056 # Use a header file that comes with gcc, so configuring glibc
5057 # with a fresh cross-compiler works.
5058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5059 # <limits.h> exists even on freestanding compilers.
5060 # On the NeXT, cc -E runs the code through the compiler's parser,
5061 # not just through cpp. "Syntax error" is here to catch this case.
5062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5065 # include <limits.h>
5067 # include <assert.h>
5071 if ac_fn_c_try_cpp
"$LINENO"; then :
5074 # Broken: fails on valid input.
5077 rm -f conftest.err conftest.
$ac_ext
5079 # OK, works on sane cases. Now check whether nonexistent headers
5080 # can be detected and how.
5081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5083 #include <ac_nonexistent.h>
5085 if ac_fn_c_try_cpp
"$LINENO"; then :
5086 # Broken: success on invalid input.
5089 # Passes both tests.
5093 rm -f conftest.err conftest.
$ac_ext
5096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5097 rm -f conftest.err conftest.
$ac_ext
5098 if $ac_preproc_ok; then :
5101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5103 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5104 See \`config.log' for more details." "$LINENO" 5; }
5108 ac_cpp
='$CPP $CPPFLAGS'
5109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5114 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5116 if test "$cross_compiling" = yes; then :
5118 # Even if we're cross-compiling, we want a compiler here
5119 # that is not a cross-compiler.
5120 saved_cross
=$cross_compiling
5124 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5125 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5126 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5128 if test -n "$ac_build_prefix"; then
5129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5130 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$BUILD_CC"; then
5137 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 BUILD_CC
=$ac_cv_prog_BUILD_CC
5157 if test -n "$BUILD_CC"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5159 $as_echo "$BUILD_CC" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5167 if test -z "$ac_cv_prog_BUILD_CC"; then
5168 ac_ct_BUILD_CC
=$BUILD_CC
5169 # Extract the first word of "gcc", so it can be a program name with args.
5170 set dummy gcc
; ac_word
=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$ac_ct_BUILD_CC"; then
5177 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir
=.
5184 for ac_exec_ext
in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5197 if test -n "$ac_ct_BUILD_CC"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5199 $as_echo "$ac_ct_BUILD_CC" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5205 if test "x$ac_ct_BUILD_CC" = x
; then
5208 case $cross_compiling:$ac_tool_warned in
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5212 ac_tool_warned
=yes ;;
5214 BUILD_CC
=$ac_ct_BUILD_CC
5217 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5220 if test -z "$BUILD_CC"; then
5221 if test -n "$ac_build_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5223 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$BUILD_CC"; then
5230 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 BUILD_CC
=$ac_cv_prog_BUILD_CC
5250 if test -n "$BUILD_CC"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5252 $as_echo "$BUILD_CC" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5260 if test -z "$ac_cv_prog_BUILD_CC"; then
5261 ac_ct_BUILD_CC
=$BUILD_CC
5262 # Extract the first word of "cc", so it can be a program name with args.
5263 set dummy cc
; ac_word
=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$ac_ct_BUILD_CC"; then
5270 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5290 if test -n "$ac_ct_BUILD_CC"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5292 $as_echo "$ac_ct_BUILD_CC" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5298 if test "x$ac_ct_BUILD_CC" = x
; then
5301 case $cross_compiling:$ac_tool_warned in
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5305 ac_tool_warned
=yes ;;
5307 BUILD_CC
=$ac_ct_BUILD_CC
5310 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5314 if test -z "$BUILD_CC"; then
5315 # Extract the first word of "cc", so it can be a program name with args.
5316 set dummy cc
; ac_word
=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5320 $as_echo_n "(cached) " >&6
5322 if test -n "$BUILD_CC"; then
5323 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5334 ac_prog_rejected
=yes
5337 ac_cv_prog_BUILD_CC
="cc"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test $ac_prog_rejected = yes; then
5346 # We found a bogon in the path, so make sure we never use it.
5347 set dummy
$ac_cv_prog_BUILD_CC
5349 if test $# != 0; then
5350 # We chose a different compiler from the bogus one.
5351 # However, it has the same basename, so the bogon will be chosen
5352 # first if we set BUILD_CC to just the basename; use the full file name.
5354 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5359 BUILD_CC
=$ac_cv_prog_BUILD_CC
5360 if test -n "$BUILD_CC"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5362 $as_echo "$BUILD_CC" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5370 if test -z "$BUILD_CC"; then
5371 if test -n "$ac_build_prefix"; then
5374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5375 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$BUILD_CC"; then
5382 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 BUILD_CC
=$ac_cv_prog_BUILD_CC
5402 if test -n "$BUILD_CC"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5404 $as_echo "$BUILD_CC" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 test -n "$BUILD_CC" && break
5414 if test -z "$BUILD_CC"; then
5415 ac_ct_BUILD_CC
=$BUILD_CC
5418 # Extract the first word of "$ac_prog", so it can be a program name with args.
5419 set dummy
$ac_prog; ac_word
=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$ac_ct_BUILD_CC"; then
5426 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir
=.
5433 for ac_exec_ext
in '' $ac_executable_extensions; do
5434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5446 if test -n "$ac_ct_BUILD_CC"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5448 $as_echo "$ac_ct_BUILD_CC" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 test -n "$ac_ct_BUILD_CC" && break
5458 if test "x$ac_ct_BUILD_CC" = x
; then
5461 case $cross_compiling:$ac_tool_warned in
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465 ac_tool_warned
=yes ;;
5467 BUILD_CC
=$ac_ct_BUILD_CC
5474 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5476 as_fn_error
"no acceptable C compiler found in \$PATH
5477 See \`config.log' for more details." "$LINENO" 5; }
5479 # Provide some information about the compiler.
5480 echo "$as_me:$LINENO:" \
5481 "checking for C compiler version" >&5
5482 ac_compiler
=`set X $ac_compile; echo $2`
5483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5484 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5487 test $ac_status = 0; }
5488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5489 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5492 test $ac_status = 0; }
5493 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5494 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5497 test $ac_status = 0; }
5499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5510 ac_clean_files_save
=$ac_clean_files
5511 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5512 # Try to create an executable without -o first, disregard a.out.
5513 # It will help us diagnose broken compilers, and finding out an intuition
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5516 $as_echo_n "checking whether the C compiler works... " >&6; }
5517 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5519 # The possible output files:
5520 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5523 for ac_file
in $ac_files
5526 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5527 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5532 if { { ac_try
="$ac_link_default"
5534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5538 $as_echo "$ac_try_echo"; } >&5
5539 (eval "$ac_link_default") 2>&5
5541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5542 test $ac_status = 0; }; then :
5543 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5544 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5545 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5546 # so that the user can short-circuit this test for compilers unknown to
5548 for ac_file in $ac_files ''
5550 test -f "$ac_file" || continue
5552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5555 # We found the default executable, but exeext='' is most
5559 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5561 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5563 # We set ac_cv_exeext here because the later test for it is not
5564 # safe: cross compilers may not add the suffix if given an `-o'
5565 # argument, so we may need to know it at that point already.
5566 # Even if this section looks crufty: it has the advantage of
5573 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5578 if test -z "$ac_file"; then :
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5581 $as_echo "$as_me: failed program was:" >&5
5582 sed 's
/^
/|
/' conftest.$ac_ext >&5
5584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5585 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5586 { as_fn_set_status 77
5587 as_fn_error "C compiler cannot create executables
5588 See \`config.log
' for more details." "$LINENO" 5; }; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5591 $as_echo "yes" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5594 $as_echo_n "checking for C compiler default output file name... " >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5596 $as_echo "$ac_file" >&6; }
5597 ac_build_exeext=$ac_cv_build_exeext
5599 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5600 ac_clean_files=$ac_clean_files_save
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5602 $as_echo_n "checking for suffix of executables... " >&6; }
5603 if { { ac_try="$ac_link"
5605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5606 *) ac_try_echo=$ac_try;;
5608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5609 $as_echo "$ac_try_echo"; } >&5
5610 (eval "$ac_link") 2>&5
5612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5613 test $ac_status = 0; }; then :
5614 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5615 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5616 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5618 for ac_file
in conftest.exe conftest conftest.
*; do
5619 test -f "$ac_file" ||
continue
5621 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5622 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5630 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5631 See \`config.log' for more details." "$LINENO" 5; }
5633 rm -f conftest conftest
$ac_cv_build_exeext
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5635 $as_echo "$ac_cv_build_exeext" >&6; }
5637 rm -f conftest.
$ac_ext
5638 BUILD_EXEEXT
=$ac_cv_build_exeext
5639 ac_build_exeext
=$BUILD_EXEEXT
5640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5646 FILE *f = fopen ("conftest.out", "w");
5647 return ferror (f) || fclose (f) != 0;
5653 ac_clean_files
="$ac_clean_files conftest.out"
5654 # Check that the compiler produces executables we can run. If not, either
5655 # the compiler is broken, or we cross compile.
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5657 $as_echo_n "checking whether we are cross compiling... " >&6; }
5658 if test "$cross_compiling" != yes; then
5659 { { ac_try
="$ac_link"
5661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5665 $as_echo "$ac_try_echo"; } >&5
5666 (eval "$ac_link") 2>&5
5668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5669 test $ac_status = 0; }
5670 if { ac_try='./conftest$ac_cv_build_exeext'
5671 { { case "(($ac_try" in
5672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5673 *) ac_try_echo
=$ac_try;;
5675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5676 $as_echo "$ac_try_echo"; } >&5
5677 (eval "$ac_try") 2>&5
5679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5680 test $ac_status = 0; }; }; then
5683 if test "$cross_compiling" = maybe
; then
5686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5688 as_fn_error
"cannot run C compiled programs.
5689 If you meant to cross compile, use \`--host'.
5690 See \`config.log' for more details." "$LINENO" 5; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5695 $as_echo "$cross_compiling" >&6; }
5697 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5698 ac_clean_files
=$ac_clean_files_save
5701 # Restore configuration environment
5702 cross_compiling
=$saved_cross
5705 ac_cpp
='$CPP $CPPFLAGS'
5706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5711 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5713 CFLAGS
="$mule_backup_CFLAGS"
5714 CXXFLAGS
="$mule_backup_CXXFLAGS"
5715 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5716 for ac_prog
in gawk mawk nawk
awk
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy
$ac_prog; ac_word
=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if test "${ac_cv_prog_AWK+set}" = set; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -n "$AWK"; then
5726 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir
=.
5733 for ac_exec_ext
in '' $ac_executable_extensions; do
5734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735 ac_cv_prog_AWK
="$ac_prog"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 if test -n "$AWK"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5748 $as_echo "$AWK" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5755 test -n "$AWK" && break
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5759 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5760 if test "${ac_cv_path_GREP+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5763 if test -z "$GREP"; then
5764 ac_path_GREP_found
=false
5765 # Loop through the user's path and test for each of PROGNAME-LIST
5766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5770 test -z "$as_dir" && as_dir
=.
5771 for ac_prog
in grep ggrep
; do
5772 for ac_exec_ext
in '' $ac_executable_extensions; do
5773 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5774 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5775 # Check for GNU ac_path_GREP and select it if it is found.
5776 # Check for GNU $ac_path_GREP
5777 case `"$ac_path_GREP" --version 2>&1` in
5779 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5782 $as_echo_n 0123456789 >"conftest.in"
5785 cat "conftest.in" "conftest.in" >"conftest.tmp"
5786 mv "conftest.tmp" "conftest.in"
5787 cp "conftest.in" "conftest.nl"
5788 $as_echo 'GREP' >> "conftest.nl"
5789 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5790 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5791 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5792 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5793 # Best one so far, save it but keep looking for a better one
5794 ac_cv_path_GREP
="$ac_path_GREP"
5795 ac_path_GREP_max
=$ac_count
5797 # 10*(2^10) chars as input seems more than enough
5798 test $ac_count -gt 10 && break
5800 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5803 $ac_path_GREP_found && break 3
5808 if test -z "$ac_cv_path_GREP"; then
5809 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5812 ac_cv_path_GREP
=$GREP
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5817 $as_echo "$ac_cv_path_GREP" >&6; }
5818 GREP
="$ac_cv_path_GREP"
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5822 $as_echo_n "checking for egrep... " >&6; }
5823 if test "${ac_cv_path_EGREP+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5826 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5827 then ac_cv_path_EGREP
="$GREP -E"
5829 if test -z "$EGREP"; then
5830 ac_path_EGREP_found
=false
5831 # Loop through the user's path and test for each of PROGNAME-LIST
5832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5836 test -z "$as_dir" && as_dir
=.
5837 for ac_prog
in egrep; do
5838 for ac_exec_ext
in '' $ac_executable_extensions; do
5839 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5840 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5841 # Check for GNU ac_path_EGREP and select it if it is found.
5842 # Check for GNU $ac_path_EGREP
5843 case `"$ac_path_EGREP" --version 2>&1` in
5845 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5848 $as_echo_n 0123456789 >"conftest.in"
5851 cat "conftest.in" "conftest.in" >"conftest.tmp"
5852 mv "conftest.tmp" "conftest.in"
5853 cp "conftest.in" "conftest.nl"
5854 $as_echo 'EGREP' >> "conftest.nl"
5855 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5856 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5857 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5858 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5859 # Best one so far, save it but keep looking for a better one
5860 ac_cv_path_EGREP
="$ac_path_EGREP"
5861 ac_path_EGREP_max
=$ac_count
5863 # 10*(2^10) chars as input seems more than enough
5864 test $ac_count -gt 10 && break
5866 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5869 $ac_path_EGREP_found && break 3
5874 if test -z "$ac_cv_path_EGREP"; then
5875 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5878 ac_cv_path_EGREP
=$EGREP
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5884 $as_echo "$ac_cv_path_EGREP" >&6; }
5885 EGREP
="$ac_cv_path_EGREP"
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5889 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5891 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5892 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5893 $as_echo_n "(cached) " >&6
5895 cat >conftest.
make <<\_ACEOF
5898 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5900 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5901 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5903 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5905 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5909 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5911 $as_echo "yes" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5916 SET_MAKE
="MAKE=${MAKE-make}"
5920 for ac_prog
in flex
lex
5922 # Extract the first word of "$ac_prog", so it can be a program name with args.
5923 set dummy
$ac_prog; ac_word
=$2
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5925 $as_echo_n "checking for $ac_word... " >&6; }
5926 if test "${ac_cv_prog_LEX+set}" = set; then :
5927 $as_echo_n "(cached) " >&6
5929 if test -n "$LEX"; then
5930 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir
=.
5937 for ac_exec_ext
in '' $ac_executable_extensions; do
5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939 ac_cv_prog_LEX
="$ac_prog"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 if test -n "$LEX"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5952 $as_echo "$LEX" >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5959 test -n "$LEX" && break
5961 test -n "$LEX" || LEX
=":"
5963 if test "x$LEX" != "x:"; then
5964 cat >conftest.l
<<_ACEOF
5970 e { yyless (input () != 0); }
5971 f { unput (yytext[0]); }
5972 . { BEGIN INITIAL; }
5974 #ifdef YYTEXT_POINTER
5975 extern char *yytext;
5980 return ! yylex () + ! yywrap ();
5983 { { ac_try
="$LEX conftest.l"
5985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5986 *) ac_try_echo=$ac_try;;
5988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5989 $as_echo "$ac_try_echo"; } >&5
5990 (eval "$LEX conftest.l") 2>&5
5992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5993 test $ac_status = 0; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5995 $as_echo_n "checking lex output file root... " >&6; }
5996 if test "${ac_cv_prog_lex_root+set}" = set; then :
5997 $as_echo_n "(cached) " >&6
6000 if test -f lex.yy.c; then
6001 ac_cv_prog_lex_root=lex.yy
6002 elif test -f lexyy.c; then
6003 ac_cv_prog_lex_root=lexyy
6005 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
6009 $as_echo "$ac_cv_prog_lex_root" >&6; }
6010 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6012 if test -z "${LEXLIB+set}"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
6014 $as_echo_n "checking lex library... " >&6; }
6015 if test "${ac_cv_lib_lex+set}" = set; then :
6016 $as_echo_n "(cached) " >&6
6020 ac_cv_lib_lex='none needed'
6021 for ac_lib in '' -lfl -ll; do
6022 LIBS="$ac_lib $ac_save_LIBS"
6023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6025 `cat $LEX_OUTPUT_ROOT.c
`
6027 if ac_fn_c_try_link "$LINENO"; then :
6028 ac_cv_lib_lex=$ac_lib
6030 rm -f core conftest.err conftest.$ac_objext \
6031 conftest$ac_exeext conftest.$ac_ext
6032 test "$ac_cv_lib_lex" != 'none needed' && break
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
6038 $as_echo "$ac_cv_lib_lex" >&6; }
6039 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
6044 $as_echo_n "checking whether yytext is a pointer... " >&6; }
6045 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
6046 $as_echo_n "(cached) " >&6
6048 # POSIX says lex can declare yytext either as a pointer or an array; the
6049 # default is implementation-dependent. Figure out which it is, since
6050 # not all implementations provide the %pointer and %array declarations.
6051 ac_cv_prog_lex_yytext_pointer=no
6053 LIBS="$LEXLIB $ac_save_LIBS"
6054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6056 #define YYTEXT_POINTER 1
6057 `cat $LEX_OUTPUT_ROOT.c
`
6059 if ac_fn_c_try_link "$LINENO"; then :
6060 ac_cv_prog_lex_yytext_pointer=yes
6062 rm -f core conftest.err conftest.$ac_objext \
6063 conftest$ac_exeext conftest.$ac_ext
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
6068 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
6069 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6071 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
6074 rm -f conftest.l $LEX_OUTPUT_ROOT.c
6078 if test -n "$ac_tool_prefix"; then
6079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6084 $as_echo_n "(cached) " >&6
6086 if test -n "$RANLIB"; then
6087 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 RANLIB=$ac_cv_prog_RANLIB
6107 if test -n "$RANLIB"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6109 $as_echo "$RANLIB" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118 ac_ct_RANLIB=$RANLIB
6119 # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6124 $as_echo_n "(cached) " >&6
6126 if test -n "$ac_ct_RANLIB"; then
6127 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_prog_ac_ct_RANLIB="ranlib"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6149 $as_echo "$ac_ct_RANLIB" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6155 if test "x$ac_ct_RANLIB" = x; then
6158 case $cross_compiling:$ac_tool_warned in
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6164 RANLIB=$ac_ct_RANLIB
6167 RANLIB="$ac_cv_prog_RANLIB"
6170 for ac_prog in 'bison -y' byacc
6172 # Extract the first word of "$ac_prog", so it can be a program name with args.
6173 set dummy $ac_prog; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if test "${ac_cv_prog_YACC+set}" = set; then :
6177 $as_echo_n "(cached) " >&6
6179 if test -n "$YACC"; then
6180 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6189 ac_cv_prog_YACC="$ac_prog"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 YACC=$ac_cv_prog_YACC
6200 if test -n "$YACC"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6202 $as_echo "$YACC" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6209 test -n "$YACC" && break
6211 test -n "$YACC" || YACC="yacc"
6214 if test -n "$ac_tool_prefix"; then
6215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6220 $as_echo_n "(cached) " >&6
6222 if test -n "$RANLIB"; then
6223 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 RANLIB=$ac_cv_prog_RANLIB
6243 if test -n "$RANLIB"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6245 $as_echo "$RANLIB" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6253 if test -z "$ac_cv_prog_RANLIB"; then
6254 ac_ct_RANLIB=$RANLIB
6255 # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6260 $as_echo_n "(cached) " >&6
6262 if test -n "$ac_ct_RANLIB"; then
6263 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272 ac_cv_prog_ac_ct_RANLIB="ranlib"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6283 if test -n "$ac_ct_RANLIB"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6285 $as_echo "$ac_ct_RANLIB" >&6; }
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6291 if test "x$ac_ct_RANLIB" = x; then
6294 case $cross_compiling:$ac_tool_warned in
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6298 ac_tool_warned=yes ;;
6300 RANLIB=$ac_ct_RANLIB
6303 RANLIB="$ac_cv_prog_RANLIB"
6306 if test -n "$ac_tool_prefix"; then
6307 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6308 set dummy ${ac_tool_prefix}strip; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if test "${ac_cv_prog_STRIP+set}" = set; then :
6312 $as_echo_n "(cached) " >&6
6314 if test -n "$STRIP"; then
6315 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 STRIP=$ac_cv_prog_STRIP
6335 if test -n "$STRIP"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6337 $as_echo "$STRIP" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6345 if test -z "$ac_cv_prog_STRIP"; then
6347 # Extract the first word of "strip", so it can be a program name with args.
6348 set dummy strip; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6352 $as_echo_n "(cached) " >&6
6354 if test -n "$ac_ct_STRIP"; then
6355 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364 ac_cv_prog_ac_ct_STRIP="strip"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6375 if test -n "$ac_ct_STRIP"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6377 $as_echo "$ac_ct_STRIP" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6383 if test "x$ac_ct_STRIP" = x; then
6386 case $cross_compiling:$ac_tool_warned in
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6390 ac_tool_warned=yes ;;
6395 STRIP="$ac_cv_prog_STRIP"
6398 if test -n "$ac_tool_prefix"; then
6399 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6400 set dummy ${ac_tool_prefix}ar; ac_word=$2
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6402 $as_echo_n "checking for $ac_word... " >&6; }
6403 if test "${ac_cv_prog_AR+set}" = set; then :
6404 $as_echo_n "(cached) " >&6
6406 if test -n "$AR"; then
6407 ac_cv_prog_AR="$AR" # Let the user override the test.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6416 ac_cv_prog_AR="${ac_tool_prefix}ar"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 if test -n "$AR"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6429 $as_echo "$AR" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6437 if test -z "$ac_cv_prog_AR"; then
6439 # Extract the first word of "ar", so it can be a program name with args.
6440 set dummy ar; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6444 $as_echo_n "(cached) " >&6
6446 if test -n "$ac_ct_AR"; then
6447 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6456 ac_cv_prog_ac_ct_AR="ar"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6467 if test -n "$ac_ct_AR"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6469 $as_echo "$ac_ct_AR" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6475 if test "x$ac_ct_AR" = x; then
6478 case $cross_compiling:$ac_tool_warned in
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6482 ac_tool_warned=yes ;;
6490 if test -n "$ac_tool_prefix"; then
6491 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6492 set dummy ${ac_tool_prefix}ld; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if test "${ac_cv_prog_LD+set}" = set; then :
6496 $as_echo_n "(cached) " >&6
6498 if test -n "$LD"; then
6499 ac_cv_prog_LD="$LD" # Let the user override the test.
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6508 ac_cv_prog_LD="${ac_tool_prefix}ld"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 if test -n "$LD"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6521 $as_echo "$LD" >&6; }
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6529 if test -z "$ac_cv_prog_LD"; then
6531 # Extract the first word of "ld", so it can be a program name with args.
6532 set dummy ld; ac_word=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6536 $as_echo_n "(cached) " >&6
6538 if test -n "$ac_ct_LD"; then
6539 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545 test -z "$as_dir" && as_dir=.
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6548 ac_cv_prog_ac_ct_LD="ld"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6559 if test -n "$ac_ct_LD"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6561 $as_echo "$ac_ct_LD" >&6; }
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6567 if test "x$ac_ct_LD" = x; then
6570 case $cross_compiling:$ac_tool_warned in
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6574 ac_tool_warned=yes ;;
6583 # Check whether --enable-monolithic was given.
6584 if test "${enable_monolithic+set}" = set; then :
6585 enableval=$enable_monolithic;
6588 if test ${enable_monolithic:-yes} = yes; then
6590 MONOLITHIC_FALSE='#'
6597 # Check whether --enable-amule-daemon was given.
6598 if test "${enable_amule_daemon+set}" = set; then :
6599 enableval=$enable_amule_daemon;
6602 if test ${enable_amule_daemon:-no} = yes; then
6604 AMULE_DAEMON_FALSE='#'
6606 AMULE_DAEMON_TRUE='#'
6611 # Check whether --enable-amulecmd was given.
6612 if test "${enable_amulecmd+set}" = set; then :
6613 enableval=$enable_amulecmd;
6616 if test ${enable_amulecmd:-no} = yes; then
6618 COMPILE_CMD_FALSE='#'
6620 COMPILE_CMD_TRUE='#'
6625 # Check whether --enable-webserver was given.
6626 if test "${enable_webserver+set}" = set; then :
6627 enableval=$enable_webserver;
6630 if test ${enable_webserver:-no} = yes; then
6639 # Check whether --enable-amule-gui was given.
6640 if test "${enable_amule_gui+set}" = set; then :
6641 enableval=$enable_amule_gui;
6644 if test ${enable_amule_gui:-no} = yes; then
6653 # Check whether --enable-cas was given.
6654 if test "${enable_cas+set}" = set; then :
6655 enableval=$enable_cas;
6658 if test ${enable_cas:-no} = yes; then
6667 # Check whether --enable-wxcas was given.
6668 if test "${enable_wxcas+set}" = set; then :
6669 enableval=$enable_wxcas;
6672 if test ${enable_wxcas:-no} = yes; then
6681 # Check whether --enable-ed2k was given.
6682 if test "${enable_ed2k+set}" = set; then :
6683 enableval=$enable_ed2k;
6686 if test ${enable_ed2k:-yes} = yes; then
6695 # Check whether --enable-alc was given.
6696 if test "${enable_alc+set}" = set; then :
6697 enableval=$enable_alc;
6700 if test ${enable_alc:-no} = yes; then
6709 # Check whether --enable-alcc was given.
6710 if test "${enable_alcc+set}" = set; then :
6711 enableval=$enable_alcc;
6714 if test ${enable_alcc:-no} = yes; then
6723 # Check whether --enable-xas was given.
6724 if test "${enable_xas+set}" = set; then :
6725 enableval=$enable_xas;
6728 if test ${enable_xas:-no} = yes; then
6737 # Check whether --enable-fileview was given.
6738 if test "${enable_fileview+set}" = set; then :
6739 enableval=$enable_fileview;
6742 if test ${enable_fileview:-no} = yes; then
6751 # Check whether --enable-plasmamule was given.
6752 if test "${enable_plasmamule+set}" = set; then :
6753 enableval=$enable_plasmamule;
6758 # Run all the tests with static linkage if we want a statically linked binary
6759 # Check whether --enable-static was given.
6760 if test "${enable_static+set}" = set; then :
6761 enableval=$enable_static;
6765 if test ${enable_static:-no} = yes; then :
6766 LDFLAGS="$LDFLAGS -static"
6771 # Check whether --with-kde4-config was given.
6772 if test "${with_kde4_config+set}" = set; then :
6773 withval=$with_kde4_config; KDE4_CONFIG=$withval
6778 # Check whether --enable-kde-in-home was given.
6779 if test "${enable_kde_in_home+set}" = set; then :
6780 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
6788 # Check whether --with-moc was given.
6789 if test "${with_moc+set}" = set; then :
6790 withval=$with_moc; QT_MOC=$withval
6797 # Default is yes, because they're most likely compatible.
6798 # However, this is only used when cross-compiling.
6800 # Check whether --with-gnu-malloc was given.
6801 if test "${with_gnu_malloc+set}" = set; then :
6802 withval=$with_gnu_malloc; gnumalloc=$withval
6809 # Checking for libs before all other stuff to break
6810 # configure as soon as possible in case of a missing one
6811 # to avoid losing too much time
6814 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 :
6817 # Check whether --with-zlib was given.
6818 if test "${with_zlib+set}" = set; then :
6823 case "${with_zlib:-yes}" in
6825 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6830 zlib_prefix="$with_zlib"
6833 mule_backup_CPPFLAGS="$CPPFLAGS"
6834 mule_backup_LDFLAGS="$LDFLAGS"
6835 mule_backup_LIBS="$LIBS"
6836 if test -n "$zlib_prefix"; then :
6838 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
6839 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
6840 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
6841 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
6850 LIBS="$ZLIB_LIBS $LIBS"
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
6853 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
6854 if test "$cross_compiling" = yes; then :
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6869 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
6877 if ac_fn_c_try_link "$LINENO"; then :
6879 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
6880 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
6881 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
6882 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
6883 if test "$cross_zver_max" -gt "1"; then
6885 elif test "$cross_zver_max" -eq "1"; then
6887 if test "$cross_zver_mid" -gt "1"; then
6889 elif test "$cross_zver_mid" -eq "1"; then
6890 if test "$cross_zver_min" -ge "4"; then
6899 if test ${result:-no} = yes; then :
6900 z_version=" (version $ZLIB_VERSION)"
6904 rm -f core conftest.err conftest.$ac_objext \
6905 conftest$ac_exeext conftest.$ac_ext
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6907 $as_echo "$result$z_version" >&6; }
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6920 char *zver = zlibVersion();
6921 FILE *f=fopen("conftestval", "w");
6928 zver[4] >= '4'))) ? "yes" : "no");
6930 f=fopen("conftestver", "w");
6932 fprintf(f, "%s", ZLIB_VERSION);
6941 if ac_fn_c_try_run "$LINENO"; then :
6943 if test -f conftestval; then :
6944 result=`cat conftestval
`
6948 if test ${result:-no} = yes; then :
6950 if test -f conftestver; then :
6952 ZLIB_VERSION=`cat conftestver
`
6953 z_version=" (version $ZLIB_VERSION)"
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6961 $as_echo "$result$z_version" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6967 $as_echo "$result" >&6; }
6970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6971 conftest.$ac_objext conftest.beam conftest.$ac_ext
6975 CPPFLAGS="$mule_backup_CPPFLAGS"
6976 LDFLAGS="$mule_backup_LDFLAGS"
6977 LIBS="$mule_backup_LIBS"
6979 if test ${result:-no} = no; then :
6984 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6993 $as_echo_n "checking for ANSI C header files... " >&6; }
6994 if test "${ac_cv_header_stdc+set}" = set; then :
6995 $as_echo_n "(cached) " >&6
6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
7012 if ac_fn_c_try_compile "$LINENO"; then :
7013 ac_cv_header_stdc=yes
7015 ac_cv_header_stdc=no
7017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7019 if test $ac_cv_header_stdc = yes; then
7020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7027 $EGREP "memchr" >/dev/null 2>&1; then :
7030 ac_cv_header_stdc=no
7036 if test $ac_cv_header_stdc = yes; then
7037 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7039 /* end confdefs.h. */
7043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7044 $EGREP "free" >/dev/null 2>&1; then :
7047 ac_cv_header_stdc=no
7053 if test $ac_cv_header_stdc = yes; then
7054 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7055 if test "$cross_compiling" = yes; then :
7058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7059 /* end confdefs.h. */
7062 #if ((' ' & 0x0FF) == 0x020)
7063 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7064 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7066 # define ISLOWER(c) \
7067 (('a' <= (c) && (c) <= 'i') \
7068 || ('j' <= (c) && (c) <= 'r') \
7069 || ('s' <= (c) && (c) <= 'z'))
7070 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7073 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7078 for (i = 0; i < 256; i++)
7079 if (XOR (islower (i), ISLOWER (i))
7080 || toupper (i) != TOUPPER (i))
7085 if ac_fn_c_try_run "$LINENO"; then :
7088 ac_cv_header_stdc=no
7090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7091 conftest.$ac_objext conftest.beam conftest.$ac_ext
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7097 $as_echo "$ac_cv_header_stdc" >&6; }
7098 if test $ac_cv_header_stdc = yes; then
7100 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7104 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7106 inttypes.h stdint.h unistd.h
7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7111 eval as_val=\$$as_ac_Header
7112 if test "x$as_val" = x""yes; then :
7113 cat >>confdefs.h <<_ACEOF
7114 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7122 if test ${enable_cas:-no} = yes; then :
7127 # Check whether --with-gdlib-prefix was given.
7128 if test "${with_gdlib_prefix+set}" = set; then :
7129 withval=$with_gdlib_prefix;
7133 # Check whether --with-gdlib-config was given.
7134 if test "${with_gdlib_config+set}" = set; then :
7135 withval=$with_gdlib_config;
7141 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7142 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7143 GDLIB_CONFIG_NAME=gdlib-config
7145 if test -n "$with_gdlib_config"; then :
7146 GDLIB_CONFIG_NAME="$with_gdlib_config"
7149 # deal with optional prefix
7150 if test -n "$with_gdlib_prefix"; then :
7151 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7154 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7155 if test -x "$GDLIB_CONFIG_NAME"; then :
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7158 $as_echo_n "checking for gdlib-config... " >&6; }
7159 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7161 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7164 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7165 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7169 $as_echo_n "(cached) " >&6
7171 case $GDLIB_CONFIG_PATH in
7173 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7178 for as_dir in $as_dummy
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7196 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7197 if test -n "$GDLIB_CONFIG_PATH"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7199 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7208 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7211 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7212 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7214 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7215 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7216 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7217 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7220 if test $gdlib_config_major_version -gt 2; then
7222 elif test $gdlib_config_major_version -eq 2; then
7224 if test $gdlib_config_minor_version -gt 0; then
7226 elif test $gdlib_config_minor_version -eq 0; then
7227 if test $gdlib_config_micro_version -ge 0; then
7237 if test -z "$gdlib_ver_ok"; then :
7239 if test -z "$GDLIB_VERSION"; then :
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7245 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7253 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7254 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7255 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7256 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7257 mule_backup_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7259 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7260 if test "x$ac_cv_header_gd_h" = x""yes; then :
7267 CFLAGS="$mule_backup_CFLAGS"
7273 if test -n "$GDLIB_VERSION"; then :
7276 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7284 if test -z "$CAS_DEFS"; then :
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7286 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7287 Please check that gdlib-config is in your default path, check out
7288 LD_LIBRARY_PATH or equivalent variable.
7289 Or this might also be that your gdlib-config has other name.
7290 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7291 (replace /usr/bin/gdlib-config with a valid path to your
7293 If you use compiled packages check if you have devel pack installed.
7294 To download the latest version check http://www.boutell.com/gd for
7296 $as_echo "$as_me: WARNING:
7297 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7298 Please check that gdlib-config is in your default path, check out
7299 LD_LIBRARY_PATH or equivalent variable.
7300 Or this might also be that your gdlib-config has other name.
7301 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7302 (replace /usr/bin/gdlib-config with a valid path to your
7304 If you use compiled packages check if you have devel pack installed.
7305 To download the latest version check http://www.boutell.com/gd for
7308 _mule_has_warnings=yes
7314 if test ${enable_webserver:-no} = yes; then :
7317 # Check whether --with-libpng-prefix was given.
7318 if test "${with_libpng_prefix+set}" = set; then :
7319 withval=$with_libpng_prefix;
7323 # Check whether --with-libpng-config was given.
7324 if test "${with_libpng_config+set}" = set; then :
7325 withval=$with_libpng_config;
7331 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7332 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7333 LIBPNG_CONFIG_NAME=libpng-config
7335 if test -n "$with_libpng_config"; then :
7336 LIBPNG_CONFIG_NAME="$with_libpng_config"
7339 # deal with optional prefix
7340 if test -n "$with_libpng_prefix"; then :
7341 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7344 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7345 if test -x "$LIBPNG_CONFIG_NAME"; then :
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7348 $as_echo_n "checking for libpng-config... " >&6; }
7349 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7351 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7354 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7355 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 $as_echo_n "checking for $ac_word... " >&6; }
7358 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7359 $as_echo_n "(cached) " >&6
7361 case $LIBPNG_CONFIG_PATH in
7363 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7368 for as_dir in $as_dummy
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7386 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7387 if test -n "$LIBPNG_CONFIG_PATH"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7389 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7398 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7401 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7403 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7405 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7406 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7407 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7408 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7411 if test $libpng_config_major_version -gt 1; then
7413 elif test $libpng_config_major_version -eq 1; then
7415 if test $libpng_config_minor_version -gt 2; then
7417 elif test $libpng_config_minor_version -eq 2; then
7418 if test $libpng_config_micro_version -ge 0; then
7428 if test -z "$libpng_ver_ok"; then :
7430 if test -z "$LIBPNG_VERSION"; then :
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7436 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7443 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7444 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7445 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7447 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libpng is usable" >&5
7450 $as_echo_n "checking if libpng is usable... " >&6; }
7452 SAVED_CFLAGS=$CFLAGS
7453 SAVED_LDFLAGS=$LDFLAGS
7456 CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
7457 LDFLAGS="$LDFLAGS $LIBPNG_LDFLAGS"
7458 LIBS="$LIBS $LIBPNG_LIBS"
7460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7471 png_uint_32 libpng_vn = png_access_version_number();
7472 printf("\nlibpng version %i\n\n", libpng_vn);
7479 if ac_fn_c_try_link "$LINENO"; then :
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7482 $as_echo "yes" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (failed to compile and link test program)" >&5
7487 $as_echo "no (failed to compile and link test program)" >&6; }
7494 rm -f core conftest.err conftest.$ac_objext \
7495 conftest$ac_exeext conftest.$ac_ext
7497 CFLAGS=$SAVED_CFLAGS
7498 LDFLAGS=$SAVED_LDFLAGS
7505 if test -n "$LIBPNG_VERSION"; then :
7506 AMULEWEB_DEFS="-DWITH_LIBPNG"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7510 libpng >= 1.2.0 not found.
7511 amuleweb will be compiled but file download progress bar images will
7512 NOT be generated." >&5
7513 $as_echo "$as_me: WARNING:
7514 libpng >= 1.2.0 not found.
7515 amuleweb will be compiled but file download progress bar images will
7516 NOT be generated." >&2;}
7518 _mule_has_warnings=yes
7528 # Check for perl File::Copy
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
7530 $as_echo_n "checking for File::Copy... " >&6; }
7531 if perl -e "require File::Copy" 2>/dev/null; then :
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7533 $as_echo "ok" >&6; }
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7536 File::Copy perl module is required by the mldonkey_importer script.
7537 If you want to use this script please install File::Copy from CPAN." >&5
7538 $as_echo "$as_me: WARNING:
7539 File::Copy perl module is required by the mldonkey_importer script.
7540 If you want to use this script please install File::Copy from CPAN." >&2;}
7542 _mule_has_warnings=yes
7546 # Check for GeoIP (required for IP2Country capability)
7547 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7549 # Check whether --enable-geoip was given.
7550 if test "${enable_geoip+set}" = set; then :
7551 enableval=$enable_geoip;
7556 if test ${enable_geoip:-no} = yes; then :
7559 # Check whether --with-geoip-headers was given.
7560 if test "${with_geoip_headers+set}" = set; then :
7561 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
7565 # Check whether --with-geoip-lib was given.
7566 if test "${with_geoip_lib+set}" = set; then :
7567 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
7571 mule_backup_CPPFLAGS="$CPPFLAGS"
7572 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
7573 mule_backup_LDFLAGS="$LDFLAGS"
7574 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
7576 ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
7577 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
7579 if test x$SYS = xwin32; then :
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
7582 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
7583 # Actually, we might not need any if GeoIP is linked as a .dll
7584 # - but that's even harder to check for
7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7591 I do know it's not the best approach, but at least works with MinGW stock headers.
7592 (tested with w32api-3.12)
7604 if ac_fn_c_try_compile "$LINENO"; then :
7606 GEOIP_WINSOCK_LIB="-lwsock32"
7610 GEOIP_WINSOCK_LIB="-lws2_32"
7613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
7615 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
7619 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
7620 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
7621 $as_echo_n "(cached) " >&6
7623 ac_check_lib_save_LIBS=$LIBS
7624 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626 /* end confdefs.h. */
7628 /* Override any GCC internal prototype to avoid an error.
7629 Use char because int might match the return type of a GCC
7630 builtin and then its argument prototype would still apply. */
7638 return GeoIP_open ();
7643 if ac_fn_c_try_link "$LINENO"; then :
7644 ac_cv_lib_GeoIP_GeoIP_open=yes
7646 ac_cv_lib_GeoIP_GeoIP_open=no
7648 rm -f core conftest.err conftest.$ac_objext \
7649 conftest$ac_exeext conftest.$ac_ext
7650 LIBS=$ac_check_lib_save_LIBS
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7653 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
7654 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
7657 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
7659 GEOIP_LIBS="-lGeoIP"
7660 if test x$SYS = xwin32; then :
7661 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7663 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7665 # Check whether --with-geoip-static was given.
7666 if test "${with_geoip_static+set}" = set; then :
7667 withval=$with_geoip_static;
7668 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
7670 mule_backup_LIBS="$LIBS"
7671 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7682 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7689 if ac_fn_c_try_link "$LINENO"; then :
7691 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7696 Cannot link GeoIP statically, because your linker ($LD) does not
7698 $as_echo "$as_me: WARNING:
7699 Cannot link GeoIP statically, because your linker ($LD) does not
7702 _mule_has_warnings=yes
7706 rm -f core conftest.err conftest.$ac_objext \
7707 conftest$ac_exeext conftest.$ac_ext
7708 LIBS="$mule_backup_LIBS"
7717 enable_geoip=disabled
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7719 GeoIP support has been disabled because the GeoIP libraries were not
7721 $as_echo "$as_me: WARNING:
7722 GeoIP support has been disabled because the GeoIP libraries were not
7725 _mule_has_warnings=yes
7733 enable_geoip=disabled
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7735 GeoIP support has been disabled because the GeoIP header files were
7737 $as_echo "$as_me: WARNING:
7738 GeoIP support has been disabled because the GeoIP header files were
7741 _mule_has_warnings=yes
7748 CPPFLAGS="$mule_backup_CPPFLAGS"
7749 LDFLAGS="$mule_backup_LDFLAGS"
7756 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 :
7759 # Check whether --with-wxdir was given.
7760 if test "${with_wxdir+set}" = set; then :
7761 withval=$with_wxdir; wx_config_name="$withval/wx-config"
7762 wx_config_args="--inplace"
7766 # Check whether --with-wx-config was given.
7767 if test "${with_wx_config+set}" = set; then :
7768 withval=$with_wx_config; wx_config_name="$withval"
7772 # Check whether --with-wx-prefix was given.
7773 if test "${with_wx_prefix+set}" = set; then :
7774 withval=$with_wx_prefix; wx_config_prefix="$withval"
7780 # Check whether --with-wx-exec-prefix was given.
7781 if test "${with_wx_exec_prefix+set}" = set; then :
7782 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
7784 wx_config_exec_prefix=""
7799 # Check whether --with-toolkit was given.
7800 if test "${with_toolkit+set}" = set; then :
7801 withval=$with_toolkit;
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
7808 $as_echo_n "checking for the --with-toolkit option... " >&6; }
7809 if test "$withval" = "auto" ; then
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7811 $as_echo "will be automatically detected" >&6; }
7816 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7817 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7818 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7819 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7820 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7821 "$TOOLKIT" != "osx_cocoa"; then
7823 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
7828 $as_echo "$TOOLKIT" >&6; }
7835 # Check whether --with-wxshared was given.
7836 if test "${with_wxshared+set}" = set; then :
7837 withval=$with_wxshared;
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
7844 $as_echo_n "checking for the --with-wxshared option... " >&6; }
7845 if test "$withval" = "yes" ; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7847 $as_echo "yes" >&6; }
7850 elif test "1" = "1" -a "$withval" = "no" ; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7854 elif test "$withval" = "auto" ; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7856 $as_echo "will be automatically detected" >&6; }
7860 Unrecognized option value (allowed values: yes, auto)
7868 # Check whether --with-wxdebug was given.
7869 if test "${with_wxdebug+set}" = set; then :
7870 withval=$with_wxdebug;
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
7877 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
7878 if test "$withval" = "yes" ; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7880 $as_echo "yes" >&6; }
7883 elif test "1" = "1" -a "$withval" = "no" ; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7887 elif test "$withval" = "auto" ; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7889 $as_echo "will be automatically detected" >&6; }
7893 Unrecognized option value (allowed values: yes, auto)
7901 # Check whether --with-wxversion was given.
7902 if test "${with_wxversion+set}" = set; then :
7903 withval=$with_wxversion;
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
7910 $as_echo_n "checking for the --with-wxversion option... " >&6; }
7911 if test "$withval" = "auto" ; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7913 $as_echo "will be automatically detected" >&6; }
7917 wx_requested_major_version=`echo $withval | \
7918 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7919 wx_requested_minor_version=`echo $withval | \
7920 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7922 if test "${#wx_requested_major_version}" != "1" -o \
7923 "${#wx_requested_minor_version}" != "1" ; then
7925 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7929 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
7931 $as_echo "$WX_VERSION" >&6; }
7935 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7936 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7937 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7938 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7939 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7940 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7943 # Force using a static wxWidgets library if the executable is to be linked statically.
7944 if test ${enable_static:-no} = yes; then :
7947 # Force using a unicode build of the library
7948 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 :
7953 if test "$WX_SHARED" = "1" ; then
7954 WXCONFIG_FLAGS="--static=no "
7955 elif test "$WX_SHARED" = "0" ; then
7956 WXCONFIG_FLAGS="--static=yes "
7959 if test "$WX_DEBUG" = "1" ; then
7960 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
7961 elif test "$WX_DEBUG" = "0" ; then
7962 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
7965 if test "$WX_UNICODE" = "1" ; then
7966 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
7967 elif test "$WX_UNICODE" = "0" ; then
7968 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
7971 if test "$TOOLKIT" != "auto" ; then
7972 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7975 if test "$WX_VERSION" != "auto" ; then
7976 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7979 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
7981 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7982 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7986 if test x${WX_CONFIG_NAME+set} != xset ; then
7987 WX_CONFIG_NAME=wx-config
7990 if test "x$wx_config_name" != x ; then
7991 WX_CONFIG_NAME="$wx_config_name"
7994 if test x$wx_config_exec_prefix != x ; then
7995 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7996 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
7998 if test x$wx_config_prefix != x ; then
7999 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
8000 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
8002 if test "$cross_compiling" = "yes"; then
8003 wx_config_args="$wx_config_args --host=$host_alias"
8006 if test -x "$WX_CONFIG_NAME" ; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
8008 $as_echo_n "checking for wx-config... " >&6; }
8009 WX_CONFIG_PATH="$WX_CONFIG_NAME"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8011 $as_echo "$WX_CONFIG_PATH" >&6; }
8013 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
8014 set dummy $WX_CONFIG_NAME; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
8018 $as_echo_n "(cached) " >&6
8020 case $WX_CONFIG_PATH in
8022 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 as_dummy=""$WX_LOOKUP_PATH:$PATH""
8027 for as_dir in $as_dummy
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
8045 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
8046 if test -n "$WX_CONFIG_PATH"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8048 $as_echo "$WX_CONFIG_PATH" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
8057 if test "$WX_CONFIG_PATH" != "no" ; then
8060 min_wx_version=2.8.12
8061 if test -z "$WXCONFIG_FLAGS" ; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
8063 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
8066 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
8069 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
8071 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
8072 wx_config_major_version=`echo $WX_VERSION_FULL | \
8073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8074 wx_config_minor_version=`echo $WX_VERSION_FULL | \
8075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8076 wx_config_micro_version=`echo $WX_VERSION_FULL | \
8077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8079 wx_requested_major_version=`echo $min_wx_version | \
8080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8081 wx_requested_minor_version=`echo $min_wx_version | \
8082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8083 wx_requested_micro_version=`echo $min_wx_version | \
8084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8088 if test "x$WX_VERSION_FULL" != x ; then
8089 if test $wx_config_major_version -gt $wx_requested_major_version; then
8092 if test $wx_config_major_version -eq $wx_requested_major_version; then
8093 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
8096 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
8097 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
8107 if test -n "$wx_ver_ok"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
8110 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
8111 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
8113 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
8115 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
8116 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
8117 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
8119 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
8120 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
8126 if test "x$WX_VERSION_FULL" = x; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
8131 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
8140 if test ! -z "$WXCONFIG_FLAGS"; then
8143 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8144 build with the following settings:
8146 but such build is not available.
8148 To see the wxWidgets builds available on this system, please use
8149 'wx-config --list' command. To use the default build, returned by
8150 'wx-config --selected-config', use the options with their 'auto'
8156 The requested wxWidgets build couldn't be found.
8159 If you still get this error, then check that 'wx-config' is
8160 in path, the directory where wxWidgets libraries are installed
8161 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8162 or equivalent variable and wxWidgets version is 2.8.12 or above."
8164 as_fn_error "$wx_error_message" "$LINENO" 5
8188 WX_VERSION_MAJOR="$wx_config_major_version"
8189 WX_VERSION_MINOR="$wx_config_minor_version"
8193 if test "$wxWin" != 1; then :
8195 wxWidgets must be installed on your system but wx-config
8196 script couldn't be found. Please check that wx-config is
8197 in path or specified by --with-wx-config=path flag, the
8198 directory where wxWidgets libraries are installed (returned
8199 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8200 equivalent variable and wxWidgets version is 2.8.12 or above.
8204 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8206 This version of wxWidgets is known to not work with aMule.
8207 Please upgrade to a newer version.
8212 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8214 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8216 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8217 echo "[dbg] Using wx-config --selected-config"
8218 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8222 if test $WX_SHARED = "1"; then
8224 elif test $WX_SHARED = "0"; then
8226 elif test $WX_SHARED = "auto"; then
8231 if test "$UNICODE" = "auto" ; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8234 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8236 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8238 if test "$WX_UNICODE" != "0"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8241 $as_echo "yes" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8255 if test "$DEBUG" = "auto" ; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8258 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8260 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8262 if test "$WX_DEBUG" != "0"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8265 $as_echo "yes" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8279 if test "$STATIC" = "auto" ; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8282 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8284 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8286 if test "$WX_STATIC" != "0"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8289 $as_echo "yes" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8303 if test "$WX_STATIC" != "0"; then
8313 if test "$TOOLKIT" = "auto" ; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8316 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8318 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8319 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8320 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8321 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8322 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8323 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8324 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8325 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8326 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8327 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8328 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8331 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8332 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8333 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8334 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8335 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8336 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8337 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8338 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8339 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8340 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8341 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8344 if test "$WX_PORT" = "unknown" ; then
8346 Cannot detect the currently installed wxWidgets port !
8347 Please check your 'wx-config --cxxflags'...
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8352 $as_echo "$WX_PORT" >&6; }
8355 if test -n "$TOOLKIT" ; then
8364 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8365 echo "[dbg] Values of all WX_* options after final detection:"
8366 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8367 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8368 echo "[dbg] WX_SHARED: $WX_SHARED"
8369 echo "[dbg] WX_VERSION: $WX_VERSION"
8370 echo "[dbg] WX_PORT: $WX_PORT"
8373 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8375 Cannot build shared library against a static build of wxWidgets !
8376 This error happens because the wxWidgets build which was selected
8377 has been detected as static while you asked to build $PACKAGE_NAME
8378 as shared library and this is not possible.
8379 Use the '--disable-shared' option to build $PACKAGE_NAME
8380 as static library or '--with-wxshared' to use wxWidgets as shared library.
8384 if test "$DEBUG" = "auto"; then
8387 if test "$DEBUG" = "1"; then
8389 elif test "$DEBUG" = ""; then
8393 if test "$UNICODE" = "auto"; then
8396 if test "$SHARED" = "auto"; then
8399 if test "$TOOLKIT" = "auto"; then
8404 # We also need wxBase
8405 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8406 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8407 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8409 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8413 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8414 if test "${WX_PORT}" = base; then :
8416 The selected components need a wxWidgets library with GUI,
8417 but your installation is base-only. Please install a GUI
8418 enabled version of wxWidgets and then retry.
8424 if test ${SYS:-unknown} = win32; then :
8425 if test -n "$ac_tool_prefix"; then
8426 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8427 set dummy ${ac_tool_prefix}windres; 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_prog_RC+set}" = set; then :
8431 $as_echo_n "(cached) " >&6
8433 if test -n "$RC"; then
8434 ac_cv_prog_RC="$RC" # Let the user override the test.
8436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440 test -z "$as_dir" && as_dir=.
8441 for ac_exec_ext in '' $ac_executable_extensions; do
8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443 ac_cv_prog_RC="${ac_tool_prefix}windres"
8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8454 if test -n "$RC"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8456 $as_echo "$RC" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8464 if test -z "$ac_cv_prog_RC"; then
8466 # Extract the first word of "windres", so it can be a program name with args.
8467 set dummy windres; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8471 $as_echo_n "(cached) " >&6
8473 if test -n "$ac_ct_RC"; then
8474 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8483 ac_cv_prog_ac_ct_RC="windres"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493 ac_ct_RC=$ac_cv_prog_ac_ct_RC
8494 if test -n "$ac_ct_RC"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
8496 $as_echo "$ac_ct_RC" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8502 if test "x$ac_ct_RC" = x; then
8505 case $cross_compiling:$ac_tool_warned in
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8509 ac_tool_warned=yes ;;
8521 # Check whether --enable-upnp was given.
8522 if test "${enable_upnp+set}" = set; then :
8523 enableval=$enable_upnp;
8527 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
8534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8535 if test -n "$ac_tool_prefix"; then
8536 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8539 $as_echo_n "checking for $ac_word... " >&6; }
8540 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8541 $as_echo_n "(cached) " >&6
8545 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir=.
8553 for ac_exec_ext in '' $ac_executable_extensions; do
8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8567 if test -n "$PKG_CONFIG"; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8569 $as_echo "$PKG_CONFIG" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 $as_echo "no" >&6; }
8577 if test -z "$ac_cv_path_PKG_CONFIG"; then
8578 ac_pt_PKG_CONFIG=$PKG_CONFIG
8579 # Extract the first word of "pkg-config", so it can be a program name with args.
8580 set dummy pkg-config; ac_word=$2
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8582 $as_echo_n "checking for $ac_word... " >&6; }
8583 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8584 $as_echo_n "(cached) " >&6
8586 case $ac_pt_PKG_CONFIG in
8588 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8610 if test -n "$ac_pt_PKG_CONFIG"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8612 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8615 $as_echo "no" >&6; }
8618 if test "x$ac_pt_PKG_CONFIG" = x; then
8621 case $cross_compiling:$ac_tool_warned in
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8625 ac_tool_warned=yes ;;
8627 PKG_CONFIG=$ac_pt_PKG_CONFIG
8630 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8634 if test -n "$PKG_CONFIG"; then
8635 _pkg_min_version=0.9.0
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8637 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8638 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8640 $as_echo "yes" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8648 if test ${enable_upnp:-yes} = yes; then :
8652 # Check whether --with-libupnp-prefix was given.
8653 if test "${with_libupnp_prefix+set}" = set; then :
8654 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
8658 if test $cross_compiling = no; then :
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
8661 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
8662 if test -n "$PKG_CONFIG"; then :
8664 if $PKG_CONFIG libupnp --exists; then :
8666 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
8667 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
8670 resultstr=" (version $LIBUPNP_VERSION)"
8671 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
8672 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
8673 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
8674 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
8675 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
8680 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
8687 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
8694 resultstr=" (pkg-config not found)"
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8698 $as_echo "$result$resultstr" >&6; }
8699 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
8704 libupnp_error="cross compiling"
8708 if test ${result:-no} = yes; then :
8709 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8711 enable_upnp=disabled
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8713 UPnP code has been disabled because ${libupnp_error}." >&5
8714 $as_echo "$as_me: WARNING:
8715 UPnP code has been disabled because ${libupnp_error}." >&2;}
8717 _mule_has_warnings=yes
8726 # Check for Crypto++
8727 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8730 # Check whether --with-crypto-prefix was given.
8731 if test "${with_crypto_prefix+set}" = set; then :
8732 withval=$with_crypto_prefix;
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
8737 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
8739 cryptopp_file_with_version="cryptlib.h"
8741 CRYPTOPP_STYLE="unknown"
8742 CRYPTOPP_LIB_NAME="unknown"
8743 cryptopp_includedir="unknown"
8744 CRYPTOPP_INCLUDE_PREFIX="unknown"
8745 cryptopp_libdir="unknown"
8747 if test -n "$with_crypto_prefix"; then :
8749 CRYPTOPP_PREFIX="$with_crypto_prefix"
8750 # Find the Cryptopp header in the user-provided location
8751 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8753 CRYPTOPP_STYLE="sources"
8754 CRYPTOPP_LIB_NAME="cryptopp"
8755 cryptopp_includedir=
8756 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8759 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8761 CRYPTOPP_STYLE="installed"
8762 CRYPTOPP_LIB_NAME="cryptopp"
8763 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8764 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8765 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8767 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8769 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8770 CRYPTOPP_STYLE="gentoo_debian"
8771 CRYPTOPP_LIB_NAME="crypto++"
8772 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8773 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8774 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8781 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
8782 # Find the Cryptopp header in system locations
8783 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8785 CRYPTOPP_STYLE="sources"
8786 CRYPTOPP_LIB_NAME="cryptopp"
8787 cryptopp_includedir=
8788 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8792 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8794 CRYPTOPP_STYLE="installed"
8795 CRYPTOPP_LIB_NAME="cryptopp"
8796 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8797 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8798 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8801 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8803 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8804 CRYPTOPP_STYLE="gentoo_debian"
8805 CRYPTOPP_LIB_NAME="crypto++"
8806 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8807 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8808 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8817 if test $CRYPTOPP_STYLE = "unknown"; then :
8818 result=no; resultstr=""
8821 # Find out the crypto++ version and check against the minimum required
8822 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8823 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8824 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8825 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8827 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
8830 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8831 if test -n "$cryptopp_includedir"; then :
8832 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
8836 if test -n "$cryptopp_libdir"; then :
8838 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
8839 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
8844 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8848 cat >>confdefs.h <<_ACEOF
8849 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8856 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8863 $as_echo "$result$resultstr" >&6; }
8865 if test ${result:-no} = yes; then :
8867 # Check for CryptoPP >= 5.5
8868 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
8869 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8875 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8876 Please try again with --with-crypto-prefix=/my_crypto_prefix
8877 (replace /my_crypto_prefix with a valid path to your crypto++
8878 installation directory)." "$LINENO" 5
8886 # Check whether --enable-debug was given.
8887 if test "${enable_debug+set}" = set; then :
8888 enableval=$enable_debug;
8892 # Check whether --enable-profile was given.
8893 if test "${enable_profile+set}" = set; then :
8894 enableval=$enable_profile;
8898 # Check whether --enable-optimize was given.
8899 if test "${enable_optimize+set}" = set; then :
8900 enableval=$enable_optimize;
8905 if test ${enable_debug:-yes} = yes; then :
8907 MULECPPFLAGS="$MULECPPFLAGS -D__DEBUG__"
8909 MULECFLAGS="$MULECFLAGS -g"
8910 MULECXXFLAGS="$MULECXXFLAGS -g"
8912 if test ${GCC:-no} = yes; then :
8914 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
8915 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
8918 if test ${SYS:-unknown} = win32; then :
8919 MULERCFLAGS="$MULERCFLAGS -D__DEBUG__"
8924 if test ${GCC:-no} = yes; then :
8926 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef"
8927 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
8933 if test ${enable_profile:-no} = yes; then :
8936 MULECFLAGS="$MULECFLAGS -pg"
8937 MULECXXFLAGS="$MULECXXFLAGS -pg"
8939 MULELDFLAGS="$MULELDFLAGS -pg"
8943 if test ${enable_optimize:-no} = yes; then :
8945 MULECFLAGS="$MULECFLAGS -O2"
8946 MULECXXFLAGS="$MULECXXFLAGS -O2"
8950 MULECPPFLAGS="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
8955 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 :
8957 ac_cpp='$CXXCPP $CPPFLAGS'
8958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8965 if test ${GCC:-no} = yes; then :
8967 mule_backup_CXXFLAGS="$CXXFLAGS"
8968 CXXFLAGS="$CXXFLAGS $MULECPPFLAGS $MULECFLAGS $MULECXXFLAGS -Werror"
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX) uses strict aliasing" >&5
8971 $as_echo_n "checking whether the C++ compiler ($CXX) uses strict aliasing... " >&6; }
8972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8973 /* end confdefs.h. */
8981 short *b = (short*)&a;
8991 if ac_fn_cxx_try_compile "$LINENO"; then :
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 $as_echo "no" >&6; }
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8999 $as_echo "yes" >&6; }
9000 $as_echo "#define GCC_USES_STRICT_ALIASING 1" >>confdefs.h
9004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9006 CXXFLAGS="$mule_backup_CXXFLAGS"
9010 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
9012 mule_backup_CPPFLAGS="$CPPFLAGS"
9013 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
9016 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9022 #include <wx/filefn.h>
9023 #ifndef wxHAS_LARGE_FILES
9024 #error No LargeFile support!
9029 if ac_fn_cxx_try_cpp "$LINENO"; then :
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9032 $as_echo "yes" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9039 Support for large files in wxWidgets is required by aMule.
9040 To continue you must recompile wxWidgets with support for
9041 large files enabled." "$LINENO" 5
9044 rm -f conftest.err conftest.$ac_ext
9046 CPPFLAGS="$mule_backup_CPPFLAGS"
9050 # Check if the compiler is broken, wrt. exceptions.
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
9053 $as_echo_n "checking for exception-handling... " >&6; }
9054 if test "$cross_compiling" = yes; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
9057 $as_echo "undeterminable" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9059 Cross-compilation detected, so exception handling cannot be tested.
9060 Note that broken exception handling in your compiler may lead to
9061 unexpected crashes." >&5
9062 $as_echo "$as_me: WARNING:
9063 Cross-compilation detected, so exception handling cannot be tested.
9064 Note that broken exception handling in your compiler may lead to
9065 unexpected crashes." >&2;}
9067 _mule_has_warnings=yes
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9091 if ac_fn_cxx_try_run "$LINENO"; then :
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9094 $as_echo "yes" >&6; }
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9099 $as_echo "no" >&6; }
9100 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
9103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9104 conftest.$ac_objext conftest.beam conftest.$ac_ext
9110 for ac_header in typeinfo
9112 ac_fn_cxx_check_header_mongrel "$LINENO" "typeinfo" "ac_cv_header_typeinfo" "$ac_includes_default"
9113 if test "x$ac_cv_header_typeinfo" = x""yes; then :
9114 cat >>confdefs.h <<_ACEOF
9115 #define HAVE_TYPEINFO 1
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
9123 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
9124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9128 #ifdef HAVE_TYPEINFO
9129 # include <typeinfo>
9138 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
9139 std::type_info *ti = abi::__cxa_current_exception_type();
9146 if ac_fn_cxx_try_link "$LINENO"; then :
9149 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9152 $as_echo "yes" >&6; }
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9157 $as_echo "no" >&6; }
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9164 ac_cpp='$CPP $CPPFLAGS'
9165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9172 # Ok, we have all needed libs, now checking for other stuff
9173 if test "$LEX" = "flex"; then :
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
9176 $as_echo_n "checking for extended flex capabilities... " >&6; }
9178 extended_flex=`flex
--help |
grep header-file
`
9179 if test -n "$extended_flex"; then :
9180 HAVE_FLEX_EXTENDED=yes
9182 HAVE_FLEX_EXTENDED=no
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
9185 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
9187 if test $HAVE_FLEX_EXTENDED = no; then :
9188 { $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
9189 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
9193 HAVE_FLEX_EXTENDED=no
9196 # Flush standard test results for speeding cache
9197 cat >confcache <<\_ACEOF
9198 # This file is a shell script that caches the results of configure
9199 # tests run on this system so they can be shared between configure
9200 # scripts and configure runs, see configure's option --config-cache.
9201 # It is not useful on other systems. If it contains results you don't
9202 # want to keep, you may remove or edit it.
9204 # config.status only pays attention to the cache file if you give it
9205 # the --recheck option to rerun configure.
9207 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9208 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9213 # The following way of writing the cache mishandles newlines in values,
9214 # but we know of no workaround that is simple, portable, and efficient.
9215 # So, we kill variables containing newlines.
9216 # Ultrix sh set writes to stderr and can't be redirected directly,
9217 # and sets the high bit in the cache file unless we assign to the vars.
9219 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9220 eval ac_val
=\$
$ac_var
9224 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9225 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9228 _ | IFS | as_nl
) ;; #(
9229 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9230 *) { eval $ac_var=; unset $ac_var;} ;;
9236 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9237 *${as_nl}ac_space
=\
*)
9238 # `set' does not quote correctly, so add quotes: double-quote
9239 # substitution turns \\\\ into \\, and sed turns \\ into \.
9242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9245 # `set' quotes correctly as required by POSIX, so do not add quotes.
9246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9257 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9259 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9260 if test -w "$cache_file"; then
9261 test "x$cache_file" != "x/dev/null" &&
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9263 $as_echo "$as_me: updating cache $cache_file" >&6;}
9264 cat confcache
>$cache_file
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9267 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9272 # Checks for header files.
9273 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9274 # for constant arguments. Useless!
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9276 $as_echo_n "checking for working alloca.h... " >&6; }
9277 if test "${ac_cv_working_alloca_h+set}" = set; then :
9278 $as_echo_n "(cached) " >&6
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9286 char *p = (char *) alloca (2 * sizeof (int));
9292 if ac_fn_c_try_link
"$LINENO"; then :
9293 ac_cv_working_alloca_h
=yes
9295 ac_cv_working_alloca_h
=no
9297 rm -f core conftest.err conftest.
$ac_objext \
9298 conftest
$ac_exeext conftest.
$ac_ext
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
9301 $as_echo "$ac_cv_working_alloca_h" >&6; }
9302 if test $ac_cv_working_alloca_h = yes; then
9304 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9309 $as_echo_n "checking for alloca... " >&6; }
9310 if test "${ac_cv_func_alloca_works+set}" = set; then :
9311 $as_echo_n "(cached) " >&6
9313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 # define alloca __builtin_alloca
9319 # include <malloc.h>
9320 # define alloca _alloca
9322 # ifdef HAVE_ALLOCA_H
9323 # include <alloca.h>
9328 # ifndef alloca /* predefined by HP cc +Olibcalls */
9339 char *p = (char *) alloca (1);
9345 if ac_fn_c_try_link
"$LINENO"; then :
9346 ac_cv_func_alloca_works
=yes
9348 ac_cv_func_alloca_works
=no
9350 rm -f core conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
9354 $as_echo "$ac_cv_func_alloca_works" >&6; }
9356 if test $ac_cv_func_alloca_works = yes; then
9358 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
9361 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9362 # that cause trouble. Some versions do not even contain alloca or
9363 # contain a buggy version. If you still want to use their alloca,
9364 # use ar to extract alloca.o from them instead of compiling alloca.c.
9366 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
9368 $as_echo "#define C_ALLOCA 1" >>confdefs.h
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9372 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9373 if test "${ac_cv_os_cray+set}" = set; then :
9374 $as_echo_n "(cached) " >&6
9376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9378 #if defined CRAY && ! defined CRAY2
9385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9386 $EGREP "webecray" >/dev
/null
2>&1; then :
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
9395 $as_echo "$ac_cv_os_cray" >&6; }
9396 if test $ac_cv_os_cray = yes; then
9397 for ac_func
in _getb67 GETB67 getb67
; do
9398 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9399 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9400 eval as_val
=\$
$as_ac_var
9401 if test "x$as_val" = x
""yes; then :
9403 cat >>confdefs.h
<<_ACEOF
9404 #define CRAY_STACKSEG_END $ac_func
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9414 $as_echo_n "checking stack direction for C alloca... " >&6; }
9415 if test "${ac_cv_c_stack_direction+set}" = set; then :
9416 $as_echo_n "(cached) " >&6
9418 if test "$cross_compiling" = yes; then :
9419 ac_cv_c_stack_direction
=0
9421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 $ac_includes_default
9425 find_stack_direction ()
9427 static char *addr = 0;
9432 return find_stack_direction ();
9435 return (&dummy > addr) ? 1 : -1;
9441 return find_stack_direction () < 0;
9444 if ac_fn_c_try_run
"$LINENO"; then :
9445 ac_cv_c_stack_direction
=1
9447 ac_cv_c_stack_direction
=-1
9449 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9450 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
9455 $as_echo "$ac_cv_c_stack_direction" >&6; }
9456 cat >>confdefs.h
<<_ACEOF
9457 #define STACK_DIRECTION $ac_cv_c_stack_direction
9464 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9465 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9467 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9468 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9469 $as_echo_n "(cached) " >&6
9471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9473 #include <sys/types.h>
9485 if ac_fn_c_try_compile
"$LINENO"; then :
9486 eval "$as_ac_Header=yes"
9488 eval "$as_ac_Header=no"
9490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9492 eval ac_res
=\$
$as_ac_Header
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9494 $as_echo "$ac_res" >&6; }
9495 eval as_val
=\$
$as_ac_Header
9496 if test "x$as_val" = x
""yes; then :
9497 cat >>confdefs.h
<<_ACEOF
9498 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9501 ac_header_dirent
=$ac_hdr; break
9505 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9506 if test $ac_header_dirent = dirent.h
; then
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9508 $as_echo_n "checking for library containing opendir... " >&6; }
9509 if test "${ac_cv_search_opendir+set}" = set; then :
9510 $as_echo_n "(cached) " >&6
9512 ac_func_search_save_LIBS
=$LIBS
9513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9531 for ac_lib
in '' dir
; do
9532 if test -z "$ac_lib"; then
9533 ac_res
="none required"
9536 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9538 if ac_fn_c_try_link
"$LINENO"; then :
9539 ac_cv_search_opendir
=$ac_res
9541 rm -f core conftest.err conftest.
$ac_objext \
9543 if test "${ac_cv_search_opendir+set}" = set; then :
9547 if test "${ac_cv_search_opendir+set}" = set; then :
9550 ac_cv_search_opendir
=no
9553 LIBS
=$ac_func_search_save_LIBS
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9556 $as_echo "$ac_cv_search_opendir" >&6; }
9557 ac_res
=$ac_cv_search_opendir
9558 if test "$ac_res" != no
; then :
9559 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9565 $as_echo_n "checking for library containing opendir... " >&6; }
9566 if test "${ac_cv_search_opendir+set}" = set; then :
9567 $as_echo_n "(cached) " >&6
9569 ac_func_search_save_LIBS
=$LIBS
9570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9588 for ac_lib
in '' x
; do
9589 if test -z "$ac_lib"; then
9590 ac_res
="none required"
9593 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9595 if ac_fn_c_try_link
"$LINENO"; then :
9596 ac_cv_search_opendir
=$ac_res
9598 rm -f core conftest.err conftest.
$ac_objext \
9600 if test "${ac_cv_search_opendir+set}" = set; then :
9604 if test "${ac_cv_search_opendir+set}" = set; then :
9607 ac_cv_search_opendir
=no
9610 LIBS
=$ac_func_search_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9613 $as_echo "$ac_cv_search_opendir" >&6; }
9614 ac_res
=$ac_cv_search_opendir
9615 if test "$ac_res" != no
; then :
9616 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9623 $as_echo_n "checking for ANSI C header files... " >&6; }
9624 if test "${ac_cv_header_stdc+set}" = set; then :
9625 $as_echo_n "(cached) " >&6
9627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9642 if ac_fn_c_try_compile
"$LINENO"; then :
9643 ac_cv_header_stdc
=yes
9645 ac_cv_header_stdc
=no
9647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9649 if test $ac_cv_header_stdc = yes; then
9650 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9657 $EGREP "memchr" >/dev
/null
2>&1; then :
9660 ac_cv_header_stdc
=no
9666 if test $ac_cv_header_stdc = yes; then
9667 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9674 $EGREP "free" >/dev
/null
2>&1; then :
9677 ac_cv_header_stdc
=no
9683 if test $ac_cv_header_stdc = yes; then
9684 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9685 if test "$cross_compiling" = yes; then :
9688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9692 #if ((' ' & 0x0FF) == 0x020)
9693 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9694 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9696 # define ISLOWER(c) \
9697 (('a' <= (c) && (c) <= 'i') \
9698 || ('j' <= (c) && (c) <= 'r') \
9699 || ('s' <= (c) && (c) <= 'z'))
9700 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9703 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9708 for (i = 0; i < 256; i++)
9709 if (XOR (islower (i), ISLOWER (i))
9710 || toupper (i) != TOUPPER (i))
9715 if ac_fn_c_try_run
"$LINENO"; then :
9718 ac_cv_header_stdc
=no
9720 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9721 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9727 $as_echo "$ac_cv_header_stdc" >&6; }
9728 if test $ac_cv_header_stdc = yes; then
9730 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9734 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
9736 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9737 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9738 eval as_val
=\$
$as_ac_Header
9739 if test "x$as_val" = x
""yes; then :
9740 cat >>confdefs.h
<<_ACEOF
9741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9749 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9750 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
9751 $as_echo_n "(cached) " >&6
9753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9755 #include <sys/types.h>
9756 #include <sys/wait.h>
9758 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9761 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9769 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9774 if ac_fn_c_try_compile
"$LINENO"; then :
9775 ac_cv_header_sys_wait_h
=yes
9777 ac_cv_header_sys_wait_h
=no
9779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9782 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9783 if test $ac_cv_header_sys_wait_h = yes; then
9785 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9790 # Checks for typedefs, structures, and compiler characteristics.
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
9792 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
9793 if test "${ac_cv_header_stdbool_h+set}" = set; then :
9794 $as_echo_n "(cached) " >&6
9796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9799 #include <stdbool.h>
9801 "error: bool is not defined"
9804 "error: false is not defined"
9807 "error: false is not 0"
9810 "error: true is not defined"
9813 "error: true is not 1"
9815 #ifndef __bool_true_false_are_defined
9816 "error: __bool_true_false_are_defined is not defined"
9819 struct s { _Bool s: 1; _Bool t; } s;
9821 char a[true == 1 ? 1 : -1];
9822 char b[false == 0 ? 1 : -1];
9823 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9824 char d[(bool) 0.5 == true ? 1 : -1];
9826 char f[(_Bool) 0.0 == false ? 1 : -1];
9828 char h[sizeof (_Bool)];
9830 enum { j = false, k = true, l = false * true, m = true * 256 };
9831 /* The following fails for
9832 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
9834 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9835 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9836 # if defined __xlc__ || defined __GNUC__
9837 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9838 reported by James Lemley on 2005-10-05; see
9839 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9840 This test is not quite right, since xlc is allowed to
9841 reject this program, as the initializer for xlcbug is
9842 not one of the forms that C requires support for.
9843 However, doing the test right would require a runtime
9844 test, and that would make cross-compilation harder.
9845 Let us hope that IBM fixes the xlc bug, and also adds
9846 support for this kind of constant expression. In the
9847 meantime, this test will reject xlc, which is OK, since
9848 our stdbool.h substitute should suffice. We also test
9849 this with GCC, where it should work, to detect more
9850 quickly whether someone messes up the test in the
9852 char digs[] = "0123456789";
9853 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
9855 /* Catch a bug in an HP-UX C compiler. See
9856 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
9857 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
9868 /* Refer to every declared value, to avoid compiler optimizations. */
9869 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
9870 + !m + !n + !o + !p + !q + !pq);
9876 if ac_fn_c_try_compile
"$LINENO"; then :
9877 ac_cv_header_stdbool_h
=yes
9879 ac_cv_header_stdbool_h
=no
9881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
9884 $as_echo "$ac_cv_header_stdbool_h" >&6; }
9885 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
9886 if test "x$ac_cv_type__Bool" = x
""yes; then :
9888 cat >>confdefs.h
<<_ACEOF
9889 #define HAVE__BOOL 1
9895 if test $ac_cv_header_stdbool_h = yes; then
9897 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9902 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9903 if test "${ac_cv_c_const+set}" = set; then :
9904 $as_echo_n "(cached) " >&6
9906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9912 /* FIXME: Include the comments suggested by Paul. */
9914 /* Ultrix mips cc rejects this. */
9915 typedef int charset[2];
9917 /* SunOS 4.1.1 cc rejects this. */
9918 char const *const *pcpcc;
9920 /* NEC SVR4.0.2 mips cc rejects this. */
9921 struct point {int x, y;};
9922 static struct point const zero = {0,0};
9923 /* AIX XL C 1.02.0.0 rejects this.
9924 It does not let you subtract one const X* pointer from another in
9925 an arm of an if-expression whose if-part is not a constant
9927 const char *g = "string";
9928 pcpcc = &g + (g ? g-g : 0);
9929 /* HPUX 7.0 cc rejects these. */
9931 ppc = (char**) pcpcc;
9932 pcpcc = (char const *const *) ppc;
9933 { /* SCO 3.2v4 cc rejects this. */
9935 char const *s = 0 ? (char *) 0 : (char const *) 0;
9940 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9942 const int *foo = &x[0];
9945 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9946 typedef const int *iptr;
9950 { /* AIX XL C 1.02.0.0 rejects this saying
9951 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9952 struct s { int j; const int *ap[3]; };
9953 struct s *b; b->j = 5;
9955 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9959 return !cs[0] && !zero.x;
9966 if ac_fn_c_try_compile
"$LINENO"; then :
9971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9974 $as_echo "$ac_cv_c_const" >&6; }
9975 if test $ac_cv_c_const = no
; then
9977 $as_echo "#define const /**/" >>confdefs.h
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9982 $as_echo_n "checking for inline... " >&6; }
9983 if test "${ac_cv_c_inline+set}" = set; then :
9984 $as_echo_n "(cached) " >&6
9987 for ac_kw
in inline __inline__ __inline
; do
9988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9992 static $ac_kw foo_t static_foo () {return 0; }
9993 $ac_kw foo_t foo () {return 0; }
9997 if ac_fn_c_try_compile
"$LINENO"; then :
9998 ac_cv_c_inline
=$ac_kw
10000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10001 test "$ac_cv_c_inline" != no
&& break
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
10006 $as_echo "$ac_cv_c_inline" >&6; }
10008 case $ac_cv_c_inline in
10011 case $ac_cv_c_inline in
10013 *) ac_val
=$ac_cv_c_inline;;
10015 cat >>confdefs.h
<<_ACEOF
10016 #ifndef __cplusplus
10017 #define inline $ac_val
10023 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
10024 if test "x$ac_cv_type_mode_t" = x
""yes; then :
10028 cat >>confdefs.h
<<_ACEOF
10034 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
10035 if test "x$ac_cv_type_off_t" = x
""yes; then :
10039 cat >>confdefs.h
<<_ACEOF
10040 #define off_t long int
10045 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
10046 if test "x$ac_cv_type_size_t" = x
""yes; then :
10050 cat >>confdefs.h
<<_ACEOF
10051 #define size_t unsigned int
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
10057 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
10058 if test "${ac_cv_header_time+set}" = set; then :
10059 $as_echo_n "(cached) " >&6
10061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10063 #include <sys/types.h>
10064 #include <sys/time.h>
10070 if ((struct tm *) 0)
10076 if ac_fn_c_try_compile
"$LINENO"; then :
10077 ac_cv_header_time
=yes
10079 ac_cv_header_time
=no
10081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
10084 $as_echo "$ac_cv_header_time" >&6; }
10085 if test $ac_cv_header_time = yes; then
10087 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
10092 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
10093 if test "${ac_cv_struct_tm+set}" = set; then :
10094 $as_echo_n "(cached) " >&6
10096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 #include <sys/types.h>
10105 int *p = &tm.tm_sec;
10111 if ac_fn_c_try_compile
"$LINENO"; then :
10112 ac_cv_struct_tm
=time.h
10114 ac_cv_struct_tm
=sys
/time.h
10116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
10119 $as_echo "$ac_cv_struct_tm" >&6; }
10120 if test $ac_cv_struct_tm = sys
/time.h
; then
10122 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
10127 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
10128 if test "${ac_cv_type_uid_t+set}" = set; then :
10129 $as_echo_n "(cached) " >&6
10131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 #include <sys/types.h>
10136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10137 $EGREP "uid_t" >/dev
/null
2>&1; then :
10138 ac_cv_type_uid_t
=yes
10140 ac_cv_type_uid_t
=no
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
10146 $as_echo "$ac_cv_type_uid_t" >&6; }
10147 if test $ac_cv_type_uid_t = no
; then
10149 $as_echo "#define uid_t int" >>confdefs.h
10152 $as_echo "#define gid_t int" >>confdefs.h
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
10157 $as_echo_n "checking for working volatile... " >&6; }
10158 if test "${ac_cv_c_volatile+set}" = set; then :
10159 $as_echo_n "(cached) " >&6
10161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10169 int * volatile y = (int *) 0;
10175 if ac_fn_c_try_compile
"$LINENO"; then :
10176 ac_cv_c_volatile
=yes
10178 ac_cv_c_volatile
=no
10180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
10183 $as_echo "$ac_cv_c_volatile" >&6; }
10184 if test $ac_cv_c_volatile = no
; then
10186 $as_echo "#define volatile /**/" >>confdefs.h
10190 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
10191 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
10193 cat >>confdefs.h
<<_ACEOF
10194 #define HAVE_PTRDIFF_T 1
10201 # Checks for library functions.
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
10203 $as_echo_n "checking whether closedir returns void... " >&6; }
10204 if test "${ac_cv_func_closedir_void+set}" = set; then :
10205 $as_echo_n "(cached) " >&6
10207 if test "$cross_compiling" = yes; then :
10208 ac_cv_func_closedir_void
=yes
10210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 $ac_includes_default
10213 #include <$ac_header_dirent>
10214 #ifndef __cplusplus
10221 return closedir (opendir (".")) != 0;
10226 if ac_fn_c_try_run
"$LINENO"; then :
10227 ac_cv_func_closedir_void
=no
10229 ac_cv_func_closedir_void
=yes
10231 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10232 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
10237 $as_echo "$ac_cv_func_closedir_void" >&6; }
10238 if test $ac_cv_func_closedir_void = yes; then
10240 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
10244 if test $ac_cv_c_compiler_gnu = yes; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
10246 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
10247 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
10248 $as_echo_n "(cached) " >&6
10250 ac_pattern
="Autoconf.*'x'"
10251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10257 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10258 ac_cv_prog_gcc_traditional
=yes
10260 ac_cv_prog_gcc_traditional
=no
10265 if test $ac_cv_prog_gcc_traditional = no
; then
10266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10268 #include <termio.h>
10271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10272 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10273 ac_cv_prog_gcc_traditional
=yes
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10280 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10281 if test $ac_cv_prog_gcc_traditional = yes; then
10282 CC
="$CC -traditional"
10286 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10287 if test "x$ac_cv_type_pid_t" = x
""yes; then :
10291 cat >>confdefs.h
<<_ACEOF
10297 for ac_header
in vfork.h
10299 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10300 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
10301 cat >>confdefs.h
<<_ACEOF
10302 #define HAVE_VFORK_H 1
10309 for ac_func
in fork vfork
10311 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10312 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10313 eval as_val
=\$
$as_ac_var
10314 if test "x$as_val" = x
""yes; then :
10315 cat >>confdefs.h
<<_ACEOF
10316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10322 if test "x$ac_cv_func_fork" = xyes
; then
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10324 $as_echo_n "checking for working fork... " >&6; }
10325 if test "${ac_cv_func_fork_works+set}" = set; then :
10326 $as_echo_n "(cached) " >&6
10328 if test "$cross_compiling" = yes; then :
10329 ac_cv_func_fork_works
=cross
10331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 $ac_includes_default
10338 /* By Ruediger Kuhlmann. */
10339 return fork () < 0;
10345 if ac_fn_c_try_run
"$LINENO"; then :
10346 ac_cv_func_fork_works
=yes
10348 ac_cv_func_fork_works
=no
10350 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10351 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10356 $as_echo "$ac_cv_func_fork_works" >&6; }
10359 ac_cv_func_fork_works
=$ac_cv_func_fork
10361 if test "x$ac_cv_func_fork_works" = xcross
; then
10363 *-*-amigaos* |
*-*-msdosdjgpp*)
10364 # Override, as these systems have only a dummy fork() stub
10365 ac_cv_func_fork_works
=no
10368 ac_cv_func_fork_works
=yes
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10372 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10374 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10375 if test "x$ac_cv_func_vfork" = xyes
; then
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10377 $as_echo_n "checking for working vfork... " >&6; }
10378 if test "${ac_cv_func_vfork_works+set}" = set; then :
10379 $as_echo_n "(cached) " >&6
10381 if test "$cross_compiling" = yes; then :
10382 ac_cv_func_vfork_works
=cross
10384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10386 /* Thanks to Paul Eggert for this test. */
10387 $ac_includes_default
10388 #include <sys/wait.h>
10389 #ifdef HAVE_VFORK_H
10390 # include <vfork.h>
10392 /* On some sparc systems, changes by the child to local and incoming
10393 argument registers are propagated back to the parent. The compiler
10394 is told about this with #include <vfork.h>, but some compilers
10395 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10396 static variable whose address is put into a register that is
10397 clobbered by the vfork. */
10400 sparc_address_test (int arg)
10402 sparc_address_test (arg) int arg;
10405 static pid_t child;
10423 pid_t parent = getpid ();
10426 sparc_address_test (0);
10431 /* Here is another test for sparc vfork register problems. This
10432 test uses lots of local variables, at least as many local
10433 variables as main has allocated so far including compiler
10434 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10435 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10436 reuse the register of parent for one of the local variables,
10437 since it will think that parent can't possibly be used any more
10438 in this routine. Assigning to the local variable will thus
10439 munge parent in the parent process. */
10441 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10442 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10443 /* Convince the compiler that p..p7 are live; otherwise, it might
10444 use the same hardware register for all 8 local variables. */
10445 if (p != p1 || p != p2 || p != p3 || p != p4
10446 || p != p5 || p != p6 || p != p7)
10449 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10450 from child file descriptors. If the child closes a descriptor
10451 before it execs or exits, this munges the parent's descriptor
10452 as well. Test for this by closing stdout in the child. */
10453 _exit(close(fileno(stdout)) != 0);
10458 while (wait(&status) != child)
10461 /* Was there some problem with vforking? */
10464 /* Did the child fail? (This shouldn't happen.) */
10467 /* Did the vfork/compiler bug occur? */
10468 || parent != getpid()
10470 /* Did the file descriptor bug occur? */
10471 || fstat(fileno(stdout), &st) != 0
10476 if ac_fn_c_try_run
"$LINENO"; then :
10477 ac_cv_func_vfork_works
=yes
10479 ac_cv_func_vfork_works
=no
10481 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10482 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
10487 $as_echo "$ac_cv_func_vfork_works" >&6; }
10490 if test "x$ac_cv_func_fork_works" = xcross
; then
10491 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10493 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10496 if test "x$ac_cv_func_vfork_works" = xyes
; then
10498 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
10502 $as_echo "#define vfork fork" >>confdefs.h
10505 if test "x$ac_cv_func_fork_works" = xyes
; then
10507 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10512 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10513 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10514 $as_echo_n "(cached) " >&6
10516 rm -f conftest.sym conftest.
file
10517 echo >conftest.
file
10518 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10519 if test "$cross_compiling" = yes; then :
10520 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10524 $ac_includes_default
10529 /* Linux will dereference the symlink and fail, as required by POSIX.
10530 That is better in the sense that it means we will not
10531 have to compile and use the lstat wrapper. */
10532 return lstat ("conftest.sym/", &sbuf) == 0;
10537 if ac_fn_c_try_run
"$LINENO"; then :
10538 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10540 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10542 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10543 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10547 # If the `ln -s' command failed, then we probably don't even
10548 # have an lstat function.
10549 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10551 rm -f conftest.sym conftest.
file
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10555 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10557 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10559 cat >>confdefs.h
<<_ACEOF
10560 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10564 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10565 case " $LIBOBJS " in
10566 *" lstat.$ac_objext "* ) ;;
10567 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10573 if test x
$SYS != xwin32
; then :
10575 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10576 # -lseq on Dynix/PTX, -lgen on Unixware.
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
10578 $as_echo_n "checking for library containing getmntent... " >&6; }
10579 if test "${ac_cv_search_getmntent+set}" = set; then :
10580 $as_echo_n "(cached) " >&6
10582 ac_func_search_save_LIBS
=$LIBS
10583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10596 return getmntent ();
10601 for ac_lib
in '' sun
seq gen
; do
10602 if test -z "$ac_lib"; then
10603 ac_res
="none required"
10606 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10608 if ac_fn_c_try_link
"$LINENO"; then :
10609 ac_cv_search_getmntent
=$ac_res
10611 rm -f core conftest.err conftest.
$ac_objext \
10613 if test "${ac_cv_search_getmntent+set}" = set; then :
10617 if test "${ac_cv_search_getmntent+set}" = set; then :
10620 ac_cv_search_getmntent
=no
10622 rm conftest.
$ac_ext
10623 LIBS
=$ac_func_search_save_LIBS
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
10626 $as_echo "$ac_cv_search_getmntent" >&6; }
10627 ac_res
=$ac_cv_search_getmntent
10628 if test "$ac_res" != no
; then :
10629 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10630 ac_cv_func_getmntent
=yes
10632 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
10635 ac_cv_func_getmntent
=no
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
10640 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
10641 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
10642 $as_echo_n "(cached) " >&6
10644 if test "$cross_compiling" = yes; then :
10645 ac_cv_func_lstat_empty_string_bug
=yes
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10649 $ac_includes_default
10654 return lstat ("", &sbuf) == 0;
10659 if ac_fn_c_try_run
"$LINENO"; then :
10660 ac_cv_func_lstat_empty_string_bug
=no
10662 ac_cv_func_lstat_empty_string_bug
=yes
10664 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10665 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
10670 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
10671 if test $ac_cv_func_lstat_empty_string_bug = yes; then
10672 case " $LIBOBJS " in
10673 *" lstat.$ac_objext "* ) ;;
10674 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10679 cat >>confdefs.h
<<_ACEOF
10680 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10686 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10687 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10688 $as_echo_n "(cached) " >&6
10690 rm -f conftest.sym conftest.
file
10691 echo >conftest.
file
10692 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10693 if test "$cross_compiling" = yes; then :
10694 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10698 $ac_includes_default
10703 /* Linux will dereference the symlink and fail, as required by POSIX.
10704 That is better in the sense that it means we will not
10705 have to compile and use the lstat wrapper. */
10706 return lstat ("conftest.sym/", &sbuf) == 0;
10711 if ac_fn_c_try_run
"$LINENO"; then :
10712 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10714 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10716 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10717 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10721 # If the `ln -s' command failed, then we probably don't even
10722 # have an lstat function.
10723 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10725 rm -f conftest.sym conftest.
file
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10729 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10731 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10733 cat >>confdefs.h
<<_ACEOF
10734 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10738 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10739 case " $LIBOBJS " in
10740 *" lstat.$ac_objext "* ) ;;
10741 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
10750 $as_echo_n "checking for working memcmp... " >&6; }
10751 if test "${ac_cv_func_memcmp_working+set}" = set; then :
10752 $as_echo_n "(cached) " >&6
10754 if test "$cross_compiling" = yes; then :
10755 ac_cv_func_memcmp_working
=no
10757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10759 $ac_includes_default
10764 /* Some versions of memcmp are not 8-bit clean. */
10765 char c0 = '\100', c1 = '\200', c2 = '\201';
10766 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10769 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10770 or more and with at least one buffer not starting on a 4-byte boundary.
10771 William Lewis provided this test program. */
10776 for (i = 0; i < 4; i++)
10780 strcpy (a, "--------01111111");
10781 strcpy (b, "--------10000000");
10782 if (memcmp (a, b, 16) >= 0)
10792 if ac_fn_c_try_run
"$LINENO"; then :
10793 ac_cv_func_memcmp_working
=yes
10795 ac_cv_func_memcmp_working
=no
10797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10798 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
10803 $as_echo "$ac_cv_func_memcmp_working" >&6; }
10804 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10805 *" memcmp.$ac_objext "* ) ;;
10806 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10811 for ac_header
in sys
/select.h sys
/socket.h
10813 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10814 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10815 eval as_val
=\$
$as_ac_Header
10816 if test "x$as_val" = x
""yes; then :
10817 cat >>confdefs.h
<<_ACEOF
10818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
10826 $as_echo_n "checking types of arguments for select... " >&6; }
10827 if test "${ac_cv_func_select_args+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10830 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10831 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10832 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10835 $ac_includes_default
10836 #ifdef HAVE_SYS_SELECT_H
10837 # include <sys/select.h>
10839 #ifdef HAVE_SYS_SOCKET_H
10840 # include <sys/socket.h>
10846 extern int select ($ac_arg1,
10847 $ac_arg234, $ac_arg234, $ac_arg234,
10853 if ac_fn_c_try_compile
"$LINENO"; then :
10854 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10860 # Provide a safe default value.
10861 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10865 $as_echo "$ac_cv_func_select_args" >&6; }
10866 ac_save_IFS
=$IFS; IFS
=','
10867 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10871 cat >>confdefs.h
<<_ACEOF
10872 #define SELECT_TYPE_ARG1 $1
10876 cat >>confdefs.h
<<_ACEOF
10877 #define SELECT_TYPE_ARG234 ($2)
10881 cat >>confdefs.h
<<_ACEOF
10882 #define SELECT_TYPE_ARG5 ($3)
10887 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
10888 $as_echo_n "(cached) " >&6
10890 ac_cv_func_setvbuf_reversed
=no
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10895 $as_echo_n "checking return type of signal handlers... " >&6; }
10896 if test "${ac_cv_type_signal+set}" = set; then :
10897 $as_echo_n "(cached) " >&6
10899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10901 #include <sys/types.h>
10902 #include <signal.h>
10907 return *(signal (0, 0)) (0) == 1;
10912 if ac_fn_c_try_compile
"$LINENO"; then :
10913 ac_cv_type_signal
=int
10915 ac_cv_type_signal
=void
10917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
10920 $as_echo "$ac_cv_type_signal" >&6; }
10922 cat >>confdefs.h
<<_ACEOF
10923 #define RETSIGTYPE $ac_cv_type_signal
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
10928 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10929 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
10930 $as_echo_n "(cached) " >&6
10932 if test "$cross_compiling" = yes; then :
10933 ac_cv_func_stat_empty_string_bug
=yes
10935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10937 $ac_includes_default
10942 return stat ("", &sbuf) == 0;
10947 if ac_fn_c_try_run
"$LINENO"; then :
10948 ac_cv_func_stat_empty_string_bug
=no
10950 ac_cv_func_stat_empty_string_bug
=yes
10952 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10953 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
10958 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10959 if test $ac_cv_func_stat_empty_string_bug = yes; then
10960 case " $LIBOBJS " in
10961 *" stat.$ac_objext "* ) ;;
10962 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
10967 cat >>confdefs.h
<<_ACEOF
10968 #define HAVE_STAT_EMPTY_STRING_BUG 1
10973 for ac_func
in strftime
10975 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
10976 if test "x$ac_cv_func_strftime" = x
""yes; then :
10977 cat >>confdefs.h
<<_ACEOF
10978 #define HAVE_STRFTIME 1
10982 # strftime is in -lintl on SCO UNIX.
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
10984 $as_echo_n "checking for strftime in -lintl... " >&6; }
10985 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
10986 $as_echo_n "(cached) " >&6
10988 ac_check_lib_save_LIBS
=$LIBS
10989 LIBS
="-lintl $LIBS"
10990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
11003 return strftime ();
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 ac_cv_lib_intl_strftime
=yes
11011 ac_cv_lib_intl_strftime
=no
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
11018 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
11019 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
11020 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
11022 LIBS
="-lintl $LIBS"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
11029 $as_echo_n "checking for working strtod... " >&6; }
11030 if test "${ac_cv_func_strtod+set}" = set; then :
11031 $as_echo_n "(cached) " >&6
11033 if test "$cross_compiling" = yes; then :
11034 ac_cv_func_strtod
=no
11036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11039 $ac_includes_default
11047 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
11048 char *string = " +69";
11051 value = strtod (string, &term);
11052 if (value != 69 || term != (string + 4))
11057 /* Under Solaris 2.4, strtod returns the wrong value for the
11058 terminating character under some conditions. */
11059 char *string = "NaN";
11061 strtod (string, &term);
11062 if (term != string && *(term - 1) == 0)
11069 if ac_fn_c_try_run
"$LINENO"; then :
11070 ac_cv_func_strtod
=yes
11072 ac_cv_func_strtod
=no
11074 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11075 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
11080 $as_echo "$ac_cv_func_strtod" >&6; }
11081 if test $ac_cv_func_strtod = no
; then
11082 case " $LIBOBJS " in
11083 *" strtod.$ac_objext "* ) ;;
11084 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
11088 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
11089 if test "x$ac_cv_func_pow" = x
""yes; then :
11093 if test $ac_cv_func_pow = no
; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
11095 $as_echo_n "checking for pow in -lm... " >&6; }
11096 if test "${ac_cv_lib_m_pow+set}" = set; then :
11097 $as_echo_n "(cached) " >&6
11099 ac_check_lib_save_LIBS
=$LIBS
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11119 if ac_fn_c_try_link
"$LINENO"; then :
11120 ac_cv_lib_m_pow
=yes
11124 rm -f core conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LIBS
=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
11129 $as_echo "$ac_cv_lib_m_pow" >&6; }
11130 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
11134 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
11141 for ac_func
in vprintf
11143 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
11144 if test "x$ac_cv_func_vprintf" = x
""yes; then :
11145 cat >>confdefs.h
<<_ACEOF
11146 #define HAVE_VPRINTF 1
11149 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
11150 if test "x$ac_cv_func__doprnt" = x
""yes; then :
11152 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
11160 if test $cross_compiling = yes -a $gnumalloc = yes; then :
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11163 configure cannot check whether malloc() and realloc() are GNU libc
11164 compatible. You have to be ABSOLUTELY sure that they are, otherwise
11165 run configure with the --without-gnu-malloc switch." >&5
11166 $as_echo "$as_me: WARNING:
11167 configure cannot check whether malloc() and realloc() are GNU libc
11168 compatible. You have to be ABSOLUTELY sure that they are, otherwise
11169 run configure with the --without-gnu-malloc switch." >&2;}
11170 _mule_warning_8
=yes
11171 _mule_has_warnings
=yes
11173 ac_cv_func_malloc_0_nonnull
=yes
11174 ac_cv_func_realloc_0_nonnull
=yes
11177 for ac_header
in stdlib.h
11179 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11180 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
11181 cat >>confdefs.h
<<_ACEOF
11182 #define HAVE_STDLIB_H 1
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
11190 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
11191 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
11192 $as_echo_n "(cached) " >&6
11194 if test "$cross_compiling" = yes; then :
11195 ac_cv_func_malloc_0_nonnull
=no
11197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11200 # include <stdlib.h>
11208 return ! malloc (0);
11213 if ac_fn_c_try_run
"$LINENO"; then :
11214 ac_cv_func_malloc_0_nonnull
=yes
11216 ac_cv_func_malloc_0_nonnull
=no
11218 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11219 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
11224 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
11225 if test $ac_cv_func_malloc_0_nonnull = yes; then :
11227 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
11230 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
11232 case " $LIBOBJS " in
11233 *" malloc.$ac_objext "* ) ;;
11234 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
11239 $as_echo "#define malloc rpl_malloc" >>confdefs.h
11244 for ac_header
in stdlib.h
11246 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11247 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
11248 cat >>confdefs.h
<<_ACEOF
11249 #define HAVE_STDLIB_H 1
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
11257 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11258 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
11259 $as_echo_n "(cached) " >&6
11261 if test "$cross_compiling" = yes; then :
11262 ac_cv_func_realloc_0_nonnull
=no
11264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11267 # include <stdlib.h>
11275 return ! realloc (0, 0);
11280 if ac_fn_c_try_run
"$LINENO"; then :
11281 ac_cv_func_realloc_0_nonnull
=yes
11283 ac_cv_func_realloc_0_nonnull
=no
11285 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11286 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11291 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11292 if test $ac_cv_func_realloc_0_nonnull = yes; then :
11294 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11297 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11299 case " $LIBOBJS " in
11300 *" realloc.$ac_objext "* ) ;;
11301 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11306 $as_echo "#define realloc rpl_realloc" >>confdefs.h
11311 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
11313 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11314 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11315 eval as_val
=\$
$as_ac_var
11316 if test "x$as_val" = x
""yes; then :
11317 cat >>confdefs.h
<<_ACEOF
11318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11324 #-------------------------------------------------------------------------------
11325 # End of autoscan stuff
11326 #-------------------------------------------------------------------------------
11328 for ac_func
in mkdir getrlimit setrlimit getopt_long
11330 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11331 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11332 eval as_val
=\$
$as_ac_var
11333 if test "x$as_val" = x
""yes; then :
11334 cat >>confdefs.h
<<_ACEOF
11335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11345 for ac_header
in $ac_header_list
11347 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11348 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11350 eval as_val
=\$
$as_ac_Header
11351 if test "x$as_val" = x
""yes; then :
11352 cat >>confdefs.h
<<_ACEOF
11353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11366 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11368 # Check whether --enable-mmap was given.
11369 if test "${enable_mmap+set}" = set; then :
11370 enableval
=$enable_mmap;
11375 if test ${enable_mmap:-no} = yes; then :
11377 for ac_header
in sys
/mman.h
11379 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11381 cat >>confdefs.h
<<_ACEOF
11382 #define HAVE_SYS_MMAN_H 1
11390 for ac_func
in getpagesize
11392 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11393 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
11394 cat >>confdefs.h
<<_ACEOF
11395 #define HAVE_GETPAGESIZE 1
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11402 $as_echo_n "checking for working mmap... " >&6; }
11403 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
11404 $as_echo_n "(cached) " >&6
11406 if test "$cross_compiling" = yes; then :
11407 ac_cv_func_mmap_fixed_mapped
=no
11409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11411 $ac_includes_default
11412 /* malloc might have been renamed as rpl_malloc. */
11415 /* Thanks to Mike Haertel and Jim Avera for this test.
11416 Here is a matrix of mmap possibilities:
11417 mmap private not fixed
11418 mmap private fixed at somewhere currently unmapped
11419 mmap private fixed at somewhere already mapped
11420 mmap shared not fixed
11421 mmap shared fixed at somewhere currently unmapped
11422 mmap shared fixed at somewhere already mapped
11423 For private mappings, we should verify that changes cannot be read()
11424 back from the file, nor mmap's back from the file at a different
11425 address. (There have been systems where private was not correctly
11426 implemented like the infamous i386 svr4.0, and systems where the
11427 VM page cache was not coherent with the file system buffer cache
11428 like early versions of FreeBSD and possibly contemporary NetBSD.)
11429 For shared mappings, we should conversely verify that changes get
11430 propagated back to all the places they're supposed to be.
11432 Grep wants private fixed already mapped.
11433 The main things grep needs to know about mmap are:
11434 * does it exist and is it safe to write into the mmap'd area
11435 * how to use it (BSD variants) */
11438 #include <sys/mman.h>
11440 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11444 /* This mess was copied from the GNU getpagesize.h. */
11445 #ifndef HAVE_GETPAGESIZE
11446 # ifdef _SC_PAGESIZE
11447 # define getpagesize() sysconf(_SC_PAGESIZE)
11448 # else /* no _SC_PAGESIZE */
11449 # ifdef HAVE_SYS_PARAM_H
11450 # include <sys/param.h>
11451 # ifdef EXEC_PAGESIZE
11452 # define getpagesize() EXEC_PAGESIZE
11453 # else /* no EXEC_PAGESIZE */
11455 # define getpagesize() NBPG * CLSIZE
11458 # endif /* no CLSIZE */
11459 # else /* no NBPG */
11461 # define getpagesize() NBPC
11462 # else /* no NBPC */
11464 # define getpagesize() PAGESIZE
11465 # endif /* PAGESIZE */
11466 # endif /* no NBPC */
11467 # endif /* no NBPG */
11468 # endif /* no EXEC_PAGESIZE */
11469 # else /* no HAVE_SYS_PARAM_H */
11470 # define getpagesize() 8192 /* punt totally */
11471 # endif /* no HAVE_SYS_PARAM_H */
11472 # endif /* no _SC_PAGESIZE */
11474 #endif /* no HAVE_GETPAGESIZE */
11479 char *data, *data2, *data3;
11483 pagesize = getpagesize ();
11485 /* First, make a file with some known garbage in it. */
11486 data = (char *) malloc (pagesize);
11489 for (i = 0; i < pagesize; ++i)
11490 *(data + i) = rand ();
11492 fd = creat ("conftest.mmap", 0600);
11495 if (write (fd, data, pagesize) != pagesize)
11499 /* Next, check that the tail of a page is zero-filled. File must have
11500 non-zero length, otherwise we risk SIGBUS for entire page. */
11501 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11505 if (write (fd2, data2, 1) != 1)
11507 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11508 if (data2 == MAP_FAILED)
11510 for (i = 0; i < pagesize; ++i)
11514 if (munmap (data2, pagesize))
11517 /* Next, try to mmap the file at a fixed address which already has
11518 something else allocated at it. If we can, also make sure that
11519 we see the same garbage. */
11520 fd = open ("conftest.mmap", O_RDWR);
11523 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11524 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11526 for (i = 0; i < pagesize; ++i)
11527 if (*(data + i) != *(data2 + i))
11530 /* Finally, make sure that changes to the mapped area do not
11531 percolate back to the file as seen by read(). (This is a bug on
11532 some variants of i386 svr4.0.) */
11533 for (i = 0; i < pagesize; ++i)
11534 *(data2 + i) = *(data2 + i) + 1;
11535 data3 = (char *) malloc (pagesize);
11538 if (read (fd, data3, pagesize) != pagesize)
11540 for (i = 0; i < pagesize; ++i)
11541 if (*(data + i) != *(data3 + i))
11547 if ac_fn_c_try_run
"$LINENO"; then :
11548 ac_cv_func_mmap_fixed_mapped
=yes
11550 ac_cv_func_mmap_fixed_mapped
=no
11552 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11553 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11558 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11559 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11561 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11564 rm -f conftest.mmap conftest.txt
11566 for ac_func
in munmap sysconf
11568 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11569 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11570 eval as_val
=\$
$as_ac_var
11571 if test "x$as_val" = x
""yes; then :
11572 cat >>confdefs.h
<<_ACEOF
11573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11579 if test $ac_cv_func_sysconf = yes; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
11582 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
11583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11587 #include <unistd.h>
11593 return sysconf(_SC_PAGESIZE);
11600 if ac_fn_c_try_link
"$LINENO"; then :
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
11603 $as_echo "_SC_PAGESIZE" >&6; }
11605 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
11610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11614 #include <unistd.h>
11620 return sysconf(_SC_PAGE_SIZE);
11627 if ac_fn_c_try_link
"$LINENO"; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
11630 $as_echo "_SC_PAGE_SIZE" >&6; }
11632 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11638 $as_echo "none" >&6; }
11641 rm -f core conftest.err conftest.
$ac_objext \
11642 conftest
$ac_exeext conftest.
$ac_ext
11645 rm -f core conftest.err conftest.
$ac_objext \
11646 conftest
$ac_exeext conftest.
$ac_ext
11652 # fake the result of the test for munmap() for the gettext macros
11653 ac_cv_func_munmap
=no
11659 mule_backup_CPPFLAGS
="$CPPFLAGS"
11660 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
11661 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11662 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
11668 cat >>confdefs.h
<<_ACEOF
11669 #define HAVE_DECL_STRERROR_R $ac_have_decl
11672 for ac_func
in strerror_r
11674 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11675 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
11676 cat >>confdefs.h
<<_ACEOF
11677 #define HAVE_STRERROR_R 1
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11684 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
11685 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
11686 $as_echo_n "(cached) " >&6
11689 ac_cv_func_strerror_r_char_p
=no
11690 if test $ac_cv_have_decl_strerror_r = yes; then
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11693 $ac_includes_default
11699 char x = *strerror_r (0, buf, sizeof buf);
11700 char *p = strerror_r (0, buf, sizeof buf);
11707 if ac_fn_c_try_compile
"$LINENO"; then :
11708 ac_cv_func_strerror_r_char_p
=yes
11710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11712 # strerror_r is not declared. Choose between
11713 # systems that have relatively inaccessible declarations for the
11714 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11715 # former has a strerror_r that returns char*, while the latter
11716 # has a strerror_r that returns `int'.
11717 # This test should segfault on the DEC system.
11718 if test "$cross_compiling" = yes; then :
11721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11723 $ac_includes_default
11724 extern char *strerror_r ();
11729 char x = *strerror_r (0, buf, sizeof buf);
11730 return ! isalpha (x);
11735 if ac_fn_c_try_run
"$LINENO"; then :
11736 ac_cv_func_strerror_r_char_p
=yes
11738 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11739 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11746 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
11747 if test $ac_cv_func_strerror_r_char_p = yes; then
11749 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
11753 CPPFLAGS
="$mule_backup_CPPFLAGS"
11755 # Look for a way to preallocate disk space for files.
11756 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
11759 $as_echo_n "checking for fallocate... " >&6; }
11760 mule_backup_CPPFLAGS
="$CPPFLAGS"
11761 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
11762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11766 #define _GNU_SOURCE
11767 #ifdef HAVE_FCNTL_H
11768 # include <fcntl.h>
11770 #include <linux/falloc.h>
11776 fallocate(0, 0, 0, 0);
11783 if ac_fn_c_try_link
"$LINENO"; then :
11786 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11789 $as_echo "yes" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 $as_echo "no" >&6; }
11797 rm -f core conftest.err conftest.
$ac_objext \
11798 conftest
$ac_exeext conftest.
$ac_ext
11799 CPPFLAGS
="$mule_backup_CPPFLAGS"
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
11803 $as_echo_n "checking for SYS_fallocate... " >&6; }
11804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11808 #include <sys/syscall.h>
11809 #include <sys/types.h>
11810 #include <unistd.h>
11816 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
11823 if ac_fn_c_try_link
"$LINENO"; then :
11826 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11829 $as_echo "yes" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834 $as_echo "no" >&6; }
11837 rm -f core conftest.err conftest.
$ac_objext \
11838 conftest
$ac_exeext conftest.
$ac_ext
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
11841 $as_echo_n "checking for posix_fallocate... " >&6; }
11842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11846 #define _XOPEN_SOURCE 600
11847 #include <stdlib.h>
11848 #ifdef HAVE_FCNTL_H
11849 # include <fcntl.h>
11856 posix_fallocate(0, 0, 0);
11863 if ac_fn_c_try_link
"$LINENO"; then :
11866 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11869 $as_echo "yes" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11877 rm -f core conftest.err conftest.
$ac_objext \
11878 conftest
$ac_exeext conftest.
$ac_ext
11882 # Checking Native Language Support
11886 if test -n "$ac_aux_dir"; then
11887 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
11889 if test -z "$MKINSTALLDIRS"; then
11890 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11897 # Extract the first word of "msgfmt", so it can be a program name with args.
11898 set dummy msgfmt
; ac_word
=$2
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11900 $as_echo_n "checking for $ac_word... " >&6; }
11901 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11902 $as_echo_n "(cached) " >&6
11906 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11909 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11910 for ac_dir
in $PATH; do
11911 test -z "$ac_dir" && ac_dir
=.
11912 if test -f $ac_dir/$ac_word; then
11913 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11914 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11915 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
11921 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11925 MSGFMT
="$ac_cv_path_MSGFMT"
11926 if test "$MSGFMT" != ":"; then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11928 $as_echo "$MSGFMT" >&6; }
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931 $as_echo "no" >&6; }
11934 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11935 set dummy gmsgfmt
; ac_word
=$2
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11937 $as_echo_n "checking for $ac_word... " >&6; }
11938 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11939 $as_echo_n "(cached) " >&6
11943 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11947 for as_dir
in $PATH
11950 test -z "$as_dir" && as_dir
=.
11951 for ac_exec_ext
in '' $ac_executable_extensions; do
11952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11953 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11961 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11965 GMSGFMT
=$ac_cv_path_GMSGFMT
11966 if test -n "$GMSGFMT"; then
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11968 $as_echo "$GMSGFMT" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11971 $as_echo "no" >&6; }
11976 # Extract the first word of "xgettext", so it can be a program name with args.
11977 set dummy xgettext
; ac_word
=$2
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11979 $as_echo_n "checking for $ac_word... " >&6; }
11980 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11981 $as_echo_n "(cached) " >&6
11983 case "$XGETTEXT" in
11985 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11988 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11989 for ac_dir
in $PATH; do
11990 test -z "$ac_dir" && ac_dir
=.
11991 if test -f $ac_dir/$ac_word; then
11992 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11993 (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
11994 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
12000 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12004 XGETTEXT
="$ac_cv_path_XGETTEXT"
12005 if test "$XGETTEXT" != ":"; then
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12007 $as_echo "$XGETTEXT" >&6; }
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12015 # Extract the first word of "msgmerge", so it can be a program name with args.
12016 set dummy msgmerge
; ac_word
=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12018 $as_echo_n "checking for $ac_word... " >&6; }
12019 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12020 $as_echo_n "(cached) " >&6
12022 case "$MSGMERGE" in
12024 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12027 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12028 for ac_dir
in $PATH; do
12029 test -z "$ac_dir" && ac_dir
=.
12030 if test -f $ac_dir/$ac_word; then
12031 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12032 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
12038 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12042 MSGMERGE
="$ac_cv_path_MSGMERGE"
12043 if test "$MSGMERGE" != ":"; then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12045 $as_echo "$MSGMERGE" >&6; }
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12048 $as_echo "no" >&6; }
12052 if test "$GMSGFMT" != ":"; then
12053 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12054 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12057 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12059 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12064 if test "$XGETTEXT" != ":"; then
12065 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
12066 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12070 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12076 ac_config_commands
="$ac_config_commands default-1"
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
12081 $as_echo_n "checking for strerror in -lcposix... " >&6; }
12082 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
12083 $as_echo_n "(cached) " >&6
12085 ac_check_lib_save_LIBS
=$LIBS
12086 LIBS
="-lcposix $LIBS"
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12100 return strerror ();
12105 if ac_fn_c_try_link
"$LINENO"; then :
12106 ac_cv_lib_cposix_strerror
=yes
12108 ac_cv_lib_cposix_strerror
=no
12110 rm -f core conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12112 LIBS
=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
12115 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
12116 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
12117 LIBS
="$LIBS -lcposix"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
12124 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
12125 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
12126 $as_echo_n "(cached) " >&6
12128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 #include <features.h>
12132 #ifdef __GNU_LIBRARY__
12133 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
12139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12140 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
12141 ac_cv_gnu_library_2_1
=yes
12143 ac_cv_gnu_library_2_1
=no
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
12151 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
12153 GLIBC21
="$ac_cv_gnu_library_2_1"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
12159 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
12160 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
12161 $as_echo_n "(cached) " >&6
12164 if test "$cross_compiling" = yes; then :
12166 # Guess based on the CPU.
12167 case "$host_cpu" in
12168 alpha
* | i3456786 | m68k | s390
*)
12169 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
12171 gt_cv_int_divbyzero_sigfpe
="guessing no";;
12175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 #include <stdlib.h>
12179 #include <signal.h>
12183 sigfpe_handler (int sig)
12185 sigfpe_handler (sig) int sig;
12188 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
12189 exit (sig != SIGFPE);
12199 signal (SIGFPE, sigfpe_handler);
12200 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
12201 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
12202 signal (SIGTRAP, sigfpe_handler);
12204 /* Linux/SPARC yields signal SIGILL. */
12205 #if defined (__sparc__) && defined (__linux__)
12206 signal (SIGILL, sigfpe_handler);
12215 if ac_fn_c_try_run
"$LINENO"; then :
12216 gt_cv_int_divbyzero_sigfpe
=yes
12218 gt_cv_int_divbyzero_sigfpe
=no
12220 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12221 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
12227 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
12228 case "$gt_cv_int_divbyzero_sigfpe" in
12233 cat >>confdefs.h
<<_ACEOF
12234 #define INTDIV0_RAISES_SIGFPE $value
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12240 $as_echo_n "checking for inttypes.h... " >&6; }
12241 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
12242 $as_echo_n "(cached) " >&6
12244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #include <sys/types.h>
12247 #include <inttypes.h>
12251 uintmax_t i = (uintmax_t) -1;
12256 if ac_fn_c_try_compile
"$LINENO"; then :
12257 jm_ac_cv_header_inttypes_h
=yes
12259 jm_ac_cv_header_inttypes_h
=no
12261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
12264 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
12265 if test $jm_ac_cv_header_inttypes_h = yes; then
12267 cat >>confdefs.h
<<_ACEOF
12268 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12275 $as_echo_n "checking for stdint.h... " >&6; }
12276 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
12277 $as_echo_n "(cached) " >&6
12279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 #include <sys/types.h>
12282 #include <stdint.h>
12286 uintmax_t i = (uintmax_t) -1;
12291 if ac_fn_c_try_compile
"$LINENO"; then :
12292 jm_ac_cv_header_stdint_h
=yes
12294 jm_ac_cv_header_stdint_h
=no
12296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
12299 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
12300 if test $jm_ac_cv_header_stdint_h = yes; then
12302 cat >>confdefs.h
<<_ACEOF
12303 #define HAVE_STDINT_H_WITH_UINTMAX 1
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
12310 $as_echo_n "checking for unsigned long long... " >&6; }
12311 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
12312 $as_echo_n "(cached) " >&6
12314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12316 unsigned long long ull = 1; int i = 63;
12320 unsigned long long ullmax = (unsigned long long) -1;
12321 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
12326 if ac_fn_c_try_link
"$LINENO"; then :
12327 ac_cv_type_unsigned_long_long
=yes
12329 ac_cv_type_unsigned_long_long
=no
12331 rm -f core conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
12335 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
12336 if test $ac_cv_type_unsigned_long_long = yes; then
12338 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
12345 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
12347 test $ac_cv_type_unsigned_long_long = yes \
12348 && ac_type
='unsigned long long' \
12349 || ac_type
='unsigned long'
12351 cat >>confdefs.h
<<_ACEOF
12352 #define uintmax_t $ac_type
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12359 $as_echo_n "checking for inttypes.h... " >&6; }
12360 if test "${gt_cv_header_inttypes_h+set}" = set; then :
12361 $as_echo_n "(cached) " >&6
12364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #include <sys/types.h>
12367 #include <inttypes.h>
12376 if ac_fn_c_try_compile
"$LINENO"; then :
12377 gt_cv_header_inttypes_h
=yes
12379 gt_cv_header_inttypes_h
=no
12381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
12385 $as_echo "$gt_cv_header_inttypes_h" >&6; }
12386 if test $gt_cv_header_inttypes_h = yes; then
12388 cat >>confdefs.h
<<_ACEOF
12389 #define HAVE_INTTYPES_H 1
12396 if test $gt_cv_header_inttypes_h = yes; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12398 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12399 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
12400 $as_echo_n "(cached) " >&6
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 #include <inttypes.h>
12418 if ac_fn_c_try_compile
"$LINENO"; then :
12419 gt_cv_inttypes_pri_broken
=no
12421 gt_cv_inttypes_pri_broken
=yes
12423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
12427 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
12429 if test "$gt_cv_inttypes_pri_broken" = yes; then
12431 cat >>confdefs.h
<<_ACEOF
12432 #define PRI_MACROS_BROKEN 1
12438 if test "X$prefix" = "XNONE"; then
12439 acl_final_prefix
="$ac_default_prefix"
12441 acl_final_prefix
="$prefix"
12443 if test "X$exec_prefix" = "XNONE"; then
12444 acl_final_exec_prefix
='${prefix}'
12446 acl_final_exec_prefix
="$exec_prefix"
12448 acl_save_prefix
="$prefix"
12449 prefix
="$acl_final_prefix"
12450 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12451 prefix
="$acl_save_prefix"
12454 # Check whether --with-gnu-ld was given.
12455 if test "${with_gnu_ld+set}" = set; then :
12456 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12462 if test "$GCC" = yes; then
12463 # Check if gcc -print-prog-name=ld gives a path.
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12465 $as_echo_n "checking for ld used by GCC... " >&6; }
12468 # gcc leaves a trailing carriage return which upsets mingw
12469 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12471 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12474 # Accept absolute paths.
12475 [\\/]* |
[A-Za-z
]:[\\/]*)
12476 re_direlt
='/[^/][^/]*/\.\./'
12477 # Canonicalize the path of ld
12478 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12479 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12480 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12482 test -z "$LD" && LD
="$ac_prog"
12485 # If it fails, then pretend we aren't using GCC.
12489 # If it is relative, then search for the first ld in PATH.
12490 with_gnu_ld
=unknown
12493 elif test "$with_gnu_ld" = yes; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12495 $as_echo_n "checking for GNU ld... " >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12498 $as_echo_n "checking for non-GNU ld... " >&6; }
12500 if test "${acl_cv_path_LD+set}" = set; then :
12501 $as_echo_n "(cached) " >&6
12503 if test -z "$LD"; then
12504 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12505 for ac_dir
in $PATH; do
12506 test -z "$ac_dir" && ac_dir
=.
12507 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12508 acl_cv_path_LD
="$ac_dir/$ac_prog"
12509 # Check to see if the program is GNU ld. I'd rather use --version,
12510 # but apparently some GNU ld's only accept -v.
12511 # Break only if it was the GNU/non-GNU ld that we prefer.
12512 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
12513 test "$with_gnu_ld" != no
&& break
12515 test "$with_gnu_ld" != yes && break
12521 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12525 LD
="$acl_cv_path_LD"
12526 if test -n "$LD"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12528 $as_echo "$LD" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12533 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12535 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12536 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12537 $as_echo_n "(cached) " >&6
12539 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12540 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
12541 acl_cv_prog_gnu_ld
=yes
12543 acl_cv_prog_gnu_ld
=no
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12547 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12548 with_gnu_ld
=$acl_cv_prog_gnu_ld
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12553 $as_echo_n "checking for shared library run path origin... " >&6; }
12554 if test "${acl_cv_rpath+set}" = set; then :
12555 $as_echo_n "(cached) " >&6
12558 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12559 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12561 rm -f .
/conftest.sh
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12566 $as_echo "$acl_cv_rpath" >&6; }
12568 libext
="$acl_cv_libext"
12569 shlibext
="$acl_cv_shlibext"
12570 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12571 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12572 hardcode_direct
="$acl_cv_hardcode_direct"
12573 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12574 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
12575 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
12576 # Check whether --enable-rpath was given.
12577 if test "${enable_rpath+set}" = set; then :
12578 enableval
=$enable_rpath; :
12592 acl_save_prefix
="$prefix"
12593 prefix
="$acl_final_prefix"
12594 acl_save_exec_prefix
="$exec_prefix"
12595 exec_prefix
="$acl_final_exec_prefix"
12597 eval additional_includedir
=\"$includedir\"
12598 eval additional_libdir
=\"$libdir\"
12600 exec_prefix
="$acl_save_exec_prefix"
12601 prefix
="$acl_save_prefix"
12604 # Check whether --with-libiconv-prefix was given.
12605 if test "${with_libiconv_prefix+set}" = set; then :
12606 withval
=$with_libiconv_prefix;
12607 if test "X$withval" = "Xno"; then
12610 if test "X$withval" = "X"; then
12612 acl_save_prefix
="$prefix"
12613 prefix
="$acl_final_prefix"
12614 acl_save_exec_prefix
="$exec_prefix"
12615 exec_prefix
="$acl_final_exec_prefix"
12617 eval additional_includedir
=\"$includedir\"
12618 eval additional_libdir
=\"$libdir\"
12620 exec_prefix
="$acl_save_exec_prefix"
12621 prefix
="$acl_save_prefix"
12624 additional_includedir
="$withval/include"
12625 additional_libdir
="$withval/lib"
12636 names_already_handled
=
12637 names_next_round
='iconv '
12638 while test -n "$names_next_round"; do
12639 names_this_round
="$names_next_round"
12641 for name
in $names_this_round; do
12643 for n
in $names_already_handled; do
12644 if test "$n" = "$name"; then
12645 already_handled
=yes
12649 if test -z "$already_handled"; then
12650 names_already_handled
="$names_already_handled $name"
12651 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12652 eval value
=\"\
$HAVE_LIB$uppername\"
12653 if test -n "$value"; then
12654 if test "$value" = yes; then
12655 eval value
=\"\
$LIB$uppername\"
12656 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12657 eval value
=\"\
$LTLIB$uppername\"
12658 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12667 if test $use_additional = yes; then
12668 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12669 found_dir
="$additional_libdir"
12670 found_so
="$additional_libdir/lib$name.$shlibext"
12671 if test -f "$additional_libdir/lib$name.la"; then
12672 found_la
="$additional_libdir/lib$name.la"
12675 if test -f "$additional_libdir/lib$name.$libext"; then
12676 found_dir
="$additional_libdir"
12677 found_a
="$additional_libdir/lib$name.$libext"
12678 if test -f "$additional_libdir/lib$name.la"; then
12679 found_la
="$additional_libdir/lib$name.la"
12684 if test "X$found_dir" = "X"; then
12685 for x
in $LDFLAGS $LTLIBICONV; do
12687 acl_save_prefix
="$prefix"
12688 prefix
="$acl_final_prefix"
12689 acl_save_exec_prefix
="$exec_prefix"
12690 exec_prefix
="$acl_final_exec_prefix"
12692 exec_prefix
="$acl_save_exec_prefix"
12693 prefix
="$acl_save_prefix"
12697 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12698 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12700 found_so
="$dir/lib$name.$shlibext"
12701 if test -f "$dir/lib$name.la"; then
12702 found_la
="$dir/lib$name.la"
12705 if test -f "$dir/lib$name.$libext"; then
12707 found_a
="$dir/lib$name.$libext"
12708 if test -f "$dir/lib$name.la"; then
12709 found_la
="$dir/lib$name.la"
12715 if test "X$found_dir" != "X"; then
12720 if test "X$found_dir" != "X"; then
12721 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12722 if test "X$found_so" != "X"; then
12723 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12724 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12727 for x
in $ltrpathdirs; do
12728 if test "X$x" = "X$found_dir"; then
12733 if test -z "$haveit"; then
12734 ltrpathdirs
="$ltrpathdirs $found_dir"
12736 if test "$hardcode_direct" = yes; then
12737 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12739 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12740 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12742 for x
in $rpathdirs; do
12743 if test "X$x" = "X$found_dir"; then
12748 if test -z "$haveit"; then
12749 rpathdirs
="$rpathdirs $found_dir"
12753 for x
in $LDFLAGS $LIBICONV; do
12755 acl_save_prefix
="$prefix"
12756 prefix
="$acl_final_prefix"
12757 acl_save_exec_prefix
="$exec_prefix"
12758 exec_prefix
="$acl_final_exec_prefix"
12760 exec_prefix
="$acl_save_exec_prefix"
12761 prefix
="$acl_save_prefix"
12763 if test "X$x" = "X-L$found_dir"; then
12768 if test -z "$haveit"; then
12769 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12771 if test "$hardcode_minus_L" != no
; then
12772 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12774 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12780 if test "X$found_a" != "X"; then
12781 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12783 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12786 additional_includedir
=
12787 case "$found_dir" in
12789 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12790 additional_includedir
="$basedir/include"
12793 if test "X$additional_includedir" != "X"; then
12794 if test "X$additional_includedir" != "X/usr/include"; then
12796 if test "X$additional_includedir" = "X/usr/local/include"; then
12797 if test -n "$GCC"; then
12799 linux
*) haveit
=yes;;
12803 if test -z "$haveit"; then
12804 for x
in $CPPFLAGS $INCICONV; do
12806 acl_save_prefix
="$prefix"
12807 prefix
="$acl_final_prefix"
12808 acl_save_exec_prefix
="$exec_prefix"
12809 exec_prefix
="$acl_final_exec_prefix"
12811 exec_prefix
="$acl_save_exec_prefix"
12812 prefix
="$acl_save_prefix"
12814 if test "X$x" = "X-I$additional_includedir"; then
12819 if test -z "$haveit"; then
12820 if test -d "$additional_includedir"; then
12821 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12827 if test -n "$found_la"; then
12828 save_libdir
="$libdir"
12829 case "$found_la" in
12830 */* |
*\\*) .
"$found_la" ;;
12831 *) .
"./$found_la" ;;
12833 libdir
="$save_libdir"
12834 for dep
in $dependency_libs; do
12837 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12838 if test "X$additional_libdir" != "X/usr/lib"; then
12840 if test "X$additional_libdir" = "X/usr/local/lib"; then
12841 if test -n "$GCC"; then
12843 linux
*) haveit
=yes;;
12847 if test -z "$haveit"; then
12849 for x
in $LDFLAGS $LIBICONV; do
12851 acl_save_prefix
="$prefix"
12852 prefix
="$acl_final_prefix"
12853 acl_save_exec_prefix
="$exec_prefix"
12854 exec_prefix
="$acl_final_exec_prefix"
12856 exec_prefix
="$acl_save_exec_prefix"
12857 prefix
="$acl_save_prefix"
12859 if test "X$x" = "X-L$additional_libdir"; then
12864 if test -z "$haveit"; then
12865 if test -d "$additional_libdir"; then
12866 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12870 for x
in $LDFLAGS $LTLIBICONV; do
12872 acl_save_prefix
="$prefix"
12873 prefix
="$acl_final_prefix"
12874 acl_save_exec_prefix
="$exec_prefix"
12875 exec_prefix
="$acl_final_exec_prefix"
12877 exec_prefix
="$acl_save_exec_prefix"
12878 prefix
="$acl_save_prefix"
12880 if test "X$x" = "X-L$additional_libdir"; then
12885 if test -z "$haveit"; then
12886 if test -d "$additional_libdir"; then
12887 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12894 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12895 if test "$enable_rpath" != no
; then
12897 for x
in $rpathdirs; do
12898 if test "X$x" = "X$dir"; then
12903 if test -z "$haveit"; then
12904 rpathdirs
="$rpathdirs $dir"
12907 for x
in $ltrpathdirs; do
12908 if test "X$x" = "X$dir"; then
12913 if test -z "$haveit"; then
12914 ltrpathdirs
="$ltrpathdirs $dir"
12919 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12922 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12925 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12926 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12932 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12933 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12939 if test "X$rpathdirs" != "X"; then
12940 if test -n "$hardcode_libdir_separator"; then
12942 for found_dir
in $rpathdirs; do
12943 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12945 acl_save_libdir
="$libdir"
12947 eval flag
=\"$hardcode_libdir_flag_spec\"
12948 libdir
="$acl_save_libdir"
12949 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12951 for found_dir
in $rpathdirs; do
12952 acl_save_libdir
="$libdir"
12953 libdir
="$found_dir"
12954 eval flag
=\"$hardcode_libdir_flag_spec\"
12955 libdir
="$acl_save_libdir"
12956 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12960 if test "X$ltrpathdirs" != "X"; then
12961 for found_dir
in $ltrpathdirs; do
12962 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12969 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
12970 stdlib.h string.h unistd.h sys
/param.h
12972 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12973 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12974 eval as_val
=\$
$as_ac_Header
12975 if test "x$as_val" = x
""yes; then :
12976 cat >>confdefs.h
<<_ACEOF
12977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12984 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
12985 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
12986 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
12988 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12989 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12990 eval as_val
=\$
$as_ac_var
12991 if test "x$as_val" = x
""yes; then :
12992 cat >>confdefs.h
<<_ACEOF
12993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13005 am_save_CPPFLAGS
="$CPPFLAGS"
13007 for element
in $INCICONV; do
13009 for x
in $CPPFLAGS; do
13011 acl_save_prefix
="$prefix"
13012 prefix
="$acl_final_prefix"
13013 acl_save_exec_prefix
="$exec_prefix"
13014 exec_prefix
="$acl_final_exec_prefix"
13016 exec_prefix
="$acl_save_exec_prefix"
13017 prefix
="$acl_save_prefix"
13019 if test "X$x" = "X$element"; then
13024 if test -z "$haveit"; then
13025 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13031 $as_echo_n "checking for iconv... " >&6; }
13032 if test "${am_cv_func_iconv+set}" = set; then :
13033 $as_echo_n "(cached) " >&6
13036 am_cv_func_iconv
="no, consider installing GNU libiconv"
13038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13040 #include <stdlib.h>
13045 iconv_t cd = iconv_open("","");
13046 iconv(cd,NULL,NULL,NULL,NULL);
13052 if ac_fn_c_try_link
"$LINENO"; then :
13053 am_cv_func_iconv
=yes
13055 rm -f core conftest.err conftest.
$ac_objext \
13056 conftest
$ac_exeext conftest.
$ac_ext
13057 if test "$am_cv_func_iconv" != yes; then
13058 am_save_LIBS
="$LIBS"
13059 LIBS
="$LIBS $LIBICONV"
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13062 #include <stdlib.h>
13067 iconv_t cd = iconv_open("","");
13068 iconv(cd,NULL,NULL,NULL,NULL);
13074 if ac_fn_c_try_link
"$LINENO"; then :
13075 am_cv_lib_iconv
=yes
13076 am_cv_func_iconv
=yes
13078 rm -f core conftest.err conftest.
$ac_objext \
13079 conftest
$ac_exeext conftest.
$ac_ext
13080 LIBS
="$am_save_LIBS"
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13085 $as_echo "$am_cv_func_iconv" >&6; }
13086 if test "$am_cv_func_iconv" = yes; then
13088 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13091 if test "$am_cv_lib_iconv" = yes; then
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13093 $as_echo_n "checking how to link with libiconv... " >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13095 $as_echo "$LIBICONV" >&6; }
13097 CPPFLAGS
="$am_save_CPPFLAGS"
13104 if test "$am_cv_func_iconv" = yes; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13106 $as_echo_n "checking for iconv declaration... " >&6; }
13107 if test "${am_cv_proto_iconv+set}" = set; then :
13108 $as_echo_n "(cached) " >&6
13111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 #include <stdlib.h>
13120 #if defined(__STDC__) || defined(__cplusplus)
13121 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13134 if ac_fn_c_try_compile
"$LINENO"; then :
13135 am_cv_proto_iconv_arg1
=""
13137 am_cv_proto_iconv_arg1
="const"
13139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13140 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);"
13143 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
13145 }$am_cv_proto_iconv" >&5
13147 }$am_cv_proto_iconv" >&6; }
13149 cat >>confdefs.h
<<_ACEOF
13150 #define ICONV_CONST $am_cv_proto_iconv_arg1
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
13157 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
13158 if test "${am_cv_langinfo_codeset+set}" = set; then :
13159 $as_echo_n "(cached) " >&6
13161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13163 #include <langinfo.h>
13167 char* cs = nl_langinfo(CODESET);
13172 if ac_fn_c_try_link
"$LINENO"; then :
13173 am_cv_langinfo_codeset
=yes
13175 am_cv_langinfo_codeset
=no
13177 rm -f core conftest.err conftest.
$ac_objext \
13178 conftest
$ac_exeext conftest.
$ac_ext
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
13182 $as_echo "$am_cv_langinfo_codeset" >&6; }
13183 if test $am_cv_langinfo_codeset = yes; then
13185 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
13189 if test $ac_cv_header_locale_h = yes; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13192 $as_echo_n "checking for LC_MESSAGES... " >&6; }
13193 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13194 $as_echo_n "(cached) " >&6
13196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13198 #include <locale.h>
13207 if ac_fn_c_try_link
"$LINENO"; then :
13208 am_cv_val_LC_MESSAGES
=yes
13210 am_cv_val_LC_MESSAGES
=no
13212 rm -f core conftest.err conftest.
$ac_objext \
13213 conftest
$ac_exeext conftest.
$ac_ext
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13216 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13217 if test $am_cv_val_LC_MESSAGES = yes; then
13219 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13225 for ac_prog
in bison
13227 # Extract the first word of "$ac_prog", so it can be a program name with args.
13228 set dummy
$ac_prog; ac_word
=$2
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13230 $as_echo_n "checking for $ac_word... " >&6; }
13231 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
13232 $as_echo_n "(cached) " >&6
13234 if test -n "$INTLBISON"; then
13235 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
13237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13238 for as_dir
in $PATH
13241 test -z "$as_dir" && as_dir
=.
13242 for ac_exec_ext
in '' $ac_executable_extensions; do
13243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13244 ac_cv_prog_INTLBISON
="$ac_prog"
13245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 INTLBISON
=$ac_cv_prog_INTLBISON
13255 if test -n "$INTLBISON"; then
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
13257 $as_echo "$INTLBISON" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260 $as_echo "no" >&6; }
13264 test -n "$INTLBISON" && break
13267 if test -z "$INTLBISON"; then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
13271 $as_echo_n "checking version of bison... " >&6; }
13272 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13273 case $ac_prog_version in
13274 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
13275 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
13276 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
13277 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
13280 $as_echo "$ac_prog_version" >&6; }
13282 if test $ac_verc_fail = yes; then
13288 # Check whether --with-language was given.
13289 if test "${with_language+set}" = set; then :
13290 withval
=$with_language; if test "$withval" != "all"; then :
13291 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13311 $as_echo_n "checking whether NLS is requested... " >&6; }
13312 # Check whether --enable-nls was given.
13313 if test "${enable_nls+set}" = set; then :
13314 enableval
=$enable_nls; USE_NLS
=$enableval
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13320 $as_echo "$USE_NLS" >&6; }
13324 BUILD_INCLUDED_LIBINTL
=no
13325 USE_INCLUDED_LIBINTL
=no
13331 if test "$USE_NLS" = "yes"; then
13332 gt_use_preinstalled_gnugettext
=no
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
13335 $as_echo_n "checking whether included gettext is requested... " >&6; }
13337 # Check whether --with-included-gettext was given.
13338 if test "${with_included_gettext+set}" = set; then :
13339 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
13341 nls_cv_force_use_gnu_gettext
=no
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
13345 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
13347 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
13348 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13356 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13357 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
13358 $as_echo_n "(cached) " >&6
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #include <libintl.h>
13363 extern int _nl_msg_cat_cntr;
13364 extern int *_nl_domain_bindings;
13368 bindtextdomain ("", "");
13369 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
13374 if ac_fn_c_try_link
"$LINENO"; then :
13375 gt_cv_func_gnugettext2_libc
=yes
13377 gt_cv_func_gnugettext2_libc
=no
13379 rm -f core conftest.err conftest.
$ac_objext \
13380 conftest
$ac_exeext conftest.
$ac_ext
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
13383 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
13385 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13391 acl_save_prefix
="$prefix"
13392 prefix
="$acl_final_prefix"
13393 acl_save_exec_prefix
="$exec_prefix"
13394 exec_prefix
="$acl_final_exec_prefix"
13396 eval additional_includedir
=\"$includedir\"
13397 eval additional_libdir
=\"$libdir\"
13399 exec_prefix
="$acl_save_exec_prefix"
13400 prefix
="$acl_save_prefix"
13403 # Check whether --with-libintl-prefix was given.
13404 if test "${with_libintl_prefix+set}" = set; then :
13405 withval
=$with_libintl_prefix;
13406 if test "X$withval" = "Xno"; then
13409 if test "X$withval" = "X"; then
13411 acl_save_prefix
="$prefix"
13412 prefix
="$acl_final_prefix"
13413 acl_save_exec_prefix
="$exec_prefix"
13414 exec_prefix
="$acl_final_exec_prefix"
13416 eval additional_includedir
=\"$includedir\"
13417 eval additional_libdir
=\"$libdir\"
13419 exec_prefix
="$acl_save_exec_prefix"
13420 prefix
="$acl_save_prefix"
13423 additional_includedir
="$withval/include"
13424 additional_libdir
="$withval/lib"
13435 names_already_handled
=
13436 names_next_round
='intl '
13437 while test -n "$names_next_round"; do
13438 names_this_round
="$names_next_round"
13440 for name
in $names_this_round; do
13442 for n
in $names_already_handled; do
13443 if test "$n" = "$name"; then
13444 already_handled
=yes
13448 if test -z "$already_handled"; then
13449 names_already_handled
="$names_already_handled $name"
13450 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13451 eval value
=\"\
$HAVE_LIB$uppername\"
13452 if test -n "$value"; then
13453 if test "$value" = yes; then
13454 eval value
=\"\
$LIB$uppername\"
13455 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13456 eval value
=\"\
$LTLIB$uppername\"
13457 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13466 if test $use_additional = yes; then
13467 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13468 found_dir
="$additional_libdir"
13469 found_so
="$additional_libdir/lib$name.$shlibext"
13470 if test -f "$additional_libdir/lib$name.la"; then
13471 found_la
="$additional_libdir/lib$name.la"
13474 if test -f "$additional_libdir/lib$name.$libext"; then
13475 found_dir
="$additional_libdir"
13476 found_a
="$additional_libdir/lib$name.$libext"
13477 if test -f "$additional_libdir/lib$name.la"; then
13478 found_la
="$additional_libdir/lib$name.la"
13483 if test "X$found_dir" = "X"; then
13484 for x
in $LDFLAGS $LTLIBINTL; do
13486 acl_save_prefix
="$prefix"
13487 prefix
="$acl_final_prefix"
13488 acl_save_exec_prefix
="$exec_prefix"
13489 exec_prefix
="$acl_final_exec_prefix"
13491 exec_prefix
="$acl_save_exec_prefix"
13492 prefix
="$acl_save_prefix"
13496 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13497 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13499 found_so
="$dir/lib$name.$shlibext"
13500 if test -f "$dir/lib$name.la"; then
13501 found_la
="$dir/lib$name.la"
13504 if test -f "$dir/lib$name.$libext"; then
13506 found_a
="$dir/lib$name.$libext"
13507 if test -f "$dir/lib$name.la"; then
13508 found_la
="$dir/lib$name.la"
13514 if test "X$found_dir" != "X"; then
13519 if test "X$found_dir" != "X"; then
13520 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13521 if test "X$found_so" != "X"; then
13522 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13523 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13526 for x
in $ltrpathdirs; do
13527 if test "X$x" = "X$found_dir"; then
13532 if test -z "$haveit"; then
13533 ltrpathdirs
="$ltrpathdirs $found_dir"
13535 if test "$hardcode_direct" = yes; then
13536 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13538 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13539 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13541 for x
in $rpathdirs; do
13542 if test "X$x" = "X$found_dir"; then
13547 if test -z "$haveit"; then
13548 rpathdirs
="$rpathdirs $found_dir"
13552 for x
in $LDFLAGS $LIBINTL; do
13554 acl_save_prefix
="$prefix"
13555 prefix
="$acl_final_prefix"
13556 acl_save_exec_prefix
="$exec_prefix"
13557 exec_prefix
="$acl_final_exec_prefix"
13559 exec_prefix
="$acl_save_exec_prefix"
13560 prefix
="$acl_save_prefix"
13562 if test "X$x" = "X-L$found_dir"; then
13567 if test -z "$haveit"; then
13568 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13570 if test "$hardcode_minus_L" != no
; then
13571 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13573 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13579 if test "X$found_a" != "X"; then
13580 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13582 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13585 additional_includedir
=
13586 case "$found_dir" in
13588 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13589 additional_includedir
="$basedir/include"
13592 if test "X$additional_includedir" != "X"; then
13593 if test "X$additional_includedir" != "X/usr/include"; then
13595 if test "X$additional_includedir" = "X/usr/local/include"; then
13596 if test -n "$GCC"; then
13598 linux
*) haveit
=yes;;
13602 if test -z "$haveit"; then
13603 for x
in $CPPFLAGS $INCINTL; do
13605 acl_save_prefix
="$prefix"
13606 prefix
="$acl_final_prefix"
13607 acl_save_exec_prefix
="$exec_prefix"
13608 exec_prefix
="$acl_final_exec_prefix"
13610 exec_prefix
="$acl_save_exec_prefix"
13611 prefix
="$acl_save_prefix"
13613 if test "X$x" = "X-I$additional_includedir"; then
13618 if test -z "$haveit"; then
13619 if test -d "$additional_includedir"; then
13620 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13626 if test -n "$found_la"; then
13627 save_libdir
="$libdir"
13628 case "$found_la" in
13629 */* |
*\\*) .
"$found_la" ;;
13630 *) .
"./$found_la" ;;
13632 libdir
="$save_libdir"
13633 for dep
in $dependency_libs; do
13636 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13637 if test "X$additional_libdir" != "X/usr/lib"; then
13639 if test "X$additional_libdir" = "X/usr/local/lib"; then
13640 if test -n "$GCC"; then
13642 linux
*) haveit
=yes;;
13646 if test -z "$haveit"; then
13648 for x
in $LDFLAGS $LIBINTL; do
13650 acl_save_prefix
="$prefix"
13651 prefix
="$acl_final_prefix"
13652 acl_save_exec_prefix
="$exec_prefix"
13653 exec_prefix
="$acl_final_exec_prefix"
13655 exec_prefix
="$acl_save_exec_prefix"
13656 prefix
="$acl_save_prefix"
13658 if test "X$x" = "X-L$additional_libdir"; then
13663 if test -z "$haveit"; then
13664 if test -d "$additional_libdir"; then
13665 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13669 for x
in $LDFLAGS $LTLIBINTL; do
13671 acl_save_prefix
="$prefix"
13672 prefix
="$acl_final_prefix"
13673 acl_save_exec_prefix
="$exec_prefix"
13674 exec_prefix
="$acl_final_exec_prefix"
13676 exec_prefix
="$acl_save_exec_prefix"
13677 prefix
="$acl_save_prefix"
13679 if test "X$x" = "X-L$additional_libdir"; then
13684 if test -z "$haveit"; then
13685 if test -d "$additional_libdir"; then
13686 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13693 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13694 if test "$enable_rpath" != no
; then
13696 for x
in $rpathdirs; do
13697 if test "X$x" = "X$dir"; then
13702 if test -z "$haveit"; then
13703 rpathdirs
="$rpathdirs $dir"
13706 for x
in $ltrpathdirs; do
13707 if test "X$x" = "X$dir"; then
13712 if test -z "$haveit"; then
13713 ltrpathdirs
="$ltrpathdirs $dir"
13718 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13721 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13724 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13725 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13731 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13732 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13738 if test "X$rpathdirs" != "X"; then
13739 if test -n "$hardcode_libdir_separator"; then
13741 for found_dir
in $rpathdirs; do
13742 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13744 acl_save_libdir
="$libdir"
13746 eval flag
=\"$hardcode_libdir_flag_spec\"
13747 libdir
="$acl_save_libdir"
13748 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13750 for found_dir
in $rpathdirs; do
13751 acl_save_libdir
="$libdir"
13752 libdir
="$found_dir"
13753 eval flag
=\"$hardcode_libdir_flag_spec\"
13754 libdir
="$acl_save_libdir"
13755 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13759 if test "X$ltrpathdirs" != "X"; then
13760 for found_dir
in $ltrpathdirs; do
13761 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13766 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13767 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
13768 $as_echo_n "(cached) " >&6
13770 gt_save_CPPFLAGS
="$CPPFLAGS"
13771 CPPFLAGS
="$CPPFLAGS $INCINTL"
13772 gt_save_LIBS
="$LIBS"
13773 LIBS
="$LIBS $LIBINTL"
13774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 #include <libintl.h>
13777 extern int _nl_msg_cat_cntr;
13782 const char *_nl_expand_alias ();
13786 bindtextdomain ("", "");
13787 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13792 if ac_fn_c_try_link
"$LINENO"; then :
13793 gt_cv_func_gnugettext2_libintl
=yes
13795 gt_cv_func_gnugettext2_libintl
=no
13797 rm -f core conftest.err conftest.
$ac_objext \
13798 conftest
$ac_exeext conftest.
$ac_ext
13799 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13800 LIBS
="$LIBS $LIBICONV"
13801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 #include <libintl.h>
13804 extern int _nl_msg_cat_cntr;
13809 const char *_nl_expand_alias ();
13813 bindtextdomain ("", "");
13814 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13819 if ac_fn_c_try_link
"$LINENO"; then :
13820 LIBINTL
="$LIBINTL $LIBICONV"
13821 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13822 gt_cv_func_gnugettext2_libintl
=yes
13825 rm -f core conftest.err conftest.
$ac_objext \
13826 conftest
$ac_exeext conftest.
$ac_ext
13828 CPPFLAGS
="$gt_save_CPPFLAGS"
13829 LIBS
="$gt_save_LIBS"
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
13832 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
13835 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13836 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
13837 && test "$PACKAGE" != gettext; }; then
13838 gt_use_preinstalled_gnugettext
=yes
13846 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13847 nls_cv_use_gnu_gettext
=yes
13851 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13852 INTLOBJS
="\$(GETTOBJS)"
13853 BUILD_INCLUDED_LIBINTL
=yes
13854 USE_INCLUDED_LIBINTL
=yes
13855 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13856 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13857 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13860 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13861 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13866 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13867 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13869 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13876 if test "$USE_NLS" = "yes"; then
13878 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13879 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13881 $as_echo_n "checking how to link with libintl... " >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13883 $as_echo "$LIBINTL" >&6; }
13885 for element
in $INCINTL; do
13887 for x
in $CPPFLAGS; do
13889 acl_save_prefix
="$prefix"
13890 prefix
="$acl_final_prefix"
13891 acl_save_exec_prefix
="$exec_prefix"
13892 exec_prefix
="$acl_final_exec_prefix"
13894 exec_prefix
="$acl_save_exec_prefix"
13895 prefix
="$acl_save_prefix"
13897 if test "X$x" = "X$element"; then
13902 if test -z "$haveit"; then
13903 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13910 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13913 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13921 if test "$PACKAGE" = gettext; then
13922 BUILD_INCLUDED_LIBINTL
=yes
13930 nls_cv_header_intl
=
13931 nls_cv_header_libgt
=
13942 INTL_LIBTOOL_SUFFIX_PREFIX
=
13946 INTLLIBS
="$LIBINTL"
13953 if test $USE_INCLUDED_LIBINTL = yes; then :
13954 INCINTL
=-I\
${top_builddir}/intl
13957 if test x
$USE_NLS = xyes
; then :
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
13960 $as_echo_n "checking for autopoint... " >&6; }
13961 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
13962 if test -n "$autopoint_version"; then :
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
13965 $as_echo "yes ($autopoint_version)" >&6; }
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971 $as_echo "no" >&6; }
13977 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13979 You need to install GNU gettext/gettext-tools to compile aMule with
13981 $as_echo "$as_me: WARNING:
13982 You need to install GNU gettext/gettext-tools to compile aMule with
13983 i18n support." >&2;}
13984 _mule_warning_9
=yes
13985 _mule_has_warnings
=yes
13989 if test ${USE_NLS:-no} = yes; then :
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
13992 $as_echo_n "checking for requested languages... " >&6; }
13993 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
13995 if test ${enable_amule_daemon:-no} = yes; then :
13997 if test -z "$LINGUAS"; then :
13998 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
14001 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14002 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
14005 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
14008 AMULE_DAEMON_MANPAGES
=
14013 if test ${enable_amulecmd:-no} = yes; then :
14015 if test -z "$LINGUAS"; then :
14016 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
14019 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14020 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
14023 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
14031 if test ${enable_webserver:-no} = yes; then :
14033 if test -z "$LINGUAS"; then :
14034 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
14037 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14038 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
14041 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
14044 WEBSERVER_MANPAGES
=
14049 if test ${enable_amule_gui:-no} = yes; then :
14051 if test -z "$LINGUAS"; then :
14052 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
14055 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14056 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
14059 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
14062 AMULE_GUI_MANPAGES
=
14067 if test ${enable_cas:-no} = yes; then :
14069 if test -z "$LINGUAS"; then :
14070 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
14073 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14074 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
14077 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
14085 if test ${enable_wxcas:-no} = yes; then :
14087 if test -z "$LINGUAS"; then :
14088 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
14091 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14092 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
14095 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
14103 if test ${enable_ed2k:-yes} = yes; then :
14105 if test -z "$LINGUAS"; then :
14106 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
14109 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14110 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
14113 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
14121 if test ${enable_alc:-no} = yes; then :
14123 if test -z "$LINGUAS"; then :
14124 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
14127 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14128 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
14131 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
14139 if test ${enable_alcc:-no} = yes; then :
14141 if test -z "$LINGUAS"; then :
14142 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
14145 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14146 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
14149 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
14157 if test ${enable_monolithic:-yes} = yes; then :
14159 if test -z "$LINGUAS"; then :
14160 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
14163 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
14164 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
14167 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
14170 MONOLITHIC_MANPAGES
=
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
14175 $as_echo "${LINGUAS:-all}" >&6; }
14181 # Check for bfd.h (to have proper backtraces without using wxExecute)
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
14184 $as_echo_n "checking for bfd... " >&6; }
14186 for bfd_ldadd
in "" "${LIBINTL}" "-ldl" "-ldl ${LIBINTL}"; do
14187 mule_backup_LIBS
="$LIBS"
14188 mule_backup_LDFLAGS
="$LDFLAGS"
14189 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
14190 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
14191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14195 #include <ansidecl.h>
14202 char *dummy = bfd_errmsg(bfd_get_error());
14209 if ac_fn_c_try_link
"$LINENO"; then :
14212 BFD_CPPFLAGS
="-DHAVE_BFD"
14213 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
14214 LIBS
="$mule_backup_LIBS"
14215 LDFLAGS
="$mule_backup_LDFLAGS"
14219 rm -f core conftest.err conftest.
$ac_objext \
14220 conftest
$ac_exeext conftest.
$ac_ext
14221 LIBS
="$mule_backup_LIBS"
14222 LDFLAGS
="$mule_backup_LDFLAGS"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14226 $as_echo "$result" >&6; }
14228 if test $result = no
; then :
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14230 bfd.h not found or unusable, please install binutils development
14231 package if you are a developer or want to help testing aMule" >&5
14232 $as_echo "$as_me: WARNING:
14233 bfd.h not found or unusable, please install binutils development
14234 package if you are a developer or want to help testing aMule" >&2;}
14235 _mule_warning_10
=yes
14236 _mule_has_warnings
=yes
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
14243 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14248 #include <execinfo.h>
14255 int n = backtrace(&bt, 1);
14256 const char **bt_syms = backtrace_symbols(bt, n);
14263 if ac_fn_c_try_link
"$LINENO"; then :
14266 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14269 $as_echo "yes" >&6; }
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14274 $as_echo "no" >&6; }
14277 rm -f core conftest.err conftest.
$ac_objext \
14278 conftest
$ac_exeext conftest.
$ac_ext
14281 # Flush standard test results for speeding cache
14282 cat >confcache
<<\_ACEOF
14283 # This file is a shell script that caches the results of configure
14284 # tests run on this system so they can be shared between configure
14285 # scripts and configure runs, see configure's option --config-cache.
14286 # It is not useful on other systems. If it contains results you don't
14287 # want to keep, you may remove or edit it.
14289 # config.status only pays attention to the cache file if you give it
14290 # the --recheck option to rerun configure.
14292 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14293 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14294 # following values.
14298 # The following way of writing the cache mishandles newlines in values,
14299 # but we know of no workaround that is simple, portable, and efficient.
14300 # So, we kill variables containing newlines.
14301 # Ultrix sh set writes to stderr and can't be redirected directly,
14302 # and sets the high bit in the cache file unless we assign to the vars.
14304 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14305 eval ac_val
=\$
$ac_var
14309 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14310 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14313 _ | IFS | as_nl
) ;; #(
14314 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14315 *) { eval $ac_var=; unset $ac_var;} ;;
14321 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14322 *${as_nl}ac_space
=\
*)
14323 # `set' does not quote correctly, so add quotes: double-quote
14324 # substitution turns \\\\ into \\, and sed turns \\ into \.
14327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14330 # `set' quotes correctly as required by POSIX, so do not add quotes.
14331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14340 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14342 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14344 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14345 if test -w "$cache_file"; then
14346 test "x$cache_file" != "x/dev/null" &&
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14348 $as_echo "$as_me: updating cache $cache_file" >&6;}
14349 cat confcache
>$cache_file
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14352 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14359 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
14361 $as_echo_n "checking for docdir... " >&6; }
14362 if test -z "$docdir"; then :
14363 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
14366 $as_echo "$docdir" >&6; }
14368 # Try to set the SVN checkout-date
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
14370 $as_echo_n "checking for SVNDATE... " >&6; }
14371 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
14373 svndate
="rev. `cat $srcdir/.svn-revision`"
14374 elif test -d $srcdir/.svn
# SVNDATE for svn
14376 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
14379 $as_echo "${svndate:-None required}" >&6; }
14380 if test -n "$svndate"; then :
14383 cat >>confdefs.h
<<_ACEOF
14384 #define SVNDATE "$svndate"
14387 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
14394 # Check whether --with-denoise-level was given.
14395 if test "${with_denoise_level+set}" = set; then :
14396 withval
=$with_denoise_level;
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
14401 $as_echo_n "checking denoising level... " >&6; }
14402 if test ${with_denoise_level:-5} = yes; then :
14403 with_denoise_level
=5
14405 if test ${with_denoise_level:-5} = no
; then :
14406 with_denoise_level
=0
14408 if test ${with_denoise_level:-5} -gt 4; then :
14409 if test "${svndate:+set}" = "set"; then :
14410 with_denoise_level
=0
14412 with_denoise_level
=4
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
14416 $as_echo "$with_denoise_level" >&6; }
14418 ac_config_commands
="$ac_config_commands denoiser"
14422 if test ${enable_plasmamule:-no} = yes; then :
14425 if test -z ${QT_MOC}; then :
14427 for ac_prog
in moc-qt4 moc
14429 # Extract the first word of "$ac_prog", so it can be a program name with args.
14430 set dummy
$ac_prog; ac_word
=$2
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14432 $as_echo_n "checking for $ac_word... " >&6; }
14433 if test "${ac_cv_path_QT_MOC+set}" = set; then :
14434 $as_echo_n "(cached) " >&6
14438 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
14441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14442 for as_dir
in $PATH
14445 test -z "$as_dir" && as_dir
=.
14446 for ac_exec_ext
in '' $ac_executable_extensions; do
14447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14448 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
14449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14459 QT_MOC
=$ac_cv_path_QT_MOC
14460 if test -n "$QT_MOC"; then
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
14462 $as_echo "$QT_MOC" >&6; }
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14465 $as_echo "no" >&6; }
14469 test -n "$QT_MOC" && break
14472 if test -z ${QT_MOC}; then :
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
14482 $as_echo_n "checking for moc... " >&6; }
14483 if test -x ${QT_MOC}; then :
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
14486 $as_echo "${QT_MOC}" >&6; }
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
14492 $as_echo "\"not found\"" >&6; }
14501 if test "${QT_MOC}" != "not found"; then :
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
14504 $as_echo_n "checking for moc version >= 4... " >&6; }
14505 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
14506 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
14509 $as_echo "found ${QT_MOC_VERSION}" >&6; }
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
14514 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
14522 if test "${QT_MOC}" = "not found"; then :
14523 enable_plasmamule
=disabled
14526 if test ${enable_plasmamule:-no} = yes; then :
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
14531 $as_echo_n "checking for qt... " >&6; }
14532 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14535 $as_echo "found" >&6; }
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
14537 $as_echo_n "checking for qt core cflags... " >&6; }
14538 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
14540 $as_echo "$QT_CORE_CFLAGS" >&6; }
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
14542 $as_echo_n "checking for qt core libs... " >&6; }
14543 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
14545 $as_echo "$QT_CORE_LIBS" >&6; }
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
14547 $as_echo_n "checking for qt gui cflags... " >&6; }
14548 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
14550 $as_echo "$QT_GUI_CFLAGS" >&6; }
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
14552 $as_echo_n "checking for qt gui libs... " >&6; }
14553 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
14555 $as_echo "$QT_GUI_LIBS" >&6; }
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14559 $as_echo "not found" >&6; }
14564 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
14566 QT_DBUS_LDFLAGS
="-lQtDBus"
14576 if test -z "${QT_CORE_CXXFLAGS}"; then :
14577 enable_plasmamule
=disabled
14582 if test ${enable_plasmamule:-no} = yes; then :
14585 if test -z ${KDE4_CONFIG}; then :
14587 # Extract the first word of "kde4-config", so it can be a program name with args.
14588 set dummy kde4-config
; ac_word
=$2
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14590 $as_echo_n "checking for $ac_word... " >&6; }
14591 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
14592 $as_echo_n "(cached) " >&6
14594 case $KDE4_CONFIG in
14596 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
14599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14600 for as_dir
in $PATH
14603 test -z "$as_dir" && as_dir
=.
14604 for ac_exec_ext
in '' $ac_executable_extensions; do
14605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14606 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14617 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
14618 if test -n "$KDE4_CONFIG"; then
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
14620 $as_echo "$KDE4_CONFIG" >&6; }
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14623 $as_echo "no" >&6; }
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
14631 $as_echo_n "checking for kde4-config... " >&6; }
14632 if test ! -x KDE4_CONFIG
; then :
14634 KDE4_CONFIG
="not found"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14636 $as_echo "not found" >&6; }
14643 if test "${KDE4_CONFIG}" != "not found"; then :
14645 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
14646 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
14649 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
14654 $as_echo "at least version
4 required
" >&6; }
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14662 $as_echo "not found
" >&6; }
14668 if test "${KDE4_CONFIG}" = "not found
"; then :
14669 enable_plasmamule=disabled
14674 if test ${enable_plasmamule:-no} = yes; then :
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
14678 $as_echo_n "checking
for kde4 headers...
" >&6; }
14679 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
14681 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
14683 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
14686 $as_echo "${KDE_HEADER_DIR}" >&6; }
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
14691 $as_echo "dataengine.h not found
" >&6; }
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
14699 $as_echo "kdirwatch.h not found
" >&6; }
14705 if test -z ${KDE_HEADER_DIR}; then :
14706 enable_plasmamule=disabled
14711 if test ${enable_plasmamule:-no} = yes; then :
14713 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
14714 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
14719 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
14720 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14725 if test ${KDE_IN_HOME} = "yes"; then :
14727 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14731 if test -n ${prefix}; then :
14733 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
14734 if test -n ${KDE_APPLNK_PATH}; then :
14736 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14742 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
14748 $as_echo "${KDE_APPLNK_PATH}" >&6; }
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
14754 $as_echo_n "checking
for kde4 services Path...
" >&6; }
14755 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14760 if test ${KDE_IN_HOME} = "yes"; then :
14762 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14766 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
14770 $as_echo "${KDE_SERVICE_PATH}" >&6; }
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
14776 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
14777 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14782 if test ${KDE_IN_HOME} = "yes"; then :
14784 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14788 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
14792 $as_echo "${KDE_MODULE_PATH}" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
14798 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
14799 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14804 if test ${KDE_IN_HOME} = "yes"; then :
14806 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14810 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
14813 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
14815 $as_echo "${KDE_ICON_PATH}" >&6; }
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
14821 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
14822 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14827 if test ${KDE_IN_HOME} = "yes"; then :
14829 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14833 if test -n ${prefix}; then :
14835 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
14836 if test -n ${KDE_MIME_PATH}; then :
14838 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14844 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
14850 $as_echo "${KDE_MIME_PATH}" >&6; }
14855 enable_plasmamule=disabled
14860 if test ${enable_debug:-yes} = yes; then :
14862 DEBUGFLAG="-D__DEBUG__"
14869 if test x$SYS = xwin32; then
14871 SYS_WIN32_FALSE='#'
14877 if test x$SYS = xwin32 -a "$RC" != ":"; then
14885 if test x$SYS = xdarwin; then
14886 NEED_CORESERVICES_TRUE=
14887 NEED_CORESERVICES_FALSE='#'
14889 NEED_CORESERVICES_TRUE='#'
14890 NEED_CORESERVICES_FALSE=
14893 if test x$USE_NLS = xyes; then
14895 COMPILE_NLS_FALSE='#'
14897 COMPILE_NLS_TRUE='#'
14901 if test x$HAVE_FLEX_EXTENDED = xyes; then
14902 GENERATE_FLEX_HEADER_TRUE=
14903 GENERATE_FLEX_HEADER_FALSE='#'
14905 GENERATE_FLEX_HEADER_TRUE='#'
14906 GENERATE_FLEX_HEADER_FALSE=
14909 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
14910 INSTALL_SKINS_TRUE=
14911 INSTALL_SKINS_FALSE='#'
14913 INSTALL_SKINS_TRUE='#'
14914 INSTALL_SKINS_FALSE=
14917 if test ${enable_plasmamule:-no} = yes; then
14919 PLASMAMULE_FALSE='#'
14921 PLASMAMULE_TRUE='#'
14926 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
14927 COMPILE_LIB_COMMON_TRUE=
14928 COMPILE_LIB_COMMON_FALSE='#'
14930 COMPILE_LIB_COMMON_TRUE='#'
14931 COMPILE_LIB_COMMON_FALSE=
14934 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
14935 COMPILE_LIB_EC_TRUE=
14936 COMPILE_LIB_EC_FALSE='#'
14938 COMPILE_LIB_EC_TRUE='#'
14939 COMPILE_LIB_EC_FALSE=
14943 # Check for readline library
14944 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
14947 $as_echo_n "checking
for a readline compatible library...
" >&6; }
14948 if test "${vl_cv_lib_readline+set}" = set; then :
14949 $as_echo_n "(cached
) " >&6
14953 for readline_lib in readline edit editline; do
14954 for termcap_lib in "" termcap curses ncurses; do
14955 if test -z "$termcap_lib"; then
14956 TRY_LIB="-l$readline_lib"
14958 TRY_LIB="-l$readline_lib -l$termcap_lib"
14960 LIBS="$ORIG_LIBS $TRY_LIB"
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14974 return readline ();
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 vl_cv_lib_readline="$TRY_LIB"
14982 rm -f core conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext conftest.$ac_ext
14984 if test -n "$vl_cv_lib_readline"; then
14988 if test -n "$vl_cv_lib_readline"; then
14992 if test -z "$vl_cv_lib_readline"; then
14993 vl_cv_lib_readline="no
"
14997 READLINE_LIBS="$vl_cv_lib_readline"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
15002 $as_echo "$vl_cv_lib_readline" >&6; }
15004 if test "$vl_cv_lib_readline" != "no
"; then
15006 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
15008 for ac_header
in readline.h readline
/readline.h
15010 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15011 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15012 eval as_val
=\$
$as_ac_Header
15013 if test "x$as_val" = x
""yes; then :
15014 cat >>confdefs.h
<<_ACEOF
15015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
15023 $as_echo_n "checking whether readline supports history... " >&6; }
15024 if test "${vl_cv_lib_readline_history+set}" = set; then :
15025 $as_echo_n "(cached) " >&6
15028 vl_cv_lib_readline_history
="no"
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15032 /* Override any GCC internal prototype to avoid an error.
15033 Use char because int might match the return type of a GCC
15034 builtin and then its argument prototype would still apply. */
15038 char add_history ();
15042 return add_history ();
15047 if ac_fn_c_try_link
"$LINENO"; then :
15048 vl_cv_lib_readline_history
="yes"
15050 rm -f core conftest.err conftest.
$ac_objext \
15051 conftest
$ac_exeext conftest.
$ac_ext
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
15055 $as_echo "$vl_cv_lib_readline_history" >&6; }
15056 if test "$vl_cv_lib_readline_history" = "yes"; then
15058 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
15060 for ac_header
in history.h readline
/history.h
15062 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15063 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15064 eval as_val
=\$
$as_ac_Header
15065 if test "x$as_val" = x
""yes; then :
15066 cat >>confdefs.h
<<_ACEOF
15067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15081 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
15084 # Check whether --enable-ccache was given.
15085 if test "${enable_ccache+set}" = set; then :
15086 enableval
=$enable_ccache;
15092 # Check whether --with-ccache-prefix was given.
15093 if test "${with_ccache_prefix+set}" = set; then :
15094 withval
=$with_ccache_prefix;
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added" >&5
15099 $as_echo_n "checking whether ccache support should be added... " >&6; }
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
15101 $as_echo "${enable_ccache:-no}" >&6; }
15103 if test ${enable_ccache:-no} = yes; then :
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache presence" >&5
15106 $as_echo_n "checking for ccache presence... " >&6; }
15107 if test -z "$with_ccache_prefix"; then :
15109 ccache_full
=`which ccache`
15110 with_ccache_prefix
=`dirname ${ccache_full}`
15113 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then :
15115 CC
="$with_ccache_prefix/ccache $CC"
15116 CXX
="$with_ccache_prefix/ccache $CXX"
15117 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
15123 $as_echo "${enable_ccache:-no}" >&6; }
15128 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"
15130 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
15132 if test x
$SYS = xwin32
; then :
15133 ac_config_files
="$ac_config_files version.rc"
15136 cat >confcache
<<\_ACEOF
15137 # This file is a shell script that caches the results of configure
15138 # tests run on this system so they can be shared between configure
15139 # scripts and configure runs, see configure's option --config-cache.
15140 # It is not useful on other systems. If it contains results you don't
15141 # want to keep, you may remove or edit it.
15143 # config.status only pays attention to the cache file if you give it
15144 # the --recheck option to rerun configure.
15146 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15147 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15148 # following values.
15152 # The following way of writing the cache mishandles newlines in values,
15153 # but we know of no workaround that is simple, portable, and efficient.
15154 # So, we kill variables containing newlines.
15155 # Ultrix sh set writes to stderr and can't be redirected directly,
15156 # and sets the high bit in the cache file unless we assign to the vars.
15158 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15159 eval ac_val
=\$
$ac_var
15163 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15164 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15167 _ | IFS | as_nl
) ;; #(
15168 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15169 *) { eval $ac_var=; unset $ac_var;} ;;
15175 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15176 *${as_nl}ac_space
=\
*)
15177 # `set' does not quote correctly, so add quotes: double-quote
15178 # substitution turns \\\\ into \\, and sed turns \\ into \.
15181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15184 # `set' quotes correctly as required by POSIX, so do not add quotes.
15185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15194 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15196 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15198 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15199 if test -w "$cache_file"; then
15200 test "x$cache_file" != "x/dev/null" &&
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15202 $as_echo "$as_me: updating cache $cache_file" >&6;}
15203 cat confcache
>$cache_file
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15206 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15211 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15212 # Let make expand exec_prefix.
15213 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15215 DEFS
=-DHAVE_CONFIG_H
15219 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15220 # 1. Remove the extension, and $U if already installed.
15221 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15222 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15223 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15224 # will be set to the directory where LIBOBJS objects are built.
15225 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15226 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15228 LIBOBJS
=$ac_libobjs
15230 LTLIBOBJS
=$ac_ltlibobjs
15233 if test -n "$EXEEXT"; then
15235 am__EXEEXT_FALSE
='#'
15237 am__EXEEXT_TRUE
='#'
15241 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15242 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15245 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15246 as_fn_error
"conditional \"AMDEP\" was never defined.
15247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15249 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15250 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15253 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15254 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15257 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
15258 as_fn_error
"conditional \"MONOLITHIC\" was never defined.
15259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15261 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
15262 as_fn_error
"conditional \"AMULE_DAEMON\" was never defined.
15263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15265 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
15266 as_fn_error
"conditional \"COMPILE_CMD\" was never defined.
15267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15269 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
15270 as_fn_error
"conditional \"WEB\" was never defined.
15271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15273 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
15274 as_fn_error
"conditional \"AMULE_GUI\" was never defined.
15275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15277 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
15278 as_fn_error
"conditional \"CAS\" was never defined.
15279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15281 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
15282 as_fn_error
"conditional \"WXCAS\" was never defined.
15283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15285 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
15286 as_fn_error
"conditional \"ED2K\" was never defined.
15287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15289 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
15290 as_fn_error
"conditional \"ALC\" was never defined.
15291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15293 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
15294 as_fn_error
"conditional \"ALCC\" was never defined.
15295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15297 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
15298 as_fn_error
"conditional \"XAS\" was never defined.
15299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15301 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
15302 as_fn_error
"conditional \"FILEVIEW\" was never defined.
15303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15305 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
15306 as_fn_error
"conditional \"SYS_WIN32\" was never defined.
15307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15309 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
15310 as_fn_error
"conditional \"NEED_RC\" was never defined.
15311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15313 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
15314 as_fn_error
"conditional \"NEED_CORESERVICES\" was never defined.
15315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15317 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
15318 as_fn_error
"conditional \"COMPILE_NLS\" was never defined.
15319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15321 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
15322 as_fn_error
"conditional \"GENERATE_FLEX_HEADER\" was never defined.
15323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15325 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
15326 as_fn_error
"conditional \"INSTALL_SKINS\" was never defined.
15327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15329 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
15330 as_fn_error
"conditional \"PLASMAMULE\" was never defined.
15331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15333 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
15334 as_fn_error
"conditional \"COMPILE_LIB_COMMON\" was never defined.
15335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15337 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
15338 as_fn_error
"conditional \"COMPILE_LIB_EC\" was never defined.
15339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15342 : ${CONFIG_STATUS=./config.status}
15344 ac_clean_files_save
=$ac_clean_files
15345 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15347 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15349 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15351 # Generated by $as_me.
15352 # Run this file to recreate the current configuration.
15353 # Compiler output produced by configure, useful for debugging
15354 # configure, is in config.log if it exists.
15357 ac_cs_recheck=false
15360 SHELL=\${CONFIG_SHELL-$SHELL}
15363 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15364 ## -------------------- ##
15365 ## M4sh Initialization. ##
15366 ## -------------------- ##
15368 # Be more Bourne compatible
15369 DUALCASE
=1; export DUALCASE
# for MKS sh
15370 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15373 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15374 # is contrary to our usage. Disable this feature.
15375 alias -g '${1+"$@"}'='"$@"'
15376 setopt NO_GLOB_SUBST
15378 case `(set -o) 2>/dev/null` in #(
15390 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15391 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15392 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15393 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15394 # Prefer a ksh shell builtin over an external printf program on Solaris,
15395 # but without wasting forks for bash or zsh.
15396 if test -z "$BASH_VERSION$ZSH_VERSION" \
15397 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15398 as_echo='print
-r --'
15399 as_echo_n='print
-rn --'
15400 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15401 as_echo='printf %s
\n'
15402 as_echo_n='printf %s
'
15404 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15405 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15406 as_echo_n='/usr
/ucb
/echo -n'
15408 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15409 as_echo_n_body='eval
15413 expr "X$arg" : "X\\(.*\\)$as_nl";
15414 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15416 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15418 export as_echo_n_body
15419 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15421 export as_echo_body
15422 as_echo='sh
-c $as_echo_body as_echo
'
15425 # The user is always right.
15426 if test "${PATH_SEPARATOR+set}" != set; then
15428 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15429 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15436 # We need space, tab and new line, in precisely that order. Quoting is
15437 # there to prevent editors from complaining about space-tab.
15438 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15439 # splitting by setting IFS to empty value.)
15442 # Find who we are. Look in the path if we contain no directory separator.
15444 *[\\/]* ) as_myself=$0 ;;
15445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15446 for as_dir in $PATH
15449 test -z "$as_dir" && as_dir=.
15450 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15456 # We did not find ourselves, most probably we were run as `sh COMMAND'
15457 # in which case we are not to be found in the path.
15458 if test "x$as_myself" = x
; then
15461 if test ! -f "$as_myself"; then
15462 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15466 # Unset variables that we do not need and which cause bugs (e.g. in
15467 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15468 # suppresses any "Segmentation fault" message there. '((' could
15469 # trigger a bug in pdksh 5.2.14.
15470 for as_var
in BASH_ENV ENV MAIL MAILPATH
15471 do eval test x\
${$as_var+set} = xset \
15472 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15485 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15488 # as_fn_error ERROR [LINENO LOG_FD]
15489 # ---------------------------------
15490 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15491 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15492 # script with status $?, using 1 if that was 0.
15495 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15497 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15498 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15500 $as_echo "$as_me: error: $1" >&2
15501 as_fn_exit
$as_status
15505 # as_fn_set_status STATUS
15506 # -----------------------
15507 # Set $? to STATUS, without forking.
15508 as_fn_set_status
()
15511 } # as_fn_set_status
15513 # as_fn_exit STATUS
15514 # -----------------
15515 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15519 as_fn_set_status
$1
15525 # Portably unset VAR.
15528 { eval $1=; unset $1;}
15530 as_unset
=as_fn_unset
15531 # as_fn_append VAR VALUE
15532 # ----------------------
15533 # Append the text in VALUE to the end of the definition contained in VAR. Take
15534 # advantage of any shell optimizations that allow amortized linear growth over
15535 # repeated appends, instead of the typical quadratic growth present in naive
15537 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15538 eval 'as_fn_append ()
15549 # as_fn_arith ARG...
15550 # ------------------
15551 # Perform arithmetic evaluation on the ARGs, and store the result in the
15552 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15553 # must be portable across $(()) and expr.
15554 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15555 eval 'as_fn_arith ()
15562 as_val
=`expr "$@" || test $? -eq 1`
15567 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15568 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15574 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15575 as_basename
=basename
15580 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15586 as_me
=`$as_basename -- "$0" ||
15587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15588 X"$0" : 'X\(//\)$' \| \
15589 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15591 sed '/^.*\/\([^/][^/]*\)\/*$/{
15605 # Avoid depending upon Character Ranges.
15606 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15607 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15608 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15609 as_cr_digits
='0123456789'
15610 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15612 ECHO_C
= ECHO_N
= ECHO_T
=
15613 case `echo -n x` in #(((((
15615 case `echo 'xy\c'` in
15616 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15618 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15625 rm -f conf$$ conf$$.exe conf$$.
file
15626 if test -d conf$$.dir
; then
15627 rm -f conf$$.dir
/conf$$.
file
15630 mkdir conf$$.dir
2>/dev
/null
15632 if (echo >conf$$.
file) 2>/dev
/null
; then
15633 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15635 # ... but there are two gotchas:
15636 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15637 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15638 # In both cases, we have to default to `cp -p'.
15639 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15641 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15649 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15650 rmdir conf$$.dir
2>/dev
/null
15655 # Create "$as_dir" as a directory, including parents if necessary.
15660 -*) as_dir
=.
/$as_dir;;
15662 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15666 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15667 *) as_qdir
=$as_dir;;
15669 as_dirs
="'$as_qdir' $as_dirs"
15670 as_dir
=`$as_dirname -- "$as_dir" ||
15671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15672 X"$as_dir" : 'X\(//\)[^/]' \| \
15673 X"$as_dir" : 'X\(//\)$' \| \
15674 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15675 $as_echo X"$as_dir" |
15676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15680 /^X\(\/\/\)[^/].*/{
15693 test -d "$as_dir" && break
15695 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15696 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15700 if mkdir
-p .
2>/dev
/null
; then
15701 as_mkdir_p
='mkdir -p "$as_dir"'
15703 test -d .
/-p && rmdir .
/-p
15707 if test -x / >/dev
/null
2>&1; then
15708 as_test_x
='test -x'
15710 if ls -dL / >/dev
/null
2>&1; then
15717 if test -d "$1"; then
15723 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15724 ???[sx]*):;;*)false;;esac;fi
15728 as_executable_p
=$as_test_x
15730 # Sed expression to map a string onto a valid CPP name.
15731 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15733 # Sed expression to map a string onto a valid variable name.
15734 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15738 ## ----------------------------------- ##
15739 ## Main body of $CONFIG_STATUS script. ##
15740 ## ----------------------------------- ##
15742 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15745 # Save the log message, to keep $0 and so on meaningful, and to
15746 # report actual input values of CONFIG_FILES etc. instead of their
15747 # values after options handling.
15749 This file was extended by aMule $as_me SVN, which was
15750 generated by GNU Autoconf 2.65. Invocation command line was
15752 CONFIG_FILES = $CONFIG_FILES
15753 CONFIG_HEADERS = $CONFIG_HEADERS
15754 CONFIG_LINKS = $CONFIG_LINKS
15755 CONFIG_COMMANDS = $CONFIG_COMMANDS
15758 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15763 case $ac_config_files in *"
15764 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15767 case $ac_config_headers in *"
15768 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15773 # Files that config.status was made for.
15774 config_files="$ac_config_files"
15775 config_headers="$ac_config_headers"
15776 config_commands="$ac_config_commands"
15780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15782 \`$as_me' instantiates files and other configuration actions
15783 from templates according to the current configuration. Unless the files
15784 and actions are specified as TAGs, all are instantiated by default.
15786 Usage: $0 [OPTION]... [TAG]...
15788 -h, --help print this help, then exit
15789 -V, --version print version number and configuration settings, then exit
15790 --config print configuration, then exit
15791 -q, --quiet, --silent
15792 do not print progress messages
15793 -d, --debug don't remove temporary files
15794 --recheck update $as_me by reconfiguring in the same conditions
15795 --file=FILE[:TEMPLATE]
15796 instantiate the configuration file FILE
15797 --header=FILE[:TEMPLATE]
15798 instantiate the configuration header FILE
15800 Configuration files:
15803 Configuration headers:
15806 Configuration commands:
15809 Report bugs to <admin@amule.org>."
15812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15813 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15815 aMule config.status SVN
15816 configured by $0, generated by GNU Autoconf 2.65,
15817 with options \\"\$ac_cs_config\\"
15819 Copyright (C) 2009 Free Software Foundation, Inc.
15820 This config.status script is free software; the Free Software Foundation
15821 gives unlimited permission to copy, distribute and modify it."
15828 test -n "\$AWK" || AWK=awk
15831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15832 # The default lists apply if the user does not specify any file.
15838 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15839 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15850 # Handling of the options.
15851 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15853 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15854 $as_echo "$ac_cs_version"; exit ;;
15855 --config |
--confi |
--conf |
--con |
--co |
--c )
15856 $as_echo "$ac_cs_config"; exit ;;
15857 --debug |
--debu |
--deb |
--de |
--d |
-d )
15859 --file |
--fil |
--fi |
--f )
15862 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15864 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15865 ac_need_defaults
=false
;;
15866 --header |
--heade |
--head |
--hea )
15869 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15871 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15872 ac_need_defaults
=false
;;
15874 # Conflict between --help and --header
15875 as_fn_error
"ambiguous option: \`$1'
15876 Try \`$0 --help' for more information.";;
15877 --help |
--hel |
-h )
15878 $as_echo "$ac_cs_usage"; exit ;;
15879 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15880 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15883 # This is an error.
15884 -*) as_fn_error
"unrecognized option: \`$1'
15885 Try \`$0 --help' for more information." ;;
15887 *) as_fn_append ac_config_targets
" $1"
15888 ac_need_defaults
=false
;;
15894 ac_configure_extra_args
=
15896 if $ac_cs_silent; then
15898 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15903 if \$ac_cs_recheck; then
15904 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15906 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15907 CONFIG_SHELL='$SHELL'
15908 export CONFIG_SHELL
15913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15917 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15918 ## Running $as_me. ##
15924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15928 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15929 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15930 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15932 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
15933 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15934 LINGUAS="${LINGUAS-%UNSET%}"
15936 denoiserlevel=$with_denoise_level
15940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15942 # Handling of arguments.
15943 for ac_config_target
in $ac_config_targets
15945 case $ac_config_target in
15946 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15947 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15948 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15949 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
15950 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15951 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
15952 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
15953 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
15954 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15955 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
15956 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
15957 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
15958 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
15959 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
15960 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
15961 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
15962 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
15963 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
15964 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
15965 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
15966 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
15967 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
15968 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
15969 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
15970 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
15971 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
15972 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
15973 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
15974 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
15975 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
15976 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
15977 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
15978 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
15979 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
15980 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
15981 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
15982 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
15983 "Compilation.flags") CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
15984 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
15986 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15991 # If the user did not use the arguments to specify the items to instantiate,
15992 # then the envvar interface is used. Set only those that are not.
15993 # We use the long form for the default assignment because of an extremely
15994 # bizarre bug on SunOS 4.1.3.
15995 if $ac_need_defaults; then
15996 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15997 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15998 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16001 # Have a temporary directory for convenience. Make it in the build tree
16002 # simply because there is no reason against having it here, and in addition,
16003 # creating and moving files from /tmp can sometimes cause problems.
16004 # Hook for its removal unless debugging.
16005 # Note that there is a small window in which the directory will not be cleaned:
16006 # after its creation but before its name has been assigned to `$tmp'.
16010 trap 'exit_status=$?
16011 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16013 trap 'as_fn_exit 1' 1 2 13 15
16015 # Create a (secure) tmp directory for tmp files.
16018 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16019 test -n "$tmp" && test -d "$tmp"
16022 tmp
=.
/conf$$
-$RANDOM
16023 (umask 077 && mkdir
"$tmp")
16024 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16026 # Set up the scripts for CONFIG_FILES section.
16027 # No need to generate them if there are no CONFIG_FILES.
16028 # This happens for instance with `./config.status config.h'.
16029 if test -n "$CONFIG_FILES"; then
16032 ac_cr
=`echo X | tr X '\015'`
16033 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16034 # But we know of no other shell where ac_cr would be empty at this
16035 # point, so we can use a bashism as a fallback.
16036 if test "x$ac_cr" = x
; then
16037 eval ac_cr
=\$
\'\\r
\'
16039 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16040 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16043 ac_cs_awk_cr
=$ac_cr
16046 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16051 echo "cat >conf$$subs.awk <<_ACEOF" &&
16052 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16054 } >conf$$subs.sh ||
16055 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16056 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16058 for ac_last_try in false false false false false :; do
16059 . ./conf$$subs.sh ||
16060 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16062 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16063 if test $ac_delim_n = $ac_delim_num; then
16065 elif $ac_last_try; then
16066 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16068 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16071 rm -f conf$$subs.sh
16073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16074 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16078 s/^/S["/; s
/!.
*/"]=/
16088 s/\(.\{148\}\)..*/\1/
16090 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16095 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16102 s/\(.\{148\}\)..*/\1/
16104 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16108 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16113 ' <conf$$subs.awk | sed '
16118 ' >>$CONFIG_STATUS || ac_write_fail=1
16119 rm -f conf$$subs.awk
16120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16122 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16123 for (key in S) S_is_set[key] = 1
16129 nfields = split(line, field, "@
")
16131 len = length(field[1])
16132 for (i = 2; i < nfields; i++) {
16134 keylen = length(key)
16135 if (S_is_set[key]) {
16137 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16138 len += length(value) + length(field[++i])
16149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16150 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16151 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16154 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16155 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16158 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16159 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16160 # trailing colons and then remove the whole line if VPATH becomes empty
16161 # (actually we leave an empty line to preserve line numbers).
16162 if test "x
$srcdir" = x.; then
16163 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16164 s/:*\$(srcdir):*/:/
16165 s/:*\${srcdir}:*/:/
16167 s/^\([^=]*=[ ]*\):*/\1/
16173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16174 fi # test -n "$CONFIG_FILES"
16176 # Set up the scripts for CONFIG_HEADERS section.
16177 # No need to generate them if there are no CONFIG_HEADERS.
16178 # This happens for instance with `./config.status Makefile'.
16179 if test -n "$CONFIG_HEADERS"; then
16180 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16184 # Transform confdefs.h into an awk script `defines.awk', embedded as
16185 # here-document in config.status, that substitutes the proper values into
16186 # config.h.in to produce config.h.
16188 # Create a delimiter string that does not exist in confdefs.h, to ease
16189 # handling of long lines.
16191 for ac_last_try in false false :; do
16192 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16193 if test -z "$ac_t"; then
16195 elif $ac_last_try; then
16196 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16198 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16202 # For the awk script, D is an array of macro values keyed by name,
16203 # likewise P contains macro parameters if any. Preserve backslash
16204 # newline sequences.
16206 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16208 s/.\{148\}/&'"$ac_delim"'/g
16211 s/^[ ]*#[ ]*define[ ][ ]*/ /
16218 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16220 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16224 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16225 D["\
1"]=" \
3\\\\\\n
"\\/p
16227 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16232 s/.\{148\}/&'"$ac_delim"'/g
16237 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16240 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16242 ' <confdefs.h | sed '
16243 s/'"$ac_delim"'/"\\\
16244 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247 for (key in D) D_is_set[key] = 1
16250 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16252 split(line, arg, " ")
16253 if (arg[1] == "#") {
16257 defundef
= substr
(arg
[1], 2)
16260 split(mac1
, mac2
, "(") #)
16262 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16263 if (D_is_set
[macro
]) {
16264 # Preserve the white space surrounding the "#".
16265 print prefix
"define", macro P
[macro
] D
[macro
]
16268 # Replace #undef with comments. This is necessary, for example,
16269 # in the case of _POSIX_SOURCE, which is predefined and required
16270 # on some systems where configure will not decide to define it.
16271 if (defundef
== "undef") {
16272 print
"/*", prefix defundef
, macro
, "*/"
16280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16281 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16282 fi # test -n "$CONFIG_HEADERS"
16285 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16290 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16292 case $ac_mode$ac_tag in
16294 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16295 :[FH
]-) ac_tag
=-:-;;
16296 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16313 -) ac_f
="$tmp/stdin";;
16314 *) # Look for the file first in the build tree, then in the source tree
16315 # (if the path is not absolute). The absolute path cannot be DOS-style,
16316 # because $ac_f cannot contain `:'.
16320 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16322 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16324 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16325 as_fn_append ac_file_inputs
" '$ac_f'"
16328 # Let's still pretend it is `configure' which instantiates (i.e., don't
16329 # use $as_me), people would be surprised to read:
16330 # /* config.h. Generated by config.status. */
16331 configure_input
='Generated from '`
16332 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16334 if test x
"$ac_file" != x-
; then
16335 configure_input
="$ac_file. $configure_input"
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16337 $as_echo "$as_me: creating $ac_file" >&6;}
16339 # Neutralize special characters interpreted by sed in replacement strings.
16340 case $configure_input in #(
16341 *\
&* |
*\|
* |
*\\* )
16342 ac_sed_conf_input
=`$as_echo "$configure_input" |
16343 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16344 *) ac_sed_conf_input
=$configure_input;;
16348 *:-:* |
*:-) cat >"$tmp/stdin" \
16349 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16354 ac_dir
=`$as_dirname -- "$ac_file" ||
16355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16356 X"$ac_file" : 'X\(//\)[^/]' \| \
16357 X"$ac_file" : 'X\(//\)$' \| \
16358 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16359 $as_echo X"$ac_file" |
16360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16364 /^X\(\/\/\)[^/].*/{
16377 as_dir
="$ac_dir"; as_fn_mkdir_p
16381 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16383 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16384 # A ".." for each directory in $ac_dir_suffix.
16385 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16386 case $ac_top_builddir_sub in
16387 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16388 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16391 ac_abs_top_builddir
=$ac_pwd
16392 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16393 # for backward compatibility:
16394 ac_top_builddir
=$ac_top_build_prefix
16397 .
) # We are building in place.
16399 ac_top_srcdir
=$ac_top_builddir_sub
16400 ac_abs_top_srcdir
=$ac_pwd ;;
16401 [\\/]* | ?
:[\\/]* ) # Absolute name.
16402 ac_srcdir
=$srcdir$ac_dir_suffix;
16403 ac_top_srcdir
=$srcdir
16404 ac_abs_top_srcdir
=$srcdir ;;
16405 *) # Relative name.
16406 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16407 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16408 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16410 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16420 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16421 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16423 ac_MKDIR_P
=$MKDIR_P
16425 [\\/$
]* | ?
:[\\/]* ) ;;
16426 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16431 # If the template does not know about datarootdir, expand it.
16432 # FIXME: This hack should be removed a few years after 2.60.
16433 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16444 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16445 *datarootdir
*) ac_datarootdir_seen
=yes;;
16446 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16448 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16451 ac_datarootdir_hack='
16452 s&@datadir@&$datadir&g
16453 s&@docdir@&$docdir&g
16454 s&@infodir@&$infodir&g
16455 s&@localedir@&$localedir&g
16456 s&@mandir@&$mandir&g
16457 s&\\\${datarootdir}&$datarootdir&g' ;;
16461 # Neutralize VPATH when `$srcdir' = `.'.
16462 # Shell code in configure.ac might set extrasub.
16463 # FIXME: do we really want to maintain this feature?
16464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16465 ac_sed_extra="$ac_vpsub
16468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16470 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16471 s|@configure_input@|
$ac_sed_conf_input|
;t t
16472 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16473 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16474 s
&@srcdir@
&$ac_srcdir&;t t
16475 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16476 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16477 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16478 s
&@builddir@
&$ac_builddir&;t t
16479 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16480 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16481 s
&@INSTALL@
&$ac_INSTALL&;t t
16482 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16483 $ac_datarootdir_hack
16485 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16486 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16488 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16489 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16490 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16492 which seems to be undefined. Please make sure it is defined." >&5
16493 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16494 which seems to be undefined. Please make sure it is defined." >&2;}
16498 -) cat "$tmp/out" && rm -f "$tmp/out";;
16499 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16501 || as_fn_error "could not create $ac_file" "$LINENO" 5
16507 if test x"$ac_file" != x-; then
16509 $as_echo "/* $configure_input */" \
16510 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16511 } >"$tmp/config.h" \
16512 || as_fn_error "could not create $ac_file" "$LINENO" 5
16513 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16515 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16518 mv "$tmp/config.h" "$ac_file" \
16519 || as_fn_error "could not create $ac_file" "$LINENO" 5
16522 $as_echo "/* $configure_input */" \
16523 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16524 || as_fn_error "could not create -" "$LINENO" 5
16526 # Compute "$ac_file"'s index
in $config_headers.
16529 for _am_header
in $config_headers :; do
16530 case $_am_header in
16531 $_am_arg |
$_am_arg:* )
16534 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16537 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16538 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16539 X"$_am_arg" : 'X\(//\)[^/]' \| \
16540 X"$_am_arg" : 'X\(//\)$' \| \
16541 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16542 $as_echo X"$_am_arg" |
16543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16547 /^X\(\/\/\)[^/].*/{
16559 s/.*/./; q'`/stamp-h
$_am_stamp_count
16562 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16563 $as_echo "$as_me: executing $ac_file commands" >&6;}
16568 case $ac_file$ac_mode in
16569 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16570 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16571 # are listed without --file. Let's play safe and only enable the eval
16572 # if we detect the quoting.
16573 case $CONFIG_FILES in
16574 *\'*) eval set x
"$CONFIG_FILES" ;;
16575 *) set x
$CONFIG_FILES ;;
16580 # Strip MF so we end up with the name of the file.
16581 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16582 # Check whether this is an Automake generated Makefile or not.
16583 # We used to match only the files named `Makefile.in', but
16584 # some people rename them; so instead we look at the file content.
16585 # Grep'ing the first line is not enough: some people post-process
16586 # each Makefile.in and add a new line on top of each file to say so.
16587 # Grep'ing the whole file is not good either: AIX grep has a line
16588 # limit of 2048, but all sed's we know have understand at least 4000.
16589 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16590 dirpart
=`$as_dirname -- "$mf" ||
16591 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16592 X"$mf" : 'X\(//\)[^/]' \| \
16593 X"$mf" : 'X\(//\)$' \| \
16594 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16600 /^X\(\/\/\)[^/].*/{
16616 # Extract the definition of DEPDIR, am__include, and am__quote
16617 # from the Makefile without running `make'.
16618 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16619 test -z "$DEPDIR" && continue
16620 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16621 test -z "am__include" && continue
16622 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16623 # When using ansi2knr, U may be empty or an underscore; expand it
16624 U
=`sed -n 's/^U = //p' < "$mf"`
16625 # Find all dependency output files, they are included files with
16626 # $(DEPDIR) in their names. We invoke sed twice because it is the
16627 # simplest approach to changing $(DEPDIR) to its actual value in the
16629 for file in `sed -n "
16630 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16631 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16632 # Make sure the directory exists.
16633 test -f "$dirpart/$file" && continue
16634 fdir
=`$as_dirname -- "$file" ||
16635 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16636 X"$file" : 'X\(//\)[^/]' \| \
16637 X"$file" : 'X\(//\)$' \| \
16638 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16639 $as_echo X"$file" |
16640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16644 /^X\(\/\/\)[^/].*/{
16657 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16658 # echo "creating $dirpart/$file"
16659 echo '# dummy' > "$dirpart/$file"
16665 for ac_file
in $CONFIG_FILES; do
16666 # Support "outfile[:infile[:infile...]]"
16668 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16670 # PO directories have a Makefile.in generated from Makefile.in.in.
16671 case "$ac_file" in */Makefile.
in)
16672 # Adjust a relative srcdir.
16673 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16674 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16675 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16676 # In autoconf-2.13 it is called $ac_given_srcdir.
16677 # In autoconf-2.50 it is called $srcdir.
16678 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16679 case "$ac_given_srcdir" in
16680 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16681 /*) top_srcdir
="$ac_given_srcdir" ;;
16682 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16684 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16685 rm -f "$ac_dir/POTFILES"
16686 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16687 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16688 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16689 # on $ac_dir but don't depend on user-specified configuration
16691 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16692 # The LINGUAS file contains the set of available languages.
16693 if test -n "$ALL_LINGUAS"; then
16694 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16696 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16697 # Hide the ALL_LINGUAS assigment from automake.
16698 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16700 case "$ac_given_srcdir" in
16702 *) srcdirpre
='$(srcdir)/' ;;
16708 for lang
in $ALL_LINGUAS; do
16709 POFILES
="$POFILES $srcdirpre$lang.po"
16710 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16711 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16712 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16714 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16715 # environment variable.
16717 if test -n "$ALL_LINGUAS"; then
16718 for presentlang
in $ALL_LINGUAS; do
16720 if test "%UNSET%" != "$LINGUAS"; then
16721 desiredlanguages
="$LINGUAS"
16723 desiredlanguages
="$ALL_LINGUAS"
16725 for desiredlang
in $desiredlanguages; do
16726 # Use the presentlang catalog if desiredlang is
16727 # a. equal to presentlang, or
16728 # b. a variant of presentlang (because in this case,
16729 # presentlang can be used as a fallback for messages
16730 # which are not translated in the desiredlang catalog).
16731 case "$desiredlang" in
16732 "$presentlang"*) useit
=yes;;
16735 if test $useit = yes; then
16736 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16741 if test -n "$INST_LINGUAS"; then
16742 for lang
in $INST_LINGUAS; do
16743 CATALOGS
="$CATALOGS $lang.gmo"
16746 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16747 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"
16748 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16749 if test -f "$f"; then
16751 *.orig |
*.bak |
*~
) ;;
16752 *) cat "$f" >> "$ac_dir/Makefile" ;;
16760 "denoiser":C
) if test $denoiserlevel -gt 0; then
16761 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
16762 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" \
16763 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
16764 for i
in `find . -name 'Makefile' -print`; do
16765 if test -n "`head -n 1 $i | grep '^#'`"; then
16766 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
16777 ac_clean_files
=$ac_clean_files_save
16779 test $ac_write_fail = 0 ||
16780 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16783 # configure is writing to config.log, and then calls config.status.
16784 # config.status does its own redirection, appending to config.log.
16785 # Unfortunately, on DOS this fails, as config.log is still kept open
16786 # by configure, so config.status won't be able to write to it; its
16787 # output is simply discarded. So we exec the FD to /dev/null,
16788 # effectively closing config.log, so it can be properly (re)opened and
16789 # appended to by config.status. When coming back to configure, we
16790 # need to make the FD available again.
16791 if test "$no_create" != yes; then
16793 ac_config_status_args
=
16794 test "$silent" = yes &&
16795 ac_config_status_args
="$ac_config_status_args --quiet"
16797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16800 # would make configure fail if this is the last instruction.
16801 $ac_cs_success || as_fn_exit $?
16803 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16805 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16809 if test -n "$svndate"; then :
16810 SVN_REVISION
=" ($svndate)"
16817 echo " Configure script has finished system check."
16819 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
16821 echo " aMule enabled options:"
16823 echo " **** aMule Core ****"
16824 echo " Prefix where aMule should be installed? ${prefix:-none}"
16825 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
16826 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
16827 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
16828 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
16829 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
16830 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
16831 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
16832 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
16833 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
16834 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
16837 echo " **** aMule TextClient ****"
16838 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
16840 echo " **** aMule WebServer ****"
16841 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
16843 echo " **** aMule ED2K Links Handler ****"
16844 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
16846 echo " **** aMuleLinkCreator ****"
16847 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
16848 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
16850 echo " **** aMule Statistics ****"
16851 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
16852 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
16853 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
16854 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
16857 echo " **** General Libraries and Tools ****"
16858 echo " Should ccache support be enabled? ${enable_ccache:-no}"
16859 echo " Libraries aMule will use to build:"
16860 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 :
16863 if test $WX_DEBUG -eq 1; then :
16864 wxinfo
="$wxinfo,debug"
16866 if test $WX_SHARED -eq 1; then :
16867 wxinfo
="$wxinfo,shared"
16869 wxinfo
="$wxinfo,static"
16871 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
16874 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
16875 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
16877 if test ${enable_upnp:-yes} = yes; then :
16879 if test -n "$with_libupnp_prefix"; then :
16880 libupnp_place
=" (in $with_libupnp_prefix)"
16882 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
16885 if test ${enable_nls:-yes} = yes; then
16886 if test x
$USE_NLS = xno
; then :
16887 libintl_found
="Not detected"
16889 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
16890 libintl_found
="included"
16892 libintl_found
="system"
16895 echo " libintl $libintl_found"
16897 if test ${enable_geoip:-no} = yes; then :
16898 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
16903 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
16904 echo " libGeoIP ${geoip_style}"
16907 if test ${enable_webserver:-no} = yes; then :
16908 echo " libpng ${LIBPNG_VERSION:-Not detected}"
16910 if test ${enable_cas:-no} = yes; then :
16911 echo " libgd ${GDLIB_VERSION:-Not detected}"
16913 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 :
16914 echo " zlib ${ZLIB_VERSION:-Not detected}"
16916 if test ${enable_plasmamule:-no} = yes; then :
16917 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
16918 echo " qt-core-libs ${QT_CORE_LIBS}"
16919 echo " qt-gui-libs ${QT_GUI_LIBS}"
16920 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
16921 echo " kde-headers ${KDE_HEADER_DIR}"
16922 echo " kde-services-path ${KDE_SERVICE_PATH}"
16923 echo " kde-module-path ${KDE_MODULE_PATH}"
16924 echo " kde-icon-path ${KDE_ICON_PATH}"
16925 echo " kde-mime-path ${KDE_MIME_PATH}"
16926 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
16929 if test ${_mule_has_warnings:-no} = yes; then
16932 echo " *** Warnings during configuration ***"
16934 if test ${_mule_warning_0:-no} = yes; then
16937 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
16938 Please check that gdlib-config is in your default path, check out
16939 LD_LIBRARY_PATH or equivalent variable.
16940 Or this might also be that your gdlib-config has other name.
16941 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
16942 /usr/bin/gdlib-config with a valid path to your gdlib-config).
16943 If you use compiled packages check if you have devel pack installed.
16944 To download the latest version check http://www.boutell.com/gd for sources.
16947 if test ${_mule_warning_1:-no} = yes; then
16950 * libpng >= 1.2.0 not found.
16951 amuleweb will be compiled but file download progress bar images will NOT be
16955 if test ${_mule_warning_2:-no} = yes; then
16958 * File::Copy perl module is required by the mldonkey_importer script.
16959 If you want to use this script please install File::Copy from CPAN.
16962 if test ${_mule_warning_3:-no} = yes; then
16965 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
16968 if test ${_mule_warning_4:-no} = yes; then
16971 * GeoIP support has been disabled because the GeoIP libraries were not found
16974 if test ${_mule_warning_5:-no} = yes; then
16977 * GeoIP support has been disabled because the GeoIP header files were not
16981 if test ${_mule_warning_6:-no} = yes; then
16984 * UPnP code has been disabled because ${libupnp_error}.
16987 if test ${_mule_warning_7:-no} = yes; then
16990 * Cross-compilation detected, so exception handling cannot be tested.
16991 Note that broken exception handling in your compiler may lead to unexpected
16995 if test ${_mule_warning_8:-no} = yes; then
16998 * configure cannot check whether malloc() and realloc() are GNU libc
16999 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
17000 configure with the --without-gnu-malloc switch.
17003 if test ${_mule_warning_9:-no} = yes; then
17006 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
17010 if test ${_mule_warning_10:-no} = yes; then
17013 * bfd.h not found or unusable, please install binutils development package if
17014 you are a developer or want to help testing aMule