2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for aMule SVN.
5 # Report bugs to <admin@amule.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and admin@amule.org
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='amule'
555 PACKAGE_VERSION
='SVN'
556 PACKAGE_STRING
='aMule SVN'
557 PACKAGE_BUGREPORT
='admin@amule.org'
560 ac_unique_file
="src/amule.cpp"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
598 ac_subst_vars
='am__EXEEXT_FALSE
604 COMPILE_LIB_COMMON_FALSE
605 COMPILE_LIB_COMMON_TRUE
610 GENERATE_FLEX_HEADER_FALSE
611 GENERATE_FLEX_HEADER_TRUE
614 NEED_CORESERVICES_FALSE
615 NEED_CORESERVICES_TRUE
650 AMULE_DAEMON_MANPAGES
655 INTL_LIBTOOL_SUFFIX_PREFIX
662 BUILD_INCLUDED_LIBINTL
795 MAINTAINER_MODE_FALSE
807 INSTALL_STRIP_PROGRAM
849 program_transform_name
865 enable_option_checking
867 enable_maintainer_mode
868 enable_dependency_tracking
913 with_included_gettext
922 ac_precious_vars
='build_alias
942 # Initialize some variables set by options.
944 ac_init_version
=false
945 ac_unrecognized_opts
=
947 # The variables have the same names as the options, with
948 # dashes changed to underlines.
956 program_transform_name
=s
,x
,x
,
964 # Installation directory options.
965 # These are left unexpanded so users can "make install exec_prefix=/foo"
966 # and all the variables that are supposed to be based on exec_prefix
967 # by default will actually change.
968 # Use braces instead of parens because sh, perl, etc. also accept them.
969 # (The list follows the same order as the GNU Coding Standards.)
970 bindir
='${exec_prefix}/bin'
971 sbindir
='${exec_prefix}/sbin'
972 libexecdir
='${exec_prefix}/libexec'
973 datarootdir
='${prefix}/share'
974 datadir
='${datarootdir}'
975 sysconfdir
='${prefix}/etc'
976 sharedstatedir
='${prefix}/com'
977 localstatedir
='${prefix}/var'
978 includedir
='${prefix}/include'
979 oldincludedir
='/usr/include'
980 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
981 infodir
='${datarootdir}/info'
986 libdir
='${exec_prefix}/lib'
987 localedir
='${datarootdir}/locale'
988 mandir
='${datarootdir}/man'
994 # If the previous option needs an argument, assign it.
995 if test -n "$ac_prev"; then
996 eval $ac_prev=\
$ac_option
1002 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1006 # Accept the important Cygnus configure options, so we can diagnose typos.
1008 case $ac_dashdash$ac_option in
1012 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1014 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1015 bindir
=$ac_optarg ;;
1017 -build |
--build |
--buil |
--bui |
--bu)
1018 ac_prev
=build_alias
;;
1019 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1020 build_alias
=$ac_optarg ;;
1022 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1023 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1024 ac_prev
=cache_file
;;
1025 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1026 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1027 cache_file
=$ac_optarg ;;
1029 --config-cache |
-C)
1030 cache_file
=config.cache
;;
1032 -datadir |
--datadir |
--datadi |
--datad)
1034 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1035 datadir
=$ac_optarg ;;
1037 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1038 |
--dataroo |
--dataro |
--datar)
1039 ac_prev
=datarootdir
;;
1040 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1041 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1042 datarootdir
=$ac_optarg ;;
1044 -disable-* |
--disable-*)
1045 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1048 as_fn_error
"invalid feature name: $ac_useropt"
1049 ac_useropt_orig
=$ac_useropt
1050 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_
$ac_useropt"
1055 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1056 ac_unrecognized_sep
=', ';;
1058 eval enable_
$ac_useropt=no
;;
1060 -docdir |
--docdir |
--docdi |
--doc |
--do)
1062 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1063 docdir
=$ac_optarg ;;
1065 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1067 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1068 dvidir
=$ac_optarg ;;
1070 -enable-* |
--enable-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error
"invalid feature name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "enable_
$ac_useropt"
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval enable_
$ac_useropt=\
$ac_optarg ;;
1086 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1087 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1088 |
--exec |
--exe |
--ex)
1089 ac_prev
=exec_prefix
;;
1090 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1091 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1092 |
--exec=* |
--exe=* |
--ex=*)
1093 exec_prefix
=$ac_optarg ;;
1095 -gas |
--gas |
--ga |
--g)
1096 # Obsolete; use --with-gas.
1099 -help |
--help |
--hel |
--he |
-h)
1100 ac_init_help
=long
;;
1101 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1102 ac_init_help
=recursive
;;
1103 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1104 ac_init_help
=short
;;
1106 -host |
--host |
--hos |
--ho)
1107 ac_prev
=host_alias
;;
1108 -host=* |
--host=* |
--hos=* |
--ho=*)
1109 host_alias
=$ac_optarg ;;
1111 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1113 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1115 htmldir
=$ac_optarg ;;
1117 -includedir |
--includedir |
--includedi |
--included |
--include \
1118 |
--includ |
--inclu |
--incl |
--inc)
1119 ac_prev
=includedir
;;
1120 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1121 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1122 includedir
=$ac_optarg ;;
1124 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1126 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1127 infodir
=$ac_optarg ;;
1129 -libdir |
--libdir |
--libdi |
--libd)
1131 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1132 libdir
=$ac_optarg ;;
1134 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1135 |
--libexe |
--libex |
--libe)
1136 ac_prev
=libexecdir
;;
1137 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1138 |
--libexe=* |
--libex=* |
--libe=*)
1139 libexecdir
=$ac_optarg ;;
1141 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1142 ac_prev
=localedir
;;
1143 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1144 localedir
=$ac_optarg ;;
1146 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1147 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1148 ac_prev
=localstatedir
;;
1149 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1150 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1151 localstatedir
=$ac_optarg ;;
1153 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1155 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1156 mandir
=$ac_optarg ;;
1158 -nfp |
--nfp |
--nf)
1159 # Obsolete; use --without-fp.
1162 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1163 |
--no-cr |
--no-c |
-n)
1166 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1167 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1170 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1171 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1172 |
--oldin |
--oldi |
--old |
--ol |
--o)
1173 ac_prev
=oldincludedir
;;
1174 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1175 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1176 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1177 oldincludedir
=$ac_optarg ;;
1179 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1181 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1182 prefix
=$ac_optarg ;;
1184 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1185 |
--program-pre |
--program-pr |
--program-p)
1186 ac_prev
=program_prefix
;;
1187 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1188 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1189 program_prefix
=$ac_optarg ;;
1191 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1192 |
--program-suf |
--program-su |
--program-s)
1193 ac_prev
=program_suffix
;;
1194 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1195 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1196 program_suffix
=$ac_optarg ;;
1198 -program-transform-name |
--program-transform-name \
1199 |
--program-transform-nam |
--program-transform-na \
1200 |
--program-transform-n |
--program-transform- \
1201 |
--program-transform |
--program-transfor \
1202 |
--program-transfo |
--program-transf \
1203 |
--program-trans |
--program-tran \
1204 |
--progr-tra |
--program-tr |
--program-t)
1205 ac_prev
=program_transform_name
;;
1206 -program-transform-name=* |
--program-transform-name=* \
1207 |
--program-transform-nam=* |
--program-transform-na=* \
1208 |
--program-transform-n=* |
--program-transform-=* \
1209 |
--program-transform=* |
--program-transfor=* \
1210 |
--program-transfo=* |
--program-transf=* \
1211 |
--program-trans=* |
--program-tran=* \
1212 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1213 program_transform_name
=$ac_optarg ;;
1215 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1217 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1218 pdfdir
=$ac_optarg ;;
1220 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1222 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1226 |
-silent |
--silent |
--silen |
--sile |
--sil)
1229 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1231 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1233 sbindir
=$ac_optarg ;;
1235 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1236 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1237 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1239 ac_prev
=sharedstatedir
;;
1240 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1241 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1242 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1244 sharedstatedir
=$ac_optarg ;;
1246 -site |
--site |
--sit)
1248 -site=* |
--site=* |
--sit=*)
1251 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1253 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1254 srcdir
=$ac_optarg ;;
1256 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1257 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1258 ac_prev
=sysconfdir
;;
1259 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1260 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1261 sysconfdir
=$ac_optarg ;;
1263 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1264 ac_prev
=target_alias
;;
1265 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1266 target_alias
=$ac_optarg ;;
1268 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1271 -version |
--version |
--versio |
--versi |
--vers |
-V)
1272 ac_init_version
=: ;;
1275 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1278 as_fn_error
"invalid package name: $ac_useropt"
1279 ac_useropt_orig
=$ac_useropt
1280 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1286 ac_unrecognized_sep
=', ';;
1288 eval with_
$ac_useropt=\
$ac_optarg ;;
1290 -without-* |
--without-*)
1291 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1292 # Reject names that are not valid shell variable names.
1293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1294 as_fn_error
"invalid package name: $ac_useropt"
1295 ac_useropt_orig
=$ac_useropt
1296 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297 case $ac_user_opts in
1301 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1302 ac_unrecognized_sep
=', ';;
1304 eval with_
$ac_useropt=no
;;
1307 # Obsolete; use --with-x.
1310 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1311 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1312 ac_prev
=x_includes
;;
1313 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1314 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1315 x_includes
=$ac_optarg ;;
1317 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1318 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1319 ac_prev
=x_libraries
;;
1320 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1321 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1322 x_libraries
=$ac_optarg ;;
1324 -*) as_fn_error
"unrecognized option: \`$ac_option'
1325 Try \`$0 --help' for more information."
1329 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1330 # Reject names that are not valid shell variable names.
1331 case $ac_envvar in #(
1332 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1333 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1335 eval $ac_envvar=\
$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1342 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1351 as_fn_error
"missing argument to $ac_option"
1354 if test -n "$ac_unrecognized_opts"; then
1355 case $enable_option_checking in
1357 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1383 # There might be people who depend on the old broken behavior: `$host'
1384 # used to hold the argument of --host etc.
1385 # FIXME: To remove some day.
1388 target
=$target_alias
1390 # FIXME: To remove some day.
1391 if test "x$host_alias" != x
; then
1392 if test "x$build_alias" = x
; then
1393 cross_compiling
=maybe
1394 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1395 If a cross compiler is detected then cross compile mode will be used." >&2
1396 elif test "x$build_alias" != "x$host_alias"; then
1402 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1404 test "$silent" = yes && exec 6>/dev
/null
1407 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di
=`ls -di .` &&
1409 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error
"working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error
"pwd does not report name of working directory"
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1453 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1465 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1467 for ac_var
in $ac_precious_vars; do
1468 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1469 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1470 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1475 # Report the --help message.
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1481 \`configure' configures aMule SVN to adapt to many kinds of systems.
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1488 Defaults for the options are specified in brackets.
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 [$ac_default_prefix]
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1512 For better control, use the options below.
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --libdir=DIR object code libraries [EPREFIX/lib]
1522 --includedir=DIR C header files [PREFIX/include]
1523 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1524 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1525 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1526 --infodir=DIR info documentation [DATAROOTDIR/info]
1527 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1528 --mandir=DIR man documentation [DATAROOTDIR/man]
1529 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1530 --htmldir=DIR html documentation [DOCDIR]
1531 --dvidir=DIR dvi documentation [DOCDIR]
1532 --pdfdir=DIR pdf documentation [DOCDIR]
1533 --psdir=DIR ps documentation [DOCDIR]
1539 --program-prefix=PREFIX prepend PREFIX to installed program names
1540 --program-suffix=SUFFIX append SUFFIX to installed program names
1541 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1544 --build=BUILD configure
for building on BUILD
[guessed
]
1545 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1549 if test -n "$ac_init_help"; then
1550 case $ac_init_help in
1551 short | recursive
) echo "Configuration of aMule SVN:";;
1556 --disable-option-checking ignore unrecognized
--enable/--with options
1557 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1558 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1559 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1560 --disable-silent-rules verbose build output (undo: `make V
=0')
1561 --enable-maintainer-mode enable make rules and dependencies not useful
1562 (and sometimes confusing) to the casual installer
1563 --disable-dependency-tracking speeds up one-time build
1564 --enable-dependency-tracking do not reject slow dependency extractors
1565 --disable-monolithic disable building of the monolithic aMule app
1566 --enable-amule-daemon compile aMule daemon version
1567 --enable-amulecmd compile aMule command line client
1568 --enable-webserver compile aMule WebServer
1569 --enable-amule-gui compile aMule remote GUI
1570 --enable-cas compile C aMule Statistics
1571 --enable-wxcas compile aMule GUI Statistics
1572 --disable-ed2k don't compile aMule ed2k links handler
1573 --enable-alc compile aMuleLinkCreator GUI version
1574 --enable-alcc compile aMuleLinkCreator
for console
1575 --enable-xas install xas XChat2 plugin
1576 --enable-fileview compile aMule
file viewer
for console
(EXPERIMENTAL
)
1577 --enable-plasmamule compile aMule plasma applet and engine
1578 --enable-static produce a statically linked executable
1579 --enable-kde-in-home install KDE related stuff
in your home dir
1580 --enable-geoip compile with GeoIP IP2Country library
1581 --disable-upnp do not compile UPnP code
1582 --enable-mmap enable using mapped memory
if supported
1583 --disable-rpath do not hardcode runtime library paths
1584 --disable-nls do not use Native Language Support
1585 --disable-debug disable additional debugging output
1586 --enable-profile enable code profiling
1587 --enable-optimize enable code optimization
1588 --enable-ccache enable ccache support
for fast recompilation
1591 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1592 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1593 --with-kde4-config=PATH kde4-config
script to use
1594 --with-moc=PATH Search
in PATH
for Qt
's meta object compiler
1595 --without-gnu-malloc Don't assume that we use GNU libc compatible
1596 malloc
/realloc when cross-compiling
1597 --with-zlib=PREFIX use zlib
in PREFIX
1598 --with-gdlib-prefix=PREFIX
1599 prefix where gdlib is installed
(optional
)
1600 --with-gdlib-config=CONFIG
1601 gdlib-config
script to use
(optional
)
1602 --with-libpng-prefix=PREFIX
1603 prefix where libpng is installed
(optional
)
1604 --with-libpng-config=CONFIG
1605 libpng-config
script to use
(optional
)
1606 --with-geoip-headers=DIR
1607 GeoIP include files location
1608 --with-geoip-lib=DIR GeoIP library location
1609 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
1610 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
1611 --with-wx-config=CONFIG wx-config
script to use
(optional
)
1612 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
1613 --with-wx-exec-prefix=PREFIX
1614 Exec prefix where wxWidgets is installed
(optional
)
1615 --with-toolkit Build against a specific wxWidgets toolkit
(default
1617 --with-wxshared Force building against a shared build of wxWidgets
,
1618 even
if --disable-shared is given
(default is auto
)
1619 --with-wxdebug Force building against a debug build of wxWidgets
,
1620 even
if --disable-debug is given
(default is auto
)
1621 --with-wxversion Build against a specific version of wxWidgets
1623 --with-libupnp-prefix=PREFIX
1624 UPnP library location
1625 --with-crypto-prefix=PREFIX
1626 prefix where crypto
++ is installed
1627 --with-language=<langs
> Specify a comma-separated list of languages you want
1628 to have installed. See po
/LINGUAS
for available
1630 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1631 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1632 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1633 --with-included-gettext use the GNU gettext library included here
1634 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1635 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1636 --with-denoise-level=<level
>
1637 Specifies denoising level
(0-4):
1639 4 - Suppress all normal output
1640 (for more information see
1641 src
/utils
/scripts
/denoiser.rules
)
1643 --with-ccache-prefix=PREFIX
1644 prefix where ccache is installed
1646 Some influential environment variables
:
1647 CXX C
++ compiler
command
1648 CXXFLAGS C
++ compiler flags
1649 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1650 nonstandard directory
<lib dir
>
1651 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1652 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1653 you have headers
in a nonstandard directory
<include dir
>
1654 CXXCPP C
++ preprocessor
1655 CC C compiler
command
1656 CFLAGS C compiler flags
1658 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1659 the first program found out of: `bison
-y', `byacc', `yacc'.
1660 YFLAGS The list of arguments that will be passed by default to $YACC.
1661 This script will default YFLAGS to the empty string to avoid a
1662 default value of `-d' given by some make applications.
1663 RC Resource Compiler
1664 RCFLAGS Resource Compiler Flags
1665 PKG_CONFIG path to pkg-config utility
1667 Use these variables to override the choices made by `configure' or to
help
1668 it to
find libraries and programs with nonstandard names
/locations.
1670 Report bugs to
<admin@amule.org
>.
1675 if test "$ac_init_help" = "recursive"; then
1676 # If there are subdirs, report their specific --help.
1677 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1678 test -d "$ac_dir" ||
1679 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1684 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1686 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1687 # A ".." for each directory in $ac_dir_suffix.
1688 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1689 case $ac_top_builddir_sub in
1690 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1691 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1694 ac_abs_top_builddir
=$ac_pwd
1695 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1696 # for backward compatibility:
1697 ac_top_builddir
=$ac_top_build_prefix
1700 .
) # We are building in place.
1702 ac_top_srcdir
=$ac_top_builddir_sub
1703 ac_abs_top_srcdir
=$ac_pwd ;;
1704 [\\/]* | ?
:[\\/]* ) # Absolute name.
1705 ac_srcdir
=$srcdir$ac_dir_suffix;
1706 ac_top_srcdir
=$srcdir
1707 ac_abs_top_srcdir
=$srcdir ;;
1709 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1710 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1711 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1713 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1715 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1716 # Check for guested configure.
1717 if test -f "$ac_srcdir/configure.gnu"; then
1719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1720 elif test -f "$ac_srcdir/configure"; then
1722 $SHELL "$ac_srcdir/configure" --help=recursive
1724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1726 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1730 test -n "$ac_init_help" && exit $ac_status
1731 if $ac_init_version; then
1734 generated by GNU Autoconf
2.65
1736 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1737 This configure
script is free software
; the Free Software Foundation
1738 gives unlimited permission to copy
, distribute and modify it.
1743 ## ------------------------ ##
1744 ## Autoconf initialization. ##
1745 ## ------------------------ ##
1747 # ac_fn_cxx_try_compile LINENO
1748 # ----------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_cxx_try_compile
()
1752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1753 rm -f conftest.
$ac_objext
1754 if { { ac_try
="$ac_compile"
1756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_cxx_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.$ac_objext; then :
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 as_fn_set_status $ac_retval
1783 } # ac_fn_cxx_try_compile
1785 # ac_fn_cxx_try_cpp LINENO
1786 # ------------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_cxx_try_cpp ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if { { ac_try="$ac_cpp conftest.$ac_ext"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } >/dev
/null
&& {
1807 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1808 test ! -s conftest.err
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1818 as_fn_set_status
$ac_retval
1820 } # ac_fn_cxx_try_cpp
1822 # ac_fn_c_try_compile LINENO
1823 # --------------------------
1824 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_compile
()
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 rm -f conftest.
$ac_objext
1829 if { { ac_try
="$ac_compile"
1831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_compile") 2>conftest.err
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest.$ac_objext; then :
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 as_fn_set_status $ac_retval
1858 } # ac_fn_c_try_compile
1860 # ac_fn_c_try_cpp LINENO
1861 # ----------------------
1862 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1869 *) ac_try_echo
=$ac_try;;
1871 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 if test -s conftest.err
; then
1876 grep -v '^ *+' conftest.err
>conftest.er1
1877 cat conftest.er1
>&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } >/dev
/null
&& {
1882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1883 test ! -s conftest.err
1887 $as_echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.
$ac_ext >&5
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1893 as_fn_set_status
$ac_retval
1897 # ac_fn_c_try_link LINENO
1898 # -----------------------
1899 # Try to link conftest.$ac_ext, and return whether this succeeded.
1902 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1903 rm -f conftest.
$ac_objext conftest
$ac_exeext
1904 if { { ac_try
="$ac_link"
1906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1907 *) ac_try_echo=$ac_try;;
1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_link") 2>conftest.err
1913 if test -s conftest.err; then
1914 grep -v '^ *+' conftest.err >conftest.er1
1915 cat conftest.er1 >&5
1916 mv -f conftest.er1 conftest.err
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && {
1920 test -z "$ac_c_werror_flag" ||
1921 test ! -s conftest.err
1922 } && test -s conftest$ac_exeext && {
1923 test "$cross_compiling" = yes ||
1924 $as_test_x conftest$ac_exeext
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.$ac_ext >&5
1933 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1934 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1935 # interfere with the next link command; also delete a directory that is
1936 # left behind by Apple's compiler. We do this before executing the actions.
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 as_fn_set_status $ac_retval
1941 } # ac_fn_c_try_link
1943 # ac_fn_c_try_run LINENO
1944 # ----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1946 # that executables *can* be run.
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_link"
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>&5
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1961 { { case "(($ac_try" in
1962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_try") 2>&5
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; }; }; then :
1973 $as_echo "$as_me: program exited with status $ac_status" >&5
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=$ac_status
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981 as_fn_set_status $ac_retval
1985 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1986 # -------------------------------------------------------
1987 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1988 # the include files in INCLUDES and setting the cache variable VAR
1990 ac_fn_c_check_header_mongrel ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1997 $as_echo_n "(cached) " >&6
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 # Is the header compilable?
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2005 $as_echo_n "checking $2 usability... " >&6; }
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2011 if ac_fn_c_try_compile "$LINENO"; then :
2012 ac_header_compiler=yes
2014 ac_header_compiler=no
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2018 $as_echo "$ac_header_compiler" >&6; }
2020 # Is the header present?
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2022 $as_echo_n "checking $2 presence... " >&6; }
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2027 if ac_fn_c_try_cpp "$LINENO"; then :
2028 ac_header_preproc=yes
2030 ac_header_preproc=no
2032 rm -f conftest.err conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2034 $as_echo "$ac_header_preproc" >&6; }
2036 # So? What about this header?
2037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2040 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2046 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2048 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2050 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2052 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2056 ## ------------------------------ ##
2057 ## Report this to admin@amule.org ##
2058 ## ------------------------------ ##
2060 ) | sed "s/^/$as_me: WARNING: /" >&2
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066 $as_echo_n "(cached) " >&6
2068 eval "$3=\$ac_header_compiler"
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076 } # ac_fn_c_check_header_mongrel
2078 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2079 # -------------------------------------------------------
2080 # Tests whether HEADER exists and can be compiled using the include files in
2081 # INCLUDES, setting the cache variable VAR accordingly.
2082 ac_fn_c_check_header_compile ()
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2095 if ac_fn_c_try_compile "$LINENO"; then :
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 } # ac_fn_c_check_header_compile
2109 # ac_fn_cxx_try_run LINENO
2110 # ------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2112 # that executables *can* be run.
2113 ac_fn_cxx_try_run ()
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 if { { ac_try="$ac_link"
2118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2119 *) ac_try_echo
=$ac_try;;
2121 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_link") 2>&5
2125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2126 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2127 { { case "(($ac_try" in
2128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2129 *) ac_try_echo=$ac_try;;
2131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2132 $as_echo "$ac_try_echo"; } >&5
2133 (eval "$ac_try") 2>&5
2135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2136 test $ac_status = 0; }; }; then :
2139 $as_echo "$as_me: program exited with status $ac_status" >&5
2140 $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2143 ac_retval=$ac_status
2145 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2146 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2147 as_fn_set_status $ac_retval
2149 } # ac_fn_cxx_try_run
2151 # ac_fn_cxx_try_link LINENO
2152 # -------------------------
2153 # Try to link conftest.$ac_ext, and return whether this succeeded.
2154 ac_fn_cxx_try_link ()
2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157 rm -f conftest.$ac_objext conftest$ac_exeext
2158 if { { ac_try="$ac_link"
2160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2161 *) ac_try_echo
=$ac_try;;
2163 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2164 $as_echo "$ac_try_echo"; } >&5
2165 (eval "$ac_link") 2>conftest.err
2167 if test -s conftest.err
; then
2168 grep -v '^ *+' conftest.err
>conftest.er1
2169 cat conftest.er1
>&5
2170 mv -f conftest.er1 conftest.err
2172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2173 test $ac_status = 0; } && {
2174 test -z "$ac_cxx_werror_flag" ||
2175 test ! -s conftest.err
2176 } && test -s conftest
$ac_exeext && {
2177 test "$cross_compiling" = yes ||
2178 $as_test_x conftest
$ac_exeext
2182 $as_echo "$as_me: failed program was:" >&5
2183 sed 's/^/| /' conftest.
$ac_ext >&5
2187 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2188 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2189 # interfere with the next link command; also delete a directory that is
2190 # left behind by Apple's compiler. We do this before executing the actions.
2191 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2193 as_fn_set_status
$ac_retval
2195 } # ac_fn_cxx_try_link
2197 # ac_fn_c_check_func LINENO FUNC VAR
2198 # ----------------------------------
2199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2200 ac_fn_c_check_func
()
2202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2212 #define $2 innocuous_$2
2214 /* System header to define __stub macros and hopefully few prototypes,
2215 which can conflict with char $2 (); below.
2216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2217 <limits.h> exists even on freestanding compilers. */
2220 # include <limits.h>
2222 # include <assert.h>
2227 /* Override any GCC internal prototype to avoid an error.
2228 Use char because int might match the return type of a GCC
2229 builtin and then its argument prototype would still apply. */
2234 /* The GNU C library defines this for functions which it implements
2235 to always fail with ENOSYS. Some functions are actually named
2236 something starting with __ and the normal name is an alias. */
2237 #if defined __stub_$2 || defined __stub___$2
2249 if ac_fn_c_try_link
"$LINENO"; then :
2254 rm -f core conftest.err conftest.
$ac_objext \
2255 conftest
$ac_exeext conftest.
$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2260 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2262 } # ac_fn_c_check_func
2264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2265 # -------------------------------------------
2266 # Tests whether TYPE exists after having included INCLUDES, setting cache
2267 # variable VAR accordingly.
2268 ac_fn_c_check_type
()
2270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2272 $as_echo_n "checking for $2... " >&6; }
2273 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2274 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2289 if ac_fn_c_try_compile
"$LINENO"; then :
2290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2302 if ac_fn_c_try_compile
"$LINENO"; then :
2307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2313 $as_echo "$ac_res" >&6; }
2314 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2316 } # ac_fn_c_check_type
2318 # ac_fn_c_check_decl LINENO SYMBOL VAR
2319 # ------------------------------------
2320 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2321 ac_fn_c_check_decl
()
2323 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2325 $as_echo_n "checking whether $2 is declared... " >&6; }
2326 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2327 $as_echo_n "(cached) " >&6
2329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2343 if ac_fn_c_try_compile
"$LINENO"; then :
2348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2355 } # ac_fn_c_check_decl
2356 cat >config.log
<<_ACEOF
2357 This file contains any messages produced by compilers while
2358 running configure, to aid debugging if configure makes a mistake.
2360 It was created by aMule $as_me SVN, which was
2361 generated by GNU Autoconf 2.65. Invocation command line was
2373 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2374 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2375 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2376 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2377 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2379 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2380 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2382 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2383 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2384 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2385 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2386 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2387 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2388 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 $as_echo "PATH: $as_dir"
2413 # Keep a trace of the command line.
2414 # Strip out --no-create and --no-recursion so they do not pile up.
2415 # Strip out --silent because we don't want to record it for future runs.
2416 # Also quote any args containing shell meta-characters.
2417 # Make two passes to allow for proper duplicate-argument suppression.
2421 ac_must_keep_next
=false
2427 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2428 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2429 |
-silent |
--silent |
--silen |
--sile |
--sil)
2432 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2435 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2437 as_fn_append ac_configure_args1
" '$ac_arg'"
2438 if test $ac_must_keep_next = true
; then
2439 ac_must_keep_next
=false
# Got value, back to normal.
2442 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2443 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2444 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2445 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2446 case "$ac_configure_args0 " in
2447 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2450 -* ) ac_must_keep_next
=true
;;
2453 as_fn_append ac_configure_args
" '$ac_arg'"
2458 { ac_configure_args0
=; unset ac_configure_args0
;}
2459 { ac_configure_args1
=; unset ac_configure_args1
;}
2461 # When interrupted or exit'd, cleanup temporary files, and complete
2462 # config.log. We remove comments because anyway the quotes in there
2463 # would cause problems or look ugly.
2464 # WARNING: Use '\'' to represent an apostrophe within the trap.
2465 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2466 trap 'exit_status=$?
2467 # Save into config.log some information that might help in debugging.
2472 ## ---------------- ##
2473 ## Cache variables. ##
2474 ## ---------------- ##
2477 # The following way of writing the cache mishandles newlines in values,
2479 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2480 eval ac_val=\$$ac_var
2484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2488 _ | IFS | as_nl) ;; #(
2489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2490 *) { eval $ac_var=; unset $ac_var;} ;;
2495 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2496 *${as_nl}ac_space=\ *)
2498 "s/'\''/'\''\\\\'\'''\''/g;
2499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2510 ## ----------------- ##
2511 ## Output variables. ##
2512 ## ----------------- ##
2515 for ac_var in $ac_subst_vars
2517 eval ac_val=\$$ac_var
2519 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2521 $as_echo "$ac_var='\''$ac_val'\''"
2525 if test -n "$ac_subst_files"; then
2527 ## ------------------- ##
2528 ## File substitutions. ##
2529 ## ------------------- ##
2532 for ac_var
in $ac_subst_files
2534 eval ac_val
=\$
$ac_var
2536 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2538 $as_echo "$ac_var='\''$ac_val'\''"
2543 if test -s confdefs.h; then
2553 test "$ac_signal" != 0 &&
2554 $as_echo "$as_me: caught signal $ac_signal"
2555 $as_echo "$as_me: exit $exit_status"
2557 rm -f core *.core core.conftest.* &&
2558 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2561 for ac_signal
in 1 2 13 15; do
2562 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2566 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2567 rm -f -r conftest
* confdefs.h
2569 $as_echo "/* confdefs.h */" > confdefs.h
2571 # Predefined preprocessor variables.
2573 cat >>confdefs.h
<<_ACEOF
2574 #define PACKAGE_NAME "$PACKAGE_NAME"
2577 cat >>confdefs.h
<<_ACEOF
2578 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2581 cat >>confdefs.h
<<_ACEOF
2582 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2585 cat >>confdefs.h
<<_ACEOF
2586 #define PACKAGE_STRING "$PACKAGE_STRING"
2589 cat >>confdefs.h
<<_ACEOF
2590 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2593 cat >>confdefs.h
<<_ACEOF
2594 #define PACKAGE_URL "$PACKAGE_URL"
2598 # Let the site file select an alternate cache file if it wants to.
2599 # Prefer an explicitly selected file to automatically selected ones.
2602 if test -n "$CONFIG_SITE"; then
2603 ac_site_file1
=$CONFIG_SITE
2604 elif test "x$prefix" != xNONE
; then
2605 ac_site_file1
=$prefix/share
/config.site
2606 ac_site_file2
=$prefix/etc
/config.site
2608 ac_site_file1
=$ac_default_prefix/share
/config.site
2609 ac_site_file2
=$ac_default_prefix/etc
/config.site
2611 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2613 test "x$ac_site_file" = xNONE
&& continue
2614 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2617 sed 's/^/| /' "$ac_site_file" >&5
2622 if test -r "$cache_file"; then
2623 # Some versions of bash will fail to source /dev/null (special files
2624 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2625 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2627 $as_echo "$as_me: loading cache $cache_file" >&6;}
2629 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2630 *) .
"./$cache_file";;
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2635 $as_echo "$as_me: creating cache $cache_file" >&6;}
2639 as_fn_append ac_header_list
" stdlib.h"
2640 as_fn_append ac_header_list
" unistd.h"
2641 as_fn_append ac_header_list
" sys/param.h"
2642 # Check that the precious variables saved in the cache have kept the same
2644 ac_cache_corrupted
=false
2645 for ac_var
in $ac_precious_vars; do
2646 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2647 eval ac_new_set
=\
$ac_env_${ac_var}_set
2648 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2649 eval ac_new_val
=\
$ac_env_${ac_var}_value
2650 case $ac_old_set,$ac_new_set in
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2653 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2654 ac_cache_corrupted
=: ;;
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2657 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2658 ac_cache_corrupted
=: ;;
2661 if test "x$ac_old_val" != "x$ac_new_val"; then
2662 # differences in whitespace do not lead to failure.
2663 ac_old_val_w
=`echo x $ac_old_val`
2664 ac_new_val_w
=`echo x $ac_new_val`
2665 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2667 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2668 ac_cache_corrupted
=:
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2671 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2672 eval $ac_var=\
$ac_old_val
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2675 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2677 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2680 # Pass precious variables to config.status.
2681 if test "$ac_new_set" = set; then
2683 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2684 *) ac_arg
=$ac_var=$ac_new_val ;;
2686 case " $ac_configure_args " in
2687 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2688 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2692 if $ac_cache_corrupted; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2696 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2697 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2699 ## -------------------- ##
2700 ## Main body of script. ##
2701 ## -------------------- ##
2704 ac_cpp
='$CPP $CPPFLAGS'
2705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2710 am__api_version
='1.11'
2713 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2714 for ac_t
in install-sh
install.sh shtool
; do
2715 if test -f "$ac_dir/$ac_t"; then
2717 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2722 if test -z "$ac_aux_dir"; then
2723 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2726 # These three variables are undocumented and unsupported,
2727 # and are intended to be withdrawn in a future Autoconf release.
2728 # They can cause serious problems if a builder's source tree is in a directory
2729 # whose full name contains unusual characters.
2730 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2731 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2732 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2735 # Find a good install program. We prefer a C program (faster),
2736 # so one script is as good as another. But avoid the broken or
2737 # incompatible versions:
2738 # SysV /etc/install, /usr/sbin/install
2739 # SunOS /usr/etc/install
2740 # IRIX /sbin/install
2742 # AmigaOS /C/install, which installs bootblocks on floppy discs
2743 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2744 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2745 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2746 # OS/2's system install, which has a completely different semantic
2747 # ./install, which can be erroneously created by make from ./install.sh.
2748 # Reject install programs that cannot install multiple files.
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2750 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2751 if test -z "$INSTALL"; then
2752 if test "${ac_cv_path_install+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2759 test -z "$as_dir" && as_dir
=.
2760 # Account for people who put trailing slashes in PATH elements.
2761 case $as_dir/ in #((
2762 .
/ | .
// |
/[cC
]/* | \
2763 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2764 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2767 # OSF1 and SCO ODT 3.0 have their own names for install.
2768 # Don't use installbsd from OSF since it installs stuff as root
2770 for ac_prog
in ginstall scoinst
install; do
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2773 if test $ac_prog = install &&
2774 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2775 # AIX install. It has an incompatible calling convention.
2777 elif test $ac_prog = install &&
2778 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2779 # program-specific install script used by HP pwplus--don't use.
2782 rm -rf conftest.one conftest.two conftest.dir
2783 echo one
> conftest.one
2784 echo two
> conftest.two
2786 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2787 test -s conftest.one
&& test -s conftest.two
&&
2788 test -s conftest.dir
/conftest.one
&&
2789 test -s conftest.dir
/conftest.two
2791 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2804 rm -rf conftest.one conftest.two conftest.dir
2807 if test "${ac_cv_path_install+set}" = set; then
2808 INSTALL
=$ac_cv_path_install
2810 # As a last resort, use the slow shell script. Don't cache a
2811 # value for INSTALL within a source directory, because that will
2812 # break other packages using the cache if that directory is
2813 # removed, or if the value is a relative name.
2814 INSTALL
=$ac_install_sh
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2818 $as_echo "$INSTALL" >&6; }
2820 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2821 # It thinks the first close brace ends the variable substitution.
2822 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2824 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2826 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2829 $as_echo_n "checking whether build environment is sane... " >&6; }
2832 echo timestamp
> conftest.
file
2833 # Reject unsafe characters in $srcdir or the absolute working directory
2834 # name. Accept space and tab only in the latter.
2838 *[\\\"\
#\$\&\'\`$am_lf]*)
2839 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2842 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2843 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2846 # Do `set' in a subshell so we don't clobber the current shell's
2847 # arguments. Must try -L first in case configure is actually a
2848 # symlink; some systems play weird games with the mod time of symlinks
2849 # (eg FreeBSD returns the mod time of the symlink's containing
2852 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2853 if test "$*" = "X"; then
2855 set X
`ls -t "$srcdir/configure" conftest.file`
2858 if test "$*" != "X $srcdir/configure conftest.file" \
2859 && test "$*" != "X conftest.file $srcdir/configure"; then
2861 # If neither matched, then we have a broken ls. This can happen
2862 # if, for instance, CONFIG_SHELL is bash and it inherits a
2863 # broken ls alias from the environment. This has actually
2864 # happened. Such a system could not be considered "sane".
2865 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2866 alias in your environment" "$LINENO" 5
2869 test "$2" = conftest.
file
2875 as_fn_error
"newly created file is older than distributed files!
2876 Check your system clock" "$LINENO" 5
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2880 test "$program_prefix" != NONE
&&
2881 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2882 # Use a double $ so make ignores it.
2883 test "$program_suffix" != NONE
&&
2884 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2885 # Double any \ or $.
2886 # By default was `s,x,x', remove it if useless.
2887 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2888 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2890 # expand $ac_aux_dir to an absolute path
2891 am_aux_dir
=`cd $ac_aux_dir && pwd`
2893 if test x
"${MISSING+set}" != xset
; then
2896 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2898 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2901 # Use eval to expand $SHELL
2902 if eval "$MISSING --run true"; then
2903 am_missing_run
="$MISSING --run "
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2907 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2910 if test x
"${install_sh}" != xset
; then
2913 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2915 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2919 # Installed binaries are usually stripped using `strip' when the user
2920 # run `make install-strip'. However `strip' might not be the right
2921 # tool to use in cross-compilation environments, therefore Automake
2922 # will honor the `STRIP' environment variable to overrule this program.
2923 if test "$cross_compiling" != no
; then
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2926 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if test "${ac_cv_prog_STRIP+set}" = set; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$STRIP"; then
2933 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 STRIP
=$ac_cv_prog_STRIP
2953 if test -n "$STRIP"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2955 $as_echo "$STRIP" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2963 if test -z "$ac_cv_prog_STRIP"; then
2965 # Extract the first word of "strip", so it can be a program name with args.
2966 set dummy strip
; ac_word
=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$ac_ct_STRIP"; then
2973 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_ac_ct_STRIP
="strip"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2993 if test -n "$ac_ct_STRIP"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2995 $as_echo "$ac_ct_STRIP" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3001 if test "x$ac_ct_STRIP" = x
; then
3004 case $cross_compiling:$ac_tool_warned in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3008 ac_tool_warned
=yes ;;
3013 STRIP
="$ac_cv_prog_STRIP"
3017 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3020 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3021 if test -z "$MKDIR_P"; then
3022 if test "${ac_cv_path_mkdir+set}" = set; then :
3023 $as_echo_n "(cached) " >&6
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_prog
in mkdir gmkdir
; do
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3033 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3034 'mkdir (GNU coreutils) '* | \
3035 'mkdir (coreutils) '* | \
3036 'mkdir (fileutils) '4.1*)
3037 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3047 test -d .
/--version && rmdir .
/--version
3048 if test "${ac_cv_path_mkdir+set}" = set; then
3049 MKDIR_P
="$ac_cv_path_mkdir -p"
3051 # As a last resort, use the slow shell script. Don't cache a
3052 # value for MKDIR_P within a source directory, because that will
3053 # break other packages using the cache if that directory is
3054 # removed, or if the value is a relative name.
3055 MKDIR_P
="$ac_install_sh -d"
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3059 $as_echo "$MKDIR_P" >&6; }
3063 [\\/$
]* | ?
:[\\/]*) ;;
3064 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3067 for ac_prog
in gawk mawk nawk
awk
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy
$ac_prog; ac_word
=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if test "${ac_cv_prog_AWK+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$AWK"; then
3077 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir
=.
3084 for ac_exec_ext
in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_AWK
="$ac_prog"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 if test -n "$AWK"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3099 $as_echo "$AWK" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3106 test -n "$AWK" && break
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3110 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3112 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3113 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3114 $as_echo_n "(cached) " >&6
3116 cat >conftest.
make <<\_ACEOF
3119 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3122 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3124 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3126 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3130 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3132 $as_echo "yes" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3137 SET_MAKE
="MAKE=${MAKE-make}"
3140 rm -rf .tst
2>/dev
/null
3141 mkdir .tst
2>/dev
/null
3142 if test -d .tst
; then
3147 rmdir .tst
2>/dev
/null
3149 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3150 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3151 # is not polluted with repeated "-I."
3152 am__isrc
=' -I$(srcdir)'
3153 # test to see if srcdir already configured
3154 if test -f $srcdir/config.status
; then
3155 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3159 # test whether we have cygpath
3160 if test -z "$CYGPATH_W"; then
3161 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3162 CYGPATH_W
='cygpath -w'
3169 # Define the identity of the package.
3174 cat >>confdefs.h
<<_ACEOF
3175 #define PACKAGE "$PACKAGE"
3179 cat >>confdefs.h
<<_ACEOF
3180 #define VERSION "$VERSION"
3183 # Some tools Automake needs.
3185 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3188 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3191 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3194 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3197 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3199 # We need awk for the "check" target. The system "awk" is bad on
3201 # Always define AMTAR for backward compatibility.
3203 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3205 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3211 # Check whether --enable-silent-rules was given.
3212 if test "${enable_silent_rules+set}" = set; then :
3213 enableval
=$enable_silent_rules;
3216 case $enable_silent_rules in
3217 yes) AM_DEFAULT_VERBOSITY
=0;;
3218 no
) AM_DEFAULT_VERBOSITY
=1;;
3219 *) AM_DEFAULT_VERBOSITY
=1;;
3227 ac_config_headers="$ac_config_headers config.h"
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3231 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3232 # Check whether --enable-maintainer-mode was given.
3233 if test "${enable_maintainer_mode+set}" = set; then :
3234 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3236 USE_MAINTAINER_MODE=no
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3240 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3241 if test $USE_MAINTAINER_MODE = yes; then
3242 MAINTAINER_MODE_TRUE=
3243 MAINTAINER_MODE_FALSE='#'
3245 MAINTAINER_MODE_TRUE
='#'
3246 MAINTAINER_MODE_FALSE
=
3249 MAINT
=$MAINTAINER_MODE_TRUE
3253 # Make sure we can run config.sub.
3254 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3255 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3258 $as_echo_n "checking build system type... " >&6; }
3259 if test "${ac_cv_build+set}" = set; then :
3260 $as_echo_n "(cached) " >&6
3262 ac_build_alias
=$build_alias
3263 test "x$ac_build_alias" = x
&&
3264 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3265 test "x$ac_build_alias" = x
&&
3266 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3267 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3268 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3272 $as_echo "$ac_cv_build" >&6; }
3273 case $ac_cv_build in
3275 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3278 ac_save_IFS
=$IFS; IFS
='-'
3284 # Remember, the first character of IFS is used to create $*,
3285 # except with old shells:
3288 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3292 $as_echo_n "checking host system type... " >&6; }
3293 if test "${ac_cv_host+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3296 if test "x$host_alias" = x
; then
3297 ac_cv_host
=$ac_cv_build
3299 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3300 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3305 $as_echo "$ac_cv_host" >&6; }
3308 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3311 ac_save_IFS
=$IFS; IFS
='-'
3317 # Remember, the first character of IFS is used to create $*,
3318 # except with old shells:
3321 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3325 case "${host_os}" in
3328 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3329 MULELDFLAGS
="-bind_at_load"
3330 touch src
/Scanner.cpp
3334 LIBS
="$LIBS -L/usr/local/lib"
3335 MULECPPFLAGS
="-D__OPENBSD__"
3337 *cygwin
* |
*mingw32
*)
3339 MULECPPFLAGS
="-DNOMINMAX"
3343 RESOLV_LIB
="-lresolv -lnsl"
3348 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3349 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3350 # Still, we prepend them, instead of adding, so the user may override them.
3351 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3352 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3356 MULECPPFLAGS
="-D__IRIX__"
3363 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3364 if test ${SYS:-unknown} != win32
; then :
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3367 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3368 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3370 MULELDFLAGS
="$MULELDFLAGS -pthread"
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3372 $as_echo "yes" >&6; }
3376 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3386 mule_backup_CFLAGS
="$CFLAGS"
3387 mule_backup_CXXFLAGS
="$CXXFLAGS"
3388 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3390 ac_cpp
='$CXXCPP $CPPFLAGS'
3391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3394 if test -z "$CXX"; then
3395 if test -n "$CCC"; then
3398 if test -n "$ac_tool_prefix"; then
3399 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3402 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if test "${ac_cv_prog_CXX+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -n "$CXX"; then
3409 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir
=.
3416 for ac_exec_ext
in '' $ac_executable_extensions; do
3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 if test -n "$CXX"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3431 $as_echo "$CXX" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3438 test -n "$CXX" && break
3441 if test -z "$CXX"; then
3443 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3445 # Extract the first word of "$ac_prog", so it can be a program name with args.
3446 set dummy
$ac_prog; ac_word
=$2
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448 $as_echo_n "checking for $ac_word... " >&6; }
3449 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -n "$ac_ct_CXX"; then
3453 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir
=.
3460 for ac_exec_ext
in '' $ac_executable_extensions; do
3461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3473 if test -n "$ac_ct_CXX"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3475 $as_echo "$ac_ct_CXX" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3482 test -n "$ac_ct_CXX" && break
3485 if test "x$ac_ct_CXX" = x
; then
3488 case $cross_compiling:$ac_tool_warned in
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3492 ac_tool_warned
=yes ;;
3500 # Provide some information about the compiler.
3501 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3504 for ac_option
in --version -v -V -qversion; do
3505 { { ac_try
="$ac_compiler $ac_option >&5"
3507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3514 if test -s conftest.err; then
3516 ... rest of stderr output deleted ...
3517 10q' conftest.err >conftest.er1
3518 cat conftest.er1 >&5
3520 rm -f conftest.er1 conftest.err
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 ac_clean_files_save=$ac_clean_files
3537 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3538 # Try to create an executable without -o first, disregard a.out.
3539 # It will help us diagnose broken compilers, and finding out an intuition
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3542 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3543 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3545 # The possible output files:
3546 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3549 for ac_file in $ac_files
3552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3553 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3558 if { { ac_try="$ac_link_default"
3560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3561 *) ac_try_echo
=$ac_try;;
3563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_link_default") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; then :
3569 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3570 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3571 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3572 # so that the user can short-circuit this test for compilers unknown to
3574 for ac_file
in $ac_files ''
3576 test -f "$ac_file" ||
continue
3578 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3581 # We found the default executable, but exeext='' is most
3585 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3587 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3589 # We set ac_cv_exeext here because the later test for it is not
3590 # safe: cross compilers may not add the suffix if given an `-o'
3591 # argument, so we may need to know it at that point already.
3592 # Even if this section looks crufty: it has the advantage of
3599 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3604 if test -z "$ac_file"; then :
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 $as_echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.
$ac_ext >&5
3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 { as_fn_set_status
77
3613 as_fn_error
"C++ compiler cannot create executables
3614 See \`config.log' for more details." "$LINENO" 5; }; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3617 $as_echo "yes" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3620 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3622 $as_echo "$ac_file" >&6; }
3623 ac_exeext
=$ac_cv_exeext
3625 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3626 ac_clean_files
=$ac_clean_files_save
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3628 $as_echo_n "checking for suffix of executables... " >&6; }
3629 if { { ac_try
="$ac_link"
3631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_link") 2>&5
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }; then :
3640 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3641 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3642 # work properly (i.e., refer to `conftest.exe'), while it won't with
3644 for ac_file
in conftest.exe conftest conftest.
*; do
3645 test -f "$ac_file" ||
continue
3647 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3648 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3656 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3657 See \`config.log' for more details." "$LINENO" 5; }
3659 rm -f conftest conftest
$ac_cv_exeext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3661 $as_echo "$ac_cv_exeext" >&6; }
3663 rm -f conftest.
$ac_ext
3664 EXEEXT
=$ac_cv_exeext
3666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3672 FILE *f = fopen ("conftest.out", "w");
3673 return ferror (f) || fclose (f) != 0;
3679 ac_clean_files
="$ac_clean_files conftest.out"
3680 # Check that the compiler produces executables we can run. If not, either
3681 # the compiler is broken, or we cross compile.
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3683 $as_echo_n "checking whether we are cross compiling... " >&6; }
3684 if test "$cross_compiling" != yes; then
3685 { { ac_try
="$ac_link"
3687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3691 $as_echo "$ac_try_echo"; } >&5
3692 (eval "$ac_link") 2>&5
3694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3695 test $ac_status = 0; }
3696 if { ac_try='./conftest$ac_cv_exeext'
3697 { { case "(($ac_try" in
3698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3699 *) ac_try_echo
=$ac_try;;
3701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703 (eval "$ac_try") 2>&5
3705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706 test $ac_status = 0; }; }; then
3709 if test "$cross_compiling" = maybe
; then
3712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error
"cannot run C++ compiled programs.
3715 If you meant to cross compile, use \`--host'.
3716 See \`config.log' for more details." "$LINENO" 5; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3721 $as_echo "$cross_compiling" >&6; }
3723 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3724 ac_clean_files
=$ac_clean_files_save
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3726 $as_echo_n "checking for suffix of object files... " >&6; }
3727 if test "${ac_cv_objext+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 rm -f conftest.o conftest.obj
3742 if { { ac_try
="$ac_compile"
3744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749 (eval "$ac_compile") 2>&5
3751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752 test $ac_status = 0; }; then :
3753 for ac_file in conftest.o conftest.obj conftest.*; do
3754 test -f "$ac_file" || continue;
3756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3757 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3762 $as_echo "$as_me: failed program was:" >&5
3763 sed 's/^/| /' conftest.$ac_ext >&5
3765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3767 as_fn_error "cannot compute suffix of object files
: cannot compile
3768 See \
`config.log' for more details." "$LINENO" 5; }
3770 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3773 $as_echo "$ac_cv_objext" >&6; }
3774 OBJEXT=$ac_cv_objext
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3777 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3778 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3779 $as_echo_n "(cached) " >&6
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3795 if ac_fn_cxx_try_compile "$LINENO"; then :
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3805 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3806 if test $ac_compiler_gnu = yes; then
3811 ac_test_CXXFLAGS=${CXXFLAGS+set}
3812 ac_save_CXXFLAGS=$CXXFLAGS
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3814 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3815 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3818 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3819 ac_cxx_werror_flag=yes
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3833 if ac_fn_cxx_try_compile "$LINENO"; then :
3834 ac_cv_prog_cxx_g=yes
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 if ac_fn_cxx_try_compile "$LINENO"; then :
3851 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3864 if ac_fn_cxx_try_compile "$LINENO"; then :
3865 ac_cv_prog_cxx_g=yes
3867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3875 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3876 if test "$ac_test_CXXFLAGS" = set; then
3877 CXXFLAGS=$ac_save_CXXFLAGS
3878 elif test $ac_cv_prog_cxx_g = yes; then
3879 if test "$GXX" = yes; then
3885 if test "$GXX" = yes; then
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 DEPDIR="${am__leading_dot}deps"
3898 ac_config_commands="$ac_config_commands depfiles"
3901 am_make=${MAKE-make}
3902 cat > confinc << 'END'
3904 @echo this is the am__doit target
3907 # If we don't find an include directive, just comment out the code.
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3909 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3913 # First try GNU make style include.
3914 echo "include confinc" > confmf
3915 # Ignore all kinds of additional output from `make'.
3916 case `$am_make -s -f confmf 2> /dev/null` in #(
3917 *the\ am__doit\ target*)
3923 # Now try BSD make style include.
3924 if test "$am__include" = "#"; then
3925 echo '.include
"confinc"' > confmf
3926 case `$am_make -s -f confmf 2> /dev/null` in #(
3927 *the\ am__doit\ target*)
3928 am__include=.include
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3937 $as_echo "$_am_result" >&6; }
3938 rm -f confinc confmf
3940 # Check whether --enable-dependency-tracking was given.
3941 if test "${enable_dependency_tracking+set}" = set; then :
3942 enableval=$enable_dependency_tracking;
3945 if test "x$enable_dependency_tracking" != xno; then
3946 am_depcomp="$ac_aux_dir/depcomp"
3949 if test "x$enable_dependency_tracking" != xno
; then
3959 depcc
="$CXX" am_compiler_list
=
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3962 $as_echo_n "checking dependency style of $depcc... " >&6; }
3963 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3964 $as_echo_n "(cached) " >&6
3966 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3967 # We make a subdir and do the tests there. Otherwise we can end up
3968 # making bogus files that we don't know about and never remove. For
3969 # instance it was reported that on HP-UX the gcc test will end up
3970 # making a dummy file named `D' -- because `-MD' means `put the output
3973 # Copy depcomp to subdir because otherwise we won't find it if we're
3974 # using a relative directory.
3975 cp "$am_depcomp" conftest.dir
3977 # We will build objects and dependencies in a subdirectory because
3978 # it helps to detect inapplicable dependency modes. For instance
3979 # both Tru64's cc and ICC support -MD to output dependencies as a
3980 # side effect of compilation, but ICC will put the dependencies in
3981 # the current directory while Tru64 will put them in the object
3985 am_cv_CXX_dependencies_compiler_type
=none
3986 if test "$am_compiler_list" = ""; then
3987 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3990 case " $depcc " in #(
3991 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3994 for depmode
in $am_compiler_list; do
3995 # Setup a source with many dependencies, because some compilers
3996 # like to wrap large dependency lists on column 80 (with \), and
3997 # we should not choose a depcomp mode which is confused by this.
3999 # We need to recreate these files for each test, as the compiler may
4000 # overwrite some of them when testing with obscure command lines.
4001 # This happens at least with the AIX C compiler.
4003 for i
in 1 2 3 4 5 6; do
4004 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4005 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4006 # Solaris 8's {/usr,}/bin/sh.
4007 touch sub
/conftst
$i.h
4009 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4011 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4012 # mode. It turns out that the SunPro C++ compiler does not properly
4013 # handle `-M -o', and we need to detect this. Also, some Intel
4014 # versions had trouble with output in subdirs
4015 am__obj
=sub
/conftest.
${OBJEXT-o}
4016 am__minus_obj
="-o $am__obj"
4019 # This depmode causes a compiler race in universal mode.
4020 test "$am__universal" = false ||
continue
4023 # after this tag, mechanisms are not by side-effect, so they'll
4024 # only be used when explicitly requested
4025 if test "x$enable_dependency_tracking" = xyes
; then
4031 msvisualcpp | msvcmsys
)
4032 # This compiler won't grok `-c -o', but also, the minuso test has
4033 # not run yet. These depmodes are late enough in the game, and
4034 # so weak that their functioning should not be impacted.
4035 am__obj
=conftest.
${OBJEXT-o}
4040 if depmode
=$depmode \
4041 source=sub
/conftest.c object
=$am__obj \
4042 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4043 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4044 >/dev
/null
2>conftest.err
&&
4045 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4046 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4047 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4048 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4049 # icc doesn't choke on unknown options, it will just issue warnings
4050 # or remarks (even with -Werror). So we grep stderr for any message
4051 # that says an option was ignored or not supported.
4052 # When given -MP, icc 7.0 and 7.1 complain thusly:
4053 # icc: Command line warning: ignoring option '-M'; no argument required
4054 # The diagnosis changed in icc 8.0:
4055 # icc: Command line remark: option '-MP' not supported
4056 if (grep 'ignoring option' conftest.err ||
4057 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4058 am_cv_CXX_dependencies_compiler_type
=$depmode
4067 am_cv_CXX_dependencies_compiler_type
=none
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4072 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4073 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4076 test "x$enable_dependency_tracking" != xno \
4077 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4078 am__fastdepCXX_TRUE
=
4079 am__fastdepCXX_FALSE
='#'
4081 am__fastdepCXX_TRUE
='#'
4082 am__fastdepCXX_FALSE
=
4087 ac_cpp
='$CXXCPP $CPPFLAGS'
4088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4092 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4093 if test -z "$CXXCPP"; then
4094 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 # Double quotes because CXXCPP needs to be expanded
4098 for CXXCPP
in "$CXX -E" "/lib/cpp"
4101 for ac_cxx_preproc_warn_flag
in '' yes
4103 # Use a header file that comes with gcc, so configuring glibc
4104 # with a fresh cross-compiler works.
4105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4106 # <limits.h> exists even on freestanding compilers.
4107 # On the NeXT, cc -E runs the code through the compiler's parser,
4108 # not just through cpp. "Syntax error" is here to catch this case.
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4112 # include <limits.h>
4114 # include <assert.h>
4118 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4121 # Broken: fails on valid input.
4124 rm -f conftest.err conftest.
$ac_ext
4126 # OK, works on sane cases. Now check whether nonexistent headers
4127 # can be detected and how.
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4130 #include <ac_nonexistent.h>
4132 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4133 # Broken: success on invalid input.
4136 # Passes both tests.
4140 rm -f conftest.err conftest.
$ac_ext
4143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4144 rm -f conftest.err conftest.
$ac_ext
4145 if $ac_preproc_ok; then :
4150 ac_cv_prog_CXXCPP
=$CXXCPP
4153 CXXCPP
=$ac_cv_prog_CXXCPP
4155 ac_cv_prog_CXXCPP
=$CXXCPP
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4158 $as_echo "$CXXCPP" >&6; }
4160 for ac_cxx_preproc_warn_flag
in '' yes
4162 # Use a header file that comes with gcc, so configuring glibc
4163 # with a fresh cross-compiler works.
4164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4165 # <limits.h> exists even on freestanding compilers.
4166 # On the NeXT, cc -E runs the code through the compiler's parser,
4167 # not just through cpp. "Syntax error" is here to catch this case.
4168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4171 # include <limits.h>
4173 # include <assert.h>
4177 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4180 # Broken: fails on valid input.
4183 rm -f conftest.err conftest.
$ac_ext
4185 # OK, works on sane cases. Now check whether nonexistent headers
4186 # can be detected and how.
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 #include <ac_nonexistent.h>
4191 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4192 # Broken: success on invalid input.
4195 # Passes both tests.
4199 rm -f conftest.err conftest.
$ac_ext
4202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4203 rm -f conftest.err conftest.
$ac_ext
4204 if $ac_preproc_ok; then :
4207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4210 See \`config.log' for more details." "$LINENO" 5; }
4214 ac_cpp
='$CPP $CPPFLAGS'
4215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4220 ac_cpp
='$CPP $CPPFLAGS'
4221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4224 if test -n "$ac_tool_prefix"; then
4225 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4226 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if test "${ac_cv_prog_CC+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -n "$CC"; then
4233 ac_cv_prog_CC
="$CC" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 if test -n "$CC"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4255 $as_echo "$CC" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4263 if test -z "$ac_cv_prog_CC"; then
4265 # Extract the first word of "gcc", so it can be a program name with args.
4266 set dummy gcc
; ac_word
=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$ac_ct_CC"; then
4273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282 ac_cv_prog_ac_ct_CC
="gcc"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4293 if test -n "$ac_ct_CC"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4295 $as_echo "$ac_ct_CC" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4301 if test "x$ac_ct_CC" = x
; then
4304 case $cross_compiling:$ac_tool_warned in
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4308 ac_tool_warned
=yes ;;
4316 if test -z "$CC"; then
4317 if test -n "$ac_tool_prefix"; then
4318 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4319 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if test "${ac_cv_prog_CC+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -n "$CC"; then
4326 ac_cv_prog_CC
="$CC" # Let the user override the test.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 if test -n "$CC"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4348 $as_echo "$CC" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4357 if test -z "$CC"; then
4358 # Extract the first word of "cc", so it can be a program name with args.
4359 set dummy cc
; ac_word
=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if test "${ac_cv_prog_CC+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -n "$CC"; then
4366 ac_cv_prog_CC
="$CC" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4377 ac_prog_rejected
=yes
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 if test $ac_prog_rejected = yes; then
4389 # We found a bogon in the path, so make sure we never use it.
4390 set dummy
$ac_cv_prog_CC
4392 if test $# != 0; then
4393 # We chose a different compiler from the bogus one.
4394 # However, it has the same basename, so the bogon will be chosen
4395 # first if we set CC to just the basename; use the full file name.
4397 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4403 if test -n "$CC"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4405 $as_echo "$CC" >&6; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4413 if test -z "$CC"; then
4414 if test -n "$ac_tool_prefix"; then
4415 for ac_prog
in cl.exe
4417 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4418 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if test "${ac_cv_prog_CC+set}" = set; then :
4422 $as_echo_n "(cached) " >&6
4424 if test -n "$CC"; then
4425 ac_cv_prog_CC
="$CC" # Let the user override the test.
4427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir
=.
4432 for ac_exec_ext
in '' $ac_executable_extensions; do
4433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 if test -n "$CC"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4447 $as_echo "$CC" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4454 test -n "$CC" && break
4457 if test -z "$CC"; then
4459 for ac_prog
in cl.exe
4461 # Extract the first word of "$ac_prog", so it can be a program name with args.
4462 set dummy
$ac_prog; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$ac_ct_CC"; then
4469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 ac_cv_prog_ac_ct_CC
="$ac_prog"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4489 if test -n "$ac_ct_CC"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4491 $as_echo "$ac_ct_CC" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4498 test -n "$ac_ct_CC" && break
4501 if test "x$ac_ct_CC" = x
; then
4504 case $cross_compiling:$ac_tool_warned in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4508 ac_tool_warned
=yes ;;
4517 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4519 as_fn_error
"no acceptable C compiler found in \$PATH
4520 See \`config.log' for more details." "$LINENO" 5; }
4522 # Provide some information about the compiler.
4523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4526 for ac_option
in --version -v -V -qversion; do
4527 { { ac_try
="$ac_compiler $ac_option >&5"
4529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4533 $as_echo "$ac_try_echo"; } >&5
4534 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4536 if test -s conftest.err; then
4538 ... rest of stderr output deleted ...
4539 10q' conftest.err >conftest.er1
4540 cat conftest.er1 >&5
4542 rm -f conftest.er1 conftest.err
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4549 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4550 $as_echo_n "(cached) " >&6
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4566 if ac_fn_c_try_compile "$LINENO"; then :
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4576 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4582 ac_test_CFLAGS=${CFLAGS+set}
4583 ac_save_CFLAGS=$CFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4585 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4586 if test "${ac_cv_prog_cc_g+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 ac_save_c_werror_flag=$ac_c_werror_flag
4590 ac_c_werror_flag=yes
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4604 if ac_fn_c_try_compile "$LINENO"; then :
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4619 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4635 if ac_fn_c_try_compile "$LINENO"; then :
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 ac_c_werror_flag=$ac_save_c_werror_flag
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4646 $as_echo "$ac_cv_prog_cc_g" >&6; }
4647 if test "$ac_test_CFLAGS" = set; then
4648 CFLAGS=$ac_save_CFLAGS
4649 elif test $ac_cv_prog_cc_g = yes; then
4650 if test "$GCC" = yes; then
4656 if test "$GCC" = yes; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4663 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4664 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 ac_cv_prog_cc_c89=no
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 #include <sys/types.h>
4674 #include <sys/stat.h>
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4689 s = g (p, va_arg (v,int));
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4732 rm -f conftest.$ac_ext
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 depcc="$CC" am_compiler_list=
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4762 $as_echo_n "checking dependency style of $depcc... " >&6; }
4763 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4767 # We make a subdir and do the tests there. Otherwise we can end up
4768 # making bogus files that we don't know about and never remove. For
4769 # instance it was reported that on HP-UX the gcc test will end up
4770 # making a dummy file named `D
' -- because `-MD' means
`put the output
4773 # Copy depcomp to subdir because otherwise we won't find it if we're
4774 # using a relative directory.
4775 cp "$am_depcomp" conftest.dir
4777 # We will build objects and dependencies in a subdirectory because
4778 # it helps to detect inapplicable dependency modes. For instance
4779 # both Tru64's cc and ICC support -MD to output dependencies as a
4780 # side effect of compilation, but ICC will put the dependencies in
4781 # the current directory while Tru64 will put them in the object
4785 am_cv_CC_dependencies_compiler_type=none
4786 if test "$am_compiler_list" = ""; then
4787 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4790 case " $depcc " in #(
4791 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4794 for depmode in $am_compiler_list; do
4795 # Setup a source with many dependencies, because some compilers
4796 # like to wrap large dependency lists on column 80 (with \), and
4797 # we should not choose a depcomp mode which is confused by this.
4799 # We need to recreate these files for each test, as the compiler may
4800 # overwrite some of them when testing with obscure command lines.
4801 # This happens at least with the AIX C compiler.
4803 for i in 1 2 3 4 5 6; do
4804 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4805 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4806 # Solaris 8's
{/usr
,}/bin
/sh.
4807 touch sub
/conftst
$i.h
4809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4811 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4812 # mode. It turns out that the SunPro C++ compiler does not properly
4813 # handle `-M -o', and we need to detect this. Also, some Intel
4814 # versions had trouble with output in subdirs
4815 am__obj
=sub
/conftest.
${OBJEXT-o}
4816 am__minus_obj
="-o $am__obj"
4819 # This depmode causes a compiler race in universal mode.
4820 test "$am__universal" = false ||
continue
4823 # after this tag, mechanisms are not by side-effect, so they'll
4824 # only be used when explicitly requested
4825 if test "x$enable_dependency_tracking" = xyes
; then
4831 msvisualcpp | msvcmsys
)
4832 # This compiler won't grok `-c -o', but also, the minuso test has
4833 # not run yet. These depmodes are late enough in the game, and
4834 # so weak that their functioning should not be impacted.
4835 am__obj
=conftest.
${OBJEXT-o}
4840 if depmode
=$depmode \
4841 source=sub
/conftest.c object
=$am__obj \
4842 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4843 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4844 >/dev
/null
2>conftest.err
&&
4845 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4846 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4847 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4848 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4849 # icc doesn't choke on unknown options, it will just issue warnings
4850 # or remarks (even with -Werror). So we grep stderr for any message
4851 # that says an option was ignored or not supported.
4852 # When given -MP, icc 7.0 and 7.1 complain thusly:
4853 # icc: Command line warning: ignoring option '-M'; no argument required
4854 # The diagnosis changed in icc 8.0:
4855 # icc: Command line remark: option '-MP' not supported
4856 if (grep 'ignoring option' conftest.err ||
4857 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4858 am_cv_CC_dependencies_compiler_type
=$depmode
4867 am_cv_CC_dependencies_compiler_type
=none
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4872 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4873 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4876 test "x$enable_dependency_tracking" != xno \
4877 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4879 am__fastdepCC_FALSE
='#'
4881 am__fastdepCC_TRUE
='#'
4882 am__fastdepCC_FALSE
=
4887 ac_cpp
='$CPP $CPPFLAGS'
4888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4892 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4893 # On Suns, sometimes $CPP names a directory.
4894 if test -n "$CPP" && test -d "$CPP"; then
4897 if test -z "$CPP"; then
4898 if test "${ac_cv_prog_CPP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4901 # Double quotes because CPP needs to be expanded
4902 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4905 for ac_c_preproc_warn_flag
in '' yes
4907 # Use a header file that comes with gcc, so configuring glibc
4908 # with a fresh cross-compiler works.
4909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4910 # <limits.h> exists even on freestanding compilers.
4911 # On the NeXT, cc -E runs the code through the compiler's parser,
4912 # not just through cpp. "Syntax error" is here to catch this case.
4913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4916 # include <limits.h>
4918 # include <assert.h>
4922 if ac_fn_c_try_cpp
"$LINENO"; then :
4925 # Broken: fails on valid input.
4928 rm -f conftest.err conftest.
$ac_ext
4930 # OK, works on sane cases. Now check whether nonexistent headers
4931 # can be detected and how.
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4934 #include <ac_nonexistent.h>
4936 if ac_fn_c_try_cpp
"$LINENO"; then :
4937 # Broken: success on invalid input.
4940 # Passes both tests.
4944 rm -f conftest.err conftest.
$ac_ext
4947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4948 rm -f conftest.err conftest.
$ac_ext
4949 if $ac_preproc_ok; then :
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4962 $as_echo "$CPP" >&6; }
4964 for ac_c_preproc_warn_flag
in '' yes
4966 # Use a header file that comes with gcc, so configuring glibc
4967 # with a fresh cross-compiler works.
4968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4969 # <limits.h> exists even on freestanding compilers.
4970 # On the NeXT, cc -E runs the code through the compiler's parser,
4971 # not just through cpp. "Syntax error" is here to catch this case.
4972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4975 # include <limits.h>
4977 # include <assert.h>
4981 if ac_fn_c_try_cpp
"$LINENO"; then :
4984 # Broken: fails on valid input.
4987 rm -f conftest.err conftest.
$ac_ext
4989 # OK, works on sane cases. Now check whether nonexistent headers
4990 # can be detected and how.
4991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <ac_nonexistent.h>
4995 if ac_fn_c_try_cpp
"$LINENO"; then :
4996 # Broken: success on invalid input.
4999 # Passes both tests.
5003 rm -f conftest.err conftest.
$ac_ext
5006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5007 rm -f conftest.err conftest.
$ac_ext
5008 if $ac_preproc_ok; then :
5011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5013 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5014 See \`config.log' for more details." "$LINENO" 5; }
5018 ac_cpp
='$CPP $CPPFLAGS'
5019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5024 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5026 if test "$cross_compiling" = yes; then :
5028 # Even if we're cross-compiling, we want a compiler here
5029 # that is not a cross-compiler.
5030 saved_cross
=$cross_compiling
5034 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5035 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5038 if test -n "$ac_build_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5040 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$BUILD_CC"; then
5047 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 BUILD_CC
=$ac_cv_prog_BUILD_CC
5067 if test -n "$BUILD_CC"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5069 $as_echo "$BUILD_CC" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test -z "$ac_cv_prog_BUILD_CC"; then
5078 ac_ct_BUILD_CC
=$BUILD_CC
5079 # Extract the first word of "gcc", so it can be a program name with args.
5080 set dummy gcc
; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$ac_ct_BUILD_CC"; then
5087 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5107 if test -n "$ac_ct_BUILD_CC"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5109 $as_echo "$ac_ct_BUILD_CC" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5115 if test "x$ac_ct_BUILD_CC" = x
; then
5118 case $cross_compiling:$ac_tool_warned in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned
=yes ;;
5124 BUILD_CC
=$ac_ct_BUILD_CC
5127 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5130 if test -z "$BUILD_CC"; then
5131 if test -n "$ac_build_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5133 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$BUILD_CC"; then
5140 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 BUILD_CC
=$ac_cv_prog_BUILD_CC
5160 if test -n "$BUILD_CC"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5162 $as_echo "$BUILD_CC" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_BUILD_CC"; then
5171 ac_ct_BUILD_CC
=$BUILD_CC
5172 # Extract the first word of "cc", so it can be a program name with args.
5173 set dummy cc
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ac_ct_BUILD_CC"; then
5180 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5200 if test -n "$ac_ct_BUILD_CC"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5202 $as_echo "$ac_ct_BUILD_CC" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_BUILD_CC" = x
; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned
=yes ;;
5217 BUILD_CC
=$ac_ct_BUILD_CC
5220 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5224 if test -z "$BUILD_CC"; then
5225 # Extract the first word of "cc", so it can be a program name with args.
5226 set dummy cc
; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$BUILD_CC"; then
5233 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5244 ac_prog_rejected
=yes
5247 ac_cv_prog_BUILD_CC
="cc"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 if test $ac_prog_rejected = yes; then
5256 # We found a bogon in the path, so make sure we never use it.
5257 set dummy
$ac_cv_prog_BUILD_CC
5259 if test $# != 0; then
5260 # We chose a different compiler from the bogus one.
5261 # However, it has the same basename, so the bogon will be chosen
5262 # first if we set BUILD_CC to just the basename; use the full file name.
5264 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5269 BUILD_CC
=$ac_cv_prog_BUILD_CC
5270 if test -n "$BUILD_CC"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5272 $as_echo "$BUILD_CC" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5280 if test -z "$BUILD_CC"; then
5281 if test -n "$ac_build_prefix"; then
5284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5285 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -n "$BUILD_CC"; then
5292 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5301 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 BUILD_CC
=$ac_cv_prog_BUILD_CC
5312 if test -n "$BUILD_CC"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5314 $as_echo "$BUILD_CC" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5321 test -n "$BUILD_CC" && break
5324 if test -z "$BUILD_CC"; then
5325 ac_ct_BUILD_CC
=$BUILD_CC
5328 # Extract the first word of "$ac_prog", so it can be a program name with args.
5329 set dummy
$ac_prog; ac_word
=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -n "$ac_ct_BUILD_CC"; then
5336 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5356 if test -n "$ac_ct_BUILD_CC"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5358 $as_echo "$ac_ct_BUILD_CC" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5365 test -n "$ac_ct_BUILD_CC" && break
5368 if test "x$ac_ct_BUILD_CC" = x
; then
5371 case $cross_compiling:$ac_tool_warned in
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5375 ac_tool_warned
=yes ;;
5377 BUILD_CC
=$ac_ct_BUILD_CC
5384 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error
"no acceptable C compiler found in \$PATH
5387 See \`config.log' for more details." "$LINENO" 5; }
5389 # Provide some information about the compiler.
5390 echo "$as_me:$LINENO:" \
5391 "checking for C compiler version" >&5
5392 ac_compiler
=`set X $ac_compile; echo $2`
5393 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5394 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5397 test $ac_status = 0; }
5398 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5399 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5402 test $ac_status = 0; }
5403 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5404 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5407 test $ac_status = 0; }
5409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5420 ac_clean_files_save
=$ac_clean_files
5421 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5422 # Try to create an executable without -o first, disregard a.out.
5423 # It will help us diagnose broken compilers, and finding out an intuition
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5426 $as_echo_n "checking whether the C compiler works... " >&6; }
5427 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5429 # The possible output files:
5430 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5433 for ac_file
in $ac_files
5436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5437 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5442 if { { ac_try
="$ac_link_default"
5444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5445 *) ac_try_echo=$ac_try;;
5447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5448 $as_echo "$ac_try_echo"; } >&5
5449 (eval "$ac_link_default") 2>&5
5451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5452 test $ac_status = 0; }; then :
5453 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5454 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5455 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5456 # so that the user can short-circuit this test for compilers unknown to
5458 for ac_file in $ac_files ''
5460 test -f "$ac_file" || continue
5462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5465 # We found the default executable, but exeext='' is most
5469 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5471 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5473 # We set ac_cv_exeext here because the later test for it is not
5474 # safe: cross compilers may not add the suffix if given an `-o'
5475 # argument, so we may need to know it at that point already.
5476 # Even if this section looks crufty: it has the advantage of
5483 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5488 if test -z "$ac_file"; then :
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5491 $as_echo "$as_me: failed program was:" >&5
5492 sed 's
/^
/|
/' conftest.$ac_ext >&5
5494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5495 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5496 { as_fn_set_status 77
5497 as_fn_error "C compiler cannot create executables
5498 See \`config.log
' for more details." "$LINENO" 5; }; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5501 $as_echo "yes" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5504 $as_echo_n "checking for C compiler default output file name... " >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5506 $as_echo "$ac_file" >&6; }
5507 ac_build_exeext=$ac_cv_build_exeext
5509 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5510 ac_clean_files=$ac_clean_files_save
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5512 $as_echo_n "checking for suffix of executables... " >&6; }
5513 if { { ac_try="$ac_link"
5515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5516 *) ac_try_echo=$ac_try;;
5518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5519 $as_echo "$ac_try_echo"; } >&5
5520 (eval "$ac_link") 2>&5
5522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5523 test $ac_status = 0; }; then :
5524 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5525 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5526 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5528 for ac_file
in conftest.exe conftest conftest.
*; do
5529 test -f "$ac_file" ||
continue
5531 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5532 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5540 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5541 See \`config.log' for more details." "$LINENO" 5; }
5543 rm -f conftest conftest
$ac_cv_build_exeext
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5545 $as_echo "$ac_cv_build_exeext" >&6; }
5547 rm -f conftest.
$ac_ext
5548 BUILD_EXEEXT
=$ac_cv_build_exeext
5549 ac_build_exeext
=$BUILD_EXEEXT
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5556 FILE *f = fopen ("conftest.out", "w");
5557 return ferror (f) || fclose (f) != 0;
5563 ac_clean_files
="$ac_clean_files conftest.out"
5564 # Check that the compiler produces executables we can run. If not, either
5565 # the compiler is broken, or we cross compile.
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5567 $as_echo_n "checking whether we are cross compiling... " >&6; }
5568 if test "$cross_compiling" != yes; then
5569 { { ac_try
="$ac_link"
5571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
5574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5575 $as_echo "$ac_try_echo"; } >&5
5576 (eval "$ac_link") 2>&5
5578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5579 test $ac_status = 0; }
5580 if { ac_try='./conftest$ac_cv_build_exeext'
5581 { { case "(($ac_try" in
5582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5583 *) ac_try_echo
=$ac_try;;
5585 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5586 $as_echo "$ac_try_echo"; } >&5
5587 (eval "$ac_try") 2>&5
5589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5590 test $ac_status = 0; }; }; then
5593 if test "$cross_compiling" = maybe
; then
5596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5598 as_fn_error
"cannot run C compiled programs.
5599 If you meant to cross compile, use \`--host'.
5600 See \`config.log' for more details." "$LINENO" 5; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5605 $as_echo "$cross_compiling" >&6; }
5607 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5608 ac_clean_files
=$ac_clean_files_save
5611 # Restore configuration environment
5612 cross_compiling
=$saved_cross
5615 ac_cpp
='$CPP $CPPFLAGS'
5616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5621 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5623 CFLAGS
="$mule_backup_CFLAGS"
5624 CXXFLAGS
="$mule_backup_CXXFLAGS"
5625 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5626 for ac_prog
in gawk mawk nawk
awk
5628 # Extract the first word of "$ac_prog", so it can be a program name with args.
5629 set dummy
$ac_prog; ac_word
=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if test "${ac_cv_prog_AWK+set}" = set; then :
5633 $as_echo_n "(cached) " >&6
5635 if test -n "$AWK"; then
5636 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_AWK
="$ac_prog"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 if test -n "$AWK"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5658 $as_echo "$AWK" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5665 test -n "$AWK" && break
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5669 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5670 if test "${ac_cv_path_GREP+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -z "$GREP"; then
5674 ac_path_GREP_found
=false
5675 # Loop through the user's path and test for each of PROGNAME-LIST
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_prog
in grep ggrep
; do
5682 for ac_exec_ext
in '' $ac_executable_extensions; do
5683 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5684 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5685 # Check for GNU ac_path_GREP and select it if it is found.
5686 # Check for GNU $ac_path_GREP
5687 case `"$ac_path_GREP" --version 2>&1` in
5689 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5692 $as_echo_n 0123456789 >"conftest.in"
5695 cat "conftest.in" "conftest.in" >"conftest.tmp"
5696 mv "conftest.tmp" "conftest.in"
5697 cp "conftest.in" "conftest.nl"
5698 $as_echo 'GREP' >> "conftest.nl"
5699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5700 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5701 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5703 # Best one so far, save it but keep looking for a better one
5704 ac_cv_path_GREP
="$ac_path_GREP"
5705 ac_path_GREP_max
=$ac_count
5707 # 10*(2^10) chars as input seems more than enough
5708 test $ac_count -gt 10 && break
5710 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5713 $ac_path_GREP_found && break 3
5718 if test -z "$ac_cv_path_GREP"; then
5719 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5722 ac_cv_path_GREP
=$GREP
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5727 $as_echo "$ac_cv_path_GREP" >&6; }
5728 GREP
="$ac_cv_path_GREP"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5732 $as_echo_n "checking for egrep... " >&6; }
5733 if test "${ac_cv_path_EGREP+set}" = set; then :
5734 $as_echo_n "(cached) " >&6
5736 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5737 then ac_cv_path_EGREP
="$GREP -E"
5739 if test -z "$EGREP"; then
5740 ac_path_EGREP_found
=false
5741 # Loop through the user's path and test for each of PROGNAME-LIST
5742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5743 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5746 test -z "$as_dir" && as_dir
=.
5747 for ac_prog
in egrep; do
5748 for ac_exec_ext
in '' $ac_executable_extensions; do
5749 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5750 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5751 # Check for GNU ac_path_EGREP and select it if it is found.
5752 # Check for GNU $ac_path_EGREP
5753 case `"$ac_path_EGREP" --version 2>&1` in
5755 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5758 $as_echo_n 0123456789 >"conftest.in"
5761 cat "conftest.in" "conftest.in" >"conftest.tmp"
5762 mv "conftest.tmp" "conftest.in"
5763 cp "conftest.in" "conftest.nl"
5764 $as_echo 'EGREP' >> "conftest.nl"
5765 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5766 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5767 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5768 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5769 # Best one so far, save it but keep looking for a better one
5770 ac_cv_path_EGREP
="$ac_path_EGREP"
5771 ac_path_EGREP_max
=$ac_count
5773 # 10*(2^10) chars as input seems more than enough
5774 test $ac_count -gt 10 && break
5776 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5779 $ac_path_EGREP_found && break 3
5784 if test -z "$ac_cv_path_EGREP"; then
5785 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5788 ac_cv_path_EGREP
=$EGREP
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5794 $as_echo "$ac_cv_path_EGREP" >&6; }
5795 EGREP
="$ac_cv_path_EGREP"
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5799 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5801 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5802 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5803 $as_echo_n "(cached) " >&6
5805 cat >conftest.
make <<\_ACEOF
5808 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5811 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5813 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5815 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5819 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5821 $as_echo "yes" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5826 SET_MAKE
="MAKE=${MAKE-make}"
5830 for ac_prog
in flex
lex
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy
$ac_prog; ac_word
=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if test "${ac_cv_prog_LEX+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5839 if test -n "$LEX"; then
5840 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5846 test -z "$as_dir" && as_dir
=.
5847 for ac_exec_ext
in '' $ac_executable_extensions; do
5848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5849 ac_cv_prog_LEX
="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 if test -n "$LEX"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5862 $as_echo "$LEX" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$LEX" && break
5871 test -n "$LEX" || LEX
=":"
5873 if test "x$LEX" != "x:"; then
5874 cat >conftest.l
<<_ACEOF
5880 e { yyless (input () != 0); }
5881 f { unput (yytext[0]); }
5882 . { BEGIN INITIAL; }
5884 #ifdef YYTEXT_POINTER
5885 extern char *yytext;
5890 return ! yylex () + ! yywrap ();
5893 { { ac_try
="$LEX conftest.l"
5895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5896 *) ac_try_echo=$ac_try;;
5898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5899 $as_echo "$ac_try_echo"; } >&5
5900 (eval "$LEX conftest.l") 2>&5
5902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5903 test $ac_status = 0; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5905 $as_echo_n "checking lex output file root... " >&6; }
5906 if test "${ac_cv_prog_lex_root+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5910 if test -f lex.yy.c; then
5911 ac_cv_prog_lex_root=lex.yy
5912 elif test -f lexyy.c; then
5913 ac_cv_prog_lex_root=lexyy
5915 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5919 $as_echo "$ac_cv_prog_lex_root" >&6; }
5920 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5922 if test -z "${LEXLIB+set}"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5924 $as_echo_n "checking lex library... " >&6; }
5925 if test "${ac_cv_lib_lex+set}" = set; then :
5926 $as_echo_n "(cached) " >&6
5930 ac_cv_lib_lex='none needed'
5931 for ac_lib in '' -lfl -ll; do
5932 LIBS="$ac_lib $ac_save_LIBS"
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 `cat $LEX_OUTPUT_ROOT.c
`
5937 if ac_fn_c_try_link "$LINENO"; then :
5938 ac_cv_lib_lex=$ac_lib
5940 rm -f core conftest.err conftest.$ac_objext \
5941 conftest$ac_exeext conftest.$ac_ext
5942 test "$ac_cv_lib_lex" != 'none needed' && break
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5948 $as_echo "$ac_cv_lib_lex" >&6; }
5949 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5954 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5955 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5956 $as_echo_n "(cached) " >&6
5958 # POSIX says lex can declare yytext either as a pointer or an array; the
5959 # default is implementation-dependent. Figure out which it is, since
5960 # not all implementations provide the %pointer and %array declarations.
5961 ac_cv_prog_lex_yytext_pointer=no
5963 LIBS="$LEXLIB $ac_save_LIBS"
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 #define YYTEXT_POINTER 1
5967 `cat $LEX_OUTPUT_ROOT.c
`
5969 if ac_fn_c_try_link "$LINENO"; then :
5970 ac_cv_prog_lex_yytext_pointer=yes
5972 rm -f core conftest.err conftest.$ac_objext \
5973 conftest$ac_exeext conftest.$ac_ext
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5978 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5979 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5981 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5984 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5988 if test -n "$ac_tool_prefix"; then
5989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992 $as_echo_n "checking for $ac_word... " >&6; }
5993 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5994 $as_echo_n "(cached) " >&6
5996 if test -n "$RANLIB"; then
5997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 RANLIB=$ac_cv_prog_RANLIB
6017 if test -n "$RANLIB"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6019 $as_echo "$RANLIB" >&6; }
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }
6027 if test -z "$ac_cv_prog_RANLIB"; then
6028 ac_ct_RANLIB=$RANLIB
6029 # Extract the first word of "ranlib", so it can be a program name with args.
6030 set dummy ranlib; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6034 $as_echo_n "(cached) " >&6
6036 if test -n "$ac_ct_RANLIB"; then
6037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_ac_ct_RANLIB="ranlib"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6057 if test -n "$ac_ct_RANLIB"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6059 $as_echo "$ac_ct_RANLIB" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6065 if test "x$ac_ct_RANLIB" = x; then
6068 case $cross_compiling:$ac_tool_warned in
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072 ac_tool_warned=yes ;;
6074 RANLIB=$ac_ct_RANLIB
6077 RANLIB="$ac_cv_prog_RANLIB"
6080 for ac_prog in 'bison -y' byacc
6082 # Extract the first word of "$ac_prog", so it can be a program name with args.
6083 set dummy $ac_prog; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_YACC+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$YACC"; then
6090 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_YACC="$ac_prog"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 YACC=$ac_cv_prog_YACC
6110 if test -n "$YACC"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6112 $as_echo "$YACC" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6119 test -n "$YACC" && break
6121 test -n "$YACC" || YACC="yacc"
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6132 if test -n "$RANLIB"; then
6133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 RANLIB=$ac_cv_prog_RANLIB
6153 if test -n "$RANLIB"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6155 $as_echo "$RANLIB" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6163 if test -z "$ac_cv_prog_RANLIB"; then
6164 ac_ct_RANLIB=$RANLIB
6165 # Extract the first word of "ranlib", so it can be a program name with args.
6166 set dummy ranlib; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6172 if test -n "$ac_ct_RANLIB"; then
6173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_RANLIB="ranlib"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6193 if test -n "$ac_ct_RANLIB"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6195 $as_echo "$ac_ct_RANLIB" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6201 if test "x$ac_ct_RANLIB" = x; then
6204 case $cross_compiling:$ac_tool_warned in
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6210 RANLIB=$ac_ct_RANLIB
6213 RANLIB="$ac_cv_prog_RANLIB"
6216 if test -n "$ac_tool_prefix"; then
6217 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}strip; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if test "${ac_cv_prog_STRIP+set}" = set; then :
6222 $as_echo_n "(cached) " >&6
6224 if test -n "$STRIP"; then
6225 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6234 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 STRIP=$ac_cv_prog_STRIP
6245 if test -n "$STRIP"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6247 $as_echo "$STRIP" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6255 if test -z "$ac_cv_prog_STRIP"; then
6257 # Extract the first word of "strip", so it can be a program name with args.
6258 set dummy strip; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$ac_ct_STRIP"; then
6265 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_prog_ac_ct_STRIP="strip"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6285 if test -n "$ac_ct_STRIP"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6287 $as_echo "$ac_ct_STRIP" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6293 if test "x$ac_ct_STRIP" = x; then
6296 case $cross_compiling:$ac_tool_warned in
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6305 STRIP="$ac_cv_prog_STRIP"
6308 if test -n "$ac_tool_prefix"; then
6309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6310 set dummy ${ac_tool_prefix}ar; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if test "${ac_cv_prog_AR+set}" = set; then :
6314 $as_echo_n "(cached) " >&6
6316 if test -n "$AR"; then
6317 ac_cv_prog_AR="$AR" # Let the user override the test.
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326 ac_cv_prog_AR="${ac_tool_prefix}ar"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 if test -n "$AR"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6339 $as_echo "$AR" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6347 if test -z "$ac_cv_prog_AR"; then
6349 # Extract the first word of "ar", so it can be a program name with args.
6350 set dummy ar; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6354 $as_echo_n "(cached) " >&6
6356 if test -n "$ac_ct_AR"; then
6357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366 ac_cv_prog_ac_ct_AR="ar"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6377 if test -n "$ac_ct_AR"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6379 $as_echo "$ac_ct_AR" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6385 if test "x$ac_ct_AR" = x; then
6388 case $cross_compiling:$ac_tool_warned in
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6392 ac_tool_warned=yes ;;
6400 if test -n "$ac_tool_prefix"; then
6401 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6402 set dummy ${ac_tool_prefix}ld; ac_word=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if test "${ac_cv_prog_LD+set}" = set; then :
6406 $as_echo_n "(cached) " >&6
6408 if test -n "$LD"; then
6409 ac_cv_prog_LD="$LD" # Let the user override the test.
6411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir=.
6416 for ac_exec_ext in '' $ac_executable_extensions; do
6417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6418 ac_cv_prog_LD="${ac_tool_prefix}ld"
6419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 if test -n "$LD"; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6431 $as_echo "$LD" >&6; }
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6439 if test -z "$ac_cv_prog_LD"; then
6441 # Extract the first word of "ld", so it can be a program name with args.
6442 set dummy ld; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$ac_ct_LD"; then
6449 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458 ac_cv_prog_ac_ct_LD="ld"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6469 if test -n "$ac_ct_LD"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6471 $as_echo "$ac_ct_LD" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6477 if test "x$ac_ct_LD" = x; then
6480 case $cross_compiling:$ac_tool_warned in
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6493 # Check whether --enable-monolithic was given.
6494 if test "${enable_monolithic+set}" = set; then :
6495 enableval=$enable_monolithic;
6498 if test ${enable_monolithic:-yes} = yes; then
6500 MONOLITHIC_FALSE='#'
6507 # Check whether --enable-amule-daemon was given.
6508 if test "${enable_amule_daemon+set}" = set; then :
6509 enableval=$enable_amule_daemon;
6512 if test ${enable_amule_daemon:-no} = yes; then
6514 AMULE_DAEMON_FALSE='#'
6516 AMULE_DAEMON_TRUE='#'
6521 # Check whether --enable-amulecmd was given.
6522 if test "${enable_amulecmd+set}" = set; then :
6523 enableval=$enable_amulecmd;
6526 if test ${enable_amulecmd:-no} = yes; then
6528 COMPILE_CMD_FALSE='#'
6530 COMPILE_CMD_TRUE='#'
6535 # Check whether --enable-webserver was given.
6536 if test "${enable_webserver+set}" = set; then :
6537 enableval=$enable_webserver;
6540 if test ${enable_webserver:-no} = yes; then
6549 # Check whether --enable-amule-gui was given.
6550 if test "${enable_amule_gui+set}" = set; then :
6551 enableval=$enable_amule_gui;
6554 if test ${enable_amule_gui:-no} = yes; then
6563 # Check whether --enable-cas was given.
6564 if test "${enable_cas+set}" = set; then :
6565 enableval=$enable_cas;
6568 if test ${enable_cas:-no} = yes; then
6577 # Check whether --enable-wxcas was given.
6578 if test "${enable_wxcas+set}" = set; then :
6579 enableval=$enable_wxcas;
6582 if test ${enable_wxcas:-no} = yes; then
6591 # Check whether --enable-ed2k was given.
6592 if test "${enable_ed2k+set}" = set; then :
6593 enableval=$enable_ed2k;
6596 if test ${enable_ed2k:-yes} = yes; then
6605 # Check whether --enable-alc was given.
6606 if test "${enable_alc+set}" = set; then :
6607 enableval=$enable_alc;
6610 if test ${enable_alc:-no} = yes; then
6619 # Check whether --enable-alcc was given.
6620 if test "${enable_alcc+set}" = set; then :
6621 enableval=$enable_alcc;
6624 if test ${enable_alcc:-no} = yes; then
6633 # Check whether --enable-xas was given.
6634 if test "${enable_xas+set}" = set; then :
6635 enableval=$enable_xas;
6638 if test ${enable_xas:-no} = yes; then
6647 # Check whether --enable-fileview was given.
6648 if test "${enable_fileview+set}" = set; then :
6649 enableval=$enable_fileview;
6652 if test ${enable_fileview:-no} = yes; then
6661 # Check whether --enable-plasmamule was given.
6662 if test "${enable_plasmamule+set}" = set; then :
6663 enableval=$enable_plasmamule;
6668 # Run all the tests with static linkage if we want a statically linked binary
6669 # Check whether --enable-static was given.
6670 if test "${enable_static+set}" = set; then :
6671 enableval=$enable_static;
6675 if test ${enable_static:-no} = yes; then :
6676 LDFLAGS="$LDFLAGS -static"
6681 # Check whether --with-kde4-config was given.
6682 if test "${with_kde4_config+set}" = set; then :
6683 withval=$with_kde4_config; KDE4_CONFIG=$withval
6688 # Check whether --enable-kde-in-home was given.
6689 if test "${enable_kde_in_home+set}" = set; then :
6690 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
6698 # Check whether --with-moc was given.
6699 if test "${with_moc+set}" = set; then :
6700 withval=$with_moc; QT_MOC=$withval
6707 # Default is yes, because they're most likely compatible.
6708 # However, this is only used when cross-compiling.
6710 # Check whether --with-gnu-malloc was given.
6711 if test "${with_gnu_malloc+set}" = set; then :
6712 withval=$with_gnu_malloc; gnumalloc=$withval
6719 # Checking for libs before all other stuff to break
6720 # configure as soon as possible in case of a missing one
6721 # to avoid losing too much time
6724 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes ; then :
6727 # Check whether --with-zlib was given.
6728 if test "${with_zlib+set}" = set; then :
6733 case "${with_zlib:-yes}" in
6735 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6740 zlib_prefix="$with_zlib"
6743 mule_backup_CPPFLAGS="$CPPFLAGS"
6744 mule_backup_LDFLAGS="$LDFLAGS"
6745 mule_backup_LIBS="$LIBS"
6746 if test -n "$zlib_prefix"; then :
6748 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
6749 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
6750 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
6751 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
6760 LIBS="$ZLIB_LIBS $LIBS"
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
6763 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
6764 if test "$cross_compiling" = yes; then :
6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6779 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
6787 if ac_fn_c_try_link "$LINENO"; then :
6789 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
6790 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
6791 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
6792 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
6793 if test "$cross_zver_max" -gt "1"; then
6795 elif test "$cross_zver_max" -eq "1"; then
6797 if test "$cross_zver_mid" -gt "1"; then
6799 elif test "$cross_zver_mid" -eq "1"; then
6800 if test "$cross_zver_min" -ge "4"; then
6809 if test ${result:-no} = yes; then :
6810 z_version=" (version $ZLIB_VERSION)"
6814 rm -f core conftest.err conftest.$ac_objext \
6815 conftest$ac_exeext conftest.$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6817 $as_echo "$result$z_version" >&6; }
6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6821 /* end confdefs.h. */
6830 char *zver = zlibVersion();
6831 FILE *f=fopen("conftestval", "w");
6838 zver[4] >= '4'))) ? "yes" : "no");
6840 f=fopen("conftestver", "w");
6842 fprintf(f, "%s", ZLIB_VERSION);
6851 if ac_fn_c_try_run "$LINENO"; then :
6853 if test -f conftestval; then :
6854 result=`cat conftestval
`
6858 if test ${result:-no} = yes; then :
6860 if test -f conftestver; then :
6862 ZLIB_VERSION=`cat conftestver
`
6863 z_version=" (version $ZLIB_VERSION)"
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6871 $as_echo "$result$z_version" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6877 $as_echo "$result" >&6; }
6880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6881 conftest.$ac_objext conftest.beam conftest.$ac_ext
6885 CPPFLAGS="$mule_backup_CPPFLAGS"
6886 LDFLAGS="$mule_backup_LDFLAGS"
6887 LIBS="$mule_backup_LIBS"
6889 if test ${result:-no} = no; then :
6894 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6903 $as_echo_n "checking for ANSI C header files... " >&6; }
6904 if test "${ac_cv_header_stdc+set}" = set; then :
6905 $as_echo_n "(cached) " >&6
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6922 if ac_fn_c_try_compile "$LINENO"; then :
6923 ac_cv_header_stdc=yes
6925 ac_cv_header_stdc=no
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929 if test $ac_cv_header_stdc = yes; then
6930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6937 $EGREP "memchr" >/dev/null 2>&1; then :
6940 ac_cv_header_stdc=no
6946 if test $ac_cv_header_stdc = yes; then
6947 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6954 $EGREP "free" >/dev/null 2>&1; then :
6957 ac_cv_header_stdc=no
6963 if test $ac_cv_header_stdc = yes; then
6964 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6965 if test "$cross_compiling" = yes; then :
6968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h. */
6972 #if ((' ' & 0x0FF) == 0x020)
6973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6976 # define ISLOWER(c) \
6977 (('a' <= (c) && (c) <= 'i') \
6978 || ('j' <= (c) && (c) <= 'r') \
6979 || ('s' <= (c) && (c) <= 'z'))
6980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6988 for (i = 0; i < 256; i++)
6989 if (XOR (islower (i), ISLOWER (i))
6990 || toupper (i) != TOUPPER (i))
6995 if ac_fn_c_try_run "$LINENO"; then :
6998 ac_cv_header_stdc=no
7000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7001 conftest.$ac_objext conftest.beam conftest.$ac_ext
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7007 $as_echo "$ac_cv_header_stdc" >&6; }
7008 if test $ac_cv_header_stdc = yes; then
7010 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7014 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7015 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7016 inttypes.h stdint.h unistd.h
7018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7021 eval as_val=\$$as_ac_Header
7022 if test "x$as_val" = x""yes; then :
7023 cat >>confdefs.h <<_ACEOF
7024 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7032 if test ${enable_cas:-no} = yes; then :
7037 # Check whether --with-gdlib-prefix was given.
7038 if test "${with_gdlib_prefix+set}" = set; then :
7039 withval=$with_gdlib_prefix;
7043 # Check whether --with-gdlib-config was given.
7044 if test "${with_gdlib_config+set}" = set; then :
7045 withval=$with_gdlib_config;
7051 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7052 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7053 GDLIB_CONFIG_NAME=gdlib-config
7055 if test -n "$with_gdlib_config"; then :
7056 GDLIB_CONFIG_NAME="$with_gdlib_config"
7059 # deal with optional prefix
7060 if test -n "$with_gdlib_prefix"; then :
7061 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7064 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7065 if test -x "$GDLIB_CONFIG_NAME"; then :
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7068 $as_echo_n "checking for gdlib-config... " >&6; }
7069 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7071 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7074 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7075 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7079 $as_echo_n "(cached) " >&6
7081 case $GDLIB_CONFIG_PATH in
7083 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7088 for as_dir in $as_dummy
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7106 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7107 if test -n "$GDLIB_CONFIG_PATH"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7109 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7118 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7121 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7122 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7124 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7125 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7126 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7127 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7130 if test $gdlib_config_major_version -gt 2; then
7132 elif test $gdlib_config_major_version -eq 2; then
7134 if test $gdlib_config_minor_version -gt 0; then
7136 elif test $gdlib_config_minor_version -eq 0; then
7137 if test $gdlib_config_micro_version -ge 0; then
7147 if test -z "$gdlib_ver_ok"; then :
7149 if test -z "$GDLIB_VERSION"; then :
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7155 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7163 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7164 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7165 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7166 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7167 mule_backup_CFLAGS="$CFLAGS"
7168 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7169 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7170 if test "x$ac_cv_header_gd_h" = x""yes; then :
7177 CFLAGS="$mule_backup_CFLAGS"
7183 if test -n "$GDLIB_VERSION"; then :
7186 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7194 if test -z "$CAS_DEFS"; then :
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7196 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7197 Please check that gdlib-config is in your default path, check out
7198 LD_LIBRARY_PATH or equivalent variable.
7199 Or this might also be that your gdlib-config has other name.
7200 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7201 (replace /usr/bin/gdlib-config with a valid path to your
7203 If you use compiled packages check if you have devel pack installed.
7204 To download the latest version check http://www.boutell.com/gd for
7206 $as_echo "$as_me: WARNING:
7207 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7208 Please check that gdlib-config is in your default path, check out
7209 LD_LIBRARY_PATH or equivalent variable.
7210 Or this might also be that your gdlib-config has other name.
7211 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7212 (replace /usr/bin/gdlib-config with a valid path to your
7214 If you use compiled packages check if you have devel pack installed.
7215 To download the latest version check http://www.boutell.com/gd for
7218 _mule_has_warnings=yes
7224 if test ${enable_webserver:-no} = yes; then :
7227 # Check whether --with-libpng-prefix was given.
7228 if test "${with_libpng_prefix+set}" = set; then :
7229 withval=$with_libpng_prefix;
7233 # Check whether --with-libpng-config was given.
7234 if test "${with_libpng_config+set}" = set; then :
7235 withval=$with_libpng_config;
7241 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7242 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7243 LIBPNG_CONFIG_NAME=libpng-config
7245 if test -n "$with_libpng_config"; then :
7246 LIBPNG_CONFIG_NAME="$with_libpng_config"
7249 # deal with optional prefix
7250 if test -n "$with_libpng_prefix"; then :
7251 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7254 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7255 if test -x "$LIBPNG_CONFIG_NAME"; then :
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7258 $as_echo_n "checking for libpng-config... " >&6; }
7259 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7261 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7264 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7265 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7269 $as_echo_n "(cached) " >&6
7271 case $LIBPNG_CONFIG_PATH in
7273 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7278 for as_dir in $as_dummy
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7296 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7297 if test -n "$LIBPNG_CONFIG_PATH"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7299 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7308 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7311 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7313 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7315 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7316 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7317 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7318 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7321 if test $libpng_config_major_version -gt 1; then
7323 elif test $libpng_config_major_version -eq 1; then
7325 if test $libpng_config_minor_version -gt 2; then
7327 elif test $libpng_config_minor_version -eq 2; then
7328 if test $libpng_config_micro_version -ge 0; then
7338 if test -z "$libpng_ver_ok"; then :
7340 if test -z "$LIBPNG_VERSION"; then :
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7346 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7353 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7354 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7355 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7357 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libpng is usable" >&5
7360 $as_echo_n "checking if libpng is usable... " >&6; }
7362 SAVED_CFLAGS=$CFLAGS
7363 SAVED_LDFLAGS=$LDFLAGS
7366 CFLAGS+=" $LIBPNG_CFLAGS"
7367 LDFLAGS+=" $LIBPNG_LDFLAGS"
7368 LIBS+=" $LIBPNG_LIBS"
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7381 png_uint_32 libpng_vn = png_access_version_number();
7382 printf("\nlibpng version %i\n\n", libpng_vn);
7389 if ac_fn_c_try_link "$LINENO"; then :
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7392 $as_echo "yes" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (failed to compile and link test program)" >&5
7397 $as_echo "no (failed to compile and link test program)" >&6; }
7404 rm -f core conftest.err conftest.$ac_objext \
7405 conftest$ac_exeext conftest.$ac_ext
7407 CFLAGS=$SAVED_CFLAGS
7408 LDFLAGS=$SAVED_LDFLAGS
7415 if test -n "$LIBPNG_VERSION"; then :
7416 AMULEWEB_DEFS="-DWITH_LIBPNG"
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7420 libpng >= 1.2.0 not found.
7421 amuleweb will be compiled but file download progress bar images will
7422 NOT be generated." >&5
7423 $as_echo "$as_me: WARNING:
7424 libpng >= 1.2.0 not found.
7425 amuleweb will be compiled but file download progress bar images will
7426 NOT be generated." >&2;}
7428 _mule_has_warnings=yes
7438 # Check for perl File::Copy
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
7440 $as_echo_n "checking for File::Copy... " >&6; }
7441 if perl -e "require File::Copy" 2>/dev/null; then :
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7443 $as_echo "ok" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7446 File::Copy perl module is required by the mldonkey_importer script.
7447 If you want to use this script please install File::Copy from CPAN." >&5
7448 $as_echo "$as_me: WARNING:
7449 File::Copy perl module is required by the mldonkey_importer script.
7450 If you want to use this script please install File::Copy from CPAN." >&2;}
7452 _mule_has_warnings=yes
7456 # Check if we need to install skins
7457 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7463 # Check for GeoIP (required for IP2Country capability)
7464 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7466 # Check whether --enable-geoip was given.
7467 if test "${enable_geoip+set}" = set; then :
7468 enableval=$enable_geoip;
7473 if test ${enable_geoip:-no} = yes; then :
7476 # Check whether --with-geoip-headers was given.
7477 if test "${with_geoip_headers+set}" = set; then :
7478 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
7482 # Check whether --with-geoip-lib was given.
7483 if test "${with_geoip_lib+set}" = set; then :
7484 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
7488 mule_backup_CPPFLAGS="$CPPFLAGS"
7489 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
7490 mule_backup_LDFLAGS="$LDFLAGS"
7491 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
7493 ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
7494 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
7496 if test x$SYS = xwin32; then :
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
7499 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
7500 # Actually, we might not need any if GeoIP is linked as a .dll
7501 # - but that's even harder to check for
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7508 I do know it's not the best approach, but at least works with MinGW stock headers.
7509 (tested with w32api-3.12)
7521 if ac_fn_c_try_compile "$LINENO"; then :
7523 GEOIP_WINSOCK_LIB="-lwsock32"
7527 GEOIP_WINSOCK_LIB="-lws2_32"
7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
7532 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
7536 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
7537 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7540 ac_check_lib_save_LIBS=$LIBS
7541 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7555 return GeoIP_open ();
7560 if ac_fn_c_try_link "$LINENO"; then :
7561 ac_cv_lib_GeoIP_GeoIP_open=yes
7563 ac_cv_lib_GeoIP_GeoIP_open=no
7565 rm -f core conftest.err conftest.$ac_objext \
7566 conftest$ac_exeext conftest.$ac_ext
7567 LIBS=$ac_check_lib_save_LIBS
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7570 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
7571 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
7574 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
7576 GEOIP_LIBS="-lGeoIP"
7577 if test x$SYS = xwin32; then :
7578 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7580 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7582 # Check whether --with-geoip-static was given.
7583 if test "${with_geoip_static+set}" = set; then :
7584 withval=$with_geoip_static;
7585 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
7587 mule_backup_LIBS="$LIBS"
7588 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7599 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7606 if ac_fn_c_try_link "$LINENO"; then :
7608 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7613 Cannot link GeoIP statically, because your linker ($LD) does not
7615 $as_echo "$as_me: WARNING:
7616 Cannot link GeoIP statically, because your linker ($LD) does not
7619 _mule_has_warnings=yes
7623 rm -f core conftest.err conftest.$ac_objext \
7624 conftest$ac_exeext conftest.$ac_ext
7625 LIBS="$mule_backup_LIBS"
7634 enable_geoip=disabled
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7636 GeoIP support has been disabled because the GeoIP libraries were not
7638 $as_echo "$as_me: WARNING:
7639 GeoIP support has been disabled because the GeoIP libraries were not
7642 _mule_has_warnings=yes
7650 enable_geoip=disabled
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7652 GeoIP support has been disabled because the GeoIP header files were
7654 $as_echo "$as_me: WARNING:
7655 GeoIP support has been disabled because the GeoIP header files were
7658 _mule_has_warnings=yes
7665 CPPFLAGS="$mule_backup_CPPFLAGS"
7666 LDFLAGS="$mule_backup_LDFLAGS"
7673 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 :
7676 # Check whether --with-wxdir was given.
7677 if test "${with_wxdir+set}" = set; then :
7678 withval=$with_wxdir; wx_config_name="$withval/wx-config"
7679 wx_config_args="--inplace"
7683 # Check whether --with-wx-config was given.
7684 if test "${with_wx_config+set}" = set; then :
7685 withval=$with_wx_config; wx_config_name="$withval"
7689 # Check whether --with-wx-prefix was given.
7690 if test "${with_wx_prefix+set}" = set; then :
7691 withval=$with_wx_prefix; wx_config_prefix="$withval"
7697 # Check whether --with-wx-exec-prefix was given.
7698 if test "${with_wx_exec_prefix+set}" = set; then :
7699 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
7701 wx_config_exec_prefix=""
7716 # Check whether --with-toolkit was given.
7717 if test "${with_toolkit+set}" = set; then :
7718 withval=$with_toolkit;
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
7725 $as_echo_n "checking for the --with-toolkit option... " >&6; }
7726 if test "$withval" = "auto" ; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7728 $as_echo "will be automatically detected" >&6; }
7733 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7734 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7735 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7736 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7737 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7738 "$TOOLKIT" != "osx_cocoa"; then
7740 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
7745 $as_echo "$TOOLKIT" >&6; }
7752 # Check whether --with-wxshared was given.
7753 if test "${with_wxshared+set}" = set; then :
7754 withval=$with_wxshared;
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
7761 $as_echo_n "checking for the --with-wxshared option... " >&6; }
7762 if test "$withval" = "yes" ; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7764 $as_echo "yes" >&6; }
7767 elif test "1" = "1" -a "$withval" = "no" ; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7771 elif test "$withval" = "auto" ; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7773 $as_echo "will be automatically detected" >&6; }
7777 Unrecognized option value (allowed values: yes, auto)
7785 # Check whether --with-wxdebug was given.
7786 if test "${with_wxdebug+set}" = set; then :
7787 withval=$with_wxdebug;
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
7794 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
7795 if test "$withval" = "yes" ; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7797 $as_echo "yes" >&6; }
7800 elif test "1" = "1" -a "$withval" = "no" ; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7804 elif test "$withval" = "auto" ; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7806 $as_echo "will be automatically detected" >&6; }
7810 Unrecognized option value (allowed values: yes, auto)
7818 # Check whether --with-wxversion was given.
7819 if test "${with_wxversion+set}" = set; then :
7820 withval=$with_wxversion;
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
7827 $as_echo_n "checking for the --with-wxversion option... " >&6; }
7828 if test "$withval" = "auto" ; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7830 $as_echo "will be automatically detected" >&6; }
7834 wx_requested_major_version=`echo $withval | \
7835 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7836 wx_requested_minor_version=`echo $withval | \
7837 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7839 if test "${#wx_requested_major_version}" != "1" -o \
7840 "${#wx_requested_minor_version}" != "1" ; then
7842 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7846 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
7848 $as_echo "$WX_VERSION" >&6; }
7852 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7853 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7854 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7855 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7856 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7857 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7860 # Force using a static wxWidgets library if the executable is to be linked statically.
7861 if test ${enable_static:-no} = yes; then :
7864 # Force using a unicode build of the library
7865 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 :
7870 if test "$WX_SHARED" = "1" ; then
7871 WXCONFIG_FLAGS="--static=no "
7872 elif test "$WX_SHARED" = "0" ; then
7873 WXCONFIG_FLAGS="--static=yes "
7876 if test "$WX_DEBUG" = "1" ; then
7877 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
7878 elif test "$WX_DEBUG" = "0" ; then
7879 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
7882 if test "$WX_UNICODE" = "1" ; then
7883 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
7884 elif test "$WX_UNICODE" = "0" ; then
7885 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
7888 if test "$TOOLKIT" != "auto" ; then
7889 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7892 if test "$WX_VERSION" != "auto" ; then
7893 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7896 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
7898 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7899 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7903 if test x${WX_CONFIG_NAME+set} != xset ; then
7904 WX_CONFIG_NAME=wx-config
7907 if test "x$wx_config_name" != x ; then
7908 WX_CONFIG_NAME="$wx_config_name"
7911 if test x$wx_config_exec_prefix != x ; then
7912 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7913 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
7915 if test x$wx_config_prefix != x ; then
7916 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
7917 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7919 if test "$cross_compiling" = "yes"; then
7920 wx_config_args="$wx_config_args --host=$host_alias"
7923 if test -x "$WX_CONFIG_NAME" ; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
7925 $as_echo_n "checking for wx-config... " >&6; }
7926 WX_CONFIG_PATH="$WX_CONFIG_NAME"
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7928 $as_echo "$WX_CONFIG_PATH" >&6; }
7930 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7931 set dummy $WX_CONFIG_NAME; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7937 case $WX_CONFIG_PATH in
7939 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 as_dummy=""$WX_LOOKUP_PATH:$PATH""
7944 for as_dir in $as_dummy
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7950 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
7962 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
7963 if test -n "$WX_CONFIG_PATH"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7965 $as_echo "$WX_CONFIG_PATH" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7974 if test "$WX_CONFIG_PATH" != "no" ; then
7977 min_wx_version=2.8.12
7978 if test -z "$WXCONFIG_FLAGS" ; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
7980 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7983 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
7986 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7988 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
7989 wx_config_major_version=`echo $WX_VERSION_FULL | \
7990 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7991 wx_config_minor_version=`echo $WX_VERSION_FULL | \
7992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7993 wx_config_micro_version=`echo $WX_VERSION_FULL | \
7994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7996 wx_requested_major_version=`echo $min_wx_version | \
7997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7998 wx_requested_minor_version=`echo $min_wx_version | \
7999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8000 wx_requested_micro_version=`echo $min_wx_version | \
8001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8005 if test "x$WX_VERSION_FULL" != x ; then
8006 if test $wx_config_major_version -gt $wx_requested_major_version; then
8009 if test $wx_config_major_version -eq $wx_requested_major_version; then
8010 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
8013 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
8014 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
8024 if test -n "$wx_ver_ok"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
8027 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
8028 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
8030 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
8032 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
8033 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
8034 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
8036 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
8037 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
8043 if test "x$WX_VERSION_FULL" = x; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
8048 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
8057 if test ! -z "$WXCONFIG_FLAGS"; then
8060 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8061 build with the following settings:
8063 but such build is not available.
8065 To see the wxWidgets builds available on this system, please use
8066 'wx-config --list' command. To use the default build, returned by
8067 'wx-config --selected-config', use the options with their 'auto'
8073 The requested wxWidgets build couldn't be found.
8076 If you still get this error, then check that 'wx-config' is
8077 in path, the directory where wxWidgets libraries are installed
8078 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8079 or equivalent variable and wxWidgets version is 2.8.12 or above."
8081 as_fn_error "$wx_error_message" "$LINENO" 5
8105 WX_VERSION_MAJOR="$wx_config_major_version"
8106 WX_VERSION_MINOR="$wx_config_minor_version"
8110 if test "$wxWin" != 1; then :
8112 wxWidgets must be installed on your system but wx-config
8113 script couldn't be found. Please check that wx-config is
8114 in path or specified by --with-wx-config=path flag, the
8115 directory where wxWidgets libraries are installed (returned
8116 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8117 equivalent variable and wxWidgets version is 2.8.12 or above.
8121 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8123 This version of wxWidgets is known to not work with aMule.
8124 Please upgrade to a newer version.
8129 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8131 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8133 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8134 echo "[dbg] Using wx-config --selected-config"
8135 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8139 if test $WX_SHARED = "1"; then
8141 elif test $WX_SHARED = "0"; then
8143 elif test $WX_SHARED = "auto"; then
8148 if test "$UNICODE" = "auto" ; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8151 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8153 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8155 if test "$WX_UNICODE" != "0"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8158 $as_echo "yes" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8172 if test "$DEBUG" = "auto" ; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8175 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8177 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8179 if test "$WX_DEBUG" != "0"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8182 $as_echo "yes" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8196 if test "$STATIC" = "auto" ; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8199 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8201 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8203 if test "$WX_STATIC" != "0"; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8206 $as_echo "yes" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8220 if test "$WX_STATIC" != "0"; then
8230 if test "$TOOLKIT" = "auto" ; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8233 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8235 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8236 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8237 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8238 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8239 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8240 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8241 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8242 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8243 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8244 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8245 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8248 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8249 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8250 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8251 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8252 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8253 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8254 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8255 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8256 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8257 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8258 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8261 if test "$WX_PORT" = "unknown" ; then
8263 Cannot detect the currently installed wxWidgets port !
8264 Please check your 'wx-config --cxxflags'...
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8269 $as_echo "$WX_PORT" >&6; }
8272 if test -n "$TOOLKIT" ; then
8281 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8282 echo "[dbg] Values of all WX_* options after final detection:"
8283 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8284 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8285 echo "[dbg] WX_SHARED: $WX_SHARED"
8286 echo "[dbg] WX_VERSION: $WX_VERSION"
8287 echo "[dbg] WX_PORT: $WX_PORT"
8290 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8292 Cannot build shared library against a static build of wxWidgets !
8293 This error happens because the wxWidgets build which was selected
8294 has been detected as static while you asked to build $PACKAGE_NAME
8295 as shared library and this is not possible.
8296 Use the '--disable-shared' option to build $PACKAGE_NAME
8297 as static library or '--with-wxshared' to use wxWidgets as shared library.
8301 if test "$DEBUG" = "auto"; then
8304 if test "$DEBUG" = "1"; then
8306 elif test "$DEBUG" = ""; then
8310 if test "$UNICODE" = "auto"; then
8313 if test "$SHARED" = "auto"; then
8316 if test "$TOOLKIT" = "auto"; then
8321 # We also need wxBase
8322 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8323 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8324 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8326 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8330 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8331 if test "${WX_PORT}" = base; then :
8333 The selected components need a wxWidgets library with GUI,
8334 but your installation is base-only. Please install a GUI
8335 enabled version of wxWidgets and then retry.
8341 if test ${SYS:-unknown} = win32; then :
8342 if test -n "$ac_tool_prefix"; then
8343 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8344 set dummy ${ac_tool_prefix}windres; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8346 $as_echo_n "checking for $ac_word... " >&6; }
8347 if test "${ac_cv_prog_RC+set}" = set; then :
8348 $as_echo_n "(cached) " >&6
8350 if test -n "$RC"; then
8351 ac_cv_prog_RC="$RC" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8360 ac_cv_prog_RC="${ac_tool_prefix}windres"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 if test -n "$RC"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8373 $as_echo "$RC" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8381 if test -z "$ac_cv_prog_RC"; then
8383 # Extract the first word of "windres", so it can be a program name with args.
8384 set dummy windres; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8388 $as_echo_n "(cached) " >&6
8390 if test -n "$ac_ct_RC"; then
8391 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_prog_ac_ct_RC="windres"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 ac_ct_RC=$ac_cv_prog_ac_ct_RC
8411 if test -n "$ac_ct_RC"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
8413 $as_echo "$ac_ct_RC" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8419 if test "x$ac_ct_RC" = x; then
8422 case $cross_compiling:$ac_tool_warned in
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8426 ac_tool_warned=yes ;;
8438 # Check whether --enable-upnp was given.
8439 if test "${enable_upnp+set}" = set; then :
8440 enableval=$enable_upnp;
8444 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
8451 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8452 if test -n "$ac_tool_prefix"; then
8453 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8454 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8456 $as_echo_n "checking for $ac_word... " >&6; }
8457 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8458 $as_echo_n "(cached) " >&6
8462 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 test -z "$as_dir" && as_dir=.
8470 for ac_exec_ext in '' $ac_executable_extensions; do
8471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8472 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8483 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8484 if test -n "$PKG_CONFIG"; then
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8486 $as_echo "$PKG_CONFIG" >&6; }
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8489 $as_echo "no" >&6; }
8494 if test -z "$ac_cv_path_PKG_CONFIG"; then
8495 ac_pt_PKG_CONFIG=$PKG_CONFIG
8496 # Extract the first word of "pkg-config", so it can be a program name with args.
8497 set dummy pkg-config; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499 $as_echo_n "checking for $ac_word... " >&6; }
8500 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8501 $as_echo_n "(cached) " >&6
8503 case $ac_pt_PKG_CONFIG in
8505 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 test -z "$as_dir" && as_dir=.
8513 for ac_exec_ext in '' $ac_executable_extensions; do
8514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8515 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8527 if test -n "$ac_pt_PKG_CONFIG"; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8529 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532 $as_echo "no" >&6; }
8535 if test "x$ac_pt_PKG_CONFIG" = x; then
8538 case $cross_compiling:$ac_tool_warned in
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8542 ac_tool_warned=yes ;;
8544 PKG_CONFIG=$ac_pt_PKG_CONFIG
8547 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8551 if test -n "$PKG_CONFIG"; then
8552 _pkg_min_version=0.9.0
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8554 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8555 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8557 $as_echo "yes" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8565 if test ${enable_upnp:-yes} = yes; then :
8569 # Check whether --with-libupnp-prefix was given.
8570 if test "${with_libupnp_prefix+set}" = set; then :
8571 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
8575 if test $cross_compiling = no; then :
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
8578 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
8579 if test -n "$PKG_CONFIG"; then :
8581 if $PKG_CONFIG libupnp --exists; then :
8583 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
8584 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
8587 resultstr=" (version $LIBUPNP_VERSION)"
8588 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
8589 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
8590 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
8591 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
8592 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
8597 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
8604 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
8611 resultstr=" (pkg-config not found)"
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8615 $as_echo "$result$resultstr" >&6; }
8616 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
8621 libupnp_error="cross compiling"
8625 if test ${result:-no} = yes; then :
8626 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8628 enable_upnp=disabled
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8630 UPnP code has been disabled because ${libupnp_error}." >&5
8631 $as_echo "$as_me: WARNING:
8632 UPnP code has been disabled because ${libupnp_error}." >&2;}
8634 _mule_has_warnings=yes
8643 # Check for Crypto++
8644 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8647 # Check whether --with-crypto-prefix was given.
8648 if test "${with_crypto_prefix+set}" = set; then :
8649 withval=$with_crypto_prefix;
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
8654 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
8656 cryptopp_file_with_version="cryptlib.h"
8658 CRYPTOPP_STYLE="unknown"
8659 CRYPTOPP_LIB_NAME="unknown"
8660 cryptopp_includedir="unknown"
8661 CRYPTOPP_INCLUDE_PREFIX="unknown"
8662 cryptopp_libdir="unknown"
8664 if test -n "$with_crypto_prefix"; then :
8666 CRYPTOPP_PREFIX="$with_crypto_prefix"
8667 # Find the Cryptopp header in the user-provided location
8668 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8670 CRYPTOPP_STYLE="sources"
8671 CRYPTOPP_LIB_NAME="cryptopp"
8672 cryptopp_includedir=
8673 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8676 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8678 CRYPTOPP_STYLE="installed"
8679 CRYPTOPP_LIB_NAME="cryptopp"
8680 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8681 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8682 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8684 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8686 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8687 CRYPTOPP_STYLE="gentoo_debian"
8688 CRYPTOPP_LIB_NAME="crypto++"
8689 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8690 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8691 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8698 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
8699 # Find the Cryptopp header in system locations
8700 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8702 CRYPTOPP_STYLE="sources"
8703 CRYPTOPP_LIB_NAME="cryptopp"
8704 cryptopp_includedir=
8705 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8709 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8711 CRYPTOPP_STYLE="installed"
8712 CRYPTOPP_LIB_NAME="cryptopp"
8713 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8714 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8715 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8718 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8720 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8721 CRYPTOPP_STYLE="gentoo_debian"
8722 CRYPTOPP_LIB_NAME="crypto++"
8723 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8724 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8725 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8734 if test $CRYPTOPP_STYLE = "unknown"; then :
8735 result=no; resultstr=""
8738 # Find out the crypto++ version and check against the minimum required
8739 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8740 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8741 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8742 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8744 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
8747 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8748 if test -n "$cryptopp_includedir"; then :
8749 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
8753 if test -n "$cryptopp_libdir"; then :
8755 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
8756 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
8761 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8765 cat >>confdefs.h <<_ACEOF
8766 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8773 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8780 $as_echo "$result$resultstr" >&6; }
8782 if test ${result:-no} = yes; then :
8784 # Check for CryptoPP >= 5.5
8785 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
8786 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8792 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8793 Please try again with --with-crypto-prefix=/my_crypto_prefix
8794 (replace /my_crypto_prefix with a valid path to your crypto++
8795 installation directory)." "$LINENO" 5
8804 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 :
8806 ac_cpp='$CXXCPP $CPPFLAGS'
8807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're using the GNU C++ library" >&5
8813 $as_echo_n "checking if we're using the GNU C++ library... " >&6; }
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8820 #error Non-GNU C++ library found.
8825 if ac_fn_cxx_try_cpp "$LINENO"; then :
8830 rm -f conftest.err conftest.$ac_ext
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBCXX" >&5
8832 $as_echo "$GLIBCXX" >&6; }
8834 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
8836 mule_backup_CPPFLAGS="$CPPFLAGS"
8837 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
8840 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8846 #include <wx/filefn.h>
8847 #ifndef wxHAS_LARGE_FILES
8848 #error No LargeFile support!
8853 if ac_fn_cxx_try_cpp "$LINENO"; then :
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8856 $as_echo "yes" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8863 Support for large files in wxWidgets is required by aMule.
8864 To continue you must recompile wxWidgets with support for
8865 large files enabled." "$LINENO" 5
8868 rm -f conftest.err conftest.$ac_ext
8870 CPPFLAGS="$mule_backup_CPPFLAGS"
8874 # Check if the compiler is broken, wrt. exceptions.
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
8877 $as_echo_n "checking for exception-handling... " >&6; }
8878 if test "$cross_compiling" = yes; then :
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
8881 $as_echo "undeterminable" >&6; }
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8883 Cross-compilation detected, so exception handling cannot be tested.
8884 Note that broken exception handling in your compiler may lead to
8885 unexpected crashes." >&5
8886 $as_echo "$as_me: WARNING:
8887 Cross-compilation detected, so exception handling cannot be tested.
8888 Note that broken exception handling in your compiler may lead to
8889 unexpected crashes." >&2;}
8891 _mule_has_warnings=yes
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8915 if ac_fn_cxx_try_run "$LINENO"; then :
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8918 $as_echo "yes" >&6; }
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8924 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
8927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8928 conftest.$ac_objext conftest.beam conftest.$ac_ext
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
8935 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8947 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8948 std::type_info *ti = abi::__cxa_current_exception_type();
8955 if ac_fn_cxx_try_link "$LINENO"; then :
8958 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8961 $as_echo "yes" >&6; }
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966 $as_echo "no" >&6; }
8969 rm -f core conftest.err conftest.$ac_objext \
8970 conftest$ac_exeext conftest.$ac_ext
8973 ac_cpp='$CPP $CPPFLAGS'
8974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8981 # Ok, we have all needed libs, now checking for other stuff
8982 if test "$LEX" = "flex"; then :
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
8985 $as_echo_n "checking for extended flex capabilities... " >&6; }
8987 extended_flex=`flex
--help |
grep header-file
`
8988 if test -n "$extended_flex"; then :
8989 HAVE_FLEX_EXTENDED=yes
8991 HAVE_FLEX_EXTENDED=no
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
8994 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
8996 if test $HAVE_FLEX_EXTENDED = no; then :
8997 { $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
8998 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
9002 HAVE_FLEX_EXTENDED=no
9005 # Flush standard test results for speeding cache
9006 cat >confcache <<\_ACEOF
9007 # This file is a shell script that caches the results of configure
9008 # tests run on this system so they can be shared between configure
9009 # scripts and configure runs, see configure's option --config-cache.
9010 # It is not useful on other systems. If it contains results you don't
9011 # want to keep, you may remove or edit it.
9013 # config.status only pays attention to the cache file if you give it
9014 # the --recheck option to rerun configure.
9016 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9022 # The following way of writing the cache mishandles newlines in values,
9023 # but we know of no workaround that is simple, portable, and efficient.
9024 # So, we kill variables containing newlines.
9025 # Ultrix sh set writes to stderr and can't be redirected directly,
9026 # and sets the high bit in the cache file unless we assign to the vars.
9028 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9029 eval ac_val
=\$
$ac_var
9033 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9037 _ | IFS | as_nl
) ;; #(
9038 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9039 *) { eval $ac_var=; unset $ac_var;} ;;
9045 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9046 *${as_nl}ac_space
=\
*)
9047 # `set' does not quote correctly, so add quotes: double-quote
9048 # substitution turns \\\\ into \\, and sed turns \\ into \.
9051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9054 # `set' quotes correctly as required by POSIX, so do not add quotes.
9055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9066 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9068 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9069 if test -w "$cache_file"; then
9070 test "x$cache_file" != "x/dev/null" &&
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9072 $as_echo "$as_me: updating cache $cache_file" >&6;}
9073 cat confcache
>$cache_file
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9076 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9081 # Checks for header files.
9082 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9083 # for constant arguments. Useless!
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9085 $as_echo_n "checking for working alloca.h... " >&6; }
9086 if test "${ac_cv_working_alloca_h+set}" = set; then :
9087 $as_echo_n "(cached) " >&6
9089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9095 char *p = (char *) alloca (2 * sizeof (int));
9101 if ac_fn_c_try_link
"$LINENO"; then :
9102 ac_cv_working_alloca_h
=yes
9104 ac_cv_working_alloca_h
=no
9106 rm -f core conftest.err conftest.
$ac_objext \
9107 conftest
$ac_exeext conftest.
$ac_ext
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
9110 $as_echo "$ac_cv_working_alloca_h" >&6; }
9111 if test $ac_cv_working_alloca_h = yes; then
9113 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9118 $as_echo_n "checking for alloca... " >&6; }
9119 if test "${ac_cv_func_alloca_works+set}" = set; then :
9120 $as_echo_n "(cached) " >&6
9122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9125 # define alloca __builtin_alloca
9128 # include <malloc.h>
9129 # define alloca _alloca
9131 # ifdef HAVE_ALLOCA_H
9132 # include <alloca.h>
9137 # ifndef alloca /* predefined by HP cc +Olibcalls */
9148 char *p = (char *) alloca (1);
9154 if ac_fn_c_try_link
"$LINENO"; then :
9155 ac_cv_func_alloca_works
=yes
9157 ac_cv_func_alloca_works
=no
9159 rm -f core conftest.err conftest.
$ac_objext \
9160 conftest
$ac_exeext conftest.
$ac_ext
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
9163 $as_echo "$ac_cv_func_alloca_works" >&6; }
9165 if test $ac_cv_func_alloca_works = yes; then
9167 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
9170 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9171 # that cause trouble. Some versions do not even contain alloca or
9172 # contain a buggy version. If you still want to use their alloca,
9173 # use ar to extract alloca.o from them instead of compiling alloca.c.
9175 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
9177 $as_echo "#define C_ALLOCA 1" >>confdefs.h
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9181 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9182 if test "${ac_cv_os_cray+set}" = set; then :
9183 $as_echo_n "(cached) " >&6
9185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9187 #if defined CRAY && ! defined CRAY2
9194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9195 $EGREP "webecray" >/dev
/null
2>&1; then :
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
9204 $as_echo "$ac_cv_os_cray" >&6; }
9205 if test $ac_cv_os_cray = yes; then
9206 for ac_func
in _getb67 GETB67 getb67
; do
9207 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9208 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9209 eval as_val
=\$
$as_ac_var
9210 if test "x$as_val" = x
""yes; then :
9212 cat >>confdefs.h
<<_ACEOF
9213 #define CRAY_STACKSEG_END $ac_func
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9223 $as_echo_n "checking stack direction for C alloca... " >&6; }
9224 if test "${ac_cv_c_stack_direction+set}" = set; then :
9225 $as_echo_n "(cached) " >&6
9227 if test "$cross_compiling" = yes; then :
9228 ac_cv_c_stack_direction
=0
9230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9232 $ac_includes_default
9234 find_stack_direction ()
9236 static char *addr = 0;
9241 return find_stack_direction ();
9244 return (&dummy > addr) ? 1 : -1;
9250 return find_stack_direction () < 0;
9253 if ac_fn_c_try_run
"$LINENO"; then :
9254 ac_cv_c_stack_direction
=1
9256 ac_cv_c_stack_direction
=-1
9258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
9264 $as_echo "$ac_cv_c_stack_direction" >&6; }
9265 cat >>confdefs.h
<<_ACEOF
9266 #define STACK_DIRECTION $ac_cv_c_stack_direction
9273 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9274 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9276 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9277 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9278 $as_echo_n "(cached) " >&6
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9282 #include <sys/types.h>
9294 if ac_fn_c_try_compile
"$LINENO"; then :
9295 eval "$as_ac_Header=yes"
9297 eval "$as_ac_Header=no"
9299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9301 eval ac_res
=\$
$as_ac_Header
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9303 $as_echo "$ac_res" >&6; }
9304 eval as_val
=\$
$as_ac_Header
9305 if test "x$as_val" = x
""yes; then :
9306 cat >>confdefs.h
<<_ACEOF
9307 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9310 ac_header_dirent
=$ac_hdr; break
9314 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9315 if test $ac_header_dirent = dirent.h
; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9317 $as_echo_n "checking for library containing opendir... " >&6; }
9318 if test "${ac_cv_search_opendir+set}" = set; then :
9319 $as_echo_n "(cached) " >&6
9321 ac_func_search_save_LIBS
=$LIBS
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9340 for ac_lib
in '' dir
; do
9341 if test -z "$ac_lib"; then
9342 ac_res
="none required"
9345 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9347 if ac_fn_c_try_link
"$LINENO"; then :
9348 ac_cv_search_opendir
=$ac_res
9350 rm -f core conftest.err conftest.
$ac_objext \
9352 if test "${ac_cv_search_opendir+set}" = set; then :
9356 if test "${ac_cv_search_opendir+set}" = set; then :
9359 ac_cv_search_opendir
=no
9362 LIBS
=$ac_func_search_save_LIBS
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9365 $as_echo "$ac_cv_search_opendir" >&6; }
9366 ac_res
=$ac_cv_search_opendir
9367 if test "$ac_res" != no
; then :
9368 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9374 $as_echo_n "checking for library containing opendir... " >&6; }
9375 if test "${ac_cv_search_opendir+set}" = set; then :
9376 $as_echo_n "(cached) " >&6
9378 ac_func_search_save_LIBS
=$LIBS
9379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9397 for ac_lib
in '' x
; do
9398 if test -z "$ac_lib"; then
9399 ac_res
="none required"
9402 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9404 if ac_fn_c_try_link
"$LINENO"; then :
9405 ac_cv_search_opendir
=$ac_res
9407 rm -f core conftest.err conftest.
$ac_objext \
9409 if test "${ac_cv_search_opendir+set}" = set; then :
9413 if test "${ac_cv_search_opendir+set}" = set; then :
9416 ac_cv_search_opendir
=no
9419 LIBS
=$ac_func_search_save_LIBS
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9422 $as_echo "$ac_cv_search_opendir" >&6; }
9423 ac_res
=$ac_cv_search_opendir
9424 if test "$ac_res" != no
; then :
9425 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9432 $as_echo_n "checking for ANSI C header files... " >&6; }
9433 if test "${ac_cv_header_stdc+set}" = set; then :
9434 $as_echo_n "(cached) " >&6
9436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9451 if ac_fn_c_try_compile
"$LINENO"; then :
9452 ac_cv_header_stdc
=yes
9454 ac_cv_header_stdc
=no
9456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9458 if test $ac_cv_header_stdc = yes; then
9459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9466 $EGREP "memchr" >/dev
/null
2>&1; then :
9469 ac_cv_header_stdc
=no
9475 if test $ac_cv_header_stdc = yes; then
9476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9483 $EGREP "free" >/dev
/null
2>&1; then :
9486 ac_cv_header_stdc
=no
9492 if test $ac_cv_header_stdc = yes; then
9493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9494 if test "$cross_compiling" = yes; then :
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9501 #if ((' ' & 0x0FF) == 0x020)
9502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9505 # define ISLOWER(c) \
9506 (('a' <= (c) && (c) <= 'i') \
9507 || ('j' <= (c) && (c) <= 'r') \
9508 || ('s' <= (c) && (c) <= 'z'))
9509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9517 for (i = 0; i < 256; i++)
9518 if (XOR (islower (i), ISLOWER (i))
9519 || toupper (i) != TOUPPER (i))
9524 if ac_fn_c_try_run
"$LINENO"; then :
9527 ac_cv_header_stdc
=no
9529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9536 $as_echo "$ac_cv_header_stdc" >&6; }
9537 if test $ac_cv_header_stdc = yes; then
9539 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9543 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
9545 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9546 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9547 eval as_val
=\$
$as_ac_Header
9548 if test "x$as_val" = x
""yes; then :
9549 cat >>confdefs.h
<<_ACEOF
9550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9558 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9559 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
9560 $as_echo_n "(cached) " >&6
9562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9564 #include <sys/types.h>
9565 #include <sys/wait.h>
9567 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9570 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9578 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9583 if ac_fn_c_try_compile
"$LINENO"; then :
9584 ac_cv_header_sys_wait_h
=yes
9586 ac_cv_header_sys_wait_h
=no
9588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9591 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9592 if test $ac_cv_header_sys_wait_h = yes; then
9594 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9599 # Checks for typedefs, structures, and compiler characteristics.
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
9601 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
9602 if test "${ac_cv_header_stdbool_h+set}" = set; then :
9603 $as_echo_n "(cached) " >&6
9605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9608 #include <stdbool.h>
9610 "error: bool is not defined"
9613 "error: false is not defined"
9616 "error: false is not 0"
9619 "error: true is not defined"
9622 "error: true is not 1"
9624 #ifndef __bool_true_false_are_defined
9625 "error: __bool_true_false_are_defined is not defined"
9628 struct s { _Bool s: 1; _Bool t; } s;
9630 char a[true == 1 ? 1 : -1];
9631 char b[false == 0 ? 1 : -1];
9632 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9633 char d[(bool) 0.5 == true ? 1 : -1];
9635 char f[(_Bool) 0.0 == false ? 1 : -1];
9637 char h[sizeof (_Bool)];
9639 enum { j = false, k = true, l = false * true, m = true * 256 };
9640 /* The following fails for
9641 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
9643 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9644 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9645 # if defined __xlc__ || defined __GNUC__
9646 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9647 reported by James Lemley on 2005-10-05; see
9648 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9649 This test is not quite right, since xlc is allowed to
9650 reject this program, as the initializer for xlcbug is
9651 not one of the forms that C requires support for.
9652 However, doing the test right would require a runtime
9653 test, and that would make cross-compilation harder.
9654 Let us hope that IBM fixes the xlc bug, and also adds
9655 support for this kind of constant expression. In the
9656 meantime, this test will reject xlc, which is OK, since
9657 our stdbool.h substitute should suffice. We also test
9658 this with GCC, where it should work, to detect more
9659 quickly whether someone messes up the test in the
9661 char digs[] = "0123456789";
9662 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
9664 /* Catch a bug in an HP-UX C compiler. See
9665 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
9666 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
9677 /* Refer to every declared value, to avoid compiler optimizations. */
9678 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
9679 + !m + !n + !o + !p + !q + !pq);
9685 if ac_fn_c_try_compile
"$LINENO"; then :
9686 ac_cv_header_stdbool_h
=yes
9688 ac_cv_header_stdbool_h
=no
9690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
9693 $as_echo "$ac_cv_header_stdbool_h" >&6; }
9694 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
9695 if test "x$ac_cv_type__Bool" = x
""yes; then :
9697 cat >>confdefs.h
<<_ACEOF
9698 #define HAVE__BOOL 1
9704 if test $ac_cv_header_stdbool_h = yes; then
9706 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9711 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9712 if test "${ac_cv_c_const+set}" = set; then :
9713 $as_echo_n "(cached) " >&6
9715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9721 /* FIXME: Include the comments suggested by Paul. */
9723 /* Ultrix mips cc rejects this. */
9724 typedef int charset[2];
9726 /* SunOS 4.1.1 cc rejects this. */
9727 char const *const *pcpcc;
9729 /* NEC SVR4.0.2 mips cc rejects this. */
9730 struct point {int x, y;};
9731 static struct point const zero = {0,0};
9732 /* AIX XL C 1.02.0.0 rejects this.
9733 It does not let you subtract one const X* pointer from another in
9734 an arm of an if-expression whose if-part is not a constant
9736 const char *g = "string";
9737 pcpcc = &g + (g ? g-g : 0);
9738 /* HPUX 7.0 cc rejects these. */
9740 ppc = (char**) pcpcc;
9741 pcpcc = (char const *const *) ppc;
9742 { /* SCO 3.2v4 cc rejects this. */
9744 char const *s = 0 ? (char *) 0 : (char const *) 0;
9749 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9751 const int *foo = &x[0];
9754 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9755 typedef const int *iptr;
9759 { /* AIX XL C 1.02.0.0 rejects this saying
9760 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9761 struct s { int j; const int *ap[3]; };
9762 struct s *b; b->j = 5;
9764 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9768 return !cs[0] && !zero.x;
9775 if ac_fn_c_try_compile
"$LINENO"; then :
9780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9783 $as_echo "$ac_cv_c_const" >&6; }
9784 if test $ac_cv_c_const = no
; then
9786 $as_echo "#define const /**/" >>confdefs.h
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9791 $as_echo_n "checking for inline... " >&6; }
9792 if test "${ac_cv_c_inline+set}" = set; then :
9793 $as_echo_n "(cached) " >&6
9796 for ac_kw
in inline __inline__ __inline
; do
9797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9801 static $ac_kw foo_t static_foo () {return 0; }
9802 $ac_kw foo_t foo () {return 0; }
9806 if ac_fn_c_try_compile
"$LINENO"; then :
9807 ac_cv_c_inline
=$ac_kw
9809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9810 test "$ac_cv_c_inline" != no
&& break
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9815 $as_echo "$ac_cv_c_inline" >&6; }
9817 case $ac_cv_c_inline in
9820 case $ac_cv_c_inline in
9822 *) ac_val
=$ac_cv_c_inline;;
9824 cat >>confdefs.h
<<_ACEOF
9826 #define inline $ac_val
9832 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
9833 if test "x$ac_cv_type_mode_t" = x
""yes; then :
9837 cat >>confdefs.h
<<_ACEOF
9843 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9844 if test "x$ac_cv_type_off_t" = x
""yes; then :
9848 cat >>confdefs.h
<<_ACEOF
9849 #define off_t long int
9854 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9855 if test "x$ac_cv_type_size_t" = x
""yes; then :
9859 cat >>confdefs.h
<<_ACEOF
9860 #define size_t unsigned int
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9866 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9867 if test "${ac_cv_header_time+set}" = set; then :
9868 $as_echo_n "(cached) " >&6
9870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 #include <sys/types.h>
9873 #include <sys/time.h>
9879 if ((struct tm *) 0)
9885 if ac_fn_c_try_compile
"$LINENO"; then :
9886 ac_cv_header_time
=yes
9888 ac_cv_header_time
=no
9890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9893 $as_echo "$ac_cv_header_time" >&6; }
9894 if test $ac_cv_header_time = yes; then
9896 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9901 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9902 if test "${ac_cv_struct_tm+set}" = set; then :
9903 $as_echo_n "(cached) " >&6
9905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 #include <sys/types.h>
9914 int *p = &tm.tm_sec;
9920 if ac_fn_c_try_compile
"$LINENO"; then :
9921 ac_cv_struct_tm
=time.h
9923 ac_cv_struct_tm
=sys
/time.h
9925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9928 $as_echo "$ac_cv_struct_tm" >&6; }
9929 if test $ac_cv_struct_tm = sys
/time.h
; then
9931 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
9936 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
9937 if test "${ac_cv_type_uid_t+set}" = set; then :
9938 $as_echo_n "(cached) " >&6
9940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 #include <sys/types.h>
9945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9946 $EGREP "uid_t" >/dev
/null
2>&1; then :
9947 ac_cv_type_uid_t
=yes
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
9955 $as_echo "$ac_cv_type_uid_t" >&6; }
9956 if test $ac_cv_type_uid_t = no
; then
9958 $as_echo "#define uid_t int" >>confdefs.h
9961 $as_echo "#define gid_t int" >>confdefs.h
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9966 $as_echo_n "checking for working volatile... " >&6; }
9967 if test "${ac_cv_c_volatile+set}" = set; then :
9968 $as_echo_n "(cached) " >&6
9970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9978 int * volatile y = (int *) 0;
9984 if ac_fn_c_try_compile
"$LINENO"; then :
9985 ac_cv_c_volatile
=yes
9989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9992 $as_echo "$ac_cv_c_volatile" >&6; }
9993 if test $ac_cv_c_volatile = no
; then
9995 $as_echo "#define volatile /**/" >>confdefs.h
9999 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
10000 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
10002 cat >>confdefs.h
<<_ACEOF
10003 #define HAVE_PTRDIFF_T 1
10010 # Checks for library functions.
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
10012 $as_echo_n "checking whether closedir returns void... " >&6; }
10013 if test "${ac_cv_func_closedir_void+set}" = set; then :
10014 $as_echo_n "(cached) " >&6
10016 if test "$cross_compiling" = yes; then :
10017 ac_cv_func_closedir_void
=yes
10019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10021 $ac_includes_default
10022 #include <$ac_header_dirent>
10023 #ifndef __cplusplus
10030 return closedir (opendir (".")) != 0;
10035 if ac_fn_c_try_run
"$LINENO"; then :
10036 ac_cv_func_closedir_void
=no
10038 ac_cv_func_closedir_void
=yes
10040 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10041 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
10046 $as_echo "$ac_cv_func_closedir_void" >&6; }
10047 if test $ac_cv_func_closedir_void = yes; then
10049 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
10053 if test $ac_cv_c_compiler_gnu = yes; then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
10055 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
10056 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
10057 $as_echo_n "(cached) " >&6
10059 ac_pattern
="Autoconf.*'x'"
10060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10066 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10067 ac_cv_prog_gcc_traditional
=yes
10069 ac_cv_prog_gcc_traditional
=no
10074 if test $ac_cv_prog_gcc_traditional = no
; then
10075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10077 #include <termio.h>
10080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10081 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10082 ac_cv_prog_gcc_traditional
=yes
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10089 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10090 if test $ac_cv_prog_gcc_traditional = yes; then
10091 CC
="$CC -traditional"
10095 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10096 if test "x$ac_cv_type_pid_t" = x
""yes; then :
10100 cat >>confdefs.h
<<_ACEOF
10106 for ac_header
in vfork.h
10108 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10109 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
10110 cat >>confdefs.h
<<_ACEOF
10111 #define HAVE_VFORK_H 1
10118 for ac_func
in fork vfork
10120 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10121 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10122 eval as_val
=\$
$as_ac_var
10123 if test "x$as_val" = x
""yes; then :
10124 cat >>confdefs.h
<<_ACEOF
10125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10131 if test "x$ac_cv_func_fork" = xyes
; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10133 $as_echo_n "checking for working fork... " >&6; }
10134 if test "${ac_cv_func_fork_works+set}" = set; then :
10135 $as_echo_n "(cached) " >&6
10137 if test "$cross_compiling" = yes; then :
10138 ac_cv_func_fork_works
=cross
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 $ac_includes_default
10147 /* By Ruediger Kuhlmann. */
10148 return fork () < 0;
10154 if ac_fn_c_try_run
"$LINENO"; then :
10155 ac_cv_func_fork_works
=yes
10157 ac_cv_func_fork_works
=no
10159 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10160 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10165 $as_echo "$ac_cv_func_fork_works" >&6; }
10168 ac_cv_func_fork_works
=$ac_cv_func_fork
10170 if test "x$ac_cv_func_fork_works" = xcross
; then
10172 *-*-amigaos* |
*-*-msdosdjgpp*)
10173 # Override, as these systems have only a dummy fork() stub
10174 ac_cv_func_fork_works
=no
10177 ac_cv_func_fork_works
=yes
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10181 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10183 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10184 if test "x$ac_cv_func_vfork" = xyes
; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10186 $as_echo_n "checking for working vfork... " >&6; }
10187 if test "${ac_cv_func_vfork_works+set}" = set; then :
10188 $as_echo_n "(cached) " >&6
10190 if test "$cross_compiling" = yes; then :
10191 ac_cv_func_vfork_works
=cross
10193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 /* Thanks to Paul Eggert for this test. */
10196 $ac_includes_default
10197 #include <sys/wait.h>
10198 #ifdef HAVE_VFORK_H
10199 # include <vfork.h>
10201 /* On some sparc systems, changes by the child to local and incoming
10202 argument registers are propagated back to the parent. The compiler
10203 is told about this with #include <vfork.h>, but some compilers
10204 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10205 static variable whose address is put into a register that is
10206 clobbered by the vfork. */
10209 sparc_address_test (int arg)
10211 sparc_address_test (arg) int arg;
10214 static pid_t child;
10232 pid_t parent = getpid ();
10235 sparc_address_test (0);
10240 /* Here is another test for sparc vfork register problems. This
10241 test uses lots of local variables, at least as many local
10242 variables as main has allocated so far including compiler
10243 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10244 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10245 reuse the register of parent for one of the local variables,
10246 since it will think that parent can't possibly be used any more
10247 in this routine. Assigning to the local variable will thus
10248 munge parent in the parent process. */
10250 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10251 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10252 /* Convince the compiler that p..p7 are live; otherwise, it might
10253 use the same hardware register for all 8 local variables. */
10254 if (p != p1 || p != p2 || p != p3 || p != p4
10255 || p != p5 || p != p6 || p != p7)
10258 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10259 from child file descriptors. If the child closes a descriptor
10260 before it execs or exits, this munges the parent's descriptor
10261 as well. Test for this by closing stdout in the child. */
10262 _exit(close(fileno(stdout)) != 0);
10267 while (wait(&status) != child)
10270 /* Was there some problem with vforking? */
10273 /* Did the child fail? (This shouldn't happen.) */
10276 /* Did the vfork/compiler bug occur? */
10277 || parent != getpid()
10279 /* Did the file descriptor bug occur? */
10280 || fstat(fileno(stdout), &st) != 0
10285 if ac_fn_c_try_run
"$LINENO"; then :
10286 ac_cv_func_vfork_works
=yes
10288 ac_cv_func_vfork_works
=no
10290 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10291 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
10296 $as_echo "$ac_cv_func_vfork_works" >&6; }
10299 if test "x$ac_cv_func_fork_works" = xcross
; then
10300 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10302 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10305 if test "x$ac_cv_func_vfork_works" = xyes
; then
10307 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
10311 $as_echo "#define vfork fork" >>confdefs.h
10314 if test "x$ac_cv_func_fork_works" = xyes
; then
10316 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10321 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10322 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10323 $as_echo_n "(cached) " >&6
10325 rm -f conftest.sym conftest.
file
10326 echo >conftest.
file
10327 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10328 if test "$cross_compiling" = yes; then :
10329 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 $ac_includes_default
10338 /* Linux will dereference the symlink and fail, as required by POSIX.
10339 That is better in the sense that it means we will not
10340 have to compile and use the lstat wrapper. */
10341 return lstat ("conftest.sym/", &sbuf) == 0;
10346 if ac_fn_c_try_run
"$LINENO"; then :
10347 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10349 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10351 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10352 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10356 # If the `ln -s' command failed, then we probably don't even
10357 # have an lstat function.
10358 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10360 rm -f conftest.sym conftest.
file
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10364 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10366 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10368 cat >>confdefs.h
<<_ACEOF
10369 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10373 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10374 case " $LIBOBJS " in
10375 *" lstat.$ac_objext "* ) ;;
10376 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10382 if test x
$SYS != xwin32
; then :
10384 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10385 # -lseq on Dynix/PTX, -lgen on Unixware.
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
10387 $as_echo_n "checking for library containing getmntent... " >&6; }
10388 if test "${ac_cv_search_getmntent+set}" = set; then :
10389 $as_echo_n "(cached) " >&6
10391 ac_func_search_save_LIBS
=$LIBS
10392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10405 return getmntent ();
10410 for ac_lib
in '' sun
seq gen
; do
10411 if test -z "$ac_lib"; then
10412 ac_res
="none required"
10415 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10417 if ac_fn_c_try_link
"$LINENO"; then :
10418 ac_cv_search_getmntent
=$ac_res
10420 rm -f core conftest.err conftest.
$ac_objext \
10422 if test "${ac_cv_search_getmntent+set}" = set; then :
10426 if test "${ac_cv_search_getmntent+set}" = set; then :
10429 ac_cv_search_getmntent
=no
10431 rm conftest.
$ac_ext
10432 LIBS
=$ac_func_search_save_LIBS
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
10435 $as_echo "$ac_cv_search_getmntent" >&6; }
10436 ac_res
=$ac_cv_search_getmntent
10437 if test "$ac_res" != no
; then :
10438 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10439 ac_cv_func_getmntent
=yes
10441 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
10444 ac_cv_func_getmntent
=no
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
10449 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
10450 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
10451 $as_echo_n "(cached) " >&6
10453 if test "$cross_compiling" = yes; then :
10454 ac_cv_func_lstat_empty_string_bug
=yes
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 $ac_includes_default
10463 return lstat ("", &sbuf) == 0;
10468 if ac_fn_c_try_run
"$LINENO"; then :
10469 ac_cv_func_lstat_empty_string_bug
=no
10471 ac_cv_func_lstat_empty_string_bug
=yes
10473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
10479 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
10480 if test $ac_cv_func_lstat_empty_string_bug = yes; then
10481 case " $LIBOBJS " in
10482 *" lstat.$ac_objext "* ) ;;
10483 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10488 cat >>confdefs.h
<<_ACEOF
10489 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10495 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10496 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10497 $as_echo_n "(cached) " >&6
10499 rm -f conftest.sym conftest.
file
10500 echo >conftest.
file
10501 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10502 if test "$cross_compiling" = yes; then :
10503 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10507 $ac_includes_default
10512 /* Linux will dereference the symlink and fail, as required by POSIX.
10513 That is better in the sense that it means we will not
10514 have to compile and use the lstat wrapper. */
10515 return lstat ("conftest.sym/", &sbuf) == 0;
10520 if ac_fn_c_try_run
"$LINENO"; then :
10521 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10523 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10525 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10526 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10530 # If the `ln -s' command failed, then we probably don't even
10531 # have an lstat function.
10532 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10534 rm -f conftest.sym conftest.
file
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10538 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10540 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10542 cat >>confdefs.h
<<_ACEOF
10543 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10547 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10548 case " $LIBOBJS " in
10549 *" lstat.$ac_objext "* ) ;;
10550 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
10559 $as_echo_n "checking for working memcmp... " >&6; }
10560 if test "${ac_cv_func_memcmp_working+set}" = set; then :
10561 $as_echo_n "(cached) " >&6
10563 if test "$cross_compiling" = yes; then :
10564 ac_cv_func_memcmp_working
=no
10566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10568 $ac_includes_default
10573 /* Some versions of memcmp are not 8-bit clean. */
10574 char c0 = '\100', c1 = '\200', c2 = '\201';
10575 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10578 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10579 or more and with at least one buffer not starting on a 4-byte boundary.
10580 William Lewis provided this test program. */
10585 for (i = 0; i < 4; i++)
10589 strcpy (a, "--------01111111");
10590 strcpy (b, "--------10000000");
10591 if (memcmp (a, b, 16) >= 0)
10601 if ac_fn_c_try_run
"$LINENO"; then :
10602 ac_cv_func_memcmp_working
=yes
10604 ac_cv_func_memcmp_working
=no
10606 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10607 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
10612 $as_echo "$ac_cv_func_memcmp_working" >&6; }
10613 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10614 *" memcmp.$ac_objext "* ) ;;
10615 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10620 for ac_header
in sys
/select.h sys
/socket.h
10622 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10623 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10624 eval as_val
=\$
$as_ac_Header
10625 if test "x$as_val" = x
""yes; then :
10626 cat >>confdefs.h
<<_ACEOF
10627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
10635 $as_echo_n "checking types of arguments for select... " >&6; }
10636 if test "${ac_cv_func_select_args+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10639 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10640 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10641 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644 $ac_includes_default
10645 #ifdef HAVE_SYS_SELECT_H
10646 # include <sys/select.h>
10648 #ifdef HAVE_SYS_SOCKET_H
10649 # include <sys/socket.h>
10655 extern int select ($ac_arg1,
10656 $ac_arg234, $ac_arg234, $ac_arg234,
10662 if ac_fn_c_try_compile
"$LINENO"; then :
10663 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10669 # Provide a safe default value.
10670 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10674 $as_echo "$ac_cv_func_select_args" >&6; }
10675 ac_save_IFS
=$IFS; IFS
=','
10676 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10680 cat >>confdefs.h
<<_ACEOF
10681 #define SELECT_TYPE_ARG1 $1
10685 cat >>confdefs.h
<<_ACEOF
10686 #define SELECT_TYPE_ARG234 ($2)
10690 cat >>confdefs.h
<<_ACEOF
10691 #define SELECT_TYPE_ARG5 ($3)
10696 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
10697 $as_echo_n "(cached) " >&6
10699 ac_cv_func_setvbuf_reversed
=no
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10704 $as_echo_n "checking return type of signal handlers... " >&6; }
10705 if test "${ac_cv_type_signal+set}" = set; then :
10706 $as_echo_n "(cached) " >&6
10708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 #include <sys/types.h>
10711 #include <signal.h>
10716 return *(signal (0, 0)) (0) == 1;
10721 if ac_fn_c_try_compile
"$LINENO"; then :
10722 ac_cv_type_signal
=int
10724 ac_cv_type_signal
=void
10726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
10729 $as_echo "$ac_cv_type_signal" >&6; }
10731 cat >>confdefs.h
<<_ACEOF
10732 #define RETSIGTYPE $ac_cv_type_signal
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
10737 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10738 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
10739 $as_echo_n "(cached) " >&6
10741 if test "$cross_compiling" = yes; then :
10742 ac_cv_func_stat_empty_string_bug
=yes
10744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10746 $ac_includes_default
10751 return stat ("", &sbuf) == 0;
10756 if ac_fn_c_try_run
"$LINENO"; then :
10757 ac_cv_func_stat_empty_string_bug
=no
10759 ac_cv_func_stat_empty_string_bug
=yes
10761 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10762 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
10767 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10768 if test $ac_cv_func_stat_empty_string_bug = yes; then
10769 case " $LIBOBJS " in
10770 *" stat.$ac_objext "* ) ;;
10771 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
10776 cat >>confdefs.h
<<_ACEOF
10777 #define HAVE_STAT_EMPTY_STRING_BUG 1
10782 for ac_func
in strftime
10784 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
10785 if test "x$ac_cv_func_strftime" = x
""yes; then :
10786 cat >>confdefs.h
<<_ACEOF
10787 #define HAVE_STRFTIME 1
10791 # strftime is in -lintl on SCO UNIX.
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
10793 $as_echo_n "checking for strftime in -lintl... " >&6; }
10794 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
10795 $as_echo_n "(cached) " >&6
10797 ac_check_lib_save_LIBS
=$LIBS
10798 LIBS
="-lintl $LIBS"
10799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10812 return strftime ();
10817 if ac_fn_c_try_link
"$LINENO"; then :
10818 ac_cv_lib_intl_strftime
=yes
10820 ac_cv_lib_intl_strftime
=no
10822 rm -f core conftest.err conftest.
$ac_objext \
10823 conftest
$ac_exeext conftest.
$ac_ext
10824 LIBS
=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
10827 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
10828 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
10829 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
10831 LIBS
="-lintl $LIBS"
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
10838 $as_echo_n "checking for working strtod... " >&6; }
10839 if test "${ac_cv_func_strtod+set}" = set; then :
10840 $as_echo_n "(cached) " >&6
10842 if test "$cross_compiling" = yes; then :
10843 ac_cv_func_strtod
=no
10845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 $ac_includes_default
10856 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10857 char *string = " +69";
10860 value = strtod (string, &term);
10861 if (value != 69 || term != (string + 4))
10866 /* Under Solaris 2.4, strtod returns the wrong value for the
10867 terminating character under some conditions. */
10868 char *string = "NaN";
10870 strtod (string, &term);
10871 if (term != string && *(term - 1) == 0)
10878 if ac_fn_c_try_run
"$LINENO"; then :
10879 ac_cv_func_strtod
=yes
10881 ac_cv_func_strtod
=no
10883 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10884 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
10889 $as_echo "$ac_cv_func_strtod" >&6; }
10890 if test $ac_cv_func_strtod = no
; then
10891 case " $LIBOBJS " in
10892 *" strtod.$ac_objext "* ) ;;
10893 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
10897 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
10898 if test "x$ac_cv_func_pow" = x
""yes; then :
10902 if test $ac_cv_func_pow = no
; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
10904 $as_echo_n "checking for pow in -lm... " >&6; }
10905 if test "${ac_cv_lib_m_pow+set}" = set; then :
10906 $as_echo_n "(cached) " >&6
10908 ac_check_lib_save_LIBS
=$LIBS
10910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10928 if ac_fn_c_try_link
"$LINENO"; then :
10929 ac_cv_lib_m_pow
=yes
10933 rm -f core conftest.err conftest.
$ac_objext \
10934 conftest
$ac_exeext conftest.
$ac_ext
10935 LIBS
=$ac_check_lib_save_LIBS
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
10938 $as_echo "$ac_cv_lib_m_pow" >&6; }
10939 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
10943 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10950 for ac_func
in vprintf
10952 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10953 if test "x$ac_cv_func_vprintf" = x
""yes; then :
10954 cat >>confdefs.h
<<_ACEOF
10955 #define HAVE_VPRINTF 1
10958 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10959 if test "x$ac_cv_func__doprnt" = x
""yes; then :
10961 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10969 if test $cross_compiling = yes -a $gnumalloc = yes; then :
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10972 configure cannot check whether malloc() and realloc() are GNU libc
10973 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10974 run configure with the --without-gnu-malloc switch." >&5
10975 $as_echo "$as_me: WARNING:
10976 configure cannot check whether malloc() and realloc() are GNU libc
10977 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10978 run configure with the --without-gnu-malloc switch." >&2;}
10979 _mule_warning_8
=yes
10980 _mule_has_warnings
=yes
10982 ac_cv_func_malloc_0_nonnull
=yes
10983 ac_cv_func_realloc_0_nonnull
=yes
10986 for ac_header
in stdlib.h
10988 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10989 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10990 cat >>confdefs.h
<<_ACEOF
10991 #define HAVE_STDLIB_H 1
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10999 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
11000 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
11001 $as_echo_n "(cached) " >&6
11003 if test "$cross_compiling" = yes; then :
11004 ac_cv_func_malloc_0_nonnull
=no
11006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11008 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11009 # include <stdlib.h>
11017 return ! malloc (0);
11022 if ac_fn_c_try_run
"$LINENO"; then :
11023 ac_cv_func_malloc_0_nonnull
=yes
11025 ac_cv_func_malloc_0_nonnull
=no
11027 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11028 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
11033 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
11034 if test $ac_cv_func_malloc_0_nonnull = yes; then :
11036 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
11039 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
11041 case " $LIBOBJS " in
11042 *" malloc.$ac_objext "* ) ;;
11043 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
11048 $as_echo "#define malloc rpl_malloc" >>confdefs.h
11053 for ac_header
in stdlib.h
11055 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11056 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
11057 cat >>confdefs.h
<<_ACEOF
11058 #define HAVE_STDLIB_H 1
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
11066 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11067 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
11068 $as_echo_n "(cached) " >&6
11070 if test "$cross_compiling" = yes; then :
11071 ac_cv_func_realloc_0_nonnull
=no
11073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11075 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11076 # include <stdlib.h>
11084 return ! realloc (0, 0);
11089 if ac_fn_c_try_run
"$LINENO"; then :
11090 ac_cv_func_realloc_0_nonnull
=yes
11092 ac_cv_func_realloc_0_nonnull
=no
11094 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11095 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11100 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11101 if test $ac_cv_func_realloc_0_nonnull = yes; then :
11103 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11106 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11108 case " $LIBOBJS " in
11109 *" realloc.$ac_objext "* ) ;;
11110 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11115 $as_echo "#define realloc rpl_realloc" >>confdefs.h
11120 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
11122 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11123 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11124 eval as_val
=\$
$as_ac_var
11125 if test "x$as_val" = x
""yes; then :
11126 cat >>confdefs.h
<<_ACEOF
11127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11133 #-------------------------------------------------------------------------------
11134 # End of autoscan stuff
11135 #-------------------------------------------------------------------------------
11137 for ac_func
in mkdir getrlimit setrlimit getopt_long
11139 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11140 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11141 eval as_val
=\$
$as_ac_var
11142 if test "x$as_val" = x
""yes; then :
11143 cat >>confdefs.h
<<_ACEOF
11144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11154 for ac_header
in $ac_header_list
11156 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11157 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11159 eval as_val
=\$
$as_ac_Header
11160 if test "x$as_val" = x
""yes; then :
11161 cat >>confdefs.h
<<_ACEOF
11162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11175 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11177 # Check whether --enable-mmap was given.
11178 if test "${enable_mmap+set}" = set; then :
11179 enableval
=$enable_mmap;
11184 if test ${enable_mmap:-no} = yes; then :
11186 for ac_header
in sys
/mman.h
11188 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11189 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11190 cat >>confdefs.h
<<_ACEOF
11191 #define HAVE_SYS_MMAN_H 1
11199 for ac_func
in getpagesize
11201 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11202 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
11203 cat >>confdefs.h
<<_ACEOF
11204 #define HAVE_GETPAGESIZE 1
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11211 $as_echo_n "checking for working mmap... " >&6; }
11212 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
11213 $as_echo_n "(cached) " >&6
11215 if test "$cross_compiling" = yes; then :
11216 ac_cv_func_mmap_fixed_mapped
=no
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11220 $ac_includes_default
11221 /* malloc might have been renamed as rpl_malloc. */
11224 /* Thanks to Mike Haertel and Jim Avera for this test.
11225 Here is a matrix of mmap possibilities:
11226 mmap private not fixed
11227 mmap private fixed at somewhere currently unmapped
11228 mmap private fixed at somewhere already mapped
11229 mmap shared not fixed
11230 mmap shared fixed at somewhere currently unmapped
11231 mmap shared fixed at somewhere already mapped
11232 For private mappings, we should verify that changes cannot be read()
11233 back from the file, nor mmap's back from the file at a different
11234 address. (There have been systems where private was not correctly
11235 implemented like the infamous i386 svr4.0, and systems where the
11236 VM page cache was not coherent with the file system buffer cache
11237 like early versions of FreeBSD and possibly contemporary NetBSD.)
11238 For shared mappings, we should conversely verify that changes get
11239 propagated back to all the places they're supposed to be.
11241 Grep wants private fixed already mapped.
11242 The main things grep needs to know about mmap are:
11243 * does it exist and is it safe to write into the mmap'd area
11244 * how to use it (BSD variants) */
11247 #include <sys/mman.h>
11249 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11253 /* This mess was copied from the GNU getpagesize.h. */
11254 #ifndef HAVE_GETPAGESIZE
11255 # ifdef _SC_PAGESIZE
11256 # define getpagesize() sysconf(_SC_PAGESIZE)
11257 # else /* no _SC_PAGESIZE */
11258 # ifdef HAVE_SYS_PARAM_H
11259 # include <sys/param.h>
11260 # ifdef EXEC_PAGESIZE
11261 # define getpagesize() EXEC_PAGESIZE
11262 # else /* no EXEC_PAGESIZE */
11264 # define getpagesize() NBPG * CLSIZE
11267 # endif /* no CLSIZE */
11268 # else /* no NBPG */
11270 # define getpagesize() NBPC
11271 # else /* no NBPC */
11273 # define getpagesize() PAGESIZE
11274 # endif /* PAGESIZE */
11275 # endif /* no NBPC */
11276 # endif /* no NBPG */
11277 # endif /* no EXEC_PAGESIZE */
11278 # else /* no HAVE_SYS_PARAM_H */
11279 # define getpagesize() 8192 /* punt totally */
11280 # endif /* no HAVE_SYS_PARAM_H */
11281 # endif /* no _SC_PAGESIZE */
11283 #endif /* no HAVE_GETPAGESIZE */
11288 char *data, *data2, *data3;
11292 pagesize = getpagesize ();
11294 /* First, make a file with some known garbage in it. */
11295 data = (char *) malloc (pagesize);
11298 for (i = 0; i < pagesize; ++i)
11299 *(data + i) = rand ();
11301 fd = creat ("conftest.mmap", 0600);
11304 if (write (fd, data, pagesize) != pagesize)
11308 /* Next, check that the tail of a page is zero-filled. File must have
11309 non-zero length, otherwise we risk SIGBUS for entire page. */
11310 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11314 if (write (fd2, data2, 1) != 1)
11316 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11317 if (data2 == MAP_FAILED)
11319 for (i = 0; i < pagesize; ++i)
11323 if (munmap (data2, pagesize))
11326 /* Next, try to mmap the file at a fixed address which already has
11327 something else allocated at it. If we can, also make sure that
11328 we see the same garbage. */
11329 fd = open ("conftest.mmap", O_RDWR);
11332 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11333 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11335 for (i = 0; i < pagesize; ++i)
11336 if (*(data + i) != *(data2 + i))
11339 /* Finally, make sure that changes to the mapped area do not
11340 percolate back to the file as seen by read(). (This is a bug on
11341 some variants of i386 svr4.0.) */
11342 for (i = 0; i < pagesize; ++i)
11343 *(data2 + i) = *(data2 + i) + 1;
11344 data3 = (char *) malloc (pagesize);
11347 if (read (fd, data3, pagesize) != pagesize)
11349 for (i = 0; i < pagesize; ++i)
11350 if (*(data + i) != *(data3 + i))
11356 if ac_fn_c_try_run
"$LINENO"; then :
11357 ac_cv_func_mmap_fixed_mapped
=yes
11359 ac_cv_func_mmap_fixed_mapped
=no
11361 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11362 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11367 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11368 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11370 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11373 rm -f conftest.mmap conftest.txt
11375 for ac_func
in munmap sysconf
11377 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11378 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11379 eval as_val
=\$
$as_ac_var
11380 if test "x$as_val" = x
""yes; then :
11381 cat >>confdefs.h
<<_ACEOF
11382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11388 if test $ac_cv_func_sysconf = yes; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
11391 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
11392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11396 #include <unistd.h>
11402 return sysconf(_SC_PAGESIZE);
11409 if ac_fn_c_try_link
"$LINENO"; then :
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
11412 $as_echo "_SC_PAGESIZE" >&6; }
11414 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
11419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11423 #include <unistd.h>
11429 return sysconf(_SC_PAGE_SIZE);
11436 if ac_fn_c_try_link
"$LINENO"; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
11439 $as_echo "_SC_PAGE_SIZE" >&6; }
11441 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11447 $as_echo "none" >&6; }
11450 rm -f core conftest.err conftest.
$ac_objext \
11451 conftest
$ac_exeext conftest.
$ac_ext
11454 rm -f core conftest.err conftest.
$ac_objext \
11455 conftest
$ac_exeext conftest.
$ac_ext
11461 # fake the result of the test for munmap() for the gettext macros
11462 ac_cv_func_munmap
=no
11468 mule_backup_CPPFLAGS
="$CPPFLAGS"
11469 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
11470 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11471 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
11477 cat >>confdefs.h
<<_ACEOF
11478 #define HAVE_DECL_STRERROR_R $ac_have_decl
11481 for ac_func
in strerror_r
11483 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11484 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
11485 cat >>confdefs.h
<<_ACEOF
11486 #define HAVE_STRERROR_R 1
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11493 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
11494 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
11495 $as_echo_n "(cached) " >&6
11498 ac_cv_func_strerror_r_char_p
=no
11499 if test $ac_cv_have_decl_strerror_r = yes; then
11500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 $ac_includes_default
11508 char x = *strerror_r (0, buf, sizeof buf);
11509 char *p = strerror_r (0, buf, sizeof buf);
11516 if ac_fn_c_try_compile
"$LINENO"; then :
11517 ac_cv_func_strerror_r_char_p
=yes
11519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11521 # strerror_r is not declared. Choose between
11522 # systems that have relatively inaccessible declarations for the
11523 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11524 # former has a strerror_r that returns char*, while the latter
11525 # has a strerror_r that returns `int'.
11526 # This test should segfault on the DEC system.
11527 if test "$cross_compiling" = yes; then :
11530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11532 $ac_includes_default
11533 extern char *strerror_r ();
11538 char x = *strerror_r (0, buf, sizeof buf);
11539 return ! isalpha (x);
11544 if ac_fn_c_try_run
"$LINENO"; then :
11545 ac_cv_func_strerror_r_char_p
=yes
11547 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11548 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11555 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
11556 if test $ac_cv_func_strerror_r_char_p = yes; then
11558 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
11562 CPPFLAGS
="$mule_backup_CPPFLAGS"
11564 # Look for a way to preallocate disk space for files.
11565 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
11568 $as_echo_n "checking for fallocate... " >&6; }
11569 mule_backup_CPPFLAGS
="$CPPFLAGS"
11570 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
11571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11575 #define _GNU_SOURCE
11576 #ifdef HAVE_FCNTL_H
11577 # include <fcntl.h>
11579 #include <linux/falloc.h>
11585 fallocate(0, 0, 0, 0);
11592 if ac_fn_c_try_link
"$LINENO"; then :
11595 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11598 $as_echo "yes" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603 $as_echo "no" >&6; }
11606 rm -f core conftest.err conftest.
$ac_objext \
11607 conftest
$ac_exeext conftest.
$ac_ext
11608 CPPFLAGS
="$mule_backup_CPPFLAGS"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
11612 $as_echo_n "checking for SYS_fallocate... " >&6; }
11613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11617 #include <sys/syscall.h>
11618 #include <sys/types.h>
11619 #include <unistd.h>
11625 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
11632 if ac_fn_c_try_link
"$LINENO"; then :
11635 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11638 $as_echo "yes" >&6; }
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11643 $as_echo "no" >&6; }
11646 rm -f core conftest.err conftest.
$ac_objext \
11647 conftest
$ac_exeext conftest.
$ac_ext
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
11650 $as_echo_n "checking for posix_fallocate... " >&6; }
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11655 #define _XOPEN_SOURCE 600
11656 #include <stdlib.h>
11657 #ifdef HAVE_FCNTL_H
11658 # include <fcntl.h>
11665 posix_fallocate(0, 0, 0);
11672 if ac_fn_c_try_link
"$LINENO"; then :
11675 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11678 $as_echo "yes" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683 $as_echo "no" >&6; }
11686 rm -f core conftest.err conftest.
$ac_objext \
11687 conftest
$ac_exeext conftest.
$ac_ext
11691 # Checking Native Language Support
11695 if test -n "$ac_aux_dir"; then
11696 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
11698 if test -z "$MKINSTALLDIRS"; then
11699 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11706 # Extract the first word of "msgfmt", so it can be a program name with args.
11707 set dummy msgfmt
; ac_word
=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11711 $as_echo_n "(cached) " >&6
11715 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11718 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11719 for ac_dir
in $PATH; do
11720 test -z "$ac_dir" && ac_dir
=.
11721 if test -f $ac_dir/$ac_word; then
11722 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11723 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11724 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
11730 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11734 MSGFMT
="$ac_cv_path_MSGFMT"
11735 if test "$MSGFMT" != ":"; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11737 $as_echo "$MSGFMT" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11740 $as_echo "no" >&6; }
11743 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11744 set dummy gmsgfmt
; ac_word
=$2
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11746 $as_echo_n "checking for $ac_word... " >&6; }
11747 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11748 $as_echo_n "(cached) " >&6
11752 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11756 for as_dir
in $PATH
11759 test -z "$as_dir" && as_dir
=.
11760 for ac_exec_ext
in '' $ac_executable_extensions; do
11761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11762 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11770 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11774 GMSGFMT
=$ac_cv_path_GMSGFMT
11775 if test -n "$GMSGFMT"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11777 $as_echo "$GMSGFMT" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11785 # Extract the first word of "xgettext", so it can be a program name with args.
11786 set dummy xgettext
; ac_word
=$2
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11788 $as_echo_n "checking for $ac_word... " >&6; }
11789 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11790 $as_echo_n "(cached) " >&6
11792 case "$XGETTEXT" in
11794 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11797 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11798 for ac_dir
in $PATH; do
11799 test -z "$ac_dir" && ac_dir
=.
11800 if test -f $ac_dir/$ac_word; then
11801 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11802 (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
11803 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
11809 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11813 XGETTEXT
="$ac_cv_path_XGETTEXT"
11814 if test "$XGETTEXT" != ":"; then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11816 $as_echo "$XGETTEXT" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11819 $as_echo "no" >&6; }
11824 # Extract the first word of "msgmerge", so it can be a program name with args.
11825 set dummy msgmerge
; ac_word
=$2
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827 $as_echo_n "checking for $ac_word... " >&6; }
11828 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11829 $as_echo_n "(cached) " >&6
11831 case "$MSGMERGE" in
11833 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11836 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11837 for ac_dir
in $PATH; do
11838 test -z "$ac_dir" && ac_dir
=.
11839 if test -f $ac_dir/$ac_word; then
11840 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11841 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
11847 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11851 MSGMERGE
="$ac_cv_path_MSGMERGE"
11852 if test "$MSGMERGE" != ":"; then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11854 $as_echo "$MSGMERGE" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11861 if test "$GMSGFMT" != ":"; then
11862 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11863 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11866 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11868 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11873 if test "$XGETTEXT" != ":"; then
11874 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11875 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11879 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11885 ac_config_commands
="$ac_config_commands default-1"
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11890 $as_echo_n "checking for strerror in -lcposix... " >&6; }
11891 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
11892 $as_echo_n "(cached) " >&6
11894 ac_check_lib_save_LIBS
=$LIBS
11895 LIBS
="-lcposix $LIBS"
11896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11909 return strerror ();
11914 if ac_fn_c_try_link
"$LINENO"; then :
11915 ac_cv_lib_cposix_strerror
=yes
11917 ac_cv_lib_cposix_strerror
=no
11919 rm -f core conftest.err conftest.
$ac_objext \
11920 conftest
$ac_exeext conftest.
$ac_ext
11921 LIBS
=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11924 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11925 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
11926 LIBS
="$LIBS -lcposix"
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
11933 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
11934 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
11935 $as_echo_n "(cached) " >&6
11937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11940 #include <features.h>
11941 #ifdef __GNU_LIBRARY__
11942 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
11948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11949 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
11950 ac_cv_gnu_library_2_1
=yes
11952 ac_cv_gnu_library_2_1
=no
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
11960 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
11962 GLIBC21
="$ac_cv_gnu_library_2_1"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11968 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11969 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
11970 $as_echo_n "(cached) " >&6
11973 if test "$cross_compiling" = yes; then :
11975 # Guess based on the CPU.
11976 case "$host_cpu" in
11977 alpha
* | i3456786 | m68k | s390
*)
11978 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
11980 gt_cv_int_divbyzero_sigfpe
="guessing no";;
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 #include <stdlib.h>
11988 #include <signal.h>
11992 sigfpe_handler (int sig)
11994 sigfpe_handler (sig) int sig;
11997 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
11998 exit (sig != SIGFPE);
12008 signal (SIGFPE, sigfpe_handler);
12009 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
12010 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
12011 signal (SIGTRAP, sigfpe_handler);
12013 /* Linux/SPARC yields signal SIGILL. */
12014 #if defined (__sparc__) && defined (__linux__)
12015 signal (SIGILL, sigfpe_handler);
12024 if ac_fn_c_try_run
"$LINENO"; then :
12025 gt_cv_int_divbyzero_sigfpe
=yes
12027 gt_cv_int_divbyzero_sigfpe
=no
12029 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12030 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
12036 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
12037 case "$gt_cv_int_divbyzero_sigfpe" in
12042 cat >>confdefs.h
<<_ACEOF
12043 #define INTDIV0_RAISES_SIGFPE $value
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12049 $as_echo_n "checking for inttypes.h... " >&6; }
12050 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
12051 $as_echo_n "(cached) " >&6
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 #include <sys/types.h>
12056 #include <inttypes.h>
12060 uintmax_t i = (uintmax_t) -1;
12065 if ac_fn_c_try_compile
"$LINENO"; then :
12066 jm_ac_cv_header_inttypes_h
=yes
12068 jm_ac_cv_header_inttypes_h
=no
12070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
12073 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
12074 if test $jm_ac_cv_header_inttypes_h = yes; then
12076 cat >>confdefs.h
<<_ACEOF
12077 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12084 $as_echo_n "checking for stdint.h... " >&6; }
12085 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
12086 $as_echo_n "(cached) " >&6
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 #include <sys/types.h>
12091 #include <stdint.h>
12095 uintmax_t i = (uintmax_t) -1;
12100 if ac_fn_c_try_compile
"$LINENO"; then :
12101 jm_ac_cv_header_stdint_h
=yes
12103 jm_ac_cv_header_stdint_h
=no
12105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
12108 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
12109 if test $jm_ac_cv_header_stdint_h = yes; then
12111 cat >>confdefs.h
<<_ACEOF
12112 #define HAVE_STDINT_H_WITH_UINTMAX 1
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
12119 $as_echo_n "checking for unsigned long long... " >&6; }
12120 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
12121 $as_echo_n "(cached) " >&6
12123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12125 unsigned long long ull = 1; int i = 63;
12129 unsigned long long ullmax = (unsigned long long) -1;
12130 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
12135 if ac_fn_c_try_link
"$LINENO"; then :
12136 ac_cv_type_unsigned_long_long
=yes
12138 ac_cv_type_unsigned_long_long
=no
12140 rm -f core conftest.err conftest.
$ac_objext \
12141 conftest
$ac_exeext conftest.
$ac_ext
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
12144 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
12145 if test $ac_cv_type_unsigned_long_long = yes; then
12147 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
12154 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
12156 test $ac_cv_type_unsigned_long_long = yes \
12157 && ac_type
='unsigned long long' \
12158 || ac_type
='unsigned long'
12160 cat >>confdefs.h
<<_ACEOF
12161 #define uintmax_t $ac_type
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12168 $as_echo_n "checking for inttypes.h... " >&6; }
12169 if test "${gt_cv_header_inttypes_h+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12175 #include <sys/types.h>
12176 #include <inttypes.h>
12185 if ac_fn_c_try_compile
"$LINENO"; then :
12186 gt_cv_header_inttypes_h
=yes
12188 gt_cv_header_inttypes_h
=no
12190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
12194 $as_echo "$gt_cv_header_inttypes_h" >&6; }
12195 if test $gt_cv_header_inttypes_h = yes; then
12197 cat >>confdefs.h
<<_ACEOF
12198 #define HAVE_INTTYPES_H 1
12205 if test $gt_cv_header_inttypes_h = yes; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12207 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12208 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
12209 $as_echo_n "(cached) " >&6
12212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 #include <inttypes.h>
12227 if ac_fn_c_try_compile
"$LINENO"; then :
12228 gt_cv_inttypes_pri_broken
=no
12230 gt_cv_inttypes_pri_broken
=yes
12232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
12236 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
12238 if test "$gt_cv_inttypes_pri_broken" = yes; then
12240 cat >>confdefs.h
<<_ACEOF
12241 #define PRI_MACROS_BROKEN 1
12247 if test "X$prefix" = "XNONE"; then
12248 acl_final_prefix
="$ac_default_prefix"
12250 acl_final_prefix
="$prefix"
12252 if test "X$exec_prefix" = "XNONE"; then
12253 acl_final_exec_prefix
='${prefix}'
12255 acl_final_exec_prefix
="$exec_prefix"
12257 acl_save_prefix
="$prefix"
12258 prefix
="$acl_final_prefix"
12259 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12260 prefix
="$acl_save_prefix"
12263 # Check whether --with-gnu-ld was given.
12264 if test "${with_gnu_ld+set}" = set; then :
12265 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12271 if test "$GCC" = yes; then
12272 # Check if gcc -print-prog-name=ld gives a path.
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12274 $as_echo_n "checking for ld used by GCC... " >&6; }
12277 # gcc leaves a trailing carriage return which upsets mingw
12278 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12280 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12283 # Accept absolute paths.
12284 [\\/]* |
[A-Za-z
]:[\\/]*)
12285 re_direlt
='/[^/][^/]*/\.\./'
12286 # Canonicalize the path of ld
12287 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12288 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12289 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12291 test -z "$LD" && LD
="$ac_prog"
12294 # If it fails, then pretend we aren't using GCC.
12298 # If it is relative, then search for the first ld in PATH.
12299 with_gnu_ld
=unknown
12302 elif test "$with_gnu_ld" = yes; then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12304 $as_echo_n "checking for GNU ld... " >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12307 $as_echo_n "checking for non-GNU ld... " >&6; }
12309 if test "${acl_cv_path_LD+set}" = set; then :
12310 $as_echo_n "(cached) " >&6
12312 if test -z "$LD"; then
12313 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12314 for ac_dir
in $PATH; do
12315 test -z "$ac_dir" && ac_dir
=.
12316 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12317 acl_cv_path_LD
="$ac_dir/$ac_prog"
12318 # Check to see if the program is GNU ld. I'd rather use --version,
12319 # but apparently some GNU ld's only accept -v.
12320 # Break only if it was the GNU/non-GNU ld that we prefer.
12321 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
12322 test "$with_gnu_ld" != no
&& break
12324 test "$with_gnu_ld" != yes && break
12330 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12334 LD
="$acl_cv_path_LD"
12335 if test -n "$LD"; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12337 $as_echo "$LD" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12340 $as_echo "no" >&6; }
12342 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12344 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12345 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12346 $as_echo_n "(cached) " >&6
12348 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12349 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
12350 acl_cv_prog_gnu_ld
=yes
12352 acl_cv_prog_gnu_ld
=no
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12356 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12357 with_gnu_ld
=$acl_cv_prog_gnu_ld
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12362 $as_echo_n "checking for shared library run path origin... " >&6; }
12363 if test "${acl_cv_rpath+set}" = set; then :
12364 $as_echo_n "(cached) " >&6
12367 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12368 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12370 rm -f .
/conftest.sh
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12375 $as_echo "$acl_cv_rpath" >&6; }
12377 libext
="$acl_cv_libext"
12378 shlibext
="$acl_cv_shlibext"
12379 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12380 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12381 hardcode_direct
="$acl_cv_hardcode_direct"
12382 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12383 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
12384 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
12385 # Check whether --enable-rpath was given.
12386 if test "${enable_rpath+set}" = set; then :
12387 enableval
=$enable_rpath; :
12401 acl_save_prefix
="$prefix"
12402 prefix
="$acl_final_prefix"
12403 acl_save_exec_prefix
="$exec_prefix"
12404 exec_prefix
="$acl_final_exec_prefix"
12406 eval additional_includedir
=\"$includedir\"
12407 eval additional_libdir
=\"$libdir\"
12409 exec_prefix
="$acl_save_exec_prefix"
12410 prefix
="$acl_save_prefix"
12413 # Check whether --with-libiconv-prefix was given.
12414 if test "${with_libiconv_prefix+set}" = set; then :
12415 withval
=$with_libiconv_prefix;
12416 if test "X$withval" = "Xno"; then
12419 if test "X$withval" = "X"; then
12421 acl_save_prefix
="$prefix"
12422 prefix
="$acl_final_prefix"
12423 acl_save_exec_prefix
="$exec_prefix"
12424 exec_prefix
="$acl_final_exec_prefix"
12426 eval additional_includedir
=\"$includedir\"
12427 eval additional_libdir
=\"$libdir\"
12429 exec_prefix
="$acl_save_exec_prefix"
12430 prefix
="$acl_save_prefix"
12433 additional_includedir
="$withval/include"
12434 additional_libdir
="$withval/lib"
12445 names_already_handled
=
12446 names_next_round
='iconv '
12447 while test -n "$names_next_round"; do
12448 names_this_round
="$names_next_round"
12450 for name
in $names_this_round; do
12452 for n
in $names_already_handled; do
12453 if test "$n" = "$name"; then
12454 already_handled
=yes
12458 if test -z "$already_handled"; then
12459 names_already_handled
="$names_already_handled $name"
12460 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12461 eval value
=\"\
$HAVE_LIB$uppername\"
12462 if test -n "$value"; then
12463 if test "$value" = yes; then
12464 eval value
=\"\
$LIB$uppername\"
12465 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12466 eval value
=\"\
$LTLIB$uppername\"
12467 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12476 if test $use_additional = yes; then
12477 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12478 found_dir
="$additional_libdir"
12479 found_so
="$additional_libdir/lib$name.$shlibext"
12480 if test -f "$additional_libdir/lib$name.la"; then
12481 found_la
="$additional_libdir/lib$name.la"
12484 if test -f "$additional_libdir/lib$name.$libext"; then
12485 found_dir
="$additional_libdir"
12486 found_a
="$additional_libdir/lib$name.$libext"
12487 if test -f "$additional_libdir/lib$name.la"; then
12488 found_la
="$additional_libdir/lib$name.la"
12493 if test "X$found_dir" = "X"; then
12494 for x
in $LDFLAGS $LTLIBICONV; do
12496 acl_save_prefix
="$prefix"
12497 prefix
="$acl_final_prefix"
12498 acl_save_exec_prefix
="$exec_prefix"
12499 exec_prefix
="$acl_final_exec_prefix"
12501 exec_prefix
="$acl_save_exec_prefix"
12502 prefix
="$acl_save_prefix"
12506 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12507 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12509 found_so
="$dir/lib$name.$shlibext"
12510 if test -f "$dir/lib$name.la"; then
12511 found_la
="$dir/lib$name.la"
12514 if test -f "$dir/lib$name.$libext"; then
12516 found_a
="$dir/lib$name.$libext"
12517 if test -f "$dir/lib$name.la"; then
12518 found_la
="$dir/lib$name.la"
12524 if test "X$found_dir" != "X"; then
12529 if test "X$found_dir" != "X"; then
12530 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12531 if test "X$found_so" != "X"; then
12532 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12533 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12536 for x
in $ltrpathdirs; do
12537 if test "X$x" = "X$found_dir"; then
12542 if test -z "$haveit"; then
12543 ltrpathdirs
="$ltrpathdirs $found_dir"
12545 if test "$hardcode_direct" = yes; then
12546 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12548 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12549 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12551 for x
in $rpathdirs; do
12552 if test "X$x" = "X$found_dir"; then
12557 if test -z "$haveit"; then
12558 rpathdirs
="$rpathdirs $found_dir"
12562 for x
in $LDFLAGS $LIBICONV; do
12564 acl_save_prefix
="$prefix"
12565 prefix
="$acl_final_prefix"
12566 acl_save_exec_prefix
="$exec_prefix"
12567 exec_prefix
="$acl_final_exec_prefix"
12569 exec_prefix
="$acl_save_exec_prefix"
12570 prefix
="$acl_save_prefix"
12572 if test "X$x" = "X-L$found_dir"; then
12577 if test -z "$haveit"; then
12578 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12580 if test "$hardcode_minus_L" != no
; then
12581 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12583 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12589 if test "X$found_a" != "X"; then
12590 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12592 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12595 additional_includedir
=
12596 case "$found_dir" in
12598 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12599 additional_includedir
="$basedir/include"
12602 if test "X$additional_includedir" != "X"; then
12603 if test "X$additional_includedir" != "X/usr/include"; then
12605 if test "X$additional_includedir" = "X/usr/local/include"; then
12606 if test -n "$GCC"; then
12608 linux
*) haveit
=yes;;
12612 if test -z "$haveit"; then
12613 for x
in $CPPFLAGS $INCICONV; do
12615 acl_save_prefix
="$prefix"
12616 prefix
="$acl_final_prefix"
12617 acl_save_exec_prefix
="$exec_prefix"
12618 exec_prefix
="$acl_final_exec_prefix"
12620 exec_prefix
="$acl_save_exec_prefix"
12621 prefix
="$acl_save_prefix"
12623 if test "X$x" = "X-I$additional_includedir"; then
12628 if test -z "$haveit"; then
12629 if test -d "$additional_includedir"; then
12630 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12636 if test -n "$found_la"; then
12637 save_libdir
="$libdir"
12638 case "$found_la" in
12639 */* |
*\\*) .
"$found_la" ;;
12640 *) .
"./$found_la" ;;
12642 libdir
="$save_libdir"
12643 for dep
in $dependency_libs; do
12646 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12647 if test "X$additional_libdir" != "X/usr/lib"; then
12649 if test "X$additional_libdir" = "X/usr/local/lib"; then
12650 if test -n "$GCC"; then
12652 linux
*) haveit
=yes;;
12656 if test -z "$haveit"; then
12658 for x
in $LDFLAGS $LIBICONV; do
12660 acl_save_prefix
="$prefix"
12661 prefix
="$acl_final_prefix"
12662 acl_save_exec_prefix
="$exec_prefix"
12663 exec_prefix
="$acl_final_exec_prefix"
12665 exec_prefix
="$acl_save_exec_prefix"
12666 prefix
="$acl_save_prefix"
12668 if test "X$x" = "X-L$additional_libdir"; then
12673 if test -z "$haveit"; then
12674 if test -d "$additional_libdir"; then
12675 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12679 for x
in $LDFLAGS $LTLIBICONV; do
12681 acl_save_prefix
="$prefix"
12682 prefix
="$acl_final_prefix"
12683 acl_save_exec_prefix
="$exec_prefix"
12684 exec_prefix
="$acl_final_exec_prefix"
12686 exec_prefix
="$acl_save_exec_prefix"
12687 prefix
="$acl_save_prefix"
12689 if test "X$x" = "X-L$additional_libdir"; then
12694 if test -z "$haveit"; then
12695 if test -d "$additional_libdir"; then
12696 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12703 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12704 if test "$enable_rpath" != no
; then
12706 for x
in $rpathdirs; do
12707 if test "X$x" = "X$dir"; then
12712 if test -z "$haveit"; then
12713 rpathdirs
="$rpathdirs $dir"
12716 for x
in $ltrpathdirs; do
12717 if test "X$x" = "X$dir"; then
12722 if test -z "$haveit"; then
12723 ltrpathdirs
="$ltrpathdirs $dir"
12728 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12731 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12734 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12735 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12741 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12742 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12748 if test "X$rpathdirs" != "X"; then
12749 if test -n "$hardcode_libdir_separator"; then
12751 for found_dir
in $rpathdirs; do
12752 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12754 acl_save_libdir
="$libdir"
12756 eval flag
=\"$hardcode_libdir_flag_spec\"
12757 libdir
="$acl_save_libdir"
12758 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12760 for found_dir
in $rpathdirs; do
12761 acl_save_libdir
="$libdir"
12762 libdir
="$found_dir"
12763 eval flag
=\"$hardcode_libdir_flag_spec\"
12764 libdir
="$acl_save_libdir"
12765 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12769 if test "X$ltrpathdirs" != "X"; then
12770 for found_dir
in $ltrpathdirs; do
12771 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12778 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
12779 stdlib.h string.h unistd.h sys
/param.h
12781 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12782 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12783 eval as_val
=\$
$as_ac_Header
12784 if test "x$as_val" = x
""yes; then :
12785 cat >>confdefs.h
<<_ACEOF
12786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12793 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
12794 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
12795 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
12797 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12798 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12799 eval as_val
=\$
$as_ac_var
12800 if test "x$as_val" = x
""yes; then :
12801 cat >>confdefs.h
<<_ACEOF
12802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12814 am_save_CPPFLAGS
="$CPPFLAGS"
12816 for element
in $INCICONV; do
12818 for x
in $CPPFLAGS; do
12820 acl_save_prefix
="$prefix"
12821 prefix
="$acl_final_prefix"
12822 acl_save_exec_prefix
="$exec_prefix"
12823 exec_prefix
="$acl_final_exec_prefix"
12825 exec_prefix
="$acl_save_exec_prefix"
12826 prefix
="$acl_save_prefix"
12828 if test "X$x" = "X$element"; then
12833 if test -z "$haveit"; then
12834 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12840 $as_echo_n "checking for iconv... " >&6; }
12841 if test "${am_cv_func_iconv+set}" = set; then :
12842 $as_echo_n "(cached) " >&6
12845 am_cv_func_iconv
="no, consider installing GNU libiconv"
12847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12849 #include <stdlib.h>
12854 iconv_t cd = iconv_open("","");
12855 iconv(cd,NULL,NULL,NULL,NULL);
12861 if ac_fn_c_try_link
"$LINENO"; then :
12862 am_cv_func_iconv
=yes
12864 rm -f core conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 if test "$am_cv_func_iconv" != yes; then
12867 am_save_LIBS
="$LIBS"
12868 LIBS
="$LIBS $LIBICONV"
12869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12871 #include <stdlib.h>
12876 iconv_t cd = iconv_open("","");
12877 iconv(cd,NULL,NULL,NULL,NULL);
12883 if ac_fn_c_try_link
"$LINENO"; then :
12884 am_cv_lib_iconv
=yes
12885 am_cv_func_iconv
=yes
12887 rm -f core conftest.err conftest.
$ac_objext \
12888 conftest
$ac_exeext conftest.
$ac_ext
12889 LIBS
="$am_save_LIBS"
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12894 $as_echo "$am_cv_func_iconv" >&6; }
12895 if test "$am_cv_func_iconv" = yes; then
12897 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12900 if test "$am_cv_lib_iconv" = yes; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12902 $as_echo_n "checking how to link with libiconv... " >&6; }
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12904 $as_echo "$LIBICONV" >&6; }
12906 CPPFLAGS
="$am_save_CPPFLAGS"
12913 if test "$am_cv_func_iconv" = yes; then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12915 $as_echo_n "checking for iconv declaration... " >&6; }
12916 if test "${am_cv_proto_iconv+set}" = set; then :
12917 $as_echo_n "(cached) " >&6
12920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12923 #include <stdlib.h>
12929 #if defined(__STDC__) || defined(__cplusplus)
12930 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12943 if ac_fn_c_try_compile
"$LINENO"; then :
12944 am_cv_proto_iconv_arg1
=""
12946 am_cv_proto_iconv_arg1
="const"
12948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12949 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);"
12952 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
12954 }$am_cv_proto_iconv" >&5
12956 }$am_cv_proto_iconv" >&6; }
12958 cat >>confdefs.h
<<_ACEOF
12959 #define ICONV_CONST $am_cv_proto_iconv_arg1
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
12966 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
12967 if test "${am_cv_langinfo_codeset+set}" = set; then :
12968 $as_echo_n "(cached) " >&6
12970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12972 #include <langinfo.h>
12976 char* cs = nl_langinfo(CODESET);
12981 if ac_fn_c_try_link
"$LINENO"; then :
12982 am_cv_langinfo_codeset
=yes
12984 am_cv_langinfo_codeset
=no
12986 rm -f core conftest.err conftest.
$ac_objext \
12987 conftest
$ac_exeext conftest.
$ac_ext
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
12991 $as_echo "$am_cv_langinfo_codeset" >&6; }
12992 if test $am_cv_langinfo_codeset = yes; then
12994 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
12998 if test $ac_cv_header_locale_h = yes; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13001 $as_echo_n "checking for LC_MESSAGES... " >&6; }
13002 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13003 $as_echo_n "(cached) " >&6
13005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13007 #include <locale.h>
13016 if ac_fn_c_try_link
"$LINENO"; then :
13017 am_cv_val_LC_MESSAGES
=yes
13019 am_cv_val_LC_MESSAGES
=no
13021 rm -f core conftest.err conftest.
$ac_objext \
13022 conftest
$ac_exeext conftest.
$ac_ext
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13025 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13026 if test $am_cv_val_LC_MESSAGES = yes; then
13028 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13034 for ac_prog
in bison
13036 # Extract the first word of "$ac_prog", so it can be a program name with args.
13037 set dummy
$ac_prog; ac_word
=$2
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13039 $as_echo_n "checking for $ac_word... " >&6; }
13040 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
13041 $as_echo_n "(cached) " >&6
13043 if test -n "$INTLBISON"; then
13044 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
13046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13047 for as_dir
in $PATH
13050 test -z "$as_dir" && as_dir
=.
13051 for ac_exec_ext
in '' $ac_executable_extensions; do
13052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13053 ac_cv_prog_INTLBISON
="$ac_prog"
13054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13063 INTLBISON
=$ac_cv_prog_INTLBISON
13064 if test -n "$INTLBISON"; then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
13066 $as_echo "$INTLBISON" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13069 $as_echo "no" >&6; }
13073 test -n "$INTLBISON" && break
13076 if test -z "$INTLBISON"; then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
13080 $as_echo_n "checking version of bison... " >&6; }
13081 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13082 case $ac_prog_version in
13083 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
13084 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
13085 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
13086 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
13089 $as_echo "$ac_prog_version" >&6; }
13091 if test $ac_verc_fail = yes; then
13097 # Check whether --with-language was given.
13098 if test "${with_language+set}" = set; then :
13099 withval
=$with_language; if test "$withval" != "all"; then :
13100 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13120 $as_echo_n "checking whether NLS is requested... " >&6; }
13121 # Check whether --enable-nls was given.
13122 if test "${enable_nls+set}" = set; then :
13123 enableval
=$enable_nls; USE_NLS
=$enableval
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13129 $as_echo "$USE_NLS" >&6; }
13133 BUILD_INCLUDED_LIBINTL
=no
13134 USE_INCLUDED_LIBINTL
=no
13140 if test "$USE_NLS" = "yes"; then
13141 gt_use_preinstalled_gnugettext
=no
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
13144 $as_echo_n "checking whether included gettext is requested... " >&6; }
13146 # Check whether --with-included-gettext was given.
13147 if test "${with_included_gettext+set}" = set; then :
13148 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
13150 nls_cv_force_use_gnu_gettext
=no
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
13154 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
13156 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
13157 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13165 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13166 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
13167 $as_echo_n "(cached) " >&6
13169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13171 #include <libintl.h>
13172 extern int _nl_msg_cat_cntr;
13173 extern int *_nl_domain_bindings;
13177 bindtextdomain ("", "");
13178 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
13183 if ac_fn_c_try_link
"$LINENO"; then :
13184 gt_cv_func_gnugettext2_libc
=yes
13186 gt_cv_func_gnugettext2_libc
=no
13188 rm -f core conftest.err conftest.
$ac_objext \
13189 conftest
$ac_exeext conftest.
$ac_ext
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
13192 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
13194 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13200 acl_save_prefix
="$prefix"
13201 prefix
="$acl_final_prefix"
13202 acl_save_exec_prefix
="$exec_prefix"
13203 exec_prefix
="$acl_final_exec_prefix"
13205 eval additional_includedir
=\"$includedir\"
13206 eval additional_libdir
=\"$libdir\"
13208 exec_prefix
="$acl_save_exec_prefix"
13209 prefix
="$acl_save_prefix"
13212 # Check whether --with-libintl-prefix was given.
13213 if test "${with_libintl_prefix+set}" = set; then :
13214 withval
=$with_libintl_prefix;
13215 if test "X$withval" = "Xno"; then
13218 if test "X$withval" = "X"; then
13220 acl_save_prefix
="$prefix"
13221 prefix
="$acl_final_prefix"
13222 acl_save_exec_prefix
="$exec_prefix"
13223 exec_prefix
="$acl_final_exec_prefix"
13225 eval additional_includedir
=\"$includedir\"
13226 eval additional_libdir
=\"$libdir\"
13228 exec_prefix
="$acl_save_exec_prefix"
13229 prefix
="$acl_save_prefix"
13232 additional_includedir
="$withval/include"
13233 additional_libdir
="$withval/lib"
13244 names_already_handled
=
13245 names_next_round
='intl '
13246 while test -n "$names_next_round"; do
13247 names_this_round
="$names_next_round"
13249 for name
in $names_this_round; do
13251 for n
in $names_already_handled; do
13252 if test "$n" = "$name"; then
13253 already_handled
=yes
13257 if test -z "$already_handled"; then
13258 names_already_handled
="$names_already_handled $name"
13259 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13260 eval value
=\"\
$HAVE_LIB$uppername\"
13261 if test -n "$value"; then
13262 if test "$value" = yes; then
13263 eval value
=\"\
$LIB$uppername\"
13264 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13265 eval value
=\"\
$LTLIB$uppername\"
13266 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13275 if test $use_additional = yes; then
13276 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13277 found_dir
="$additional_libdir"
13278 found_so
="$additional_libdir/lib$name.$shlibext"
13279 if test -f "$additional_libdir/lib$name.la"; then
13280 found_la
="$additional_libdir/lib$name.la"
13283 if test -f "$additional_libdir/lib$name.$libext"; then
13284 found_dir
="$additional_libdir"
13285 found_a
="$additional_libdir/lib$name.$libext"
13286 if test -f "$additional_libdir/lib$name.la"; then
13287 found_la
="$additional_libdir/lib$name.la"
13292 if test "X$found_dir" = "X"; then
13293 for x
in $LDFLAGS $LTLIBINTL; do
13295 acl_save_prefix
="$prefix"
13296 prefix
="$acl_final_prefix"
13297 acl_save_exec_prefix
="$exec_prefix"
13298 exec_prefix
="$acl_final_exec_prefix"
13300 exec_prefix
="$acl_save_exec_prefix"
13301 prefix
="$acl_save_prefix"
13305 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13306 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13308 found_so
="$dir/lib$name.$shlibext"
13309 if test -f "$dir/lib$name.la"; then
13310 found_la
="$dir/lib$name.la"
13313 if test -f "$dir/lib$name.$libext"; then
13315 found_a
="$dir/lib$name.$libext"
13316 if test -f "$dir/lib$name.la"; then
13317 found_la
="$dir/lib$name.la"
13323 if test "X$found_dir" != "X"; then
13328 if test "X$found_dir" != "X"; then
13329 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13330 if test "X$found_so" != "X"; then
13331 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13332 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13335 for x
in $ltrpathdirs; do
13336 if test "X$x" = "X$found_dir"; then
13341 if test -z "$haveit"; then
13342 ltrpathdirs
="$ltrpathdirs $found_dir"
13344 if test "$hardcode_direct" = yes; then
13345 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13347 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13348 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13350 for x
in $rpathdirs; do
13351 if test "X$x" = "X$found_dir"; then
13356 if test -z "$haveit"; then
13357 rpathdirs
="$rpathdirs $found_dir"
13361 for x
in $LDFLAGS $LIBINTL; do
13363 acl_save_prefix
="$prefix"
13364 prefix
="$acl_final_prefix"
13365 acl_save_exec_prefix
="$exec_prefix"
13366 exec_prefix
="$acl_final_exec_prefix"
13368 exec_prefix
="$acl_save_exec_prefix"
13369 prefix
="$acl_save_prefix"
13371 if test "X$x" = "X-L$found_dir"; then
13376 if test -z "$haveit"; then
13377 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13379 if test "$hardcode_minus_L" != no
; then
13380 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13382 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13388 if test "X$found_a" != "X"; then
13389 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13391 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13394 additional_includedir
=
13395 case "$found_dir" in
13397 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13398 additional_includedir
="$basedir/include"
13401 if test "X$additional_includedir" != "X"; then
13402 if test "X$additional_includedir" != "X/usr/include"; then
13404 if test "X$additional_includedir" = "X/usr/local/include"; then
13405 if test -n "$GCC"; then
13407 linux
*) haveit
=yes;;
13411 if test -z "$haveit"; then
13412 for x
in $CPPFLAGS $INCINTL; do
13414 acl_save_prefix
="$prefix"
13415 prefix
="$acl_final_prefix"
13416 acl_save_exec_prefix
="$exec_prefix"
13417 exec_prefix
="$acl_final_exec_prefix"
13419 exec_prefix
="$acl_save_exec_prefix"
13420 prefix
="$acl_save_prefix"
13422 if test "X$x" = "X-I$additional_includedir"; then
13427 if test -z "$haveit"; then
13428 if test -d "$additional_includedir"; then
13429 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13435 if test -n "$found_la"; then
13436 save_libdir
="$libdir"
13437 case "$found_la" in
13438 */* |
*\\*) .
"$found_la" ;;
13439 *) .
"./$found_la" ;;
13441 libdir
="$save_libdir"
13442 for dep
in $dependency_libs; do
13445 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13446 if test "X$additional_libdir" != "X/usr/lib"; then
13448 if test "X$additional_libdir" = "X/usr/local/lib"; then
13449 if test -n "$GCC"; then
13451 linux
*) haveit
=yes;;
13455 if test -z "$haveit"; then
13457 for x
in $LDFLAGS $LIBINTL; do
13459 acl_save_prefix
="$prefix"
13460 prefix
="$acl_final_prefix"
13461 acl_save_exec_prefix
="$exec_prefix"
13462 exec_prefix
="$acl_final_exec_prefix"
13464 exec_prefix
="$acl_save_exec_prefix"
13465 prefix
="$acl_save_prefix"
13467 if test "X$x" = "X-L$additional_libdir"; then
13472 if test -z "$haveit"; then
13473 if test -d "$additional_libdir"; then
13474 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13478 for x
in $LDFLAGS $LTLIBINTL; do
13480 acl_save_prefix
="$prefix"
13481 prefix
="$acl_final_prefix"
13482 acl_save_exec_prefix
="$exec_prefix"
13483 exec_prefix
="$acl_final_exec_prefix"
13485 exec_prefix
="$acl_save_exec_prefix"
13486 prefix
="$acl_save_prefix"
13488 if test "X$x" = "X-L$additional_libdir"; then
13493 if test -z "$haveit"; then
13494 if test -d "$additional_libdir"; then
13495 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13502 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13503 if test "$enable_rpath" != no
; then
13505 for x
in $rpathdirs; do
13506 if test "X$x" = "X$dir"; then
13511 if test -z "$haveit"; then
13512 rpathdirs
="$rpathdirs $dir"
13515 for x
in $ltrpathdirs; do
13516 if test "X$x" = "X$dir"; then
13521 if test -z "$haveit"; then
13522 ltrpathdirs
="$ltrpathdirs $dir"
13527 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13530 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13533 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13534 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13540 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13541 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13547 if test "X$rpathdirs" != "X"; then
13548 if test -n "$hardcode_libdir_separator"; then
13550 for found_dir
in $rpathdirs; do
13551 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13553 acl_save_libdir
="$libdir"
13555 eval flag
=\"$hardcode_libdir_flag_spec\"
13556 libdir
="$acl_save_libdir"
13557 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13559 for found_dir
in $rpathdirs; do
13560 acl_save_libdir
="$libdir"
13561 libdir
="$found_dir"
13562 eval flag
=\"$hardcode_libdir_flag_spec\"
13563 libdir
="$acl_save_libdir"
13564 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13568 if test "X$ltrpathdirs" != "X"; then
13569 for found_dir
in $ltrpathdirs; do
13570 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13575 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13576 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
13577 $as_echo_n "(cached) " >&6
13579 gt_save_CPPFLAGS
="$CPPFLAGS"
13580 CPPFLAGS
="$CPPFLAGS $INCINTL"
13581 gt_save_LIBS
="$LIBS"
13582 LIBS
="$LIBS $LIBINTL"
13583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 #include <libintl.h>
13586 extern int _nl_msg_cat_cntr;
13591 const char *_nl_expand_alias ();
13595 bindtextdomain ("", "");
13596 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13601 if ac_fn_c_try_link
"$LINENO"; then :
13602 gt_cv_func_gnugettext2_libintl
=yes
13604 gt_cv_func_gnugettext2_libintl
=no
13606 rm -f core conftest.err conftest.
$ac_objext \
13607 conftest
$ac_exeext conftest.
$ac_ext
13608 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13609 LIBS
="$LIBS $LIBICONV"
13610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13612 #include <libintl.h>
13613 extern int _nl_msg_cat_cntr;
13618 const char *_nl_expand_alias ();
13622 bindtextdomain ("", "");
13623 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13628 if ac_fn_c_try_link
"$LINENO"; then :
13629 LIBINTL
="$LIBINTL $LIBICONV"
13630 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13631 gt_cv_func_gnugettext2_libintl
=yes
13634 rm -f core conftest.err conftest.
$ac_objext \
13635 conftest
$ac_exeext conftest.
$ac_ext
13637 CPPFLAGS
="$gt_save_CPPFLAGS"
13638 LIBS
="$gt_save_LIBS"
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
13641 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
13644 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13645 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
13646 && test "$PACKAGE" != gettext; }; then
13647 gt_use_preinstalled_gnugettext
=yes
13655 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13656 nls_cv_use_gnu_gettext
=yes
13660 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13661 INTLOBJS
="\$(GETTOBJS)"
13662 BUILD_INCLUDED_LIBINTL
=yes
13663 USE_INCLUDED_LIBINTL
=yes
13664 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13665 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13666 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13669 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13670 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13675 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13676 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13678 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13685 if test "$USE_NLS" = "yes"; then
13687 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13688 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13690 $as_echo_n "checking how to link with libintl... " >&6; }
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13692 $as_echo "$LIBINTL" >&6; }
13694 for element
in $INCINTL; do
13696 for x
in $CPPFLAGS; do
13698 acl_save_prefix
="$prefix"
13699 prefix
="$acl_final_prefix"
13700 acl_save_exec_prefix
="$exec_prefix"
13701 exec_prefix
="$acl_final_exec_prefix"
13703 exec_prefix
="$acl_save_exec_prefix"
13704 prefix
="$acl_save_prefix"
13706 if test "X$x" = "X$element"; then
13711 if test -z "$haveit"; then
13712 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13719 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13722 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13730 if test "$PACKAGE" = gettext; then
13731 BUILD_INCLUDED_LIBINTL
=yes
13739 nls_cv_header_intl
=
13740 nls_cv_header_libgt
=
13751 INTL_LIBTOOL_SUFFIX_PREFIX
=
13755 INTLLIBS
="$LIBINTL"
13762 if test $USE_INCLUDED_LIBINTL = yes; then :
13763 INCINTL
=-I\
${top_builddir}/intl
13766 if test x
$USE_NLS = xyes
; then :
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
13769 $as_echo_n "checking for autopoint... " >&6; }
13770 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
13771 if test -n "$autopoint_version"; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
13774 $as_echo "yes ($autopoint_version)" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 $as_echo "no" >&6; }
13786 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13788 You need to install GNU gettext/gettext-tools to compile aMule with
13790 $as_echo "$as_me: WARNING:
13791 You need to install GNU gettext/gettext-tools to compile aMule with
13792 i18n support." >&2;}
13793 _mule_warning_9
=yes
13794 _mule_has_warnings
=yes
13798 if test ${USE_NLS:-no} = yes; then :
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
13801 $as_echo_n "checking for requested languages... " >&6; }
13802 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
13804 if test ${enable_amule_daemon:-no} = yes; then :
13806 if test -z "$LINGUAS"; then :
13807 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
13810 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13811 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
13814 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
13817 AMULE_DAEMON_MANPAGES
=
13822 if test ${enable_amulecmd:-no} = yes; then :
13824 if test -z "$LINGUAS"; then :
13825 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
13828 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13829 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
13832 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
13840 if test ${enable_webserver:-no} = yes; then :
13842 if test -z "$LINGUAS"; then :
13843 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
13846 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13847 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
13850 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
13853 WEBSERVER_MANPAGES
=
13858 if test ${enable_amule_gui:-no} = yes; then :
13860 if test -z "$LINGUAS"; then :
13861 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
13864 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13865 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
13868 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
13871 AMULE_GUI_MANPAGES
=
13876 if test ${enable_cas:-no} = yes; then :
13878 if test -z "$LINGUAS"; then :
13879 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
13882 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13883 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
13886 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
13894 if test ${enable_wxcas:-no} = yes; then :
13896 if test -z "$LINGUAS"; then :
13897 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
13900 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13901 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
13904 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
13912 if test ${enable_ed2k:-yes} = yes; then :
13914 if test -z "$LINGUAS"; then :
13915 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
13918 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13919 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
13922 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
13930 if test ${enable_alc:-no} = yes; then :
13932 if test -z "$LINGUAS"; then :
13933 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
13936 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13937 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
13940 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
13948 if test ${enable_alcc:-no} = yes; then :
13950 if test -z "$LINGUAS"; then :
13951 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
13954 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13955 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
13958 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
13966 if test ${enable_monolithic:-yes} = yes; then :
13968 if test -z "$LINGUAS"; then :
13969 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
13972 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13973 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
13976 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
13979 MONOLITHIC_MANPAGES
=
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
13984 $as_echo "${LINGUAS:-all}" >&6; }
13990 # Check for bfd.h (to have proper backtraces without using wxExecute)
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
13993 $as_echo_n "checking for bfd... " >&6; }
13995 for bfd_ldadd
in "" "${LIBINTL}" "-ldl" "-ldl ${LIBINTL}"; do
13996 mule_backup_LIBS
="$LIBS"
13997 mule_backup_LDFLAGS
="$LDFLAGS"
13998 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
13999 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14004 #include <ansidecl.h>
14011 char *dummy = bfd_errmsg(bfd_get_error());
14018 if ac_fn_c_try_link
"$LINENO"; then :
14021 BFD_CPPFLAGS
="-DHAVE_BFD"
14022 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
14023 LIBS
="$mule_backup_LIBS"
14024 LDFLAGS
="$mule_backup_LDFLAGS"
14028 rm -f core conftest.err conftest.
$ac_objext \
14029 conftest
$ac_exeext conftest.
$ac_ext
14030 LIBS
="$mule_backup_LIBS"
14031 LDFLAGS
="$mule_backup_LDFLAGS"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14035 $as_echo "$result" >&6; }
14037 if test $result = no
; then :
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14039 bfd.h not found or unusable, please install binutils development
14040 package if you are a developer or want to help testing aMule" >&5
14041 $as_echo "$as_me: WARNING:
14042 bfd.h not found or unusable, please install binutils development
14043 package if you are a developer or want to help testing aMule" >&2;}
14044 _mule_warning_10
=yes
14045 _mule_has_warnings
=yes
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
14052 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
14053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14057 #include <execinfo.h>
14064 int n = backtrace(&bt, 1);
14065 const char **bt_syms = backtrace_symbols(bt, n);
14072 if ac_fn_c_try_link
"$LINENO"; then :
14075 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14078 $as_echo "yes" >&6; }
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14083 $as_echo "no" >&6; }
14086 rm -f core conftest.err conftest.
$ac_objext \
14087 conftest
$ac_exeext conftest.
$ac_ext
14090 # Flush standard test results for speeding cache
14091 cat >confcache
<<\_ACEOF
14092 # This file is a shell script that caches the results of configure
14093 # tests run on this system so they can be shared between configure
14094 # scripts and configure runs, see configure's option --config-cache.
14095 # It is not useful on other systems. If it contains results you don't
14096 # want to keep, you may remove or edit it.
14098 # config.status only pays attention to the cache file if you give it
14099 # the --recheck option to rerun configure.
14101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14103 # following values.
14107 # The following way of writing the cache mishandles newlines in values,
14108 # but we know of no workaround that is simple, portable, and efficient.
14109 # So, we kill variables containing newlines.
14110 # Ultrix sh set writes to stderr and can't be redirected directly,
14111 # and sets the high bit in the cache file unless we assign to the vars.
14113 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14114 eval ac_val
=\$
$ac_var
14118 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14122 _ | IFS | as_nl
) ;; #(
14123 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14124 *) { eval $ac_var=; unset $ac_var;} ;;
14130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14131 *${as_nl}ac_space
=\
*)
14132 # `set' does not quote correctly, so add quotes: double-quote
14133 # substitution turns \\\\ into \\, and sed turns \\ into \.
14136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14139 # `set' quotes correctly as required by POSIX, so do not add quotes.
14140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14153 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14154 if test -w "$cache_file"; then
14155 test "x$cache_file" != "x/dev/null" &&
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14157 $as_echo "$as_me: updating cache $cache_file" >&6;}
14158 cat confcache
>$cache_file
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14169 # Check whether --enable-debug was given.
14170 if test "${enable_debug+set}" = set; then :
14171 enableval
=$enable_debug;
14175 # Check whether --enable-profile was given.
14176 if test "${enable_profile+set}" = set; then :
14177 enableval
=$enable_profile;
14181 # Check whether --enable-optimize was given.
14182 if test "${enable_optimize+set}" = set; then :
14183 enableval
=$enable_optimize;
14188 if test ${enable_debug:-yes} = yes; then :
14190 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
14192 MULECFLAGS
="$MULECFLAGS -g"
14193 MULECXXFLAGS
="$MULECXXFLAGS -g"
14195 if test ${GCC:-no} = yes; then :
14197 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14198 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14201 if test ${SYS:-unknown} = win32
; then :
14202 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
14207 if test ${GCC:-no} = yes; then :
14209 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
14210 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
14216 if test ${enable_profile:-no} = yes; then :
14219 MULECFLAGS
="$MULECFLAGS -pg"
14220 MULECXXFLAGS
="$MULECXXFLAGS -pg"
14222 MULELDFLAGS
="$MULELDFLAGS -pg"
14226 if test ${enable_optimize:-no} = yes; then :
14228 MULECFLAGS
="$MULECFLAGS -O2"
14229 MULECXXFLAGS
="$MULECXXFLAGS -O2"
14233 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
14236 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
14238 $as_echo_n "checking for docdir... " >&6; }
14239 if test -z "$docdir"; then :
14240 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
14243 $as_echo "$docdir" >&6; }
14245 # Try to set the SVN checkout-date
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
14247 $as_echo_n "checking for SVNDATE... " >&6; }
14248 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
14250 svndate
="rev. `cat $srcdir/.svn-revision`"
14251 elif test -d $srcdir/.svn
# SVNDATE for svn
14253 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
14256 $as_echo "${svndate:-None required}" >&6; }
14257 if test -n "$svndate"; then :
14260 cat >>confdefs.h
<<_ACEOF
14261 #define SVNDATE "$svndate"
14264 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
14271 # Check whether --with-denoise-level was given.
14272 if test "${with_denoise_level+set}" = set; then :
14273 withval
=$with_denoise_level;
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
14278 $as_echo_n "checking denoising level... " >&6; }
14279 if test ${with_denoise_level:-5} = yes; then :
14280 with_denoise_level
=5
14282 if test ${with_denoise_level:-5} = no
; then :
14283 with_denoise_level
=0
14285 if test ${with_denoise_level:-5} -gt 4; then :
14286 if test "${svndate:+set}" = "set"; then :
14287 with_denoise_level
=0
14289 with_denoise_level
=4
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
14293 $as_echo "$with_denoise_level" >&6; }
14295 ac_config_commands
="$ac_config_commands denoiser"
14299 if test ${enable_plasmamule:-no} = yes; then :
14302 if test -z ${QT_MOC}; then :
14304 for ac_prog
in moc-qt4 moc
14306 # Extract the first word of "$ac_prog", so it can be a program name with args.
14307 set dummy
$ac_prog; ac_word
=$2
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14309 $as_echo_n "checking for $ac_word... " >&6; }
14310 if test "${ac_cv_path_QT_MOC+set}" = set; then :
14311 $as_echo_n "(cached) " >&6
14315 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
14318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14319 for as_dir
in $PATH
14322 test -z "$as_dir" && as_dir
=.
14323 for ac_exec_ext
in '' $ac_executable_extensions; do
14324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14325 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
14326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14336 QT_MOC
=$ac_cv_path_QT_MOC
14337 if test -n "$QT_MOC"; then
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
14339 $as_echo "$QT_MOC" >&6; }
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342 $as_echo "no" >&6; }
14346 test -n "$QT_MOC" && break
14349 if test -z ${QT_MOC}; then :
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
14359 $as_echo_n "checking for moc... " >&6; }
14360 if test -x ${QT_MOC}; then :
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
14363 $as_echo "${QT_MOC}" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
14369 $as_echo "\"not found\"" >&6; }
14378 if test "${QT_MOC}" != "not found"; then :
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
14381 $as_echo_n "checking for moc version >= 4... " >&6; }
14382 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
14383 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
14386 $as_echo "found ${QT_MOC_VERSION}" >&6; }
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
14391 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
14399 if test "${QT_MOC}" = "not found"; then :
14400 enable_plasmamule
=disabled
14403 if test ${enable_plasmamule:-no} = yes; then :
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
14408 $as_echo_n "checking for qt... " >&6; }
14409 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14412 $as_echo "found" >&6; }
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
14414 $as_echo_n "checking for qt core cflags... " >&6; }
14415 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
14417 $as_echo "$QT_CORE_CFLAGS" >&6; }
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
14419 $as_echo_n "checking for qt core libs... " >&6; }
14420 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
14422 $as_echo "$QT_CORE_LIBS" >&6; }
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
14424 $as_echo_n "checking for qt gui cflags... " >&6; }
14425 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
14427 $as_echo "$QT_GUI_CFLAGS" >&6; }
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
14429 $as_echo_n "checking for qt gui libs... " >&6; }
14430 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
14432 $as_echo "$QT_GUI_LIBS" >&6; }
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14436 $as_echo "not found" >&6; }
14441 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
14443 QT_DBUS_LDFLAGS
="-lQtDBus"
14453 if test -z "${QT_CORE_CXXFLAGS}"; then :
14454 enable_plasmamule
=disabled
14459 if test ${enable_plasmamule:-no} = yes; then :
14462 if test -z ${KDE4_CONFIG}; then :
14464 # Extract the first word of "kde4-config", so it can be a program name with args.
14465 set dummy kde4-config
; ac_word
=$2
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14467 $as_echo_n "checking for $ac_word... " >&6; }
14468 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
14469 $as_echo_n "(cached) " >&6
14471 case $KDE4_CONFIG in
14473 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
14476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14477 for as_dir
in $PATH
14480 test -z "$as_dir" && as_dir
=.
14481 for ac_exec_ext
in '' $ac_executable_extensions; do
14482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14483 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14494 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
14495 if test -n "$KDE4_CONFIG"; then
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
14497 $as_echo "$KDE4_CONFIG" >&6; }
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14500 $as_echo "no" >&6; }
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
14508 $as_echo_n "checking for kde4-config... " >&6; }
14509 if test ! -x KDE4_CONFIG
; then :
14511 KDE4_CONFIG
="not found"
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14513 $as_echo "not found" >&6; }
14520 if test "${KDE4_CONFIG}" != "not found"; then :
14522 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
14523 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
14526 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
14531 $as_echo "at least version
4 required
" >&6; }
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14539 $as_echo "not found
" >&6; }
14545 if test "${KDE4_CONFIG}" = "not found
"; then :
14546 enable_plasmamule=disabled
14551 if test ${enable_plasmamule:-no} = yes; then :
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
14555 $as_echo_n "checking
for kde4 headers...
" >&6; }
14556 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
14558 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
14560 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
14563 $as_echo "${KDE_HEADER_DIR}" >&6; }
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
14568 $as_echo "dataengine.h not found
" >&6; }
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
14576 $as_echo "kdirwatch.h not found
" >&6; }
14582 if test -z ${KDE_HEADER_DIR}; then :
14583 enable_plasmamule=disabled
14588 if test ${enable_plasmamule:-no} = yes; then :
14590 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
14591 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
14596 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
14597 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14602 if test ${KDE_IN_HOME} = "yes"; then :
14604 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14608 if test -n ${prefix}; then :
14610 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
14611 if test -n ${KDE_APPLNK_PATH}; then :
14613 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14619 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
14625 $as_echo "${KDE_APPLNK_PATH}" >&6; }
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
14631 $as_echo_n "checking
for kde4 services Path...
" >&6; }
14632 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14637 if test ${KDE_IN_HOME} = "yes"; then :
14639 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14643 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
14647 $as_echo "${KDE_SERVICE_PATH}" >&6; }
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
14653 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
14654 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14659 if test ${KDE_IN_HOME} = "yes"; then :
14661 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14665 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
14669 $as_echo "${KDE_MODULE_PATH}" >&6; }
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
14675 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
14676 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14681 if test ${KDE_IN_HOME} = "yes"; then :
14683 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14687 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
14690 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
14692 $as_echo "${KDE_ICON_PATH}" >&6; }
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
14698 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
14699 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14704 if test ${KDE_IN_HOME} = "yes"; then :
14706 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14710 if test -n ${prefix}; then :
14712 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
14713 if test -n ${KDE_MIME_PATH}; then :
14715 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14721 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
14727 $as_echo "${KDE_MIME_PATH}" >&6; }
14732 enable_plasmamule=disabled
14737 if test ${enable_plasmamule:-no} = yes; then :
14739 if test -z ${DEB_HOST_ARCH}; then :
14742 for ac_prog in kbuildsycoca4 kbuildsycoca
14744 # Extract the first word of "$ac_prog", so it can be a program name with args.
14745 set dummy $ac_prog; ac_word=$2
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14747 $as_echo_n "checking
for $ac_word...
" >&6; }
14748 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
14749 $as_echo_n "(cached
) " >&6
14751 case $KBUILDSYCOCA in
14753 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
14756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14757 for as_dir in $PATH
14760 test -z "$as_dir" && as_dir=.
14761 for ac_exec_ext in '' $ac_executable_extensions; do
14762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14763 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
14764 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14774 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
14775 if test -n "$KBUILDSYCOCA"; then
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
14777 $as_echo "$KBUILDSYCOCA" >&6; }
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14780 $as_echo "no
" >&6; }
14784 test -n "$KBUILDSYCOCA" && break
14788 if test -z ${KBUILDSYCOCA}; then :
14790 echo "No tool
for KDE Systemcache Management found
"
14797 # Extract the first word of "update-mime-database
", so it can be a program name with args.
14798 set dummy update-mime-database; ac_word=$2
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14800 $as_echo_n "checking
for $ac_word...
" >&6; }
14801 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
14802 $as_echo_n "(cached
) " >&6
14804 case $UPDATE_MIME_DATABASE in
14806 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
14809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14810 for as_dir in $PATH
14813 test -z "$as_dir" && as_dir=.
14814 for ac_exec_ext in '' $ac_executable_extensions; do
14815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14816 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14827 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14828 if test -n "$UPDATE_MIME_DATABASE"; then
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
14830 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14833 $as_echo "no
" >&6; }
14838 if test -z ${UPDATE_MIME_DATABASE}; then :
14840 echo "No tool
for MIME Datanase Management found
"
14847 USER_INSTALL_HOOK="USER_INSTALL
"
14855 if test ${enable_debug:-yes} = yes; then :
14857 DEBUGFLAG="-D__DEBUG__"
14864 if test x$SYS = xwin32; then
14866 SYS_WIN32_FALSE='#'
14872 if test x$SYS = xwin32 -a "$RC" != ":"; then
14880 if test x$SYS = xdarwin; then
14881 NEED_CORESERVICES_TRUE=
14882 NEED_CORESERVICES_FALSE='#'
14884 NEED_CORESERVICES_TRUE='#'
14885 NEED_CORESERVICES_FALSE=
14888 if test x$USE_NLS = xyes; then
14890 COMPILE_NLS_FALSE='#'
14892 COMPILE_NLS_TRUE='#'
14896 if test x$HAVE_FLEX_EXTENDED = xyes; then
14897 GENERATE_FLEX_HEADER_TRUE=
14898 GENERATE_FLEX_HEADER_FALSE='#'
14900 GENERATE_FLEX_HEADER_TRUE='#'
14901 GENERATE_FLEX_HEADER_FALSE=
14904 if test x$INSTALL_SKINS = xyes; then
14905 INSTALL_SKINS_TRUE=
14906 INSTALL_SKINS_FALSE='#'
14908 INSTALL_SKINS_TRUE='#'
14909 INSTALL_SKINS_FALSE=
14912 if test ${enable_plasmamule:-no} = yes; then
14914 PLASMAMULE_FALSE='#'
14916 PLASMAMULE_TRUE='#'
14921 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
14922 COMPILE_LIB_COMMON_TRUE=
14923 COMPILE_LIB_COMMON_FALSE='#'
14925 COMPILE_LIB_COMMON_TRUE='#'
14926 COMPILE_LIB_COMMON_FALSE=
14929 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
14930 COMPILE_LIB_EC_TRUE=
14931 COMPILE_LIB_EC_FALSE='#'
14933 COMPILE_LIB_EC_TRUE='#'
14934 COMPILE_LIB_EC_FALSE=
14938 # Check for readline library
14939 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
14942 $as_echo_n "checking
for a readline compatible library...
" >&6; }
14943 if test "${vl_cv_lib_readline+set}" = set; then :
14944 $as_echo_n "(cached
) " >&6
14948 for readline_lib in readline edit editline; do
14949 for termcap_lib in "" termcap curses ncurses; do
14950 if test -z "$termcap_lib"; then
14951 TRY_LIB="-l$readline_lib"
14953 TRY_LIB="-l$readline_lib -l$termcap_lib"
14955 LIBS="$ORIG_LIBS $TRY_LIB"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14969 return readline ();
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 vl_cv_lib_readline="$TRY_LIB"
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext conftest.$ac_ext
14979 if test -n "$vl_cv_lib_readline"; then
14983 if test -n "$vl_cv_lib_readline"; then
14987 if test -z "$vl_cv_lib_readline"; then
14988 vl_cv_lib_readline="no
"
14992 READLINE_LIBS="$vl_cv_lib_readline"
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
14997 $as_echo "$vl_cv_lib_readline" >&6; }
14999 if test "$vl_cv_lib_readline" != "no
"; then
15001 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
15003 for ac_header
in readline.h readline
/readline.h
15005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15006 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15007 eval as_val
=\$
$as_ac_Header
15008 if test "x$as_val" = x
""yes; then :
15009 cat >>confdefs.h
<<_ACEOF
15010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
15018 $as_echo_n "checking whether readline supports history... " >&6; }
15019 if test "${vl_cv_lib_readline_history+set}" = set; then :
15020 $as_echo_n "(cached) " >&6
15023 vl_cv_lib_readline_history
="no"
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15033 char add_history ();
15037 return add_history ();
15042 if ac_fn_c_try_link
"$LINENO"; then :
15043 vl_cv_lib_readline_history
="yes"
15045 rm -f core conftest.err conftest.
$ac_objext \
15046 conftest
$ac_exeext conftest.
$ac_ext
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
15050 $as_echo "$vl_cv_lib_readline_history" >&6; }
15051 if test "$vl_cv_lib_readline_history" = "yes"; then
15053 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
15055 for ac_header
in history.h readline
/history.h
15057 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15058 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15059 eval as_val
=\$
$as_ac_Header
15060 if test "x$as_val" = x
""yes; then :
15061 cat >>confdefs.h
<<_ACEOF
15062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15076 if test ${PLASMAMULE:-no} = yes; then :
15079 if test -z ${QT_MOC}; then :
15081 for ac_prog
in moc-qt4 moc
15083 # Extract the first word of "$ac_prog", so it can be a program name with args.
15084 set dummy
$ac_prog; ac_word
=$2
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15086 $as_echo_n "checking for $ac_word... " >&6; }
15087 if test "${ac_cv_path_QT_MOC+set}" = set; then :
15088 $as_echo_n "(cached) " >&6
15092 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15096 for as_dir
in $PATH
15099 test -z "$as_dir" && as_dir
=.
15100 for ac_exec_ext
in '' $ac_executable_extensions; do
15101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15102 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15113 QT_MOC
=$ac_cv_path_QT_MOC
15114 if test -n "$QT_MOC"; then
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15116 $as_echo "$QT_MOC" >&6; }
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15119 $as_echo "no" >&6; }
15123 test -n "$QT_MOC" && break
15126 if test -z ${QT_MOC}; then :
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15136 $as_echo_n "checking for moc... " >&6; }
15137 if test -x ${QT_MOC}; then :
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15140 $as_echo "${QT_MOC}" >&6; }
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15146 $as_echo "\"not found\"" >&6; }
15155 if test "${QT_MOC}" != "not found"; then :
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15158 $as_echo_n "checking for moc version >= 4... " >&6; }
15159 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15160 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15163 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15168 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15176 if test "${QT_MOC}" = "not found"; then :
15177 enable_plasmamule
=disabled
15180 if test ${enable_plasmamule:-no} = yes; then :
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15185 $as_echo_n "checking for qt... " >&6; }
15186 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15189 $as_echo "found" >&6; }
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15191 $as_echo_n "checking for qt core cflags... " >&6; }
15192 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15194 $as_echo "$QT_CORE_CFLAGS" >&6; }
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15196 $as_echo_n "checking for qt core libs... " >&6; }
15197 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15199 $as_echo "$QT_CORE_LIBS" >&6; }
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15201 $as_echo_n "checking for qt gui cflags... " >&6; }
15202 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15204 $as_echo "$QT_GUI_CFLAGS" >&6; }
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15206 $as_echo_n "checking for qt gui libs... " >&6; }
15207 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15209 $as_echo "$QT_GUI_LIBS" >&6; }
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15213 $as_echo "not found" >&6; }
15218 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
15220 QT_DBUS_LDFLAGS
="-lQtDBus"
15230 if test -z "${QT_CORE_CXXFLAGS}"; then :
15231 enable_plasmamule
=disabled
15236 if test ${enable_plasmamule:-no} = yes; then :
15239 if test -z ${KDE4_CONFIG}; then :
15241 # Extract the first word of "kde4-config", so it can be a program name with args.
15242 set dummy kde4-config
; ac_word
=$2
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15244 $as_echo_n "checking for $ac_word... " >&6; }
15245 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
15246 $as_echo_n "(cached) " >&6
15248 case $KDE4_CONFIG in
15250 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15254 for as_dir
in $PATH
15257 test -z "$as_dir" && as_dir
=.
15258 for ac_exec_ext
in '' $ac_executable_extensions; do
15259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15260 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15271 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15272 if test -n "$KDE4_CONFIG"; then
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15274 $as_echo "$KDE4_CONFIG" >&6; }
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15277 $as_echo "no" >&6; }
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15285 $as_echo_n "checking for kde4-config... " >&6; }
15286 if test ! -x KDE4_CONFIG
; then :
15288 KDE4_CONFIG
="not found"
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15290 $as_echo "not found" >&6; }
15297 if test "${KDE4_CONFIG}" != "not found"; then :
15299 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15300 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15303 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15308 $as_echo "at least version
4 required
" >&6; }
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15316 $as_echo "not found
" >&6; }
15322 if test "${KDE4_CONFIG}" = "not found
"; then :
15323 enable_plasmamule=disabled
15328 if test ${enable_plasmamule:-no} = yes; then :
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15332 $as_echo_n "checking
for kde4 headers...
" >&6; }
15333 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15335 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15337 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15340 $as_echo "${KDE_HEADER_DIR}" >&6; }
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15345 $as_echo "dataengine.h not found
" >&6; }
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15353 $as_echo "kdirwatch.h not found
" >&6; }
15359 if test -z ${KDE_HEADER_DIR}; then :
15360 enable_plasmamule=disabled
15365 if test ${enable_plasmamule:-no} = yes; then :
15367 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15368 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15373 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15374 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15379 if test ${KDE_IN_HOME} = "yes"; then :
15381 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15385 if test -n ${prefix}; then :
15387 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15388 if test -n ${KDE_APPLNK_PATH}; then :
15390 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15396 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15402 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15408 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15409 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15414 if test ${KDE_IN_HOME} = "yes"; then :
15416 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15420 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15424 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15430 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15431 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15436 if test ${KDE_IN_HOME} = "yes"; then :
15438 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15442 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15446 $as_echo "${KDE_MODULE_PATH}" >&6; }
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15452 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15453 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15458 if test ${KDE_IN_HOME} = "yes"; then :
15460 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15464 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15467 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15469 $as_echo "${KDE_ICON_PATH}" >&6; }
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15475 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15476 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15481 if test ${KDE_IN_HOME} = "yes"; then :
15483 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15487 if test -n ${prefix}; then :
15489 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15490 if test -n ${KDE_MIME_PATH}; then :
15492 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15498 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15504 $as_echo "${KDE_MIME_PATH}" >&6; }
15509 enable_plasmamule=disabled
15514 if test ${enable_plasmamule:-no} = yes; then :
15516 if test -z ${DEB_HOST_ARCH}; then :
15519 for ac_prog in kbuildsycoca4 kbuildsycoca
15521 # Extract the first word of "$ac_prog", so it can be a program name with args.
15522 set dummy $ac_prog; ac_word=$2
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15524 $as_echo_n "checking
for $ac_word...
" >&6; }
15525 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
15526 $as_echo_n "(cached
) " >&6
15528 case $KBUILDSYCOCA in
15530 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
15533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15534 for as_dir in $PATH
15537 test -z "$as_dir" && as_dir=.
15538 for ac_exec_ext in '' $ac_executable_extensions; do
15539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15540 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
15541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15551 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
15552 if test -n "$KBUILDSYCOCA"; then
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
15554 $as_echo "$KBUILDSYCOCA" >&6; }
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15557 $as_echo "no
" >&6; }
15561 test -n "$KBUILDSYCOCA" && break
15565 if test -z ${KBUILDSYCOCA}; then :
15567 echo "No tool
for KDE Systemcache Management found
"
15574 # Extract the first word of "update-mime-database
", so it can be a program name with args.
15575 set dummy update-mime-database; ac_word=$2
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15577 $as_echo_n "checking
for $ac_word...
" >&6; }
15578 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
15579 $as_echo_n "(cached
) " >&6
15581 case $UPDATE_MIME_DATABASE in
15583 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15587 for as_dir in $PATH
15590 test -z "$as_dir" && as_dir=.
15591 for ac_exec_ext in '' $ac_executable_extensions; do
15592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15593 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15604 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15605 if test -n "$UPDATE_MIME_DATABASE"; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
15607 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15610 $as_echo "no
" >&6; }
15615 if test -z ${UPDATE_MIME_DATABASE}; then :
15617 echo "No tool
for MIME Datanase Management found
"
15624 USER_INSTALL_HOOK="USER_INSTALL
"
15632 if test ${enable_debug:-yes} = yes; then :
15634 DEBUGFLAG="-D__DEBUG__"
15641 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
15644 # Check whether --enable-ccache was given.
15645 if test "${enable_ccache+set}" = set; then :
15646 enableval=$enable_ccache;
15652 # Check whether --with-ccache-prefix was given.
15653 if test "${with_ccache_prefix+set}" = set; then :
15654 withval=$with_ccache_prefix;
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added
" >&5
15659 $as_echo_n "checking whether ccache support should be added...
" >&6; }
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15661 $as_echo "${enable_ccache:-no}" >&6; }
15663 if test ${enable_ccache:-no} = yes; then :
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ccache presence
" >&5
15666 $as_echo_n "checking
for ccache presence...
" >&6; }
15667 if test -z "$with_ccache_prefix"; then :
15669 ccache_full=`which ccache`
15670 with_ccache_prefix=`dirname ${ccache_full}`
15673 if $with_ccache_prefix/ccache -V >/dev/null 2>&1; then :
15675 CC="$with_ccache_prefix/ccache
$CC"
15676 CXX="$with_ccache_prefix/ccache
$CXX"
15677 BUILD_CC="$with_ccache_prefix/ccache
$BUILD_CC"
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15683 $as_echo "${enable_ccache:-no}" >&6; }
15688 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
"
15690 ac_config_files="$ac_config_files po
/Makefile.
in Compilation.flags
"
15692 if test x$SYS = xwin32; then :
15693 ac_config_files="$ac_config_files version.rc
"
15696 cat >confcache <<\_ACEOF
15697 # This file is a shell script that caches the results of configure
15698 # tests run on this system so they can be shared between configure
15699 # scripts and configure runs, see configure's option --config-cache.
15700 # It is not useful on other systems. If it contains results you don't
15701 # want to keep, you may remove or edit it.
15703 # config.status only pays attention to the cache file if you give it
15704 # the --recheck option to rerun configure.
15706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15708 # following values.
15712 # The following way of writing the cache mishandles newlines in values,
15713 # but we know of no workaround that is simple, portable, and efficient.
15714 # So, we kill variables containing newlines.
15715 # Ultrix sh set writes to stderr and can't be redirected directly,
15716 # and sets the high bit in the cache file unless we assign to the vars.
15718 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15719 eval ac_val=\$$ac_var
15723 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15724 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15727 _ | IFS | as_nl) ;; #(
15728 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15729 *) { eval $ac_var=; unset $ac_var;} ;;
15735 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15736 *${as_nl}ac_space=\ *)
15737 # `set' does not quote correctly, so add quotes: double-quote
15738 # substitution turns \\\\ into \\, and sed turns \\ into \.
15741 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15744 # `set' quotes correctly as required by POSIX, so do not add quotes.
15745 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15758 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15759 if test -w "$cache_file"; then
15760 test "x
$cache_file" != "x
/dev
/null
" &&
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15762 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15763 cat confcache >$cache_file
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15766 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15771 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15772 # Let make expand exec_prefix.
15773 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15775 DEFS=-DHAVE_CONFIG_H
15779 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
15780 # 1. Remove the extension, and $U if already installed.
15781 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15782 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15783 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15784 # will be set to the directory where LIBOBJS objects are built.
15785 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
15786 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
15788 LIBOBJS=$ac_libobjs
15790 LTLIBOBJS=$ac_ltlibobjs
15793 if test -n "$EXEEXT"; then
15795 am__EXEEXT_FALSE='#'
15797 am__EXEEXT_TRUE='#'
15801 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15802 as_fn_error "conditional
\"MAINTAINER_MODE
\" was never defined.
15803 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15805 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15806 as_fn_error "conditional
\"AMDEP
\" was never defined.
15807 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15809 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15810 as_fn_error "conditional
\"am__fastdepCXX
\" was never defined.
15811 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15813 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15814 as_fn_error "conditional
\"am__fastdepCC
\" was never defined.
15815 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15817 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
15818 as_fn_error "conditional
\"MONOLITHIC
\" was never defined.
15819 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15821 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
15822 as_fn_error "conditional
\"AMULE_DAEMON
\" was never defined.
15823 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15825 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
15826 as_fn_error "conditional
\"COMPILE_CMD
\" was never defined.
15827 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15829 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
15830 as_fn_error "conditional
\"WEB
\" was never defined.
15831 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15833 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
15834 as_fn_error "conditional
\"AMULE_GUI
\" was never defined.
15835 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15837 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
15838 as_fn_error "conditional
\"CAS
\" was never defined.
15839 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15841 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
15842 as_fn_error "conditional
\"WXCAS
\" was never defined.
15843 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15845 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
15846 as_fn_error "conditional
\"ED2K
\" was never defined.
15847 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15849 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
15850 as_fn_error "conditional
\"ALC
\" was never defined.
15851 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15853 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
15854 as_fn_error "conditional
\"ALCC
\" was never defined.
15855 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15857 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
15858 as_fn_error "conditional
\"XAS
\" was never defined.
15859 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15861 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
15862 as_fn_error "conditional
\"FILEVIEW
\" was never defined.
15863 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15865 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
15866 as_fn_error "conditional
\"SYS_WIN32
\" was never defined.
15867 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15869 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
15870 as_fn_error "conditional
\"NEED_RC
\" was never defined.
15871 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15873 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
15874 as_fn_error "conditional
\"NEED_CORESERVICES
\" was never defined.
15875 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15877 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
15878 as_fn_error "conditional
\"COMPILE_NLS
\" was never defined.
15879 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15881 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
15882 as_fn_error "conditional
\"GENERATE_FLEX_HEADER
\" was never defined.
15883 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15885 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
15886 as_fn_error "conditional
\"INSTALL_SKINS
\" was never defined.
15887 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15889 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
15890 as_fn_error "conditional
\"PLASMAMULE
\" was never defined.
15891 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15893 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
15894 as_fn_error "conditional
\"COMPILE_LIB_COMMON
\" was never defined.
15895 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15897 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
15898 as_fn_error "conditional
\"COMPILE_LIB_EC
\" was never defined.
15899 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15902 : ${CONFIG_STATUS=./config.status}
15904 ac_clean_files_save=$ac_clean_files
15905 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
15907 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
15909 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15911 # Generated by $as_me.
15912 # Run this file to recreate the current configuration.
15913 # Compiler output produced by configure, useful for debugging
15914 # configure, is in config.log if it exists.
15917 ac_cs_recheck=false
15920 SHELL=\${CONFIG_SHELL-$SHELL}
15923 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15924 ## -------------------- ##
15925 ## M4sh Initialization. ##
15926 ## -------------------- ##
15928 # Be more Bourne compatible
15929 DUALCASE=1; export DUALCASE # for MKS sh
15930 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15933 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15934 # is contrary to our usage. Disable this feature.
15935 alias -g '${1+"$@"}'='"$@
"'
15936 setopt NO_GLOB_SUBST
15938 case `(set -o) 2>/dev/null` in #(
15950 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15951 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15953 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15954 # Prefer a ksh shell builtin over an external printf program on Solaris,
15955 # but without wasting forks for bash or zsh.
15956 if test -z "$BASH_VERSION$ZSH_VERSION" \
15957 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
15958 as_echo='print -r --'
15959 as_echo_n='print -rn --'
15960 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
15961 as_echo='printf %s\n'
15962 as_echo_n='printf %s'
15964 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
15965 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15966 as_echo_n='/usr/ucb/echo -n'
15968 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
15969 as_echo_n_body='eval
15973 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
15974 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
15976 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
15978 export as_echo_n_body
15979 as_echo_n='sh -c $as_echo_n_body as_echo'
15981 export as_echo_body
15982 as_echo='sh -c $as_echo_body as_echo'
15985 # The user is always right.
15986 if test "${PATH_SEPARATOR+set}" != set; then
15988 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15989 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15996 # We need space, tab and new line, in precisely that order. Quoting is
15997 # there to prevent editors from complaining about space-tab.
15998 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15999 # splitting by setting IFS to empty value.)
16002 # Find who we are. Look in the path if we contain no directory separator.
16004 *[\\/]* ) as_myself=$0 ;;
16005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16006 for as_dir in $PATH
16009 test -z "$as_dir" && as_dir=.
16010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16016 # We did not find ourselves, most probably we were run as `sh COMMAND'
16017 # in which case we are not to be found in the path.
16018 if test "x
$as_myself" = x; then
16021 if test ! -f "$as_myself"; then
16022 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
16026 # Unset variables that we do not need and which cause bugs (e.g. in
16027 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
16028 # suppresses any "Segmentation fault
" message there. '((' could
16029 # trigger a bug in pdksh 5.2.14.
16030 for as_var in BASH_ENV ENV MAIL MAILPATH
16031 do eval test x\${$as_var+set} = xset \
16032 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16045 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16048 # as_fn_error ERROR [LINENO LOG_FD]
16049 # ---------------------------------
16050 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
16051 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16052 # script with status $?, using 1 if that was 0.
16055 as_status=$?; test $as_status -eq 0 && as_status=1
16057 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16058 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
16060 $as_echo "$as_me: error
: $1" >&2
16061 as_fn_exit $as_status
16065 # as_fn_set_status STATUS
16066 # -----------------------
16067 # Set $? to STATUS, without forking.
16068 as_fn_set_status ()
16071 } # as_fn_set_status
16073 # as_fn_exit STATUS
16074 # -----------------
16075 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16079 as_fn_set_status $1
16085 # Portably unset VAR.
16088 { eval $1=; unset $1;}
16090 as_unset=as_fn_unset
16091 # as_fn_append VAR VALUE
16092 # ----------------------
16093 # Append the text in VALUE to the end of the definition contained in VAR. Take
16094 # advantage of any shell optimizations that allow amortized linear growth over
16095 # repeated appends, instead of the typical quadratic growth present in naive
16097 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
16098 eval 'as_fn_append ()
16109 # as_fn_arith ARG...
16110 # ------------------
16111 # Perform arithmetic evaluation on the ARGs, and store the result in the
16112 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16113 # must be portable across $(()) and expr.
16114 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
16115 eval 'as_fn_arith ()
16122 as_val=`expr "$@
" || test $? -eq 1`
16127 if expr a : '\(a\)' >/dev/null 2>&1 &&
16128 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
16134 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
16135 as_basename=basename
16140 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
16146 as_me=`$as_basename -- "$0" ||
16147 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16148 X"$0" : 'X\(//\)$' \| \
16149 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16151 sed '/^.*\/\([^/][^/]*\)\/*$/{
16165 # Avoid depending upon Character Ranges.
16166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16169 as_cr_digits='0123456789'
16170 as_cr_alnum=$as_cr_Letters$as_cr_digits
16172 ECHO_C= ECHO_N= ECHO_T=
16173 case `echo -n x` in #(((((
16175 case `echo 'xy\c'` in
16176 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16178 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16185 rm -f conf$$ conf$$.exe conf$$.file
16186 if test -d conf$$.dir; then
16187 rm -f conf$$.dir/conf$$.file
16190 mkdir conf$$.dir 2>/dev/null
16192 if (echo >conf$$.file) 2>/dev/null; then
16193 if ln -s conf$$.file conf$$ 2>/dev/null; then
16195 # ... but there are two gotchas:
16196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16198 # In both cases, we have to default to `cp -p'.
16199 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16201 elif ln conf$$.file conf$$ 2>/dev/null; then
16209 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16210 rmdir conf$$.dir 2>/dev/null
16215 # Create "$as_dir" as a directory, including parents if necessary.
16220 -*) as_dir=./$as_dir;;
16222 test -d "$as_dir" || eval $as_mkdir_p || {
16226 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
16227 *) as_qdir=$as_dir;;
16229 as_dirs="'$as_qdir' $as_dirs"
16230 as_dir=`$as_dirname -- "$as_dir" ||
16231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16232 X"$as_dir" : 'X\(//\)[^/]' \| \
16233 X"$as_dir" : 'X\(//\)$' \| \
16234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16235 $as_echo X"$as_dir" |
16236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16240 /^X\(\/\/\)[^/].*/{
16253 test -d "$as_dir" && break
16255 test -z "$as_dirs" || eval "mkdir
$as_dirs"
16256 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
16260 if mkdir -p . 2>/dev/null; then
16261 as_mkdir_p='mkdir -p "$as_dir"'
16263 test -d ./-p && rmdir ./-p
16267 if test -x / >/dev/null 2>&1; then
16268 as_test_x='test -x'
16270 if ls -dL / >/dev/null 2>&1; then
16277 if test -d "$1"; then
16283 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16284 ???[sx]*):;;*)false;;esac;fi
16288 as_executable_p=$as_test_x
16290 # Sed expression to map a string onto a valid CPP name.
16291 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16293 # Sed expression to map a string onto a valid variable name.
16294 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16298 ## ----------------------------------- ##
16299 ## Main body of $CONFIG_STATUS script. ##
16300 ## ----------------------------------- ##
16302 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16305 # Save the log message, to keep $0 and so on meaningful, and to
16306 # report actual input values of CONFIG_FILES etc. instead of their
16307 # values after options handling.
16309 This
file was extended by aMule
$as_me SVN
, which was
16310 generated by GNU Autoconf
2.65. Invocation
command line was
16312 CONFIG_FILES
= $CONFIG_FILES
16313 CONFIG_HEADERS
= $CONFIG_HEADERS
16314 CONFIG_LINKS
= $CONFIG_LINKS
16315 CONFIG_COMMANDS
= $CONFIG_COMMANDS
16318 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
16323 case $ac_config_files in *"
16324 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16327 case $ac_config_headers in *"
16328 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16333 # Files that config.status was made for.
16334 config_files="$ac_config_files"
16335 config_headers="$ac_config_headers"
16336 config_commands="$ac_config_commands"
16340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16342 \
`$as_me' instantiates files and other configuration actions
16343 from templates according to the current configuration. Unless the files
16344 and actions are specified as TAGs, all are instantiated by default.
16346 Usage: $0 [OPTION]... [TAG]...
16348 -h, --help print this help, then exit
16349 -V, --version print version number and configuration settings, then exit
16350 --config print configuration, then exit
16351 -q, --quiet, --silent
16352 do not print progress messages
16353 -d, --debug don't remove temporary files
16354 --recheck update $as_me by reconfiguring in the same conditions
16355 --file=FILE[:TEMPLATE]
16356 instantiate the configuration file FILE
16357 --header=FILE[:TEMPLATE]
16358 instantiate the configuration header FILE
16360 Configuration files:
16363 Configuration headers:
16366 Configuration commands:
16369 Report bugs to <admin@amule.org>."
16372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16373 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16375 aMule config.status SVN
16376 configured by $0, generated by GNU Autoconf 2.65,
16377 with options \\"\$ac_cs_config\\"
16379 Copyright (C) 2009 Free Software Foundation, Inc.
16380 This config.status script is free software; the Free Software Foundation
16381 gives unlimited permission to copy, distribute and modify it."
16388 test -n "\$AWK" || AWK=awk
16391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16392 # The default lists apply if the user does not specify any file.
16398 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16399 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16410 # Handling of the options.
16411 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16413 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16414 $as_echo "$ac_cs_version"; exit ;;
16415 --config | --confi | --conf | --con | --co | --c )
16416 $as_echo "$ac_cs_config"; exit ;;
16417 --debug | --debu | --deb | --de | --d | -d )
16419 --file | --fil | --fi | --f )
16422 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16424 as_fn_append CONFIG_FILES " '$ac_optarg'"
16425 ac_need_defaults=false;;
16426 --header | --heade | --head | --hea )
16429 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16431 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16432 ac_need_defaults=false;;
16434 # Conflict between --help and --header
16435 as_fn_error "ambiguous option: \`$1'
16436 Try \`$0 --help' for more information.
";;
16437 --help | --hel | -h )
16438 $as_echo "$ac_cs_usage"; exit ;;
16439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16440 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16443 # This is an error.
16444 -*) as_fn_error "unrecognized option
: \
`$1'
16445 Try \`$0 --help' for more information." ;;
16447 *) as_fn_append ac_config_targets " $1"
16448 ac_need_defaults=false ;;
16454 ac_configure_extra_args=
16456 if $ac_cs_silent; then
16458 ac_configure_extra_args="$ac_configure_extra_args --silent"
16462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16463 if \$ac_cs_recheck; then
16464 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16466 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16467 CONFIG_SHELL='$SHELL'
16468 export CONFIG_SHELL
16473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16477 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16478 ## Running $as_me. ##
16484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16488 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16489 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16490 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16492 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
16493 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16494 LINGUAS="${LINGUAS-%UNSET%}"
16496 denoiserlevel=$with_denoise_level
16500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16502 # Handling of arguments.
16503 for ac_config_target
in $ac_config_targets
16505 case $ac_config_target in
16506 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16507 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16508 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16509 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
16510 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16511 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
16512 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
16513 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
16514 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16515 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
16516 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
16517 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
16518 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
16519 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
16520 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
16521 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
16522 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
16523 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
16524 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
16525 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
16526 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
16527 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
16528 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
16529 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
16530 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
16531 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
16532 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
16533 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
16534 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
16535 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
16536 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
16537 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
16538 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
16539 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
16540 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
16541 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
16542 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
16543 "Compilation.flags") CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
16544 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
16546 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16551 # If the user did not use the arguments to specify the items to instantiate,
16552 # then the envvar interface is used. Set only those that are not.
16553 # We use the long form for the default assignment because of an extremely
16554 # bizarre bug on SunOS 4.1.3.
16555 if $ac_need_defaults; then
16556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16561 # Have a temporary directory for convenience. Make it in the build tree
16562 # simply because there is no reason against having it here, and in addition,
16563 # creating and moving files from /tmp can sometimes cause problems.
16564 # Hook for its removal unless debugging.
16565 # Note that there is a small window in which the directory will not be cleaned:
16566 # after its creation but before its name has been assigned to `$tmp'.
16570 trap 'exit_status=$?
16571 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16573 trap 'as_fn_exit 1' 1 2 13 15
16575 # Create a (secure) tmp directory for tmp files.
16578 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16579 test -n "$tmp" && test -d "$tmp"
16582 tmp
=.
/conf$$
-$RANDOM
16583 (umask 077 && mkdir
"$tmp")
16584 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16586 # Set up the scripts for CONFIG_FILES section.
16587 # No need to generate them if there are no CONFIG_FILES.
16588 # This happens for instance with `./config.status config.h'.
16589 if test -n "$CONFIG_FILES"; then
16592 ac_cr
=`echo X | tr X '\015'`
16593 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16594 # But we know of no other shell where ac_cr would be empty at this
16595 # point, so we can use a bashism as a fallback.
16596 if test "x$ac_cr" = x
; then
16597 eval ac_cr
=\$
\'\\r
\'
16599 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16600 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16603 ac_cs_awk_cr
=$ac_cr
16606 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16611 echo "cat >conf$$subs.awk <<_ACEOF" &&
16612 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16614 } >conf$$subs.sh ||
16615 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16616 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16618 for ac_last_try in false false false false false :; do
16619 . ./conf$$subs.sh ||
16620 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16622 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16623 if test $ac_delim_n = $ac_delim_num; then
16625 elif $ac_last_try; then
16626 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16628 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16631 rm -f conf$$subs.sh
16633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16634 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16638 s/^/S["/; s
/!.
*/"]=/
16648 s/\(.\{148\}\)..*/\1/
16650 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16655 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16662 s/\(.\{148\}\)..*/\1/
16664 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16668 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16673 ' <conf$$subs.awk | sed '
16678 ' >>$CONFIG_STATUS || ac_write_fail=1
16679 rm -f conf$$subs.awk
16680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16682 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16683 for (key in S) S_is_set[key] = 1
16689 nfields = split(line, field, "@
")
16691 len = length(field[1])
16692 for (i = 2; i < nfields; i++) {
16694 keylen = length(key)
16695 if (S_is_set[key]) {
16697 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16698 len += length(value) + length(field[++i])
16709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16710 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16711 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16714 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16715 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16718 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16719 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16720 # trailing colons and then remove the whole line if VPATH becomes empty
16721 # (actually we leave an empty line to preserve line numbers).
16722 if test "x
$srcdir" = x.; then
16723 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16724 s/:*\$(srcdir):*/:/
16725 s/:*\${srcdir}:*/:/
16727 s/^\([^=]*=[ ]*\):*/\1/
16733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16734 fi # test -n "$CONFIG_FILES"
16736 # Set up the scripts for CONFIG_HEADERS section.
16737 # No need to generate them if there are no CONFIG_HEADERS.
16738 # This happens for instance with `./config.status Makefile'.
16739 if test -n "$CONFIG_HEADERS"; then
16740 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16744 # Transform confdefs.h into an awk script `defines.awk', embedded as
16745 # here-document in config.status, that substitutes the proper values into
16746 # config.h.in to produce config.h.
16748 # Create a delimiter string that does not exist in confdefs.h, to ease
16749 # handling of long lines.
16751 for ac_last_try in false false :; do
16752 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16753 if test -z "$ac_t"; then
16755 elif $ac_last_try; then
16756 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16758 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16762 # For the awk script, D is an array of macro values keyed by name,
16763 # likewise P contains macro parameters if any. Preserve backslash
16764 # newline sequences.
16766 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16768 s/.\{148\}/&'"$ac_delim"'/g
16771 s/^[ ]*#[ ]*define[ ][ ]*/ /
16778 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16780 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16785 D["\
1"]=" \
3\\\\\\n
"\\/p
16787 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16792 s/.\{148\}/&'"$ac_delim"'/g
16797 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16800 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16802 ' <confdefs.h | sed '
16803 s/'"$ac_delim"'/"\\\
16804 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16807 for (key in D) D_is_set[key] = 1
16810 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16812 split(line, arg, " ")
16813 if (arg[1] == "#") {
16817 defundef
= substr
(arg
[1], 2)
16820 split(mac1
, mac2
, "(") #)
16822 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16823 if (D_is_set
[macro
]) {
16824 # Preserve the white space surrounding the "#".
16825 print prefix
"define", macro P
[macro
] D
[macro
]
16828 # Replace #undef with comments. This is necessary, for example,
16829 # in the case of _POSIX_SOURCE, which is predefined and required
16830 # on some systems where configure will not decide to define it.
16831 if (defundef
== "undef") {
16832 print
"/*", prefix defundef
, macro
, "*/"
16840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16841 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16842 fi # test -n "$CONFIG_HEADERS"
16845 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16850 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16852 case $ac_mode$ac_tag in
16854 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16855 :[FH
]-) ac_tag
=-:-;;
16856 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16873 -) ac_f
="$tmp/stdin";;
16874 *) # Look for the file first in the build tree, then in the source tree
16875 # (if the path is not absolute). The absolute path cannot be DOS-style,
16876 # because $ac_f cannot contain `:'.
16880 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16882 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16884 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16885 as_fn_append ac_file_inputs
" '$ac_f'"
16888 # Let's still pretend it is `configure' which instantiates (i.e., don't
16889 # use $as_me), people would be surprised to read:
16890 # /* config.h. Generated by config.status. */
16891 configure_input
='Generated from '`
16892 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16894 if test x
"$ac_file" != x-
; then
16895 configure_input
="$ac_file. $configure_input"
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16897 $as_echo "$as_me: creating $ac_file" >&6;}
16899 # Neutralize special characters interpreted by sed in replacement strings.
16900 case $configure_input in #(
16901 *\
&* |
*\|
* |
*\\* )
16902 ac_sed_conf_input
=`$as_echo "$configure_input" |
16903 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16904 *) ac_sed_conf_input
=$configure_input;;
16908 *:-:* |
*:-) cat >"$tmp/stdin" \
16909 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16914 ac_dir
=`$as_dirname -- "$ac_file" ||
16915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16916 X"$ac_file" : 'X\(//\)[^/]' \| \
16917 X"$ac_file" : 'X\(//\)$' \| \
16918 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16919 $as_echo X"$ac_file" |
16920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16924 /^X\(\/\/\)[^/].*/{
16937 as_dir
="$ac_dir"; as_fn_mkdir_p
16941 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16943 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16944 # A ".." for each directory in $ac_dir_suffix.
16945 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16946 case $ac_top_builddir_sub in
16947 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16948 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16951 ac_abs_top_builddir
=$ac_pwd
16952 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16953 # for backward compatibility:
16954 ac_top_builddir
=$ac_top_build_prefix
16957 .
) # We are building in place.
16959 ac_top_srcdir
=$ac_top_builddir_sub
16960 ac_abs_top_srcdir
=$ac_pwd ;;
16961 [\\/]* | ?
:[\\/]* ) # Absolute name.
16962 ac_srcdir
=$srcdir$ac_dir_suffix;
16963 ac_top_srcdir
=$srcdir
16964 ac_abs_top_srcdir
=$srcdir ;;
16965 *) # Relative name.
16966 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16967 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16968 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16970 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16980 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16981 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16983 ac_MKDIR_P
=$MKDIR_P
16985 [\\/$
]* | ?
:[\\/]* ) ;;
16986 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16991 # If the template does not know about datarootdir, expand it.
16992 # FIXME: This hack should be removed a few years after 2.60.
16993 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17004 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17005 *datarootdir
*) ac_datarootdir_seen
=yes;;
17006 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17008 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17011 ac_datarootdir_hack='
17012 s&@datadir@&$datadir&g
17013 s&@docdir@&$docdir&g
17014 s&@infodir@&$infodir&g
17015 s&@localedir@&$localedir&g
17016 s&@mandir@&$mandir&g
17017 s&\\\${datarootdir}&$datarootdir&g' ;;
17021 # Neutralize VPATH when `$srcdir' = `.'.
17022 # Shell code in configure.ac might set extrasub.
17023 # FIXME: do we really want to maintain this feature?
17024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17025 ac_sed_extra="$ac_vpsub
17028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17030 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17031 s|@configure_input@|
$ac_sed_conf_input|
;t t
17032 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17033 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17034 s
&@srcdir@
&$ac_srcdir&;t t
17035 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17036 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17037 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17038 s
&@builddir@
&$ac_builddir&;t t
17039 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17040 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17041 s
&@INSTALL@
&$ac_INSTALL&;t t
17042 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17043 $ac_datarootdir_hack
17045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17046 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17049 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17052 which seems to be undefined. Please make sure it is defined." >&5
17053 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17054 which seems to be undefined. Please make sure it is defined." >&2;}
17058 -) cat "$tmp/out" && rm -f "$tmp/out";;
17059 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17061 || as_fn_error "could not create $ac_file" "$LINENO" 5
17067 if test x"$ac_file" != x-; then
17069 $as_echo "/* $configure_input */" \
17070 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17071 } >"$tmp/config.h" \
17072 || as_fn_error "could not create $ac_file" "$LINENO" 5
17073 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17075 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17078 mv "$tmp/config.h" "$ac_file" \
17079 || as_fn_error "could not create $ac_file" "$LINENO" 5
17082 $as_echo "/* $configure_input */" \
17083 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17084 || as_fn_error "could not create -" "$LINENO" 5
17086 # Compute "$ac_file"'s index
in $config_headers.
17089 for _am_header
in $config_headers :; do
17090 case $_am_header in
17091 $_am_arg |
$_am_arg:* )
17094 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17097 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17098 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17099 X"$_am_arg" : 'X\(//\)[^/]' \| \
17100 X"$_am_arg" : 'X\(//\)$' \| \
17101 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17102 $as_echo X"$_am_arg" |
17103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17107 /^X\(\/\/\)[^/].*/{
17119 s/.*/./; q'`/stamp-h
$_am_stamp_count
17122 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17123 $as_echo "$as_me: executing $ac_file commands" >&6;}
17128 case $ac_file$ac_mode in
17129 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17130 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17131 # are listed without --file. Let's play safe and only enable the eval
17132 # if we detect the quoting.
17133 case $CONFIG_FILES in
17134 *\'*) eval set x
"$CONFIG_FILES" ;;
17135 *) set x
$CONFIG_FILES ;;
17140 # Strip MF so we end up with the name of the file.
17141 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17142 # Check whether this is an Automake generated Makefile or not.
17143 # We used to match only the files named `Makefile.in', but
17144 # some people rename them; so instead we look at the file content.
17145 # Grep'ing the first line is not enough: some people post-process
17146 # each Makefile.in and add a new line on top of each file to say so.
17147 # Grep'ing the whole file is not good either: AIX grep has a line
17148 # limit of 2048, but all sed's we know have understand at least 4000.
17149 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17150 dirpart
=`$as_dirname -- "$mf" ||
17151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17152 X"$mf" : 'X\(//\)[^/]' \| \
17153 X"$mf" : 'X\(//\)$' \| \
17154 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17160 /^X\(\/\/\)[^/].*/{
17176 # Extract the definition of DEPDIR, am__include, and am__quote
17177 # from the Makefile without running `make'.
17178 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17179 test -z "$DEPDIR" && continue
17180 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17181 test -z "am__include" && continue
17182 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17183 # When using ansi2knr, U may be empty or an underscore; expand it
17184 U
=`sed -n 's/^U = //p' < "$mf"`
17185 # Find all dependency output files, they are included files with
17186 # $(DEPDIR) in their names. We invoke sed twice because it is the
17187 # simplest approach to changing $(DEPDIR) to its actual value in the
17189 for file in `sed -n "
17190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17192 # Make sure the directory exists.
17193 test -f "$dirpart/$file" && continue
17194 fdir
=`$as_dirname -- "$file" ||
17195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17196 X"$file" : 'X\(//\)[^/]' \| \
17197 X"$file" : 'X\(//\)$' \| \
17198 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17199 $as_echo X"$file" |
17200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17204 /^X\(\/\/\)[^/].*/{
17217 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17218 # echo "creating $dirpart/$file"
17219 echo '# dummy' > "$dirpart/$file"
17225 for ac_file
in $CONFIG_FILES; do
17226 # Support "outfile[:infile[:infile...]]"
17228 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17230 # PO directories have a Makefile.in generated from Makefile.in.in.
17231 case "$ac_file" in */Makefile.
in)
17232 # Adjust a relative srcdir.
17233 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17234 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17235 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17236 # In autoconf-2.13 it is called $ac_given_srcdir.
17237 # In autoconf-2.50 it is called $srcdir.
17238 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17239 case "$ac_given_srcdir" in
17240 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17241 /*) top_srcdir
="$ac_given_srcdir" ;;
17242 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17244 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17245 rm -f "$ac_dir/POTFILES"
17246 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17247 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17248 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17249 # on $ac_dir but don't depend on user-specified configuration
17251 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17252 # The LINGUAS file contains the set of available languages.
17253 if test -n "$ALL_LINGUAS"; then
17254 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17256 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17257 # Hide the ALL_LINGUAS assigment from automake.
17258 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17260 case "$ac_given_srcdir" in
17262 *) srcdirpre
='$(srcdir)/' ;;
17268 for lang
in $ALL_LINGUAS; do
17269 POFILES
="$POFILES $srcdirpre$lang.po"
17270 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17271 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17272 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17274 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17275 # environment variable.
17277 if test -n "$ALL_LINGUAS"; then
17278 for presentlang
in $ALL_LINGUAS; do
17280 if test "%UNSET%" != "$LINGUAS"; then
17281 desiredlanguages
="$LINGUAS"
17283 desiredlanguages
="$ALL_LINGUAS"
17285 for desiredlang
in $desiredlanguages; do
17286 # Use the presentlang catalog if desiredlang is
17287 # a. equal to presentlang, or
17288 # b. a variant of presentlang (because in this case,
17289 # presentlang can be used as a fallback for messages
17290 # which are not translated in the desiredlang catalog).
17291 case "$desiredlang" in
17292 "$presentlang"*) useit
=yes;;
17295 if test $useit = yes; then
17296 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17301 if test -n "$INST_LINGUAS"; then
17302 for lang
in $INST_LINGUAS; do
17303 CATALOGS
="$CATALOGS $lang.gmo"
17306 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17307 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"
17308 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17309 if test -f "$f"; then
17311 *.orig |
*.bak |
*~
) ;;
17312 *) cat "$f" >> "$ac_dir/Makefile" ;;
17320 "denoiser":C
) if test $denoiserlevel -gt 0; then
17321 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
17322 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" \
17323 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
17324 for i
in `find . -name 'Makefile' -print`; do
17325 if test -n "`head -n 1 $i | grep '^#'`"; then
17326 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
17337 ac_clean_files
=$ac_clean_files_save
17339 test $ac_write_fail = 0 ||
17340 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17343 # configure is writing to config.log, and then calls config.status.
17344 # config.status does its own redirection, appending to config.log.
17345 # Unfortunately, on DOS this fails, as config.log is still kept open
17346 # by configure, so config.status won't be able to write to it; its
17347 # output is simply discarded. So we exec the FD to /dev/null,
17348 # effectively closing config.log, so it can be properly (re)opened and
17349 # appended to by config.status. When coming back to configure, we
17350 # need to make the FD available again.
17351 if test "$no_create" != yes; then
17353 ac_config_status_args
=
17354 test "$silent" = yes &&
17355 ac_config_status_args
="$ac_config_status_args --quiet"
17357 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17359 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17360 # would make configure fail if this is the last instruction.
17361 $ac_cs_success || as_fn_exit $?
17363 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17365 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17369 if test -n "$svndate"; then :
17370 SVN_REVISION
=" ($svndate)"
17377 echo " Configure script has finished system check."
17379 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
17381 echo " aMule enabled options:"
17383 echo " **** aMule Core ****"
17384 echo " Prefix where aMule should be installed? ${prefix:-none}"
17385 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
17386 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
17387 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
17388 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
17389 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
17390 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
17391 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
17392 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
17393 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
17394 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
17397 echo " **** aMule TextClient ****"
17398 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
17400 echo " **** aMule WebServer ****"
17401 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
17403 echo " **** aMule ED2K Links Handler ****"
17404 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
17406 echo " **** aMuleLinkCreator ****"
17407 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
17408 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
17410 echo " **** aMule Statistics ****"
17411 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
17412 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
17413 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
17414 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
17417 echo " **** General Libraries and Tools ****"
17418 echo " Should ccache support be enabled? ${enable_ccache:-no}"
17419 echo " Libraries aMule will use to build:"
17420 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 :
17423 if test $WX_DEBUG -eq 1; then :
17424 wxinfo
="$wxinfo,debug"
17426 if test $WX_SHARED -eq 1; then :
17427 wxinfo
="$wxinfo,shared"
17429 wxinfo
="$wxinfo,static"
17431 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
17434 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
17435 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
17437 if test ${enable_upnp:-yes} = yes; then :
17439 if test -n "$with_libupnp_prefix"; then :
17440 libupnp_place
=" (in $with_libupnp_prefix)"
17442 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
17445 if test ${enable_nls:-yes} = yes; then
17446 if test x
$USE_NLS = xno
; then :
17447 libintl_found
="Not detected"
17449 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
17450 libintl_found
="included"
17452 libintl_found
="system"
17455 echo " libintl $libintl_found"
17457 if test ${enable_geoip:-no} = yes; then :
17458 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
17463 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
17464 echo " libGeoIP ${geoip_style}"
17467 if test ${enable_webserver:-no} = yes; then :
17468 echo " libpng ${LIBPNG_VERSION:-Not detected}"
17470 if test ${enable_cas:-no} = yes; then :
17471 echo " libgd ${GDLIB_VERSION:-Not detected}"
17473 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 :
17474 echo " zlib ${ZLIB_VERSION:-Not detected}"
17476 if test ${enable_plasmamule:-no} = yes; then :
17477 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
17478 echo " qt-core-libs ${QT_CORE_LIBS}"
17479 echo " qt-gui-libs ${QT_GUI_LIBS}"
17480 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
17481 echo " kde-headers ${KDE_HEADER_DIR}"
17482 echo " kde-services-path ${KDE_SERVICE_PATH}"
17483 echo " kde-module-path ${KDE_MODULE_PATH}"
17484 echo " kde-icon-path ${KDE_ICON_PATH}"
17485 echo " kde-mime-path ${KDE_MIME_PATH}"
17486 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
17489 if test ${_mule_has_warnings:-no} = yes; then
17492 echo " *** Warnings during configuration ***"
17494 if test ${_mule_warning_0:-no} = yes; then
17497 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
17498 Please check that gdlib-config is in your default path, check out
17499 LD_LIBRARY_PATH or equivalent variable.
17500 Or this might also be that your gdlib-config has other name.
17501 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
17502 /usr/bin/gdlib-config with a valid path to your gdlib-config).
17503 If you use compiled packages check if you have devel pack installed.
17504 To download the latest version check http://www.boutell.com/gd for sources.
17507 if test ${_mule_warning_1:-no} = yes; then
17510 * libpng >= 1.2.0 not found.
17511 amuleweb will be compiled but file download progress bar images will NOT be
17515 if test ${_mule_warning_2:-no} = yes; then
17518 * File::Copy perl module is required by the mldonkey_importer script.
17519 If you want to use this script please install File::Copy from CPAN.
17522 if test ${_mule_warning_3:-no} = yes; then
17525 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
17528 if test ${_mule_warning_4:-no} = yes; then
17531 * GeoIP support has been disabled because the GeoIP libraries were not found
17534 if test ${_mule_warning_5:-no} = yes; then
17537 * GeoIP support has been disabled because the GeoIP header files were not
17541 if test ${_mule_warning_6:-no} = yes; then
17544 * UPnP code has been disabled because ${libupnp_error}.
17547 if test ${_mule_warning_7:-no} = yes; then
17550 * Cross-compilation detected, so exception handling cannot be tested.
17551 Note that broken exception handling in your compiler may lead to unexpected
17555 if test ${_mule_warning_8:-no} = yes; then
17558 * configure cannot check whether malloc() and realloc() are GNU libc
17559 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
17560 configure with the --without-gnu-malloc switch.
17563 if test ${_mule_warning_9:-no} = yes; then
17566 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
17570 if test ${_mule_warning_10:-no} = yes; then
17573 * bfd.h not found or unusable, please install binutils development package if
17574 you are a developer or want to help testing aMule