2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for aMule SVN.
5 # Report bugs to <admin@amule.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and admin@amule.org
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='amule'
555 PACKAGE_VERSION
='SVN'
556 PACKAGE_STRING
='aMule SVN'
557 PACKAGE_BUGREPORT
='admin@amule.org'
560 ac_unique_file
="src/amule.cpp"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
598 ac_subst_vars
='am__EXEEXT_FALSE
604 COMPILE_LIB_COMMON_FALSE
605 COMPILE_LIB_COMMON_TRUE
610 GENERATE_FLEX_HEADER_FALSE
611 GENERATE_FLEX_HEADER_TRUE
614 NEED_CORESERVICES_FALSE
615 NEED_CORESERVICES_TRUE
649 AMULE_DAEMON_MANPAGES
654 INTL_LIBTOOL_SUFFIX_PREFIX
661 BUILD_INCLUDED_LIBINTL
794 MAINTAINER_MODE_FALSE
806 INSTALL_STRIP_PROGRAM
848 program_transform_name
864 enable_option_checking
866 enable_maintainer_mode
867 enable_dependency_tracking
912 with_included_gettext
921 ac_precious_vars
='build_alias
941 # Initialize some variables set by options.
943 ac_init_version
=false
944 ac_unrecognized_opts
=
946 # The variables have the same names as the options, with
947 # dashes changed to underlines.
955 program_transform_name
=s
,x
,x
,
963 # Installation directory options.
964 # These are left unexpanded so users can "make install exec_prefix=/foo"
965 # and all the variables that are supposed to be based on exec_prefix
966 # by default will actually change.
967 # Use braces instead of parens because sh, perl, etc. also accept them.
968 # (The list follows the same order as the GNU Coding Standards.)
969 bindir
='${exec_prefix}/bin'
970 sbindir
='${exec_prefix}/sbin'
971 libexecdir
='${exec_prefix}/libexec'
972 datarootdir
='${prefix}/share'
973 datadir
='${datarootdir}'
974 sysconfdir
='${prefix}/etc'
975 sharedstatedir
='${prefix}/com'
976 localstatedir
='${prefix}/var'
977 includedir
='${prefix}/include'
978 oldincludedir
='/usr/include'
979 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
980 infodir
='${datarootdir}/info'
985 libdir
='${exec_prefix}/lib'
986 localedir
='${datarootdir}/locale'
987 mandir
='${datarootdir}/man'
993 # If the previous option needs an argument, assign it.
994 if test -n "$ac_prev"; then
995 eval $ac_prev=\
$ac_option
1001 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1005 # Accept the important Cygnus configure options, so we can diagnose typos.
1007 case $ac_dashdash$ac_option in
1011 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1013 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1014 bindir
=$ac_optarg ;;
1016 -build |
--build |
--buil |
--bui |
--bu)
1017 ac_prev
=build_alias
;;
1018 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1019 build_alias
=$ac_optarg ;;
1021 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1022 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1023 ac_prev
=cache_file
;;
1024 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1025 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1026 cache_file
=$ac_optarg ;;
1028 --config-cache |
-C)
1029 cache_file
=config.cache
;;
1031 -datadir |
--datadir |
--datadi |
--datad)
1033 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1034 datadir
=$ac_optarg ;;
1036 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1037 |
--dataroo |
--dataro |
--datar)
1038 ac_prev
=datarootdir
;;
1039 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1040 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1041 datarootdir
=$ac_optarg ;;
1043 -disable-* |
--disable-*)
1044 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1047 as_fn_error
"invalid feature name: $ac_useropt"
1048 ac_useropt_orig
=$ac_useropt
1049 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "enable_
$ac_useropt"
1054 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1055 ac_unrecognized_sep
=', ';;
1057 eval enable_
$ac_useropt=no
;;
1059 -docdir |
--docdir |
--docdi |
--doc |
--do)
1061 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1062 docdir
=$ac_optarg ;;
1064 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1066 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1067 dvidir
=$ac_optarg ;;
1069 -enable-* |
--enable-*)
1070 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1073 as_fn_error
"invalid feature name: $ac_useropt"
1074 ac_useropt_orig
=$ac_useropt
1075 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1078 "enable_
$ac_useropt"
1080 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1081 ac_unrecognized_sep
=', ';;
1083 eval enable_
$ac_useropt=\
$ac_optarg ;;
1085 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1086 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1087 |
--exec |
--exe |
--ex)
1088 ac_prev
=exec_prefix
;;
1089 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1090 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1091 |
--exec=* |
--exe=* |
--ex=*)
1092 exec_prefix
=$ac_optarg ;;
1094 -gas |
--gas |
--ga |
--g)
1095 # Obsolete; use --with-gas.
1098 -help |
--help |
--hel |
--he |
-h)
1099 ac_init_help
=long
;;
1100 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1101 ac_init_help
=recursive
;;
1102 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1103 ac_init_help
=short
;;
1105 -host |
--host |
--hos |
--ho)
1106 ac_prev
=host_alias
;;
1107 -host=* |
--host=* |
--hos=* |
--ho=*)
1108 host_alias
=$ac_optarg ;;
1110 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1112 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1114 htmldir
=$ac_optarg ;;
1116 -includedir |
--includedir |
--includedi |
--included |
--include \
1117 |
--includ |
--inclu |
--incl |
--inc)
1118 ac_prev
=includedir
;;
1119 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1120 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1121 includedir
=$ac_optarg ;;
1123 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1125 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1126 infodir
=$ac_optarg ;;
1128 -libdir |
--libdir |
--libdi |
--libd)
1130 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1131 libdir
=$ac_optarg ;;
1133 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1134 |
--libexe |
--libex |
--libe)
1135 ac_prev
=libexecdir
;;
1136 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1137 |
--libexe=* |
--libex=* |
--libe=*)
1138 libexecdir
=$ac_optarg ;;
1140 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1141 ac_prev
=localedir
;;
1142 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1143 localedir
=$ac_optarg ;;
1145 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1146 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1147 ac_prev
=localstatedir
;;
1148 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1149 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1150 localstatedir
=$ac_optarg ;;
1152 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1154 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1155 mandir
=$ac_optarg ;;
1157 -nfp |
--nfp |
--nf)
1158 # Obsolete; use --without-fp.
1161 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1162 |
--no-cr |
--no-c |
-n)
1165 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1166 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1169 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1170 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1171 |
--oldin |
--oldi |
--old |
--ol |
--o)
1172 ac_prev
=oldincludedir
;;
1173 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1174 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1175 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1176 oldincludedir
=$ac_optarg ;;
1178 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1180 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1181 prefix
=$ac_optarg ;;
1183 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1184 |
--program-pre |
--program-pr |
--program-p)
1185 ac_prev
=program_prefix
;;
1186 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1187 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1188 program_prefix
=$ac_optarg ;;
1190 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1191 |
--program-suf |
--program-su |
--program-s)
1192 ac_prev
=program_suffix
;;
1193 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1194 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1195 program_suffix
=$ac_optarg ;;
1197 -program-transform-name |
--program-transform-name \
1198 |
--program-transform-nam |
--program-transform-na \
1199 |
--program-transform-n |
--program-transform- \
1200 |
--program-transform |
--program-transfor \
1201 |
--program-transfo |
--program-transf \
1202 |
--program-trans |
--program-tran \
1203 |
--progr-tra |
--program-tr |
--program-t)
1204 ac_prev
=program_transform_name
;;
1205 -program-transform-name=* |
--program-transform-name=* \
1206 |
--program-transform-nam=* |
--program-transform-na=* \
1207 |
--program-transform-n=* |
--program-transform-=* \
1208 |
--program-transform=* |
--program-transfor=* \
1209 |
--program-transfo=* |
--program-transf=* \
1210 |
--program-trans=* |
--program-tran=* \
1211 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1212 program_transform_name
=$ac_optarg ;;
1214 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1216 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1217 pdfdir
=$ac_optarg ;;
1219 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1221 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1224 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1225 |
-silent |
--silent |
--silen |
--sile |
--sil)
1228 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1230 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1232 sbindir
=$ac_optarg ;;
1234 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1235 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1236 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1238 ac_prev
=sharedstatedir
;;
1239 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1240 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1241 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1243 sharedstatedir
=$ac_optarg ;;
1245 -site |
--site |
--sit)
1247 -site=* |
--site=* |
--sit=*)
1250 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1252 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1253 srcdir
=$ac_optarg ;;
1255 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1256 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1257 ac_prev
=sysconfdir
;;
1258 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1259 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1260 sysconfdir
=$ac_optarg ;;
1262 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1263 ac_prev
=target_alias
;;
1264 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1265 target_alias
=$ac_optarg ;;
1267 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1270 -version |
--version |
--versio |
--versi |
--vers |
-V)
1271 ac_init_version
=: ;;
1274 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1277 as_fn_error
"invalid package name: $ac_useropt"
1278 ac_useropt_orig
=$ac_useropt
1279 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1285 ac_unrecognized_sep
=', ';;
1287 eval with_
$ac_useropt=\
$ac_optarg ;;
1289 -without-* |
--without-*)
1290 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1293 as_fn_error
"invalid package name: $ac_useropt"
1294 ac_useropt_orig
=$ac_useropt
1295 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 case $ac_user_opts in
1300 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1301 ac_unrecognized_sep
=', ';;
1303 eval with_
$ac_useropt=no
;;
1306 # Obsolete; use --with-x.
1309 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1310 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1311 ac_prev
=x_includes
;;
1312 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1313 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1314 x_includes
=$ac_optarg ;;
1316 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1317 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1318 ac_prev
=x_libraries
;;
1319 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1320 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1321 x_libraries
=$ac_optarg ;;
1323 -*) as_fn_error
"unrecognized option: \`$ac_option'
1324 Try \`$0 --help' for more information."
1328 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 case $ac_envvar in #(
1331 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1332 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1334 eval $ac_envvar=\
$ac_optarg
1335 export $ac_envvar ;;
1338 # FIXME: should be removed in autoconf 3.0.
1339 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1340 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1341 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1342 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1348 if test -n "$ac_prev"; then
1349 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1350 as_fn_error
"missing argument to $ac_option"
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1357 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1361 # Check all directory arguments for consistency.
1362 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1363 datadir sysconfdir sharedstatedir localstatedir includedir \
1364 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1365 libdir localedir mandir
1367 eval ac_val
=\$
$ac_var
1368 # Remove trailing slashes.
1371 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1372 eval $ac_var=\
$ac_val;;
1374 # Be sure to have absolute directory names.
1376 [\\/$
]* | ?
:[\\/]* ) continue;;
1377 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1379 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1382 # There might be people who depend on the old broken behavior: `$host'
1383 # used to hold the argument of --host etc.
1384 # FIXME: To remove some day.
1387 target
=$target_alias
1389 # FIXME: To remove some day.
1390 if test "x$host_alias" != x
; then
1391 if test "x$build_alias" = x
; then
1392 cross_compiling
=maybe
1393 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1394 If a cross compiler is detected then cross compile mode will be used." >&2
1395 elif test "x$build_alias" != "x$host_alias"; then
1401 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1403 test "$silent" = yes && exec 6>/dev
/null
1406 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1407 ac_ls_di
=`ls -di .` &&
1408 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1409 as_fn_error
"working directory cannot be determined"
1410 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1411 as_fn_error
"pwd does not report name of working directory"
1414 # Find the source files, if location was not specified.
1415 if test -z "$srcdir"; then
1416 ac_srcdir_defaulted
=yes
1417 # Try the directory containing this script, then the parent directory.
1418 ac_confdir
=`$as_dirname -- "$as_myself" ||
1419 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1420 X"$as_myself" : 'X\(//\)[^/]' \| \
1421 X"$as_myself" : 'X\(//\)$' \| \
1422 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1423 $as_echo X"$as_myself" |
1424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1442 if test ! -r "$srcdir/$ac_unique_file"; then
1446 ac_srcdir_defaulted
=no
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1449 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1450 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1452 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1454 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1456 # When building in place, set srcdir=.
1457 if test "$ac_abs_confdir" = "$ac_pwd"; then
1460 # Remove unnecessary trailing slashes from srcdir.
1461 # Double slashes in file names in object file debugging info
1462 # mess up M-x gdb in Emacs.
1464 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1466 for ac_var
in $ac_precious_vars; do
1467 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1469 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1470 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1474 # Report the --help message.
1476 if test "$ac_init_help" = "long"; then
1477 # Omit some internal or obsolete options to make the list less imposing.
1478 # This message is too long to be a string in the A/UX 3.1 sh.
1480 \`configure' configures aMule SVN to adapt to many kinds of systems.
1482 Usage: $0 [OPTION]... [VAR=VALUE]...
1484 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1485 VAR=VALUE. See below for descriptions of some of the useful variables.
1487 Defaults for the options are specified in brackets.
1490 -h, --help display this help and exit
1491 --help=short display options specific to this package
1492 --help=recursive display the short help of all the included packages
1493 -V, --version display version information and exit
1494 -q, --quiet, --silent do not print \`checking...' messages
1495 --cache-file=FILE cache test results in FILE [disabled]
1496 -C, --config-cache alias for \`--cache-file=config.cache'
1497 -n, --no-create do not create output files
1498 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1500 Installation directories:
1501 --prefix=PREFIX install architecture-independent files in PREFIX
1502 [$ac_default_prefix]
1503 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1506 By default, \`make install' will install all the files in
1507 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1508 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1509 for instance \`--prefix=\$HOME'.
1511 For better control, use the options below.
1513 Fine tuning of the installation directories:
1514 --bindir=DIR user executables [EPREFIX/bin]
1515 --sbindir=DIR system admin executables [EPREFIX/sbin]
1516 --libexecdir=DIR program executables [EPREFIX/libexec]
1517 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1518 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1519 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1520 --libdir=DIR object code libraries [EPREFIX/lib]
1521 --includedir=DIR C header files [PREFIX/include]
1522 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1523 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1524 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1525 --infodir=DIR info documentation [DATAROOTDIR/info]
1526 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1527 --mandir=DIR man documentation [DATAROOTDIR/man]
1528 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1529 --htmldir=DIR html documentation [DOCDIR]
1530 --dvidir=DIR dvi documentation [DOCDIR]
1531 --pdfdir=DIR pdf documentation [DOCDIR]
1532 --psdir=DIR ps documentation [DOCDIR]
1538 --program-prefix=PREFIX prepend PREFIX to installed program names
1539 --program-suffix=SUFFIX append SUFFIX to installed program names
1540 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1543 --build=BUILD configure
for building on BUILD
[guessed
]
1544 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1548 if test -n "$ac_init_help"; then
1549 case $ac_init_help in
1550 short | recursive
) echo "Configuration of aMule SVN:";;
1555 --disable-option-checking ignore unrecognized
--enable/--with options
1556 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1557 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1558 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1559 --disable-silent-rules verbose build output (undo: `make V
=0')
1560 --enable-maintainer-mode enable make rules and dependencies not useful
1561 (and sometimes confusing) to the casual installer
1562 --disable-dependency-tracking speeds up one-time build
1563 --enable-dependency-tracking do not reject slow dependency extractors
1564 --disable-monolithic disable building of the monolithic aMule app
1565 --enable-amule-daemon compile aMule daemon version
1566 --enable-amulecmd compile aMule command line client
1567 --enable-webserver compile aMule WebServer
1568 --enable-amule-gui compile aMule remote GUI
1569 --enable-cas compile C aMule Statistics
1570 --enable-wxcas compile aMule GUI Statistics
1571 --disable-ed2k don't compile aMule ed2k links handler
1572 --enable-alc compile aMuleLinkCreator GUI version
1573 --enable-alcc compile aMuleLinkCreator
for console
1574 --enable-xas install xas XChat2 plugin
1575 --enable-fileview compile aMule
file viewer
for console
(EXPERIMENTAL
)
1576 --enable-plasmamule compile aMule plasma applet and engine
1577 --enable-static produce a statically linked executable
1578 --enable-kde-in-home install KDE related stuff
in your home dir
1579 --enable-geoip compile with GeoIP IP2Country library
1580 --disable-upnp do not compile UPnP code
1581 --enable-mmap enable using mapped memory
if supported
1582 --disable-rpath do not hardcode runtime library paths
1583 --disable-nls do not use Native Language Support
1584 --disable-debug disable additional debugging output
1585 --enable-profile enable code profiling
1586 --enable-optimize enable code optimization
1587 --enable-ccache enable ccache support
for fast recompilation
1590 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1591 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1592 --with-kde4-config=PATH kde4-config
script to use
1593 --with-moc=PATH Search
in PATH
for Qt
's meta object compiler
1594 --without-gnu-malloc Don't assume that we use GNU libc compatible
1595 malloc
/realloc when cross-compiling
1596 --with-zlib=PREFIX use zlib
in PREFIX
1597 --with-gdlib-prefix=PREFIX
1598 prefix where gdlib is installed
(optional
)
1599 --with-gdlib-config=CONFIG
1600 gdlib-config
script to use
(optional
)
1601 --with-libpng-prefix=PREFIX
1602 prefix where libpng is installed
(optional
)
1603 --with-libpng-config=CONFIG
1604 libpng-config
script to use
(optional
)
1605 --with-geoip-headers=DIR
1606 GeoIP include files location
1607 --with-geoip-lib=DIR GeoIP library location
1608 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
1609 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
1610 --with-wx-config=CONFIG wx-config
script to use
(optional
)
1611 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
1612 --with-wx-exec-prefix=PREFIX
1613 Exec prefix where wxWidgets is installed
(optional
)
1614 --with-toolkit Build against a specific wxWidgets toolkit
(default
1616 --with-wxshared Force building against a shared build of wxWidgets
,
1617 even
if --disable-shared is given
(default is auto
)
1618 --with-wxdebug Force building against a debug build of wxWidgets
,
1619 even
if --disable-debug is given
(default is auto
)
1620 --with-wxversion Build against a specific version of wxWidgets
1622 --with-libupnp-prefix=PREFIX
1623 UPnP library location
1624 --with-crypto-prefix=PREFIX
1625 prefix where crypto
++ is installed
1626 --with-language=<langs
> Specify a comma-separated list of languages you want
1627 to have installed. See po
/LINGUAS
for available
1629 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1630 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1631 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1632 --with-included-gettext use the GNU gettext library included here
1633 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1634 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1635 --with-denoise-level=<level
>
1636 Specifies denoising level
(0-4):
1638 4 - Suppress all normal output
1639 (for more information see
1640 src
/utils
/scripts
/denoiser.rules
)
1642 --with-ccache-prefix=PREFIX
1643 prefix where ccache is installed
1645 Some influential environment variables
:
1646 CXX C
++ compiler
command
1647 CXXFLAGS C
++ compiler flags
1648 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1649 nonstandard directory
<lib dir
>
1650 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1651 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1652 you have headers
in a nonstandard directory
<include dir
>
1653 CXXCPP C
++ preprocessor
1654 CC C compiler
command
1655 CFLAGS C compiler flags
1657 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1658 the first program found out of: `bison
-y', `byacc', `yacc'.
1659 YFLAGS The list of arguments that will be passed by default to $YACC.
1660 This script will default YFLAGS to the empty string to avoid a
1661 default value of `-d' given by some make applications.
1662 RC Resource Compiler
1663 RCFLAGS Resource Compiler Flags
1664 PKG_CONFIG path to pkg-config utility
1666 Use these variables to override the choices made by `configure' or to
help
1667 it to
find libraries and programs with nonstandard names
/locations.
1669 Report bugs to
<admin@amule.org
>.
1674 if test "$ac_init_help" = "recursive"; then
1675 # If there are subdirs, report their specific --help.
1676 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1677 test -d "$ac_dir" ||
1678 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1683 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1685 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1686 # A ".." for each directory in $ac_dir_suffix.
1687 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1688 case $ac_top_builddir_sub in
1689 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1690 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1693 ac_abs_top_builddir
=$ac_pwd
1694 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1695 # for backward compatibility:
1696 ac_top_builddir
=$ac_top_build_prefix
1699 .
) # We are building in place.
1701 ac_top_srcdir
=$ac_top_builddir_sub
1702 ac_abs_top_srcdir
=$ac_pwd ;;
1703 [\\/]* | ?
:[\\/]* ) # Absolute name.
1704 ac_srcdir
=$srcdir$ac_dir_suffix;
1705 ac_top_srcdir
=$srcdir
1706 ac_abs_top_srcdir
=$srcdir ;;
1708 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1709 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1710 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1712 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1714 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1715 # Check for guested configure.
1716 if test -f "$ac_srcdir/configure.gnu"; then
1718 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1719 elif test -f "$ac_srcdir/configure"; then
1721 $SHELL "$ac_srcdir/configure" --help=recursive
1723 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1725 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1729 test -n "$ac_init_help" && exit $ac_status
1730 if $ac_init_version; then
1733 generated by GNU Autoconf
2.65
1735 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1736 This configure
script is free software
; the Free Software Foundation
1737 gives unlimited permission to copy
, distribute and modify it.
1742 ## ------------------------ ##
1743 ## Autoconf initialization. ##
1744 ## ------------------------ ##
1746 # ac_fn_cxx_try_compile LINENO
1747 # ----------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_cxx_try_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 rm -f conftest.
$ac_objext
1753 if { { ac_try
="$ac_compile"
1755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_compile") 2>conftest.err
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_cxx_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest.$ac_objext; then :
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 as_fn_set_status $ac_retval
1782 } # ac_fn_cxx_try_compile
1784 # ac_fn_cxx_try_cpp LINENO
1785 # ------------------------
1786 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787 ac_fn_cxx_try_cpp ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } >/dev
/null
&& {
1806 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1807 test ! -s conftest.err
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1817 as_fn_set_status
$ac_retval
1819 } # ac_fn_cxx_try_cpp
1821 # ac_fn_c_try_compile LINENO
1822 # --------------------------
1823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_c_try_compile
()
1826 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1827 rm -f conftest.
$ac_objext
1828 if { { ac_try
="$ac_compile"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_compile") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest.$ac_objext; then :
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 as_fn_set_status $ac_retval
1857 } # ac_fn_c_try_compile
1859 # ac_fn_c_try_cpp LINENO
1860 # ----------------------
1861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 if { { ac_try="$ac_cpp conftest.$ac_ext"
1867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1868 *) ac_try_echo
=$ac_try;;
1870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1874 if test -s conftest.err
; then
1875 grep -v '^ *+' conftest.err
>conftest.er1
1876 cat conftest.er1
>&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } >/dev
/null
&& {
1881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.
$ac_ext >&5
1891 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1892 as_fn_set_status
$ac_retval
1896 # ac_fn_c_try_link LINENO
1897 # -----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1902 rm -f conftest.
$ac_objext conftest
$ac_exeext
1903 if { { ac_try
="$ac_link"
1905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>conftest.err
1912 if test -s conftest.err; then
1913 grep -v '^ *+' conftest.err >conftest.er1
1914 cat conftest.er1 >&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && {
1919 test -z "$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1921 } && test -s conftest$ac_exeext && {
1922 test "$cross_compiling" = yes ||
1923 $as_test_x conftest$ac_exeext
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.$ac_ext >&5
1932 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1933 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1934 # interfere with the next link command; also delete a directory that is
1935 # left behind by Apple's compiler. We do this before executing the actions.
1936 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 as_fn_set_status $ac_retval
1940 } # ac_fn_c_try_link
1942 # ac_fn_c_try_run LINENO
1943 # ----------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1945 # that executables *can* be run.
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 if { { ac_try="$ac_link"
1951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1952 *) ac_try_echo
=$ac_try;;
1954 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>&5
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1960 { { case "(($ac_try" in
1961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_try") 2>&5
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; }; }; then :
1972 $as_echo "$as_me: program exited with status $ac_status" >&5
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1976 ac_retval=$ac_status
1978 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980 as_fn_set_status $ac_retval
1984 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1985 # -------------------------------------------------------
1986 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1987 # the include files in INCLUDES and setting the cache variable VAR
1989 ac_fn_c_check_header_mongrel ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994 $as_echo_n "checking for $2... " >&6; }
1995 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1996 $as_echo_n "(cached) " >&6
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2002 # Is the header compilable?
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2004 $as_echo_n "checking $2 usability... " >&6; }
2005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2010 if ac_fn_c_try_compile "$LINENO"; then :
2011 ac_header_compiler=yes
2013 ac_header_compiler=no
2015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2017 $as_echo "$ac_header_compiler" >&6; }
2019 # Is the header present?
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2021 $as_echo_n "checking $2 presence... " >&6; }
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2026 if ac_fn_c_try_cpp "$LINENO"; then :
2027 ac_header_preproc=yes
2029 ac_header_preproc=no
2031 rm -f conftest.err conftest.$ac_ext
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2033 $as_echo "$ac_header_preproc" >&6; }
2035 # So? What about this header?
2036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2039 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2045 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2047 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2049 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2051 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2053 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2055 ## ------------------------------ ##
2056 ## Report this to admin@amule.org ##
2057 ## ------------------------------ ##
2059 ) | sed "s/^/$as_me: WARNING: /" >&2
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2063 $as_echo_n "checking for $2... " >&6; }
2064 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2065 $as_echo_n "(cached) " >&6
2067 eval "$3=\$ac_header_compiler"
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2073 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2075 } # ac_fn_c_check_header_mongrel
2077 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2078 # -------------------------------------------------------
2079 # Tests whether HEADER exists and can be compiled using the include files in
2080 # INCLUDES, setting the cache variable VAR accordingly.
2081 ac_fn_c_check_header_compile ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087 $as_echo_n "(cached) " >&6
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2094 if ac_fn_c_try_compile "$LINENO"; then :
2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 } # ac_fn_c_check_header_compile
2108 # ac_fn_cxx_try_run LINENO
2109 # ------------------------
2110 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2111 # that executables *can* be run.
2112 ac_fn_cxx_try_run ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 if { { ac_try="$ac_link"
2117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2118 *) ac_try_echo
=$ac_try;;
2120 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2121 $as_echo "$ac_try_echo"; } >&5
2122 (eval "$ac_link") 2>&5
2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2125 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2126 { { case "(($ac_try" in
2127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2128 *) ac_try_echo=$ac_try;;
2130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2131 $as_echo "$ac_try_echo"; } >&5
2132 (eval "$ac_try") 2>&5
2134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2135 test $ac_status = 0; }; }; then :
2138 $as_echo "$as_me: program exited with status $ac_status" >&5
2139 $as_echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.$ac_ext >&5
2142 ac_retval=$ac_status
2144 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2145 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2146 as_fn_set_status $ac_retval
2148 } # ac_fn_cxx_try_run
2150 # ac_fn_cxx_try_link LINENO
2151 # -------------------------
2152 # Try to link conftest.$ac_ext, and return whether this succeeded.
2153 ac_fn_cxx_try_link ()
2155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156 rm -f conftest.$ac_objext conftest$ac_exeext
2157 if { { ac_try="$ac_link"
2159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2160 *) ac_try_echo
=$ac_try;;
2162 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2163 $as_echo "$ac_try_echo"; } >&5
2164 (eval "$ac_link") 2>conftest.err
2166 if test -s conftest.err
; then
2167 grep -v '^ *+' conftest.err
>conftest.er1
2168 cat conftest.er1
>&5
2169 mv -f conftest.er1 conftest.err
2171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2172 test $ac_status = 0; } && {
2173 test -z "$ac_cxx_werror_flag" ||
2174 test ! -s conftest.err
2175 } && test -s conftest
$ac_exeext && {
2176 test "$cross_compiling" = yes ||
2177 $as_test_x conftest
$ac_exeext
2181 $as_echo "$as_me: failed program was:" >&5
2182 sed 's/^/| /' conftest.
$ac_ext >&5
2186 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2187 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2188 # interfere with the next link command; also delete a directory that is
2189 # left behind by Apple's compiler. We do this before executing the actions.
2190 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2192 as_fn_set_status
$ac_retval
2194 } # ac_fn_cxx_try_link
2196 # ac_fn_c_check_func LINENO FUNC VAR
2197 # ----------------------------------
2198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2199 ac_fn_c_check_func
()
2201 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2203 $as_echo_n "checking for $2... " >&6; }
2204 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2211 #define $2 innocuous_$2
2213 /* System header to define __stub macros and hopefully few prototypes,
2214 which can conflict with char $2 (); below.
2215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2216 <limits.h> exists even on freestanding compilers. */
2219 # include <limits.h>
2221 # include <assert.h>
2226 /* Override any GCC internal prototype to avoid an error.
2227 Use char because int might match the return type of a GCC
2228 builtin and then its argument prototype would still apply. */
2233 /* The GNU C library defines this for functions which it implements
2234 to always fail with ENOSYS. Some functions are actually named
2235 something starting with __ and the normal name is an alias. */
2236 #if defined __stub_$2 || defined __stub___$2
2248 if ac_fn_c_try_link
"$LINENO"; then :
2253 rm -f core conftest.err conftest.
$ac_objext \
2254 conftest
$ac_exeext conftest.
$ac_ext
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2258 $as_echo "$ac_res" >&6; }
2259 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2261 } # ac_fn_c_check_func
2263 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2264 # -------------------------------------------
2265 # Tests whether TYPE exists after having included INCLUDES, setting cache
2266 # variable VAR accordingly.
2267 ac_fn_c_check_type
()
2269 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2271 $as_echo_n "checking for $2... " >&6; }
2272 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2273 $as_echo_n "(cached) " >&6
2276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2288 if ac_fn_c_try_compile
"$LINENO"; then :
2289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2290 /* end confdefs.h. */
2301 if ac_fn_c_try_compile
"$LINENO"; then :
2306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312 $as_echo "$ac_res" >&6; }
2313 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2315 } # ac_fn_c_check_type
2317 # ac_fn_c_check_decl LINENO SYMBOL VAR
2318 # ------------------------------------
2319 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2320 ac_fn_c_check_decl
()
2322 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2324 $as_echo_n "checking whether $2 is declared... " >&6; }
2325 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2326 $as_echo_n "(cached) " >&6
2328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2329 /* end confdefs.h. */
2342 if ac_fn_c_try_compile
"$LINENO"; then :
2347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2352 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2354 } # ac_fn_c_check_decl
2355 cat >config.log
<<_ACEOF
2356 This file contains any messages produced by compilers while
2357 running configure, to aid debugging if configure makes a mistake.
2359 It was created by aMule $as_me SVN, which was
2360 generated by GNU Autoconf 2.65. Invocation command line was
2372 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2373 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2374 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2375 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2376 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2378 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2379 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2381 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2382 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2383 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2384 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2385 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2386 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2387 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir
=.
2396 $as_echo "PATH: $as_dir"
2412 # Keep a trace of the command line.
2413 # Strip out --no-create and --no-recursion so they do not pile up.
2414 # Strip out --silent because we don't want to record it for future runs.
2415 # Also quote any args containing shell meta-characters.
2416 # Make two passes to allow for proper duplicate-argument suppression.
2420 ac_must_keep_next
=false
2426 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2427 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2428 |
-silent |
--silent |
--silen |
--sile |
--sil)
2431 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2434 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2436 as_fn_append ac_configure_args1
" '$ac_arg'"
2437 if test $ac_must_keep_next = true
; then
2438 ac_must_keep_next
=false
# Got value, back to normal.
2441 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2442 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2443 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2444 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2445 case "$ac_configure_args0 " in
2446 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2449 -* ) ac_must_keep_next
=true
;;
2452 as_fn_append ac_configure_args
" '$ac_arg'"
2457 { ac_configure_args0
=; unset ac_configure_args0
;}
2458 { ac_configure_args1
=; unset ac_configure_args1
;}
2460 # When interrupted or exit'd, cleanup temporary files, and complete
2461 # config.log. We remove comments because anyway the quotes in there
2462 # would cause problems or look ugly.
2463 # WARNING: Use '\'' to represent an apostrophe within the trap.
2464 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2465 trap 'exit_status=$?
2466 # Save into config.log some information that might help in debugging.
2471 ## ---------------- ##
2472 ## Cache variables. ##
2473 ## ---------------- ##
2476 # The following way of writing the cache mishandles newlines in values,
2478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2479 eval ac_val=\$$ac_var
2483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2487 _ | IFS | as_nl) ;; #(
2488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2489 *) { eval $ac_var=; unset $ac_var;} ;;
2494 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2495 *${as_nl}ac_space=\ *)
2497 "s/'\''/'\''\\\\'\'''\''/g;
2498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2509 ## ----------------- ##
2510 ## Output variables. ##
2511 ## ----------------- ##
2514 for ac_var in $ac_subst_vars
2516 eval ac_val=\$$ac_var
2518 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2520 $as_echo "$ac_var='\''$ac_val'\''"
2524 if test -n "$ac_subst_files"; then
2526 ## ------------------- ##
2527 ## File substitutions. ##
2528 ## ------------------- ##
2531 for ac_var
in $ac_subst_files
2533 eval ac_val
=\$
$ac_var
2535 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2537 $as_echo "$ac_var='\''$ac_val'\''"
2542 if test -s confdefs.h; then
2552 test "$ac_signal" != 0 &&
2553 $as_echo "$as_me: caught signal $ac_signal"
2554 $as_echo "$as_me: exit $exit_status"
2556 rm -f core *.core core.conftest.* &&
2557 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2560 for ac_signal
in 1 2 13 15; do
2561 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2565 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2566 rm -f -r conftest
* confdefs.h
2568 $as_echo "/* confdefs.h */" > confdefs.h
2570 # Predefined preprocessor variables.
2572 cat >>confdefs.h
<<_ACEOF
2573 #define PACKAGE_NAME "$PACKAGE_NAME"
2576 cat >>confdefs.h
<<_ACEOF
2577 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2580 cat >>confdefs.h
<<_ACEOF
2581 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2584 cat >>confdefs.h
<<_ACEOF
2585 #define PACKAGE_STRING "$PACKAGE_STRING"
2588 cat >>confdefs.h
<<_ACEOF
2589 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2592 cat >>confdefs.h
<<_ACEOF
2593 #define PACKAGE_URL "$PACKAGE_URL"
2597 # Let the site file select an alternate cache file if it wants to.
2598 # Prefer an explicitly selected file to automatically selected ones.
2601 if test -n "$CONFIG_SITE"; then
2602 ac_site_file1
=$CONFIG_SITE
2603 elif test "x$prefix" != xNONE
; then
2604 ac_site_file1
=$prefix/share
/config.site
2605 ac_site_file2
=$prefix/etc
/config.site
2607 ac_site_file1
=$ac_default_prefix/share
/config.site
2608 ac_site_file2
=$ac_default_prefix/etc
/config.site
2610 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2612 test "x$ac_site_file" = xNONE
&& continue
2613 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2615 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2616 sed 's/^/| /' "$ac_site_file" >&5
2621 if test -r "$cache_file"; then
2622 # Some versions of bash will fail to source /dev/null (special files
2623 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2624 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2626 $as_echo "$as_me: loading cache $cache_file" >&6;}
2628 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2629 *) .
"./$cache_file";;
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2634 $as_echo "$as_me: creating cache $cache_file" >&6;}
2638 as_fn_append ac_header_list
" stdlib.h"
2639 as_fn_append ac_header_list
" unistd.h"
2640 as_fn_append ac_header_list
" sys/param.h"
2641 # Check that the precious variables saved in the cache have kept the same
2643 ac_cache_corrupted
=false
2644 for ac_var
in $ac_precious_vars; do
2645 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2646 eval ac_new_set
=\
$ac_env_${ac_var}_set
2647 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2648 eval ac_new_val
=\
$ac_env_${ac_var}_value
2649 case $ac_old_set,$ac_new_set in
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2652 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2653 ac_cache_corrupted
=: ;;
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2656 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2657 ac_cache_corrupted
=: ;;
2660 if test "x$ac_old_val" != "x$ac_new_val"; then
2661 # differences in whitespace do not lead to failure.
2662 ac_old_val_w
=`echo x $ac_old_val`
2663 ac_new_val_w
=`echo x $ac_new_val`
2664 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2666 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2667 ac_cache_corrupted
=:
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2670 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2671 eval $ac_var=\
$ac_old_val
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2674 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2676 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2679 # Pass precious variables to config.status.
2680 if test "$ac_new_set" = set; then
2682 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2683 *) ac_arg
=$ac_var=$ac_new_val ;;
2685 case " $ac_configure_args " in
2686 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2687 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2691 if $ac_cache_corrupted; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2695 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2696 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2698 ## -------------------- ##
2699 ## Main body of script. ##
2700 ## -------------------- ##
2703 ac_cpp
='$CPP $CPPFLAGS'
2704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2709 am__api_version
='1.11'
2712 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2713 for ac_t
in install-sh
install.sh shtool
; do
2714 if test -f "$ac_dir/$ac_t"; then
2716 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2721 if test -z "$ac_aux_dir"; then
2722 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2725 # These three variables are undocumented and unsupported,
2726 # and are intended to be withdrawn in a future Autoconf release.
2727 # They can cause serious problems if a builder's source tree is in a directory
2728 # whose full name contains unusual characters.
2729 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2730 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2731 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2734 # Find a good install program. We prefer a C program (faster),
2735 # so one script is as good as another. But avoid the broken or
2736 # incompatible versions:
2737 # SysV /etc/install, /usr/sbin/install
2738 # SunOS /usr/etc/install
2739 # IRIX /sbin/install
2741 # AmigaOS /C/install, which installs bootblocks on floppy discs
2742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2745 # OS/2's system install, which has a completely different semantic
2746 # ./install, which can be erroneously created by make from ./install.sh.
2747 # Reject install programs that cannot install multiple files.
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2749 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2750 if test -z "$INSTALL"; then
2751 if test "${ac_cv_path_install+set}" = set; then :
2752 $as_echo_n "(cached) " >&6
2754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir
=.
2759 # Account for people who put trailing slashes in PATH elements.
2760 case $as_dir/ in #((
2761 .
/ | .
// |
/[cC
]/* | \
2762 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2763 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2766 # OSF1 and SCO ODT 3.0 have their own names for install.
2767 # Don't use installbsd from OSF since it installs stuff as root
2769 for ac_prog
in ginstall scoinst
install; do
2770 for ac_exec_ext
in '' $ac_executable_extensions; do
2771 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2772 if test $ac_prog = install &&
2773 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2774 # AIX install. It has an incompatible calling convention.
2776 elif test $ac_prog = install &&
2777 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2778 # program-specific install script used by HP pwplus--don't use.
2781 rm -rf conftest.one conftest.two conftest.dir
2782 echo one
> conftest.one
2783 echo two
> conftest.two
2785 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2786 test -s conftest.one
&& test -s conftest.two
&&
2787 test -s conftest.dir
/conftest.one
&&
2788 test -s conftest.dir
/conftest.two
2790 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2803 rm -rf conftest.one conftest.two conftest.dir
2806 if test "${ac_cv_path_install+set}" = set; then
2807 INSTALL
=$ac_cv_path_install
2809 # As a last resort, use the slow shell script. Don't cache a
2810 # value for INSTALL within a source directory, because that will
2811 # break other packages using the cache if that directory is
2812 # removed, or if the value is a relative name.
2813 INSTALL
=$ac_install_sh
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2817 $as_echo "$INSTALL" >&6; }
2819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2820 # It thinks the first close brace ends the variable substitution.
2821 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2823 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2825 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2828 $as_echo_n "checking whether build environment is sane... " >&6; }
2831 echo timestamp
> conftest.
file
2832 # Reject unsafe characters in $srcdir or the absolute working directory
2833 # name. Accept space and tab only in the latter.
2837 *[\\\"\
#\$\&\'\`$am_lf]*)
2838 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2841 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2842 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2845 # Do `set' in a subshell so we don't clobber the current shell's
2846 # arguments. Must try -L first in case configure is actually a
2847 # symlink; some systems play weird games with the mod time of symlinks
2848 # (eg FreeBSD returns the mod time of the symlink's containing
2851 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2852 if test "$*" = "X"; then
2854 set X
`ls -t "$srcdir/configure" conftest.file`
2857 if test "$*" != "X $srcdir/configure conftest.file" \
2858 && test "$*" != "X conftest.file $srcdir/configure"; then
2860 # If neither matched, then we have a broken ls. This can happen
2861 # if, for instance, CONFIG_SHELL is bash and it inherits a
2862 # broken ls alias from the environment. This has actually
2863 # happened. Such a system could not be considered "sane".
2864 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2865 alias in your environment" "$LINENO" 5
2868 test "$2" = conftest.
file
2874 as_fn_error
"newly created file is older than distributed files!
2875 Check your system clock" "$LINENO" 5
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2878 $as_echo "yes" >&6; }
2879 test "$program_prefix" != NONE
&&
2880 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2881 # Use a double $ so make ignores it.
2882 test "$program_suffix" != NONE
&&
2883 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2884 # Double any \ or $.
2885 # By default was `s,x,x', remove it if useless.
2886 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2887 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2889 # expand $ac_aux_dir to an absolute path
2890 am_aux_dir
=`cd $ac_aux_dir && pwd`
2892 if test x
"${MISSING+set}" != xset
; then
2895 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2897 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2900 # Use eval to expand $SHELL
2901 if eval "$MISSING --run true"; then
2902 am_missing_run
="$MISSING --run "
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2906 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2909 if test x
"${install_sh}" != xset
; then
2912 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2914 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2918 # Installed binaries are usually stripped using `strip' when the user
2919 # run `make install-strip'. However `strip' might not be the right
2920 # tool to use in cross-compilation environments, therefore Automake
2921 # will honor the `STRIP' environment variable to overrule this program.
2922 if test "$cross_compiling" != no
; then
2923 if test -n "$ac_tool_prefix"; then
2924 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2925 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_STRIP+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$STRIP"; then
2932 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 STRIP
=$ac_cv_prog_STRIP
2952 if test -n "$STRIP"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2954 $as_echo "$STRIP" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2962 if test -z "$ac_cv_prog_STRIP"; then
2964 # Extract the first word of "strip", so it can be a program name with args.
2965 set dummy strip
; ac_word
=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$ac_ct_STRIP"; then
2972 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_ac_ct_STRIP
="strip"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2992 if test -n "$ac_ct_STRIP"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2994 $as_echo "$ac_ct_STRIP" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3000 if test "x$ac_ct_STRIP" = x
; then
3003 case $cross_compiling:$ac_tool_warned in
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3007 ac_tool_warned
=yes ;;
3012 STRIP
="$ac_cv_prog_STRIP"
3016 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3019 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3020 if test -z "$MKDIR_P"; then
3021 if test "${ac_cv_path_mkdir+set}" = set; then :
3022 $as_echo_n "(cached) " >&6
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3028 test -z "$as_dir" && as_dir
=.
3029 for ac_prog
in mkdir gmkdir
; do
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3032 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3033 'mkdir (GNU coreutils) '* | \
3034 'mkdir (coreutils) '* | \
3035 'mkdir (fileutils) '4.1*)
3036 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3046 test -d .
/--version && rmdir .
/--version
3047 if test "${ac_cv_path_mkdir+set}" = set; then
3048 MKDIR_P
="$ac_cv_path_mkdir -p"
3050 # As a last resort, use the slow shell script. Don't cache a
3051 # value for MKDIR_P within a source directory, because that will
3052 # break other packages using the cache if that directory is
3053 # removed, or if the value is a relative name.
3054 MKDIR_P
="$ac_install_sh -d"
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3058 $as_echo "$MKDIR_P" >&6; }
3062 [\\/$
]* | ?
:[\\/]*) ;;
3063 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3066 for ac_prog
in gawk mawk nawk
awk
3068 # Extract the first word of "$ac_prog", so it can be a program name with args.
3069 set dummy
$ac_prog; ac_word
=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if test "${ac_cv_prog_AWK+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$AWK"; then
3076 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir
=.
3083 for ac_exec_ext
in '' $ac_executable_extensions; do
3084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085 ac_cv_prog_AWK
="$ac_prog"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test -n "$AWK"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3098 $as_echo "$AWK" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3105 test -n "$AWK" && break
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3109 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3111 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3112 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3113 $as_echo_n "(cached) " >&6
3115 cat >conftest.
make <<\_ACEOF
3118 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3120 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3121 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3123 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3125 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3129 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3131 $as_echo "yes" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3136 SET_MAKE
="MAKE=${MAKE-make}"
3139 rm -rf .tst
2>/dev
/null
3140 mkdir .tst
2>/dev
/null
3141 if test -d .tst
; then
3146 rmdir .tst
2>/dev
/null
3148 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3149 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3150 # is not polluted with repeated "-I."
3151 am__isrc
=' -I$(srcdir)'
3152 # test to see if srcdir already configured
3153 if test -f $srcdir/config.status
; then
3154 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3158 # test whether we have cygpath
3159 if test -z "$CYGPATH_W"; then
3160 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3161 CYGPATH_W
='cygpath -w'
3168 # Define the identity of the package.
3173 cat >>confdefs.h
<<_ACEOF
3174 #define PACKAGE "$PACKAGE"
3178 cat >>confdefs.h
<<_ACEOF
3179 #define VERSION "$VERSION"
3182 # Some tools Automake needs.
3184 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3187 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3190 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3193 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3196 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3198 # We need awk for the "check" target. The system "awk" is bad on
3200 # Always define AMTAR for backward compatibility.
3202 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3204 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3210 # Check whether --enable-silent-rules was given.
3211 if test "${enable_silent_rules+set}" = set; then :
3212 enableval
=$enable_silent_rules;
3215 case $enable_silent_rules in
3216 yes) AM_DEFAULT_VERBOSITY
=0;;
3217 no
) AM_DEFAULT_VERBOSITY
=1;;
3218 *) AM_DEFAULT_VERBOSITY
=1;;
3226 ac_config_headers="$ac_config_headers config.h"
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3230 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3231 # Check whether --enable-maintainer-mode was given.
3232 if test "${enable_maintainer_mode+set}" = set; then :
3233 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3235 USE_MAINTAINER_MODE=no
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3239 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3240 if test $USE_MAINTAINER_MODE = yes; then
3241 MAINTAINER_MODE_TRUE=
3242 MAINTAINER_MODE_FALSE='#'
3244 MAINTAINER_MODE_TRUE
='#'
3245 MAINTAINER_MODE_FALSE
=
3248 MAINT
=$MAINTAINER_MODE_TRUE
3252 # Make sure we can run config.sub.
3253 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3254 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3257 $as_echo_n "checking build system type... " >&6; }
3258 if test "${ac_cv_build+set}" = set; then :
3259 $as_echo_n "(cached) " >&6
3261 ac_build_alias
=$build_alias
3262 test "x$ac_build_alias" = x
&&
3263 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3264 test "x$ac_build_alias" = x
&&
3265 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3266 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3267 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3271 $as_echo "$ac_cv_build" >&6; }
3272 case $ac_cv_build in
3274 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3277 ac_save_IFS
=$IFS; IFS
='-'
3283 # Remember, the first character of IFS is used to create $*,
3284 # except with old shells:
3287 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3291 $as_echo_n "checking host system type... " >&6; }
3292 if test "${ac_cv_host+set}" = set; then :
3293 $as_echo_n "(cached) " >&6
3295 if test "x$host_alias" = x
; then
3296 ac_cv_host
=$ac_cv_build
3298 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3299 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3304 $as_echo "$ac_cv_host" >&6; }
3307 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3310 ac_save_IFS
=$IFS; IFS
='-'
3316 # Remember, the first character of IFS is used to create $*,
3317 # except with old shells:
3320 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3324 case "${host_os}" in
3327 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3328 MULELDFLAGS
="-bind_at_load"
3329 touch src
/Scanner.cpp
3333 LIBS
="$LIBS -L/usr/local/lib"
3334 MULECPPFLAGS
="-D__OPENBSD__"
3336 *cygwin
* |
*mingw32
*)
3338 MULECPPFLAGS
="-DNOMINMAX"
3342 RESOLV_LIB
="-lresolv -lnsl"
3347 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3348 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3349 # Still, we prepend them, instead of adding, so the user may override them.
3350 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3351 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3355 MULECPPFLAGS
="-D__IRIX__"
3362 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3363 if test ${SYS:-unknown} != win32
; then :
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3366 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3367 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3369 MULELDFLAGS
="$MULELDFLAGS -pthread"
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3371 $as_echo "yes" >&6; }
3375 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3385 mule_backup_CFLAGS
="$CFLAGS"
3386 mule_backup_CXXFLAGS
="$CXXFLAGS"
3387 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3389 ac_cpp
='$CXXCPP $CPPFLAGS'
3390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3393 if test -z "$CXX"; then
3394 if test -n "$CCC"; then
3397 if test -n "$ac_tool_prefix"; then
3398 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3401 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if test "${ac_cv_prog_CXX+set}" = set; then :
3405 $as_echo_n "(cached) " >&6
3407 if test -n "$CXX"; then
3408 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir
=.
3415 for ac_exec_ext
in '' $ac_executable_extensions; do
3416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3417 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428 if test -n "$CXX"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3430 $as_echo "$CXX" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3437 test -n "$CXX" && break
3440 if test -z "$CXX"; then
3442 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3444 # Extract the first word of "$ac_prog", so it can be a program name with args.
3445 set dummy
$ac_prog; ac_word
=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3449 $as_echo_n "(cached) " >&6
3451 if test -n "$ac_ct_CXX"; then
3452 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3458 test -z "$as_dir" && as_dir
=.
3459 for ac_exec_ext
in '' $ac_executable_extensions; do
3460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3461 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3472 if test -n "$ac_ct_CXX"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3474 $as_echo "$ac_ct_CXX" >&6; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3481 test -n "$ac_ct_CXX" && break
3484 if test "x$ac_ct_CXX" = x
; then
3487 case $cross_compiling:$ac_tool_warned in
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3491 ac_tool_warned
=yes ;;
3499 # Provide some information about the compiler.
3500 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3503 for ac_option
in --version -v -V -qversion; do
3504 { { ac_try
="$ac_compiler $ac_option >&5"
3506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510 $as_echo "$ac_try_echo"; } >&5
3511 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3513 if test -s conftest.err; then
3515 ... rest of stderr output deleted ...
3516 10q' conftest.err >conftest.er1
3517 cat conftest.er1 >&5
3519 rm -f conftest.er1 conftest.err
3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521 test $ac_status = 0; }
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3535 ac_clean_files_save=$ac_clean_files
3536 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3537 # Try to create an executable without -o first, disregard a.out.
3538 # It will help us diagnose broken compilers, and finding out an intuition
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3541 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3542 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3544 # The possible output files:
3545 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3548 for ac_file in $ac_files
3551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3552 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3557 if { { ac_try="$ac_link_default"
3559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3560 *) ac_try_echo
=$ac_try;;
3562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3563 $as_echo "$ac_try_echo"; } >&5
3564 (eval "$ac_link_default") 2>&5
3566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3567 test $ac_status = 0; }; then :
3568 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3569 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3570 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3571 # so that the user can short-circuit this test for compilers unknown to
3573 for ac_file
in $ac_files ''
3575 test -f "$ac_file" ||
continue
3577 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3580 # We found the default executable, but exeext='' is most
3584 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3586 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3588 # We set ac_cv_exeext here because the later test for it is not
3589 # safe: cross compilers may not add the suffix if given an `-o'
3590 # argument, so we may need to know it at that point already.
3591 # Even if this section looks crufty: it has the advantage of
3598 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3603 if test -z "$ac_file"; then :
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3606 $as_echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.
$ac_ext >&5
3609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 { as_fn_set_status
77
3612 as_fn_error
"C++ compiler cannot create executables
3613 See \`config.log' for more details." "$LINENO" 5; }; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616 $as_echo "yes" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3619 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3621 $as_echo "$ac_file" >&6; }
3622 ac_exeext
=$ac_cv_exeext
3624 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3625 ac_clean_files
=$ac_clean_files_save
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3627 $as_echo_n "checking for suffix of executables... " >&6; }
3628 if { { ac_try
="$ac_link"
3630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 $as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_link") 2>&5
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }; then :
3639 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3640 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3641 # work properly (i.e., refer to `conftest.exe'), while it won't with
3643 for ac_file
in conftest.exe conftest conftest.
*; do
3644 test -f "$ac_file" ||
continue
3646 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3647 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3655 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3656 See \`config.log' for more details." "$LINENO" 5; }
3658 rm -f conftest conftest
$ac_cv_exeext
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3660 $as_echo "$ac_cv_exeext" >&6; }
3662 rm -f conftest.
$ac_ext
3663 EXEEXT
=$ac_cv_exeext
3665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3671 FILE *f = fopen ("conftest.out", "w");
3672 return ferror (f) || fclose (f) != 0;
3678 ac_clean_files
="$ac_clean_files conftest.out"
3679 # Check that the compiler produces executables we can run. If not, either
3680 # the compiler is broken, or we cross compile.
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3682 $as_echo_n "checking whether we are cross compiling... " >&6; }
3683 if test "$cross_compiling" != yes; then
3684 { { ac_try
="$ac_link"
3686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_link") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }
3695 if { ac_try='./conftest$ac_cv_exeext'
3696 { { case "(($ac_try" in
3697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3698 *) ac_try_echo
=$ac_try;;
3700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3701 $as_echo "$ac_try_echo"; } >&5
3702 (eval "$ac_try") 2>&5
3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3705 test $ac_status = 0; }; }; then
3708 if test "$cross_compiling" = maybe
; then
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error
"cannot run C++ compiled programs.
3714 If you meant to cross compile, use \`--host'.
3715 See \`config.log' for more details." "$LINENO" 5; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3720 $as_echo "$cross_compiling" >&6; }
3722 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3723 ac_clean_files
=$ac_clean_files_save
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3725 $as_echo_n "checking for suffix of object files... " >&6; }
3726 if test "${ac_cv_objext+set}" = set; then :
3727 $as_echo_n "(cached) " >&6
3729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3740 rm -f conftest.o conftest.obj
3741 if { { ac_try
="$ac_compile"
3743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3747 $as_echo "$ac_try_echo"; } >&5
3748 (eval "$ac_compile") 2>&5
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }; then :
3752 for ac_file in conftest.o conftest.obj conftest.*; do
3753 test -f "$ac_file" || continue;
3755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3756 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3761 $as_echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3766 as_fn_error "cannot compute suffix of object files
: cannot compile
3767 See \
`config.log' for more details." "$LINENO" 5; }
3769 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3772 $as_echo "$ac_cv_objext" >&6; }
3773 OBJEXT=$ac_cv_objext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3776 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3777 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3794 if ac_fn_cxx_try_compile "$LINENO"; then :
3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3804 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3805 if test $ac_compiler_gnu = yes; then
3810 ac_test_CXXFLAGS=${CXXFLAGS+set}
3811 ac_save_CXXFLAGS=$CXXFLAGS
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3813 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3814 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3818 ac_cxx_werror_flag=yes
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 if ac_fn_cxx_try_compile "$LINENO"; then :
3833 ac_cv_prog_cxx_g=yes
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3847 if ac_fn_cxx_try_compile "$LINENO"; then :
3850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3863 if ac_fn_cxx_try_compile "$LINENO"; then :
3864 ac_cv_prog_cxx_g=yes
3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3874 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3875 if test "$ac_test_CXXFLAGS" = set; then
3876 CXXFLAGS=$ac_save_CXXFLAGS
3877 elif test $ac_cv_prog_cxx_g = yes; then
3878 if test "$GXX" = yes; then
3884 if test "$GXX" = yes; then
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895 DEPDIR="${am__leading_dot}deps"
3897 ac_config_commands="$ac_config_commands depfiles"
3900 am_make=${MAKE-make}
3901 cat > confinc << 'END'
3903 @echo this is the am__doit target
3906 # If we don't find an include directive, just comment out the code.
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3908 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3912 # First try GNU make style include.
3913 echo "include confinc" > confmf
3914 # Ignore all kinds of additional output from `make'.
3915 case `$am_make -s -f confmf 2> /dev/null` in #(
3916 *the\ am__doit\ target*)
3922 # Now try BSD make style include.
3923 if test "$am__include" = "#"; then
3924 echo '.include
"confinc"' > confmf
3925 case `$am_make -s -f confmf 2> /dev/null` in #(
3926 *the\ am__doit\ target*)
3927 am__include=.include
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3936 $as_echo "$_am_result" >&6; }
3937 rm -f confinc confmf
3939 # Check whether --enable-dependency-tracking was given.
3940 if test "${enable_dependency_tracking+set}" = set; then :
3941 enableval=$enable_dependency_tracking;
3944 if test "x$enable_dependency_tracking" != xno; then
3945 am_depcomp="$ac_aux_dir/depcomp"
3948 if test "x$enable_dependency_tracking" != xno
; then
3958 depcc
="$CXX" am_compiler_list
=
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3961 $as_echo_n "checking dependency style of $depcc... " >&6; }
3962 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3963 $as_echo_n "(cached) " >&6
3965 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3966 # We make a subdir and do the tests there. Otherwise we can end up
3967 # making bogus files that we don't know about and never remove. For
3968 # instance it was reported that on HP-UX the gcc test will end up
3969 # making a dummy file named `D' -- because `-MD' means `put the output
3972 # Copy depcomp to subdir because otherwise we won't find it if we're
3973 # using a relative directory.
3974 cp "$am_depcomp" conftest.dir
3976 # We will build objects and dependencies in a subdirectory because
3977 # it helps to detect inapplicable dependency modes. For instance
3978 # both Tru64's cc and ICC support -MD to output dependencies as a
3979 # side effect of compilation, but ICC will put the dependencies in
3980 # the current directory while Tru64 will put them in the object
3984 am_cv_CXX_dependencies_compiler_type
=none
3985 if test "$am_compiler_list" = ""; then
3986 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3989 case " $depcc " in #(
3990 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3993 for depmode
in $am_compiler_list; do
3994 # Setup a source with many dependencies, because some compilers
3995 # like to wrap large dependency lists on column 80 (with \), and
3996 # we should not choose a depcomp mode which is confused by this.
3998 # We need to recreate these files for each test, as the compiler may
3999 # overwrite some of them when testing with obscure command lines.
4000 # This happens at least with the AIX C compiler.
4002 for i
in 1 2 3 4 5 6; do
4003 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4004 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4005 # Solaris 8's {/usr,}/bin/sh.
4006 touch sub
/conftst
$i.h
4008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4010 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4011 # mode. It turns out that the SunPro C++ compiler does not properly
4012 # handle `-M -o', and we need to detect this. Also, some Intel
4013 # versions had trouble with output in subdirs
4014 am__obj
=sub
/conftest.
${OBJEXT-o}
4015 am__minus_obj
="-o $am__obj"
4018 # This depmode causes a compiler race in universal mode.
4019 test "$am__universal" = false ||
continue
4022 # after this tag, mechanisms are not by side-effect, so they'll
4023 # only be used when explicitly requested
4024 if test "x$enable_dependency_tracking" = xyes
; then
4030 msvisualcpp | msvcmsys
)
4031 # This compiler won't grok `-c -o', but also, the minuso test has
4032 # not run yet. These depmodes are late enough in the game, and
4033 # so weak that their functioning should not be impacted.
4034 am__obj
=conftest.
${OBJEXT-o}
4039 if depmode
=$depmode \
4040 source=sub
/conftest.c object
=$am__obj \
4041 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4042 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4043 >/dev
/null
2>conftest.err
&&
4044 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4045 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4046 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4047 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4048 # icc doesn't choke on unknown options, it will just issue warnings
4049 # or remarks (even with -Werror). So we grep stderr for any message
4050 # that says an option was ignored or not supported.
4051 # When given -MP, icc 7.0 and 7.1 complain thusly:
4052 # icc: Command line warning: ignoring option '-M'; no argument required
4053 # The diagnosis changed in icc 8.0:
4054 # icc: Command line remark: option '-MP' not supported
4055 if (grep 'ignoring option' conftest.err ||
4056 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4057 am_cv_CXX_dependencies_compiler_type
=$depmode
4066 am_cv_CXX_dependencies_compiler_type
=none
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4071 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4072 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4075 test "x$enable_dependency_tracking" != xno \
4076 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4077 am__fastdepCXX_TRUE
=
4078 am__fastdepCXX_FALSE
='#'
4080 am__fastdepCXX_TRUE
='#'
4081 am__fastdepCXX_FALSE
=
4086 ac_cpp
='$CXXCPP $CPPFLAGS'
4087 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4091 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4092 if test -z "$CXXCPP"; then
4093 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4096 # Double quotes because CXXCPP needs to be expanded
4097 for CXXCPP
in "$CXX -E" "/lib/cpp"
4100 for ac_cxx_preproc_warn_flag
in '' yes
4102 # Use a header file that comes with gcc, so configuring glibc
4103 # with a fresh cross-compiler works.
4104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4105 # <limits.h> exists even on freestanding compilers.
4106 # On the NeXT, cc -E runs the code through the compiler's parser,
4107 # not just through cpp. "Syntax error" is here to catch this case.
4108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4111 # include <limits.h>
4113 # include <assert.h>
4117 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4120 # Broken: fails on valid input.
4123 rm -f conftest.err conftest.
$ac_ext
4125 # OK, works on sane cases. Now check whether nonexistent headers
4126 # can be detected and how.
4127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4129 #include <ac_nonexistent.h>
4131 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4132 # Broken: success on invalid input.
4135 # Passes both tests.
4139 rm -f conftest.err conftest.
$ac_ext
4142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4143 rm -f conftest.err conftest.
$ac_ext
4144 if $ac_preproc_ok; then :
4149 ac_cv_prog_CXXCPP
=$CXXCPP
4152 CXXCPP
=$ac_cv_prog_CXXCPP
4154 ac_cv_prog_CXXCPP
=$CXXCPP
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4157 $as_echo "$CXXCPP" >&6; }
4159 for ac_cxx_preproc_warn_flag
in '' yes
4161 # Use a header file that comes with gcc, so configuring glibc
4162 # with a fresh cross-compiler works.
4163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4164 # <limits.h> exists even on freestanding compilers.
4165 # On the NeXT, cc -E runs the code through the compiler's parser,
4166 # not just through cpp. "Syntax error" is here to catch this case.
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4170 # include <limits.h>
4172 # include <assert.h>
4176 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4179 # Broken: fails on valid input.
4182 rm -f conftest.err conftest.
$ac_ext
4184 # OK, works on sane cases. Now check whether nonexistent headers
4185 # can be detected and how.
4186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4188 #include <ac_nonexistent.h>
4190 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4191 # Broken: success on invalid input.
4194 # Passes both tests.
4198 rm -f conftest.err conftest.
$ac_ext
4201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4202 rm -f conftest.err conftest.
$ac_ext
4203 if $ac_preproc_ok; then :
4206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
4209 See \`config.log' for more details." "$LINENO" 5; }
4213 ac_cpp
='$CPP $CPPFLAGS'
4214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4219 ac_cpp
='$CPP $CPPFLAGS'
4220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4223 if test -n "$ac_tool_prefix"; then
4224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4225 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if test "${ac_cv_prog_CC+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$CC"; then
4232 ac_cv_prog_CC
="$CC" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 if test -n "$CC"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4254 $as_echo "$CC" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4262 if test -z "$ac_cv_prog_CC"; then
4264 # Extract the first word of "gcc", so it can be a program name with args.
4265 set dummy gcc
; ac_word
=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$ac_ct_CC"; then
4272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 ac_cv_prog_ac_ct_CC
="gcc"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4292 if test -n "$ac_ct_CC"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4294 $as_echo "$ac_ct_CC" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4300 if test "x$ac_ct_CC" = x
; then
4303 case $cross_compiling:$ac_tool_warned in
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4307 ac_tool_warned
=yes ;;
4315 if test -z "$CC"; then
4316 if test -n "$ac_tool_prefix"; then
4317 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4318 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if test "${ac_cv_prog_CC+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4324 if test -n "$CC"; then
4325 ac_cv_prog_CC
="$CC" # Let the user override the test.
4327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4331 test -z "$as_dir" && as_dir
=.
4332 for ac_exec_ext
in '' $ac_executable_extensions; do
4333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 if test -n "$CC"; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4347 $as_echo "$CC" >&6; }
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4356 if test -z "$CC"; then
4357 # Extract the first word of "cc", so it can be a program name with args.
4358 set dummy cc
; ac_word
=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CC+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4364 if test -n "$CC"; then
4365 ac_cv_prog_CC
="$CC" # Let the user override the test.
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4375 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4376 ac_prog_rejected
=yes
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 if test $ac_prog_rejected = yes; then
4388 # We found a bogon in the path, so make sure we never use it.
4389 set dummy
$ac_cv_prog_CC
4391 if test $# != 0; then
4392 # We chose a different compiler from the bogus one.
4393 # However, it has the same basename, so the bogon will be chosen
4394 # first if we set CC to just the basename; use the full file name.
4396 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4402 if test -n "$CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4404 $as_echo "$CC" >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4412 if test -z "$CC"; then
4413 if test -n "$ac_tool_prefix"; then
4414 for ac_prog
in cl.exe
4416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4417 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if test "${ac_cv_prog_CC+set}" = set; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$CC"; then
4424 ac_cv_prog_CC
="$CC" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4433 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 if test -n "$CC"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4446 $as_echo "$CC" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$CC" && break
4456 if test -z "$CC"; then
4458 for ac_prog
in cl.exe
4460 # Extract the first word of "$ac_prog", so it can be a program name with args.
4461 set dummy
$ac_prog; ac_word
=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$ac_ct_CC"; then
4468 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4477 ac_cv_prog_ac_ct_CC
="$ac_prog"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4488 if test -n "$ac_ct_CC"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4490 $as_echo "$ac_ct_CC" >&6; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4497 test -n "$ac_ct_CC" && break
4500 if test "x$ac_ct_CC" = x
; then
4503 case $cross_compiling:$ac_tool_warned in
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4507 ac_tool_warned
=yes ;;
4516 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4518 as_fn_error
"no acceptable C compiler found in \$PATH
4519 See \`config.log' for more details." "$LINENO" 5; }
4521 # Provide some information about the compiler.
4522 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4525 for ac_option
in --version -v -V -qversion; do
4526 { { ac_try
="$ac_compiler $ac_option >&5"
4528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 $as_echo "$ac_try_echo"; } >&5
4533 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4535 if test -s conftest.err; then
4537 ... rest of stderr output deleted ...
4538 10q' conftest.err >conftest.er1
4539 cat conftest.er1 >&5
4541 rm -f conftest.er1 conftest.err
4542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4543 test $ac_status = 0; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4547 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4548 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4565 if ac_fn_c_try_compile "$LINENO"; then :
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4575 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4576 if test $ac_compiler_gnu = yes; then
4581 ac_test_CFLAGS=${CFLAGS+set}
4582 ac_save_CFLAGS=$CFLAGS
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4584 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4585 if test "${ac_cv_prog_cc_g+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 ac_save_c_werror_flag=$ac_c_werror_flag
4589 ac_c_werror_flag=yes
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4603 if ac_fn_c_try_compile "$LINENO"; then :
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4618 if ac_fn_c_try_compile "$LINENO"; then :
4621 ac_c_werror_flag=$ac_save_c_werror_flag
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4634 if ac_fn_c_try_compile "$LINENO"; then :
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 ac_c_werror_flag=$ac_save_c_werror_flag
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4645 $as_echo "$ac_cv_prog_cc_g" >&6; }
4646 if test "$ac_test_CFLAGS" = set; then
4647 CFLAGS=$ac_save_CFLAGS
4648 elif test $ac_cv_prog_cc_g = yes; then
4649 if test "$GCC" = yes; then
4655 if test "$GCC" = yes; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4662 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4663 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4666 ac_cv_prog_cc_c89=no
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4672 #include <sys/types.h>
4673 #include <sys/stat.h>
4674 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4675 struct buf { int x; };
4676 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4677 static char *e (p, i)
4683 static char *f (char * (*g) (char **, int), char **p, ...)
4688 s = g (p, va_arg (v,int));
4693 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4694 function prototypes and stuff, but not '\xHH' hex character constants.
4695 These don't provoke an error unfortunately, instead are silently treated
4696 as 'x'. The following induces an error, until -std is added to get
4697 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4698 array size at least. It's necessary to write '\x00'==0 to get something
4699 that's true only with -std. */
4700 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4702 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4703 inside strings and character constants. */
4705 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4707 int test (int i, double x);
4708 struct s1 {int (*f) (int a);};
4709 struct s2 {int (*f) (double a);};
4710 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4716 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4721 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4722 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4724 CC="$ac_save_CC $ac_arg"
4725 if ac_fn_c_try_compile "$LINENO"; then :
4726 ac_cv_prog_cc_c89=$ac_arg
4728 rm -f core conftest.err conftest.$ac_objext
4729 test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 rm -f conftest.$ac_ext
4736 case "x$ac_cv_prog_cc_c89" in
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4739 $as_echo "none needed" >&6; } ;;
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4742 $as_echo "unsupported" >&6; } ;;
4744 CC="$CC $ac_cv_prog_cc_c89"
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4746 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 if test "x$ac_cv_prog_cc_c89" != xno; then :
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 depcc="$CC" am_compiler_list=
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4761 $as_echo_n "checking dependency style of $depcc... " >&6; }
4762 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4766 # We make a subdir and do the tests there. Otherwise we can end up
4767 # making bogus files that we don't know about and never remove. For
4768 # instance it was reported that on HP-UX the gcc test will end up
4769 # making a dummy file named `D
' -- because `-MD' means
`put the output
4772 # Copy depcomp to subdir because otherwise we won't find it if we're
4773 # using a relative directory.
4774 cp "$am_depcomp" conftest.dir
4776 # We will build objects and dependencies in a subdirectory because
4777 # it helps to detect inapplicable dependency modes. For instance
4778 # both Tru64's cc and ICC support -MD to output dependencies as a
4779 # side effect of compilation, but ICC will put the dependencies in
4780 # the current directory while Tru64 will put them in the object
4784 am_cv_CC_dependencies_compiler_type=none
4785 if test "$am_compiler_list" = ""; then
4786 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4789 case " $depcc " in #(
4790 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4793 for depmode in $am_compiler_list; do
4794 # Setup a source with many dependencies, because some compilers
4795 # like to wrap large dependency lists on column 80 (with \), and
4796 # we should not choose a depcomp mode which is confused by this.
4798 # We need to recreate these files for each test, as the compiler may
4799 # overwrite some of them when testing with obscure command lines.
4800 # This happens at least with the AIX C compiler.
4802 for i in 1 2 3 4 5 6; do
4803 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4804 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4805 # Solaris 8's
{/usr
,}/bin
/sh.
4806 touch sub
/conftst
$i.h
4808 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4810 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4811 # mode. It turns out that the SunPro C++ compiler does not properly
4812 # handle `-M -o', and we need to detect this. Also, some Intel
4813 # versions had trouble with output in subdirs
4814 am__obj
=sub
/conftest.
${OBJEXT-o}
4815 am__minus_obj
="-o $am__obj"
4818 # This depmode causes a compiler race in universal mode.
4819 test "$am__universal" = false ||
continue
4822 # after this tag, mechanisms are not by side-effect, so they'll
4823 # only be used when explicitly requested
4824 if test "x$enable_dependency_tracking" = xyes
; then
4830 msvisualcpp | msvcmsys
)
4831 # This compiler won't grok `-c -o', but also, the minuso test has
4832 # not run yet. These depmodes are late enough in the game, and
4833 # so weak that their functioning should not be impacted.
4834 am__obj
=conftest.
${OBJEXT-o}
4839 if depmode
=$depmode \
4840 source=sub
/conftest.c object
=$am__obj \
4841 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4842 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4843 >/dev
/null
2>conftest.err
&&
4844 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4845 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4846 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4847 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4848 # icc doesn't choke on unknown options, it will just issue warnings
4849 # or remarks (even with -Werror). So we grep stderr for any message
4850 # that says an option was ignored or not supported.
4851 # When given -MP, icc 7.0 and 7.1 complain thusly:
4852 # icc: Command line warning: ignoring option '-M'; no argument required
4853 # The diagnosis changed in icc 8.0:
4854 # icc: Command line remark: option '-MP' not supported
4855 if (grep 'ignoring option' conftest.err ||
4856 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4857 am_cv_CC_dependencies_compiler_type
=$depmode
4866 am_cv_CC_dependencies_compiler_type
=none
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4871 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4872 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4875 test "x$enable_dependency_tracking" != xno \
4876 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4878 am__fastdepCC_FALSE
='#'
4880 am__fastdepCC_TRUE
='#'
4881 am__fastdepCC_FALSE
=
4886 ac_cpp
='$CPP $CPPFLAGS'
4887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4891 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4892 # On Suns, sometimes $CPP names a directory.
4893 if test -n "$CPP" && test -d "$CPP"; then
4896 if test -z "$CPP"; then
4897 if test "${ac_cv_prog_CPP+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 # Double quotes because CPP needs to be expanded
4901 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4904 for ac_c_preproc_warn_flag
in '' yes
4906 # Use a header file that comes with gcc, so configuring glibc
4907 # with a fresh cross-compiler works.
4908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4909 # <limits.h> exists even on freestanding compilers.
4910 # On the NeXT, cc -E runs the code through the compiler's parser,
4911 # not just through cpp. "Syntax error" is here to catch this case.
4912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4915 # include <limits.h>
4917 # include <assert.h>
4921 if ac_fn_c_try_cpp
"$LINENO"; then :
4924 # Broken: fails on valid input.
4927 rm -f conftest.err conftest.
$ac_ext
4929 # OK, works on sane cases. Now check whether nonexistent headers
4930 # can be detected and how.
4931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4933 #include <ac_nonexistent.h>
4935 if ac_fn_c_try_cpp
"$LINENO"; then :
4936 # Broken: success on invalid input.
4939 # Passes both tests.
4943 rm -f conftest.err conftest.
$ac_ext
4946 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4947 rm -f conftest.err conftest.
$ac_ext
4948 if $ac_preproc_ok; then :
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4961 $as_echo "$CPP" >&6; }
4963 for ac_c_preproc_warn_flag
in '' yes
4965 # Use a header file that comes with gcc, so configuring glibc
4966 # with a fresh cross-compiler works.
4967 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4968 # <limits.h> exists even on freestanding compilers.
4969 # On the NeXT, cc -E runs the code through the compiler's parser,
4970 # not just through cpp. "Syntax error" is here to catch this case.
4971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4974 # include <limits.h>
4976 # include <assert.h>
4980 if ac_fn_c_try_cpp
"$LINENO"; then :
4983 # Broken: fails on valid input.
4986 rm -f conftest.err conftest.
$ac_ext
4988 # OK, works on sane cases. Now check whether nonexistent headers
4989 # can be detected and how.
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4992 #include <ac_nonexistent.h>
4994 if ac_fn_c_try_cpp
"$LINENO"; then :
4995 # Broken: success on invalid input.
4998 # Passes both tests.
5002 rm -f conftest.err conftest.
$ac_ext
5005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5006 rm -f conftest.err conftest.
$ac_ext
5007 if $ac_preproc_ok; then :
5010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5012 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5013 See \`config.log' for more details." "$LINENO" 5; }
5017 ac_cpp
='$CPP $CPPFLAGS'
5018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5023 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5025 if test "$cross_compiling" = yes; then :
5027 # Even if we're cross-compiling, we want a compiler here
5028 # that is not a cross-compiler.
5029 saved_cross
=$cross_compiling
5033 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5034 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5035 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5037 if test -n "$ac_build_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5039 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$BUILD_CC"; then
5046 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 BUILD_CC
=$ac_cv_prog_BUILD_CC
5066 if test -n "$BUILD_CC"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5068 $as_echo "$BUILD_CC" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_BUILD_CC"; then
5077 ac_ct_BUILD_CC
=$BUILD_CC
5078 # Extract the first word of "gcc", so it can be a program name with args.
5079 set dummy gcc
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$ac_ct_BUILD_CC"; then
5086 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5106 if test -n "$ac_ct_BUILD_CC"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5108 $as_echo "$ac_ct_BUILD_CC" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_BUILD_CC" = x
; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned
=yes ;;
5123 BUILD_CC
=$ac_ct_BUILD_CC
5126 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5129 if test -z "$BUILD_CC"; then
5130 if test -n "$ac_build_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5132 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$BUILD_CC"; then
5139 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5148 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 BUILD_CC
=$ac_cv_prog_BUILD_CC
5159 if test -n "$BUILD_CC"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5161 $as_echo "$BUILD_CC" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_BUILD_CC"; then
5170 ac_ct_BUILD_CC
=$BUILD_CC
5171 # Extract the first word of "cc", so it can be a program name with args.
5172 set dummy cc
; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$ac_ct_BUILD_CC"; then
5179 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5199 if test -n "$ac_ct_BUILD_CC"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5201 $as_echo "$ac_ct_BUILD_CC" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_BUILD_CC" = x
; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned
=yes ;;
5216 BUILD_CC
=$ac_ct_BUILD_CC
5219 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5223 if test -z "$BUILD_CC"; then
5224 # Extract the first word of "cc", so it can be a program name with args.
5225 set dummy cc
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$BUILD_CC"; then
5232 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5243 ac_prog_rejected
=yes
5246 ac_cv_prog_BUILD_CC
="cc"
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 if test $ac_prog_rejected = yes; then
5255 # We found a bogon in the path, so make sure we never use it.
5256 set dummy
$ac_cv_prog_BUILD_CC
5258 if test $# != 0; then
5259 # We chose a different compiler from the bogus one.
5260 # However, it has the same basename, so the bogon will be chosen
5261 # first if we set BUILD_CC to just the basename; use the full file name.
5263 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5268 BUILD_CC
=$ac_cv_prog_BUILD_CC
5269 if test -n "$BUILD_CC"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5271 $as_echo "$BUILD_CC" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$BUILD_CC"; then
5280 if test -n "$ac_build_prefix"; then
5283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5284 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$BUILD_CC"; then
5291 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5300 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 BUILD_CC
=$ac_cv_prog_BUILD_CC
5311 if test -n "$BUILD_CC"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5313 $as_echo "$BUILD_CC" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$BUILD_CC" && break
5323 if test -z "$BUILD_CC"; then
5324 ac_ct_BUILD_CC
=$BUILD_CC
5327 # Extract the first word of "$ac_prog", so it can be a program name with args.
5328 set dummy
$ac_prog; ac_word
=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$ac_ct_BUILD_CC"; then
5335 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_exec_ext
in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5355 if test -n "$ac_ct_BUILD_CC"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5357 $as_echo "$ac_ct_BUILD_CC" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 test -n "$ac_ct_BUILD_CC" && break
5367 if test "x$ac_ct_BUILD_CC" = x
; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned
=yes ;;
5376 BUILD_CC
=$ac_ct_BUILD_CC
5383 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5385 as_fn_error
"no acceptable C compiler found in \$PATH
5386 See \`config.log' for more details." "$LINENO" 5; }
5388 # Provide some information about the compiler.
5389 echo "$as_me:$LINENO:" \
5390 "checking for C compiler version" >&5
5391 ac_compiler
=`set X $ac_compile; echo $2`
5392 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5393 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5396 test $ac_status = 0; }
5397 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5398 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5401 test $ac_status = 0; }
5402 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5403 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5406 test $ac_status = 0; }
5408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5419 ac_clean_files_save
=$ac_clean_files
5420 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5421 # Try to create an executable without -o first, disregard a.out.
5422 # It will help us diagnose broken compilers, and finding out an intuition
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5425 $as_echo_n "checking whether the C compiler works... " >&6; }
5426 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5428 # The possible output files:
5429 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5432 for ac_file
in $ac_files
5435 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5436 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5441 if { { ac_try
="$ac_link_default"
5443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5444 *) ac_try_echo=$ac_try;;
5446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5447 $as_echo "$ac_try_echo"; } >&5
5448 (eval "$ac_link_default") 2>&5
5450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5451 test $ac_status = 0; }; then :
5452 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5453 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5454 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5455 # so that the user can short-circuit this test for compilers unknown to
5457 for ac_file in $ac_files ''
5459 test -f "$ac_file" || continue
5461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5464 # We found the default executable, but exeext='' is most
5468 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5470 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5472 # We set ac_cv_exeext here because the later test for it is not
5473 # safe: cross compilers may not add the suffix if given an `-o'
5474 # argument, so we may need to know it at that point already.
5475 # Even if this section looks crufty: it has the advantage of
5482 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5487 if test -z "$ac_file"; then :
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5490 $as_echo "$as_me: failed program was:" >&5
5491 sed 's
/^
/|
/' conftest.$ac_ext >&5
5493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5494 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5495 { as_fn_set_status 77
5496 as_fn_error "C compiler cannot create executables
5497 See \`config.log
' for more details." "$LINENO" 5; }; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5500 $as_echo "yes" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5503 $as_echo_n "checking for C compiler default output file name... " >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5505 $as_echo "$ac_file" >&6; }
5506 ac_build_exeext=$ac_cv_build_exeext
5508 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5509 ac_clean_files=$ac_clean_files_save
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5511 $as_echo_n "checking for suffix of executables... " >&6; }
5512 if { { ac_try="$ac_link"
5514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5515 *) ac_try_echo=$ac_try;;
5517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5518 $as_echo "$ac_try_echo"; } >&5
5519 (eval "$ac_link") 2>&5
5521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5522 test $ac_status = 0; }; then :
5523 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
5524 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
5525 # work properly (i.e., refer to `conftest.exe
'), while it won't with
5527 for ac_file
in conftest.exe conftest conftest.
*; do
5528 test -f "$ac_file" ||
continue
5530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5531 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5539 as_fn_error
"cannot compute suffix of executables: cannot compile and link
5540 See \`config.log' for more details." "$LINENO" 5; }
5542 rm -f conftest conftest
$ac_cv_build_exeext
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5544 $as_echo "$ac_cv_build_exeext" >&6; }
5546 rm -f conftest.
$ac_ext
5547 BUILD_EXEEXT
=$ac_cv_build_exeext
5548 ac_build_exeext
=$BUILD_EXEEXT
5549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5555 FILE *f = fopen ("conftest.out", "w");
5556 return ferror (f) || fclose (f) != 0;
5562 ac_clean_files
="$ac_clean_files conftest.out"
5563 # Check that the compiler produces executables we can run. If not, either
5564 # the compiler is broken, or we cross compile.
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5566 $as_echo_n "checking whether we are cross compiling... " >&6; }
5567 if test "$cross_compiling" != yes; then
5568 { { ac_try
="$ac_link"
5570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5571 *) ac_try_echo=$ac_try;;
5573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5574 $as_echo "$ac_try_echo"; } >&5
5575 (eval "$ac_link") 2>&5
5577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5578 test $ac_status = 0; }
5579 if { ac_try='./conftest$ac_cv_build_exeext'
5580 { { case "(($ac_try" in
5581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5582 *) ac_try_echo
=$ac_try;;
5584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5585 $as_echo "$ac_try_echo"; } >&5
5586 (eval "$ac_try") 2>&5
5588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5589 test $ac_status = 0; }; }; then
5592 if test "$cross_compiling" = maybe
; then
5595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5597 as_fn_error
"cannot run C compiled programs.
5598 If you meant to cross compile, use \`--host'.
5599 See \`config.log' for more details." "$LINENO" 5; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5604 $as_echo "$cross_compiling" >&6; }
5606 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5607 ac_clean_files
=$ac_clean_files_save
5610 # Restore configuration environment
5611 cross_compiling
=$saved_cross
5614 ac_cpp
='$CPP $CPPFLAGS'
5615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5620 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
5622 CFLAGS
="$mule_backup_CFLAGS"
5623 CXXFLAGS
="$mule_backup_CXXFLAGS"
5624 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
5625 for ac_prog
in gawk mawk nawk
awk
5627 # Extract the first word of "$ac_prog", so it can be a program name with args.
5628 set dummy
$ac_prog; ac_word
=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if test "${ac_cv_prog_AWK+set}" = set; then :
5632 $as_echo_n "(cached) " >&6
5634 if test -n "$AWK"; then
5635 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir
=.
5642 for ac_exec_ext
in '' $ac_executable_extensions; do
5643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644 ac_cv_prog_AWK
="$ac_prog"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 if test -n "$AWK"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5657 $as_echo "$AWK" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5664 test -n "$AWK" && break
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5668 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5669 if test "${ac_cv_path_GREP+set}" = set; then :
5670 $as_echo_n "(cached) " >&6
5672 if test -z "$GREP"; then
5673 ac_path_GREP_found
=false
5674 # Loop through the user's path and test for each of PROGNAME-LIST
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5676 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_prog
in grep ggrep
; do
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5684 # Check for GNU ac_path_GREP and select it if it is found.
5685 # Check for GNU $ac_path_GREP
5686 case `"$ac_path_GREP" --version 2>&1` in
5688 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5691 $as_echo_n 0123456789 >"conftest.in"
5694 cat "conftest.in" "conftest.in" >"conftest.tmp"
5695 mv "conftest.tmp" "conftest.in"
5696 cp "conftest.in" "conftest.nl"
5697 $as_echo 'GREP' >> "conftest.nl"
5698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5699 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5700 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5702 # Best one so far, save it but keep looking for a better one
5703 ac_cv_path_GREP
="$ac_path_GREP"
5704 ac_path_GREP_max
=$ac_count
5706 # 10*(2^10) chars as input seems more than enough
5707 test $ac_count -gt 10 && break
5709 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5712 $ac_path_GREP_found && break 3
5717 if test -z "$ac_cv_path_GREP"; then
5718 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5721 ac_cv_path_GREP
=$GREP
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5726 $as_echo "$ac_cv_path_GREP" >&6; }
5727 GREP
="$ac_cv_path_GREP"
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5731 $as_echo_n "checking for egrep... " >&6; }
5732 if test "${ac_cv_path_EGREP+set}" = set; then :
5733 $as_echo_n "(cached) " >&6
5735 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5736 then ac_cv_path_EGREP
="$GREP -E"
5738 if test -z "$EGREP"; then
5739 ac_path_EGREP_found
=false
5740 # Loop through the user's path and test for each of PROGNAME-LIST
5741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5742 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5745 test -z "$as_dir" && as_dir
=.
5746 for ac_prog
in egrep; do
5747 for ac_exec_ext
in '' $ac_executable_extensions; do
5748 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5749 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5750 # Check for GNU ac_path_EGREP and select it if it is found.
5751 # Check for GNU $ac_path_EGREP
5752 case `"$ac_path_EGREP" --version 2>&1` in
5754 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5757 $as_echo_n 0123456789 >"conftest.in"
5760 cat "conftest.in" "conftest.in" >"conftest.tmp"
5761 mv "conftest.tmp" "conftest.in"
5762 cp "conftest.in" "conftest.nl"
5763 $as_echo 'EGREP' >> "conftest.nl"
5764 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5765 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5766 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5767 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5768 # Best one so far, save it but keep looking for a better one
5769 ac_cv_path_EGREP
="$ac_path_EGREP"
5770 ac_path_EGREP_max
=$ac_count
5772 # 10*(2^10) chars as input seems more than enough
5773 test $ac_count -gt 10 && break
5775 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5778 $ac_path_EGREP_found && break 3
5783 if test -z "$ac_cv_path_EGREP"; then
5784 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5787 ac_cv_path_EGREP
=$EGREP
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5793 $as_echo "$ac_cv_path_EGREP" >&6; }
5794 EGREP
="$ac_cv_path_EGREP"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5800 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5801 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5802 $as_echo_n "(cached) " >&6
5804 cat >conftest.
make <<\_ACEOF
5807 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5809 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5812 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5814 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5818 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5820 $as_echo "yes" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5825 SET_MAKE
="MAKE=${MAKE-make}"
5829 for ac_prog
in flex
lex
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy
$ac_prog; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if test "${ac_cv_prog_LEX+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -n "$LEX"; then
5839 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_LEX
="$ac_prog"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 if test -n "$LEX"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5861 $as_echo "$LEX" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 test -n "$LEX" && break
5870 test -n "$LEX" || LEX
=":"
5872 if test "x$LEX" != "x:"; then
5873 cat >conftest.l
<<_ACEOF
5879 e { yyless (input () != 0); }
5880 f { unput (yytext[0]); }
5881 . { BEGIN INITIAL; }
5883 #ifdef YYTEXT_POINTER
5884 extern char *yytext;
5889 return ! yylex () + ! yywrap ();
5892 { { ac_try
="$LEX conftest.l"
5894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5895 *) ac_try_echo=$ac_try;;
5897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5898 $as_echo "$ac_try_echo"; } >&5
5899 (eval "$LEX conftest.l") 2>&5
5901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5902 test $ac_status = 0; }
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5904 $as_echo_n "checking lex output file root... " >&6; }
5905 if test "${ac_cv_prog_lex_root+set}" = set; then :
5906 $as_echo_n "(cached) " >&6
5909 if test -f lex.yy.c; then
5910 ac_cv_prog_lex_root=lex.yy
5911 elif test -f lexyy.c; then
5912 ac_cv_prog_lex_root=lexyy
5914 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5918 $as_echo "$ac_cv_prog_lex_root" >&6; }
5919 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5921 if test -z "${LEXLIB+set}"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5923 $as_echo_n "checking lex library... " >&6; }
5924 if test "${ac_cv_lib_lex+set}" = set; then :
5925 $as_echo_n "(cached) " >&6
5929 ac_cv_lib_lex='none needed'
5930 for ac_lib in '' -lfl -ll; do
5931 LIBS="$ac_lib $ac_save_LIBS"
5932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5934 `cat $LEX_OUTPUT_ROOT.c
`
5936 if ac_fn_c_try_link "$LINENO"; then :
5937 ac_cv_lib_lex=$ac_lib
5939 rm -f core conftest.err conftest.$ac_objext \
5940 conftest$ac_exeext conftest.$ac_ext
5941 test "$ac_cv_lib_lex" != 'none needed' && break
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5947 $as_echo "$ac_cv_lib_lex" >&6; }
5948 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5953 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5954 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5957 # POSIX says lex can declare yytext either as a pointer or an array; the
5958 # default is implementation-dependent. Figure out which it is, since
5959 # not all implementations provide the %pointer and %array declarations.
5960 ac_cv_prog_lex_yytext_pointer=no
5962 LIBS="$LEXLIB $ac_save_LIBS"
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5965 #define YYTEXT_POINTER 1
5966 `cat $LEX_OUTPUT_ROOT.c
`
5968 if ac_fn_c_try_link "$LINENO"; then :
5969 ac_cv_prog_lex_yytext_pointer=yes
5971 rm -f core conftest.err conftest.$ac_objext \
5972 conftest$ac_exeext conftest.$ac_ext
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5977 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5978 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5980 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5983 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5987 if test -n "$ac_tool_prefix"; then
5988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5989 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 $as_echo_n "checking for $ac_word... " >&6; }
5992 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5993 $as_echo_n "(cached) " >&6
5995 if test -n "$RANLIB"; then
5996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 RANLIB=$ac_cv_prog_RANLIB
6016 if test -n "$RANLIB"; then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6018 $as_echo "$RANLIB" >&6; }
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6021 $as_echo "no" >&6; }
6026 if test -z "$ac_cv_prog_RANLIB"; then
6027 ac_ct_RANLIB=$RANLIB
6028 # Extract the first word of "ranlib", so it can be a program name with args.
6029 set dummy ranlib; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6033 $as_echo_n "(cached) " >&6
6035 if test -n "$ac_ct_RANLIB"; then
6036 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045 ac_cv_prog_ac_ct_RANLIB="ranlib"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6056 if test -n "$ac_ct_RANLIB"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6058 $as_echo "$ac_ct_RANLIB" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6064 if test "x$ac_ct_RANLIB" = x; then
6067 case $cross_compiling:$ac_tool_warned in
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6071 ac_tool_warned=yes ;;
6073 RANLIB=$ac_ct_RANLIB
6076 RANLIB="$ac_cv_prog_RANLIB"
6079 for ac_prog in 'bison -y' byacc
6081 # Extract the first word of "$ac_prog", so it can be a program name with args.
6082 set dummy $ac_prog; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if test "${ac_cv_prog_YACC+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6088 if test -n "$YACC"; then
6089 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_YACC="$ac_prog"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 YACC=$ac_cv_prog_YACC
6109 if test -n "$YACC"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6111 $as_echo "$YACC" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6118 test -n "$YACC" && break
6120 test -n "$YACC" || YACC="yacc"
6123 if test -n "$ac_tool_prefix"; then
6124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6125 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6129 $as_echo_n "(cached) " >&6
6131 if test -n "$RANLIB"; then
6132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6141 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 RANLIB=$ac_cv_prog_RANLIB
6152 if test -n "$RANLIB"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6154 $as_echo "$RANLIB" >&6; }
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6162 if test -z "$ac_cv_prog_RANLIB"; then
6163 ac_ct_RANLIB=$RANLIB
6164 # Extract the first word of "ranlib", so it can be a program name with args.
6165 set dummy ranlib; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6169 $as_echo_n "(cached) " >&6
6171 if test -n "$ac_ct_RANLIB"; then
6172 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_prog_ac_ct_RANLIB="ranlib"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6192 if test -n "$ac_ct_RANLIB"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6194 $as_echo "$ac_ct_RANLIB" >&6; }
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6200 if test "x$ac_ct_RANLIB" = x; then
6203 case $cross_compiling:$ac_tool_warned in
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned=yes ;;
6209 RANLIB=$ac_ct_RANLIB
6212 RANLIB="$ac_cv_prog_RANLIB"
6215 if test -n "$ac_tool_prefix"; then
6216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6217 set dummy ${ac_tool_prefix}strip; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if test "${ac_cv_prog_STRIP+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -n "$STRIP"; then
6224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 STRIP=$ac_cv_prog_STRIP
6244 if test -n "$STRIP"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6246 $as_echo "$STRIP" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6254 if test -z "$ac_cv_prog_STRIP"; then
6256 # Extract the first word of "strip", so it can be a program name with args.
6257 set dummy strip; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$ac_ct_STRIP"; then
6264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273 ac_cv_prog_ac_ct_STRIP="strip"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6284 if test -n "$ac_ct_STRIP"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6286 $as_echo "$ac_ct_STRIP" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6292 if test "x$ac_ct_STRIP" = x; then
6295 case $cross_compiling:$ac_tool_warned in
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6299 ac_tool_warned=yes ;;
6304 STRIP="$ac_cv_prog_STRIP"
6307 if test -n "$ac_tool_prefix"; then
6308 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6309 set dummy ${ac_tool_prefix}ar; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if test "${ac_cv_prog_AR+set}" = set; then :
6313 $as_echo_n "(cached) " >&6
6315 if test -n "$AR"; then
6316 ac_cv_prog_AR="$AR" # Let the user override the test.
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325 ac_cv_prog_AR="${ac_tool_prefix}ar"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 if test -n "$AR"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6338 $as_echo "$AR" >&6; }
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 $as_echo "no" >&6; }
6346 if test -z "$ac_cv_prog_AR"; then
6348 # Extract the first word of "ar", so it can be a program name with args.
6349 set dummy ar; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6353 $as_echo_n "(cached) " >&6
6355 if test -n "$ac_ct_AR"; then
6356 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365 ac_cv_prog_ac_ct_AR="ar"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6376 if test -n "$ac_ct_AR"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6378 $as_echo "$ac_ct_AR" >&6; }
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6384 if test "x$ac_ct_AR" = x; then
6387 case $cross_compiling:$ac_tool_warned in
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6391 ac_tool_warned=yes ;;
6399 if test -n "$ac_tool_prefix"; then
6400 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6401 set dummy ${ac_tool_prefix}ld; ac_word=$2
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6403 $as_echo_n "checking for $ac_word... " >&6; }
6404 if test "${ac_cv_prog_LD+set}" = set; then :
6405 $as_echo_n "(cached) " >&6
6407 if test -n "$LD"; then
6408 ac_cv_prog_LD="$LD" # Let the user override the test.
6410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 test -z "$as_dir" && as_dir=.
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6417 ac_cv_prog_LD="${ac_tool_prefix}ld"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 if test -n "$LD"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6430 $as_echo "$LD" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6438 if test -z "$ac_cv_prog_LD"; then
6440 # Extract the first word of "ld", so it can be a program name with args.
6441 set dummy ld; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$ac_ct_LD"; then
6448 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457 ac_cv_prog_ac_ct_LD="ld"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6468 if test -n "$ac_ct_LD"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6470 $as_echo "$ac_ct_LD" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6476 if test "x$ac_ct_LD" = x; then
6479 case $cross_compiling:$ac_tool_warned in
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6483 ac_tool_warned=yes ;;
6492 # Check whether --enable-monolithic was given.
6493 if test "${enable_monolithic+set}" = set; then :
6494 enableval=$enable_monolithic;
6497 if test ${enable_monolithic:-yes} = yes; then
6499 MONOLITHIC_FALSE='#'
6506 # Check whether --enable-amule-daemon was given.
6507 if test "${enable_amule_daemon+set}" = set; then :
6508 enableval=$enable_amule_daemon;
6511 if test ${enable_amule_daemon:-no} = yes; then
6513 AMULE_DAEMON_FALSE='#'
6515 AMULE_DAEMON_TRUE='#'
6520 # Check whether --enable-amulecmd was given.
6521 if test "${enable_amulecmd+set}" = set; then :
6522 enableval=$enable_amulecmd;
6525 if test ${enable_amulecmd:-no} = yes; then
6527 COMPILE_CMD_FALSE='#'
6529 COMPILE_CMD_TRUE='#'
6534 # Check whether --enable-webserver was given.
6535 if test "${enable_webserver+set}" = set; then :
6536 enableval=$enable_webserver;
6539 if test ${enable_webserver:-no} = yes; then
6548 # Check whether --enable-amule-gui was given.
6549 if test "${enable_amule_gui+set}" = set; then :
6550 enableval=$enable_amule_gui;
6553 if test ${enable_amule_gui:-no} = yes; then
6562 # Check whether --enable-cas was given.
6563 if test "${enable_cas+set}" = set; then :
6564 enableval=$enable_cas;
6567 if test ${enable_cas:-no} = yes; then
6576 # Check whether --enable-wxcas was given.
6577 if test "${enable_wxcas+set}" = set; then :
6578 enableval=$enable_wxcas;
6581 if test ${enable_wxcas:-no} = yes; then
6590 # Check whether --enable-ed2k was given.
6591 if test "${enable_ed2k+set}" = set; then :
6592 enableval=$enable_ed2k;
6595 if test ${enable_ed2k:-yes} = yes; then
6604 # Check whether --enable-alc was given.
6605 if test "${enable_alc+set}" = set; then :
6606 enableval=$enable_alc;
6609 if test ${enable_alc:-no} = yes; then
6618 # Check whether --enable-alcc was given.
6619 if test "${enable_alcc+set}" = set; then :
6620 enableval=$enable_alcc;
6623 if test ${enable_alcc:-no} = yes; then
6632 # Check whether --enable-xas was given.
6633 if test "${enable_xas+set}" = set; then :
6634 enableval=$enable_xas;
6637 if test ${enable_xas:-no} = yes; then
6646 # Check whether --enable-fileview was given.
6647 if test "${enable_fileview+set}" = set; then :
6648 enableval=$enable_fileview;
6651 if test ${enable_fileview:-no} = yes; then
6660 # Check whether --enable-plasmamule was given.
6661 if test "${enable_plasmamule+set}" = set; then :
6662 enableval=$enable_plasmamule;
6667 # Run all the tests with static linkage if we want a statically linked binary
6668 # Check whether --enable-static was given.
6669 if test "${enable_static+set}" = set; then :
6670 enableval=$enable_static;
6674 if test ${enable_static:-no} = yes; then :
6675 LDFLAGS="$LDFLAGS -static"
6680 # Check whether --with-kde4-config was given.
6681 if test "${with_kde4_config+set}" = set; then :
6682 withval=$with_kde4_config; KDE4_CONFIG=$withval
6687 # Check whether --enable-kde-in-home was given.
6688 if test "${enable_kde_in_home+set}" = set; then :
6689 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
6697 # Check whether --with-moc was given.
6698 if test "${with_moc+set}" = set; then :
6699 withval=$with_moc; QT_MOC=$withval
6706 # Default is yes, because they're most likely compatible.
6707 # However, this is only used when cross-compiling.
6709 # Check whether --with-gnu-malloc was given.
6710 if test "${with_gnu_malloc+set}" = set; then :
6711 withval=$with_gnu_malloc; gnumalloc=$withval
6718 # Checking for libs before all other stuff to break
6719 # configure as soon as possible in case of a missing one
6720 # to avoid losing too much time
6723 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 :
6726 # Check whether --with-zlib was given.
6727 if test "${with_zlib+set}" = set; then :
6732 case "${with_zlib:-yes}" in
6734 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6739 zlib_prefix="$with_zlib"
6742 mule_backup_CPPFLAGS="$CPPFLAGS"
6743 mule_backup_LDFLAGS="$LDFLAGS"
6744 mule_backup_LIBS="$LIBS"
6745 if test -n "$zlib_prefix"; then :
6747 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
6748 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
6749 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
6750 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
6759 LIBS="$ZLIB_LIBS $LIBS"
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
6762 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
6763 if test "$cross_compiling" = yes; then :
6767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768 /* end confdefs.h. */
6778 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
6786 if ac_fn_c_try_link "$LINENO"; then :
6788 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
6789 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
6790 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
6791 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
6792 if test "$cross_zver_max" -gt "1"; then
6794 elif test "$cross_zver_max" -eq "1"; then
6796 if test "$cross_zver_mid" -gt "1"; then
6798 elif test "$cross_zver_mid" -eq "1"; then
6799 if test "$cross_zver_min" -ge "4"; then
6808 if test ${result:-no} = yes; then :
6809 z_version=" (version $ZLIB_VERSION)"
6813 rm -f core conftest.err conftest.$ac_objext \
6814 conftest$ac_exeext conftest.$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6816 $as_echo "$result$z_version" >&6; }
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6829 char *zver = zlibVersion();
6830 FILE *f=fopen("conftestval", "w");
6837 zver[4] >= '4'))) ? "yes" : "no");
6839 f=fopen("conftestver", "w");
6841 fprintf(f, "%s", ZLIB_VERSION);
6850 if ac_fn_c_try_run "$LINENO"; then :
6852 if test -f conftestval; then :
6853 result=`cat conftestval
`
6857 if test ${result:-no} = yes; then :
6859 if test -f conftestver; then :
6861 ZLIB_VERSION=`cat conftestver
`
6862 z_version=" (version $ZLIB_VERSION)"
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
6870 $as_echo "$result$z_version" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6876 $as_echo "$result" >&6; }
6879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6880 conftest.$ac_objext conftest.beam conftest.$ac_ext
6884 CPPFLAGS="$mule_backup_CPPFLAGS"
6885 LDFLAGS="$mule_backup_LDFLAGS"
6886 LIBS="$mule_backup_LIBS"
6888 if test ${result:-no} = no; then :
6893 as_fn_error "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6902 $as_echo_n "checking for ANSI C header files... " >&6; }
6903 if test "${ac_cv_header_stdc+set}" = set; then :
6904 $as_echo_n "(cached) " >&6
6906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6907 /* end confdefs.h. */
6921 if ac_fn_c_try_compile "$LINENO"; then :
6922 ac_cv_header_stdc=yes
6924 ac_cv_header_stdc=no
6926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 if test $ac_cv_header_stdc = yes; then
6929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6936 $EGREP "memchr" >/dev/null 2>&1; then :
6939 ac_cv_header_stdc=no
6945 if test $ac_cv_header_stdc = yes; then
6946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6953 $EGREP "free" >/dev/null 2>&1; then :
6956 ac_cv_header_stdc=no
6962 if test $ac_cv_header_stdc = yes; then
6963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6964 if test "$cross_compiling" = yes; then :
6967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6968 /* end confdefs.h. */
6971 #if ((' ' & 0x0FF) == 0x020)
6972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6975 # define ISLOWER(c) \
6976 (('a' <= (c) && (c) <= 'i') \
6977 || ('j' <= (c) && (c) <= 'r') \
6978 || ('s' <= (c) && (c) <= 'z'))
6979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6987 for (i = 0; i < 256; i++)
6988 if (XOR (islower (i), ISLOWER (i))
6989 || toupper (i) != TOUPPER (i))
6994 if ac_fn_c_try_run "$LINENO"; then :
6997 ac_cv_header_stdc=no
6999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7000 conftest.$ac_objext conftest.beam conftest.$ac_ext
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7006 $as_echo "$ac_cv_header_stdc" >&6; }
7007 if test $ac_cv_header_stdc = yes; then
7009 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7014 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7015 inttypes.h stdint.h unistd.h
7017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7020 eval as_val=\$$as_ac_Header
7021 if test "x$as_val" = x""yes; then :
7022 cat >>confdefs.h <<_ACEOF
7023 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7031 if test ${enable_cas:-no} = yes; then :
7036 # Check whether --with-gdlib-prefix was given.
7037 if test "${with_gdlib_prefix+set}" = set; then :
7038 withval=$with_gdlib_prefix;
7042 # Check whether --with-gdlib-config was given.
7043 if test "${with_gdlib_config+set}" = set; then :
7044 withval=$with_gdlib_config;
7050 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7051 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7052 GDLIB_CONFIG_NAME=gdlib-config
7054 if test -n "$with_gdlib_config"; then :
7055 GDLIB_CONFIG_NAME="$with_gdlib_config"
7058 # deal with optional prefix
7059 if test -n "$with_gdlib_prefix"; then :
7060 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7063 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7064 if test -x "$GDLIB_CONFIG_NAME"; then :
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7067 $as_echo_n "checking for gdlib-config... " >&6; }
7068 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7070 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7073 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7074 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then :
7078 $as_echo_n "(cached) " >&6
7080 case $GDLIB_CONFIG_PATH in
7082 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7087 for as_dir in $as_dummy
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7105 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7106 if test -n "$GDLIB_CONFIG_PATH"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7108 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7117 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7120 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7121 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7123 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7124 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7125 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7126 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7129 if test $gdlib_config_major_version -gt 2; then
7131 elif test $gdlib_config_major_version -eq 2; then
7133 if test $gdlib_config_minor_version -gt 0; then
7135 elif test $gdlib_config_minor_version -eq 0; then
7136 if test $gdlib_config_micro_version -ge 0; then
7146 if test -z "$gdlib_ver_ok"; then :
7148 if test -z "$GDLIB_VERSION"; then :
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7154 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7162 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7163 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7164 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7165 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7166 mule_backup_CFLAGS="$CFLAGS"
7167 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7168 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7169 if test "x$ac_cv_header_gd_h" = x""yes; then :
7176 CFLAGS="$mule_backup_CFLAGS"
7182 if test -n "$GDLIB_VERSION"; then :
7185 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7193 if test -z "$CAS_DEFS"; then :
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7195 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7196 Please check that gdlib-config is in your default path, check out
7197 LD_LIBRARY_PATH or equivalent variable.
7198 Or this might also be that your gdlib-config has other name.
7199 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7200 (replace /usr/bin/gdlib-config with a valid path to your
7202 If you use compiled packages check if you have devel pack installed.
7203 To download the latest version check http://www.boutell.com/gd for
7205 $as_echo "$as_me: WARNING:
7206 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7207 Please check that gdlib-config is in your default path, check out
7208 LD_LIBRARY_PATH or equivalent variable.
7209 Or this might also be that your gdlib-config has other name.
7210 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7211 (replace /usr/bin/gdlib-config with a valid path to your
7213 If you use compiled packages check if you have devel pack installed.
7214 To download the latest version check http://www.boutell.com/gd for
7217 _mule_has_warnings=yes
7223 if test ${enable_webserver:-no} = yes; then :
7226 # Check whether --with-libpng-prefix was given.
7227 if test "${with_libpng_prefix+set}" = set; then :
7228 withval=$with_libpng_prefix;
7232 # Check whether --with-libpng-config was given.
7233 if test "${with_libpng_config+set}" = set; then :
7234 withval=$with_libpng_config;
7240 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
7241 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
7242 LIBPNG_CONFIG_NAME=libpng-config
7244 if test -n "$with_libpng_config"; then :
7245 LIBPNG_CONFIG_NAME="$with_libpng_config"
7248 # deal with optional prefix
7249 if test -n "$with_libpng_prefix"; then :
7250 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
7253 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
7254 if test -x "$LIBPNG_CONFIG_NAME"; then :
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
7257 $as_echo_n "checking for libpng-config... " >&6; }
7258 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7260 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7263 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
7264 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then :
7268 $as_echo_n "(cached) " >&6
7270 case $LIBPNG_CONFIG_PATH in
7272 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
7277 for as_dir in $as_dummy
7280 test -z "$as_dir" && as_dir=.
7281 for ac_exec_ext in '' $ac_executable_extensions; do
7282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7283 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
7295 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
7296 if test -n "$LIBPNG_CONFIG_PATH"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
7298 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7307 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
7310 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
7312 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
7314 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
7315 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7316 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7317 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7320 if test $libpng_config_major_version -gt 1; then
7322 elif test $libpng_config_major_version -eq 1; then
7324 if test $libpng_config_minor_version -gt 2; then
7326 elif test $libpng_config_minor_version -eq 2; then
7327 if test $libpng_config_micro_version -ge 0; then
7337 if test -z "$libpng_ver_ok"; then :
7339 if test -z "$LIBPNG_VERSION"; then :
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
7345 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
7352 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
7353 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
7354 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
7356 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
7362 if test -n "$LIBPNG_VERSION"; then :
7363 AMULEWEB_DEFS="-DWITH_LIBPNG"
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7367 libpng >= 1.2.0 not found.
7368 amuleweb will be compiled but file download progress bar images will
7369 NOT be generated." >&5
7370 $as_echo "$as_me: WARNING:
7371 libpng >= 1.2.0 not found.
7372 amuleweb will be compiled but file download progress bar images will
7373 NOT be generated." >&2;}
7375 _mule_has_warnings=yes
7385 # Check for perl File::Copy
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
7387 $as_echo_n "checking for File::Copy... " >&6; }
7388 if perl -e "require File::Copy" 2>/dev/null; then :
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7390 $as_echo "ok" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7393 File::Copy perl module is required by the mldonkey_importer script.
7394 If you want to use this script please install File::Copy from CPAN." >&5
7395 $as_echo "$as_me: WARNING:
7396 File::Copy perl module is required by the mldonkey_importer script.
7397 If you want to use this script please install File::Copy from CPAN." >&2;}
7399 _mule_has_warnings=yes
7403 # Check if we need to install skins
7404 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7410 # Check for GeoIP (required for IP2Country capability)
7411 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
7413 # Check whether --enable-geoip was given.
7414 if test "${enable_geoip+set}" = set; then :
7415 enableval=$enable_geoip;
7420 if test ${enable_geoip:-no} = yes; then :
7423 # Check whether --with-geoip-headers was given.
7424 if test "${with_geoip_headers+set}" = set; then :
7425 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
7429 # Check whether --with-geoip-lib was given.
7430 if test "${with_geoip_lib+set}" = set; then :
7431 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
7435 mule_backup_CPPFLAGS="$CPPFLAGS"
7436 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
7437 mule_backup_LDFLAGS="$LDFLAGS"
7438 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
7440 ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
7441 if test "x$ac_cv_header_GeoIP_h" = x""yes; then :
7443 if test x$SYS = xwin32; then :
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
7446 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
7447 # Actually, we might not need any if GeoIP is linked as a .dll
7448 # - but that's even harder to check for
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7455 I do know it's not the best approach, but at least works with MinGW stock headers.
7456 (tested with w32api-3.12)
7468 if ac_fn_c_try_compile "$LINENO"; then :
7470 GEOIP_WINSOCK_LIB="-lwsock32"
7474 GEOIP_WINSOCK_LIB="-lws2_32"
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
7479 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
7483 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
7484 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
7485 $as_echo_n "(cached) " >&6
7487 ac_check_lib_save_LIBS=$LIBS
7488 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7492 /* Override any GCC internal prototype to avoid an error.
7493 Use char because int might match the return type of a GCC
7494 builtin and then its argument prototype would still apply. */
7502 return GeoIP_open ();
7507 if ac_fn_c_try_link "$LINENO"; then :
7508 ac_cv_lib_GeoIP_GeoIP_open=yes
7510 ac_cv_lib_GeoIP_GeoIP_open=no
7512 rm -f core conftest.err conftest.$ac_objext \
7513 conftest$ac_exeext conftest.$ac_ext
7514 LIBS=$ac_check_lib_save_LIBS
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7517 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
7518 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x""yes; then :
7521 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
7523 GEOIP_LIBS="-lGeoIP"
7524 if test x$SYS = xwin32; then :
7525 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7527 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7529 # Check whether --with-geoip-static was given.
7530 if test "${with_geoip_static+set}" = set; then :
7531 withval=$with_geoip_static;
7532 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
7534 mule_backup_LIBS="$LIBS"
7535 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7546 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7553 if ac_fn_c_try_link "$LINENO"; then :
7555 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7560 Cannot link GeoIP statically, because your linker ($LD) does not
7562 $as_echo "$as_me: WARNING:
7563 Cannot link GeoIP statically, because your linker ($LD) does not
7566 _mule_has_warnings=yes
7570 rm -f core conftest.err conftest.$ac_objext \
7571 conftest$ac_exeext conftest.$ac_ext
7572 LIBS="$mule_backup_LIBS"
7581 enable_geoip=disabled
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7583 GeoIP support has been disabled because the GeoIP libraries were not
7585 $as_echo "$as_me: WARNING:
7586 GeoIP support has been disabled because the GeoIP libraries were not
7589 _mule_has_warnings=yes
7597 enable_geoip=disabled
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7599 GeoIP support has been disabled because the GeoIP header files were
7601 $as_echo "$as_me: WARNING:
7602 GeoIP support has been disabled because the GeoIP header files were
7605 _mule_has_warnings=yes
7612 CPPFLAGS="$mule_backup_CPPFLAGS"
7613 LDFLAGS="$mule_backup_LDFLAGS"
7620 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 :
7623 # Check whether --with-wxdir was given.
7624 if test "${with_wxdir+set}" = set; then :
7625 withval=$with_wxdir; wx_config_name="$withval/wx-config"
7626 wx_config_args="--inplace"
7630 # Check whether --with-wx-config was given.
7631 if test "${with_wx_config+set}" = set; then :
7632 withval=$with_wx_config; wx_config_name="$withval"
7636 # Check whether --with-wx-prefix was given.
7637 if test "${with_wx_prefix+set}" = set; then :
7638 withval=$with_wx_prefix; wx_config_prefix="$withval"
7644 # Check whether --with-wx-exec-prefix was given.
7645 if test "${with_wx_exec_prefix+set}" = set; then :
7646 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
7648 wx_config_exec_prefix=""
7663 # Check whether --with-toolkit was given.
7664 if test "${with_toolkit+set}" = set; then :
7665 withval=$with_toolkit;
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
7672 $as_echo_n "checking for the --with-toolkit option... " >&6; }
7673 if test "$withval" = "auto" ; then
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7675 $as_echo "will be automatically detected" >&6; }
7680 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7681 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7682 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7683 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7684 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7685 "$TOOLKIT" != "osx_cocoa"; then
7687 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
7692 $as_echo "$TOOLKIT" >&6; }
7699 # Check whether --with-wxshared was given.
7700 if test "${with_wxshared+set}" = set; then :
7701 withval=$with_wxshared;
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
7708 $as_echo_n "checking for the --with-wxshared option... " >&6; }
7709 if test "$withval" = "yes" ; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7711 $as_echo "yes" >&6; }
7714 elif test "1" = "1" -a "$withval" = "no" ; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7718 elif test "$withval" = "auto" ; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7720 $as_echo "will be automatically detected" >&6; }
7724 Unrecognized option value (allowed values: yes, auto)
7732 # Check whether --with-wxdebug was given.
7733 if test "${with_wxdebug+set}" = set; then :
7734 withval=$with_wxdebug;
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
7741 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
7742 if test "$withval" = "yes" ; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7744 $as_echo "yes" >&6; }
7747 elif test "1" = "1" -a "$withval" = "no" ; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749 $as_echo "no" >&6; }
7751 elif test "$withval" = "auto" ; then
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7753 $as_echo "will be automatically detected" >&6; }
7757 Unrecognized option value (allowed values: yes, auto)
7765 # Check whether --with-wxversion was given.
7766 if test "${with_wxversion+set}" = set; then :
7767 withval=$with_wxversion;
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
7774 $as_echo_n "checking for the --with-wxversion option... " >&6; }
7775 if test "$withval" = "auto" ; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
7777 $as_echo "will be automatically detected" >&6; }
7781 wx_requested_major_version=`echo $withval | \
7782 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7783 wx_requested_minor_version=`echo $withval | \
7784 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7786 if test "${#wx_requested_major_version}" != "1" -o \
7787 "${#wx_requested_minor_version}" != "1" ; then
7789 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7793 WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version"
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_VERSION" >&5
7795 $as_echo "$WX_VERSION" >&6; }
7799 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7800 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7801 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7802 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7803 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7804 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7807 # Force using a static wxWidgets library if the executable is to be linked statically.
7808 if test ${enable_static:-no} = yes; then :
7811 # Force using a unicode build of the library
7812 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 :
7817 if test "$WX_SHARED" = "1" ; then
7818 WXCONFIG_FLAGS="--static=no "
7819 elif test "$WX_SHARED" = "0" ; then
7820 WXCONFIG_FLAGS="--static=yes "
7823 if test "$WX_DEBUG" = "1" ; then
7824 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
7825 elif test "$WX_DEBUG" = "0" ; then
7826 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
7829 if test "$WX_UNICODE" = "1" ; then
7830 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
7831 elif test "$WX_UNICODE" = "0" ; then
7832 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
7835 if test "$TOOLKIT" != "auto" ; then
7836 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7839 if test "$WX_VERSION" != "auto" ; then
7840 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7843 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
7845 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7846 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7850 if test x${WX_CONFIG_NAME+set} != xset ; then
7851 WX_CONFIG_NAME=wx-config
7854 if test "x$wx_config_name" != x ; then
7855 WX_CONFIG_NAME="$wx_config_name"
7858 if test x$wx_config_exec_prefix != x ; then
7859 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7860 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
7862 if test x$wx_config_prefix != x ; then
7863 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
7864 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7866 if test "$cross_compiling" = "yes"; then
7867 wx_config_args="$wx_config_args --host=$host_alias"
7870 if test -x "$WX_CONFIG_NAME" ; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
7872 $as_echo_n "checking for wx-config... " >&6; }
7873 WX_CONFIG_PATH="$WX_CONFIG_NAME"
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7875 $as_echo "$WX_CONFIG_PATH" >&6; }
7877 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7878 set dummy $WX_CONFIG_NAME; ac_word=$2
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7880 $as_echo_n "checking for $ac_word... " >&6; }
7881 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
7882 $as_echo_n "(cached) " >&6
7884 case $WX_CONFIG_PATH in
7886 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 as_dummy=""$WX_LOOKUP_PATH:$PATH""
7891 for as_dir in $as_dummy
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7897 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
7909 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
7910 if test -n "$WX_CONFIG_PATH"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
7912 $as_echo "$WX_CONFIG_PATH" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7921 if test "$WX_CONFIG_PATH" != "no" ; then
7924 min_wx_version=2.8.8
7925 if test -z "$WXCONFIG_FLAGS" ; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
7927 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7930 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
7933 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7935 WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
7936 wx_config_major_version=`echo $WX_VERSION_FULL | \
7937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7938 wx_config_minor_version=`echo $WX_VERSION_FULL | \
7939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7940 wx_config_micro_version=`echo $WX_VERSION_FULL | \
7941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7943 wx_requested_major_version=`echo $min_wx_version | \
7944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7945 wx_requested_minor_version=`echo $min_wx_version | \
7946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7947 wx_requested_micro_version=`echo $min_wx_version | \
7948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7952 if test "x$WX_VERSION_FULL" != x ; then
7953 if test $wx_config_major_version -gt $wx_requested_major_version; then
7956 if test $wx_config_major_version -eq $wx_requested_major_version; then
7957 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7960 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7961 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7971 if test -n "$wx_ver_ok"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION_FULL)" >&5
7974 $as_echo "yes (version $WX_VERSION_FULL)" >&6; }
7975 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
7977 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
7979 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
7980 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
7981 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
7983 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
7984 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
7990 if test "x$WX_VERSION_FULL" = x; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7995 $as_echo "no (version $WX_VERSION_FULL is not new enough)" >&6; }
8004 if test ! -z "$WXCONFIG_FLAGS"; then
8007 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8008 build with the following settings:
8010 but such build is not available.
8012 To see the wxWidgets builds available on this system, please use
8013 'wx-config --list' command. To use the default build, returned by
8014 'wx-config --selected-config', use the options with their 'auto'
8020 The requested wxWidgets build couldn't be found.
8023 If you still get this error, then check that 'wx-config' is
8024 in path, the directory where wxWidgets libraries are installed
8025 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8026 or equivalent variable and wxWidgets version is 2.8.8 or above."
8028 as_fn_error "$wx_error_message" "$LINENO" 5
8052 WX_VERSION_MAJOR="$wx_config_major_version"
8053 WX_VERSION_MINOR="$wx_config_minor_version"
8057 if test "$wxWin" != 1; then :
8059 wxWidgets must be installed on your system but wx-config
8060 script couldn't be found. Please check that wx-config is
8061 in path or specified by --with-wx-config=path flag, the
8062 directory where wxWidgets libraries are installed (returned
8063 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8064 equivalent variable and wxWidgets version is 2.8.8 or above.
8068 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8070 This version of wxWidgets is known to not work with aMule.
8071 Please upgrade to a newer version.
8076 WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8078 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
8080 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8081 echo "[dbg] Using wx-config --selected-config"
8082 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8086 if test $WX_SHARED = "1"; then
8088 elif test $WX_SHARED = "0"; then
8090 elif test $WX_SHARED = "auto"; then
8095 if test "$UNICODE" = "auto" ; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8098 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8100 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8102 if test "$WX_UNICODE" != "0"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8105 $as_echo "yes" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8119 if test "$DEBUG" = "auto" ; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
8122 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
8124 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
8126 if test "$WX_DEBUG" != "0"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8129 $as_echo "yes" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8143 if test "$STATIC" = "auto" ; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
8146 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
8148 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
8150 if test "$WX_STATIC" != "0"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8153 $as_echo "yes" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8167 if test "$WX_STATIC" != "0"; then
8177 if test "$TOOLKIT" = "auto" ; then
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
8180 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
8182 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
8183 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
8184 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
8185 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
8186 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
8187 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
8188 WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
8189 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
8190 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
8191 WX_COCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
8192 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
8195 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
8196 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
8197 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
8198 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
8199 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
8200 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
8201 if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi
8202 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
8203 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
8204 if test "$WX_COCOAPORT" != "0"; then WX_PORT="cocoa"; fi
8205 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
8208 if test "$WX_PORT" = "unknown" ; then
8210 Cannot detect the currently installed wxWidgets port !
8211 Please check your 'wx-config --cxxflags'...
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
8216 $as_echo "$WX_PORT" >&6; }
8219 if test -n "$TOOLKIT" ; then
8228 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8229 echo "[dbg] Values of all WX_* options after final detection:"
8230 echo "[dbg] WX_DEBUG: $WX_DEBUG"
8231 echo "[dbg] WX_UNICODE: $WX_UNICODE"
8232 echo "[dbg] WX_SHARED: $WX_SHARED"
8233 echo "[dbg] WX_VERSION: $WX_VERSION"
8234 echo "[dbg] WX_PORT: $WX_PORT"
8237 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
8239 Cannot build shared library against a static build of wxWidgets !
8240 This error happens because the wxWidgets build which was selected
8241 has been detected as static while you asked to build $PACKAGE_NAME
8242 as shared library and this is not possible.
8243 Use the '--disable-shared' option to build $PACKAGE_NAME
8244 as static library or '--with-wxshared' to use wxWidgets as shared library.
8248 if test "$DEBUG" = "auto"; then
8251 if test "$DEBUG" = "1"; then
8253 elif test "$DEBUG" = ""; then
8257 if test "$UNICODE" = "auto"; then
8260 if test "$SHARED" = "auto"; then
8263 if test "$TOOLKIT" = "auto"; then
8268 # We also need wxBase
8269 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
8270 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
8271 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
8273 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8277 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
8278 if test "${WX_PORT}" = base; then :
8280 The selected components need a wxWidgets library with GUI,
8281 but your installation is base-only. Please install a GUI
8282 enabled version of wxWidgets and then retry.
8288 if test ${SYS:-unknown} = win32; then :
8289 if test -n "$ac_tool_prefix"; then
8290 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8291 set dummy ${ac_tool_prefix}windres; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293 $as_echo_n "checking for $ac_word... " >&6; }
8294 if test "${ac_cv_prog_RC+set}" = set; then :
8295 $as_echo_n "(cached) " >&6
8297 if test -n "$RC"; then
8298 ac_cv_prog_RC="$RC" # Let the user override the test.
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8307 ac_cv_prog_RC="${ac_tool_prefix}windres"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 if test -n "$RC"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
8320 $as_echo "$RC" >&6; }
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 $as_echo "no" >&6; }
8328 if test -z "$ac_cv_prog_RC"; then
8330 # Extract the first word of "windres", so it can be a program name with args.
8331 set dummy windres; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 $as_echo_n "checking for $ac_word... " >&6; }
8334 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
8335 $as_echo_n "(cached) " >&6
8337 if test -n "$ac_ct_RC"; then
8338 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8344 test -z "$as_dir" && as_dir=.
8345 for ac_exec_ext in '' $ac_executable_extensions; do
8346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8347 ac_cv_prog_ac_ct_RC="windres"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8357 ac_ct_RC=$ac_cv_prog_ac_ct_RC
8358 if test -n "$ac_ct_RC"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
8360 $as_echo "$ac_ct_RC" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8366 if test "x$ac_ct_RC" = x; then
8369 case $cross_compiling:$ac_tool_warned in
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8373 ac_tool_warned=yes ;;
8385 # Check whether --enable-upnp was given.
8386 if test "${enable_upnp+set}" = set; then :
8387 enableval=$enable_upnp;
8391 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
8398 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8399 if test -n "$ac_tool_prefix"; then
8400 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8401 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403 $as_echo_n "checking for $ac_word... " >&6; }
8404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8405 $as_echo_n "(cached) " >&6
8409 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir=.
8417 for ac_exec_ext in '' $ac_executable_extensions; do
8418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8419 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8431 if test -n "$PKG_CONFIG"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8433 $as_echo "$PKG_CONFIG" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8441 if test -z "$ac_cv_path_PKG_CONFIG"; then
8442 ac_pt_PKG_CONFIG=$PKG_CONFIG
8443 # Extract the first word of "pkg-config", so it can be a program name with args.
8444 set dummy pkg-config; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8450 case $ac_pt_PKG_CONFIG in
8452 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8459 test -z "$as_dir" && as_dir=.
8460 for ac_exec_ext in '' $ac_executable_extensions; do
8461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8462 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8474 if test -n "$ac_pt_PKG_CONFIG"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8476 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8482 if test "x$ac_pt_PKG_CONFIG" = x; then
8485 case $cross_compiling:$ac_tool_warned in
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8489 ac_tool_warned=yes ;;
8491 PKG_CONFIG=$ac_pt_PKG_CONFIG
8494 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8498 if test -n "$PKG_CONFIG"; then
8499 _pkg_min_version=0.9.0
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8501 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8502 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8504 $as_echo "yes" >&6; }
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507 $as_echo "no" >&6; }
8512 if test ${enable_upnp:-yes} = yes; then :
8516 # Check whether --with-libupnp-prefix was given.
8517 if test "${with_libupnp_prefix+set}" = set; then :
8518 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
8522 if test $cross_compiling = no; then :
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
8525 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
8526 if test -n "$PKG_CONFIG"; then :
8528 if $PKG_CONFIG libupnp --exists; then :
8530 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
8531 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
8534 resultstr=" (version $LIBUPNP_VERSION)"
8535 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
8536 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
8537 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
8538 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
8539 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
8544 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
8551 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
8558 resultstr=" (pkg-config not found)"
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8562 $as_echo "$result$resultstr" >&6; }
8563 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
8568 libupnp_error="cross compiling"
8572 if test ${result:-no} = yes; then :
8573 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8575 enable_upnp=disabled
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8577 UPnP code has been disabled because ${libupnp_error}." >&5
8578 $as_echo "$as_me: WARNING:
8579 UPnP code has been disabled because ${libupnp_error}." >&2;}
8581 _mule_has_warnings=yes
8590 # Check for Crypto++
8591 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8594 # Check whether --with-crypto-prefix was given.
8595 if test "${with_crypto_prefix+set}" = set; then :
8596 withval=$with_crypto_prefix;
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
8601 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
8603 cryptopp_file_with_version="cryptlib.h"
8605 CRYPTOPP_STYLE="unknown"
8606 CRYPTOPP_LIB_NAME="unknown"
8607 cryptopp_includedir="unknown"
8608 CRYPTOPP_INCLUDE_PREFIX="unknown"
8609 cryptopp_libdir="unknown"
8611 if test -n "$with_crypto_prefix"; then :
8613 CRYPTOPP_PREFIX="$with_crypto_prefix"
8614 # Find the Cryptopp header in the user-provided location
8615 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8617 CRYPTOPP_STYLE="sources"
8618 CRYPTOPP_LIB_NAME="cryptopp"
8619 cryptopp_includedir=
8620 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8623 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8625 CRYPTOPP_STYLE="installed"
8626 CRYPTOPP_LIB_NAME="cryptopp"
8627 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8628 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8629 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8631 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8633 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8634 CRYPTOPP_STYLE="gentoo_debian"
8635 CRYPTOPP_LIB_NAME="crypto++"
8636 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8637 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8638 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8645 for CRYPTOPP_PREFIX in /usr /usr/local /opt /opt/local /usr/pkg /mingw ; do
8646 # Find the Cryptopp header in system locations
8647 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8649 CRYPTOPP_STYLE="sources"
8650 CRYPTOPP_LIB_NAME="cryptopp"
8651 cryptopp_includedir=
8652 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
8656 elif test -f $CRYPTOPP_PREFIX/include/cryptopp/$cryptopp_file_with_version; then
8658 CRYPTOPP_STYLE="installed"
8659 CRYPTOPP_LIB_NAME="cryptopp"
8660 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8661 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8662 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8665 elif test -f $CRYPTOPP_PREFIX/include/crypto++/$cryptopp_file_with_version; then
8667 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8668 CRYPTOPP_STYLE="gentoo_debian"
8669 CRYPTOPP_LIB_NAME="crypto++"
8670 cryptopp_includedir="$CRYPTOPP_PREFIX/include"
8671 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
8672 cryptopp_libdir="$CRYPTOPP_PREFIX/lib"
8681 if test $CRYPTOPP_STYLE = "unknown"; then :
8682 result=no; resultstr=""
8685 # Find out the crypto++ version and check against the minimum required
8686 cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8687 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8688 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8689 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8691 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
8694 resultstr=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8695 if test -n "$cryptopp_includedir"; then :
8696 CRYPTOPP_CPPFLAGS="-I$cryptopp_includedir"
8700 if test -n "$cryptopp_libdir"; then :
8702 CRYPTOPP_LDFLAGS="-L$cryptopp_libdir"
8703 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
8708 CRYPTOPP_LIBS="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8712 cat >>confdefs.h <<_ACEOF
8713 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8720 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
8727 $as_echo "$result$resultstr" >&6; }
8729 if test ${result:-no} = yes; then :
8731 # Check for CryptoPP >= 5.5
8732 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
8733 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8739 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8740 Please try again with --with-crypto-prefix=/my_crypto_prefix
8741 (replace /my_crypto_prefix with a valid path to your crypto++
8742 installation directory)." "$LINENO" 5
8751 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 :
8753 ac_cpp='$CXXCPP $CPPFLAGS'
8754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're using the GNU C++ library" >&5
8760 $as_echo_n "checking if we're using the GNU C++ library... " >&6; }
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8767 #error Non-GNU C++ library found.
8772 if ac_fn_cxx_try_cpp "$LINENO"; then :
8777 rm -f conftest.err conftest.$ac_ext
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBCXX" >&5
8779 $as_echo "$GLIBCXX" >&6; }
8781 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
8783 mule_backup_CPPFLAGS="$CPPFLAGS"
8784 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
8787 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8793 #include <wx/filefn.h>
8794 #ifndef wxHAS_LARGE_FILES
8795 #error No LargeFile support!
8800 if ac_fn_cxx_try_cpp "$LINENO"; then :
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8803 $as_echo "yes" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8810 Support for large files in wxWidgets is required by aMule.
8811 To continue you must recompile wxWidgets with support for
8812 large files enabled." "$LINENO" 5
8815 rm -f conftest.err conftest.$ac_ext
8817 CPPFLAGS="$mule_backup_CPPFLAGS"
8821 # Check if the compiler is broken, wrt. exceptions.
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
8824 $as_echo_n "checking for exception-handling... " >&6; }
8825 if test "$cross_compiling" = yes; then :
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
8828 $as_echo "undeterminable" >&6; }
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8830 Cross-compilation detected, so exception handling cannot be tested.
8831 Note that broken exception handling in your compiler may lead to
8832 unexpected crashes." >&5
8833 $as_echo "$as_me: WARNING:
8834 Cross-compilation detected, so exception handling cannot be tested.
8835 Note that broken exception handling in your compiler may lead to
8836 unexpected crashes." >&2;}
8838 _mule_has_warnings=yes
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8862 if ac_fn_cxx_try_run "$LINENO"; then :
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8865 $as_echo "yes" >&6; }
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8870 $as_echo "no" >&6; }
8871 as_fn_error "Exception handling does not work. Broken compiler?" "$LINENO" 5
8874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8875 conftest.$ac_objext conftest.beam conftest.$ac_ext
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
8882 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8894 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8895 std::type_info *ti = abi::__cxa_current_exception_type();
8902 if ac_fn_cxx_try_link "$LINENO"; then :
8905 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8908 $as_echo "yes" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 $as_echo "no" >&6; }
8916 rm -f core conftest.err conftest.$ac_objext \
8917 conftest$ac_exeext conftest.$ac_ext
8920 ac_cpp='$CPP $CPPFLAGS'
8921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8928 # Ok, we have all needed libs, now checking for other stuff
8929 if test "$LEX" = "flex"; then :
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
8932 $as_echo_n "checking for extended flex capabilities... " >&6; }
8934 extended_flex=`flex
--help |
grep header-file
`
8935 if test -n "$extended_flex"; then :
8936 HAVE_FLEX_EXTENDED=yes
8938 HAVE_FLEX_EXTENDED=no
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
8941 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
8943 if test $HAVE_FLEX_EXTENDED = no; then :
8944 { $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
8945 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8949 HAVE_FLEX_EXTENDED=no
8952 # Flush standard test results for speeding cache
8953 cat >confcache <<\_ACEOF
8954 # This file is a shell script that caches the results of configure
8955 # tests run on this system so they can be shared between configure
8956 # scripts and configure runs, see configure's option --config-cache.
8957 # It is not useful on other systems. If it contains results you don't
8958 # want to keep, you may remove or edit it.
8960 # config.status only pays attention to the cache file if you give it
8961 # the --recheck option to rerun configure.
8963 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8969 # The following way of writing the cache mishandles newlines in values,
8970 # but we know of no workaround that is simple, portable, and efficient.
8971 # So, we kill variables containing newlines.
8972 # Ultrix sh set writes to stderr and can't be redirected directly,
8973 # and sets the high bit in the cache file unless we assign to the vars.
8975 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8976 eval ac_val
=\$
$ac_var
8980 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8981 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8984 _ | IFS | as_nl
) ;; #(
8985 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8986 *) { eval $ac_var=; unset $ac_var;} ;;
8992 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8993 *${as_nl}ac_space
=\
*)
8994 # `set' does not quote correctly, so add quotes: double-quote
8995 # substitution turns \\\\ into \\, and sed turns \\ into \.
8998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9001 # `set' quotes correctly as required by POSIX, so do not add quotes.
9002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9013 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9015 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9016 if test -w "$cache_file"; then
9017 test "x$cache_file" != "x/dev/null" &&
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9019 $as_echo "$as_me: updating cache $cache_file" >&6;}
9020 cat confcache
>$cache_file
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9023 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9028 # Checks for header files.
9029 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9030 # for constant arguments. Useless!
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9032 $as_echo_n "checking for working alloca.h... " >&6; }
9033 if test "${ac_cv_working_alloca_h+set}" = set; then :
9034 $as_echo_n "(cached) " >&6
9036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9037 /* end confdefs.h. */
9042 char *p = (char *) alloca (2 * sizeof (int));
9048 if ac_fn_c_try_link
"$LINENO"; then :
9049 ac_cv_working_alloca_h
=yes
9051 ac_cv_working_alloca_h
=no
9053 rm -f core conftest.err conftest.
$ac_objext \
9054 conftest
$ac_exeext conftest.
$ac_ext
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
9057 $as_echo "$ac_cv_working_alloca_h" >&6; }
9058 if test $ac_cv_working_alloca_h = yes; then
9060 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9065 $as_echo_n "checking for alloca... " >&6; }
9066 if test "${ac_cv_func_alloca_works+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9072 # define alloca __builtin_alloca
9075 # include <malloc.h>
9076 # define alloca _alloca
9078 # ifdef HAVE_ALLOCA_H
9079 # include <alloca.h>
9084 # ifndef alloca /* predefined by HP cc +Olibcalls */
9095 char *p = (char *) alloca (1);
9101 if ac_fn_c_try_link
"$LINENO"; then :
9102 ac_cv_func_alloca_works
=yes
9104 ac_cv_func_alloca_works
=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_func_alloca_works" >&5
9110 $as_echo "$ac_cv_func_alloca_works" >&6; }
9112 if test $ac_cv_func_alloca_works = yes; then
9114 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
9117 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9118 # that cause trouble. Some versions do not even contain alloca or
9119 # contain a buggy version. If you still want to use their alloca,
9120 # use ar to extract alloca.o from them instead of compiling alloca.c.
9122 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
9124 $as_echo "#define C_ALLOCA 1" >>confdefs.h
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9128 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9129 if test "${ac_cv_os_cray+set}" = set; then :
9130 $as_echo_n "(cached) " >&6
9132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 #if defined CRAY && ! defined CRAY2
9141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9142 $EGREP "webecray" >/dev
/null
2>&1; then :
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
9151 $as_echo "$ac_cv_os_cray" >&6; }
9152 if test $ac_cv_os_cray = yes; then
9153 for ac_func
in _getb67 GETB67 getb67
; do
9154 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9155 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9156 eval as_val
=\$
$as_ac_var
9157 if test "x$as_val" = x
""yes; then :
9159 cat >>confdefs.h
<<_ACEOF
9160 #define CRAY_STACKSEG_END $ac_func
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9170 $as_echo_n "checking stack direction for C alloca... " >&6; }
9171 if test "${ac_cv_c_stack_direction+set}" = set; then :
9172 $as_echo_n "(cached) " >&6
9174 if test "$cross_compiling" = yes; then :
9175 ac_cv_c_stack_direction
=0
9177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9179 $ac_includes_default
9181 find_stack_direction ()
9183 static char *addr = 0;
9188 return find_stack_direction ();
9191 return (&dummy > addr) ? 1 : -1;
9197 return find_stack_direction () < 0;
9200 if ac_fn_c_try_run
"$LINENO"; then :
9201 ac_cv_c_stack_direction
=1
9203 ac_cv_c_stack_direction
=-1
9205 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9206 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
9211 $as_echo "$ac_cv_c_stack_direction" >&6; }
9212 cat >>confdefs.h
<<_ACEOF
9213 #define STACK_DIRECTION $ac_cv_c_stack_direction
9220 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9221 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9223 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9224 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9225 $as_echo_n "(cached) " >&6
9227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9229 #include <sys/types.h>
9241 if ac_fn_c_try_compile
"$LINENO"; then :
9242 eval "$as_ac_Header=yes"
9244 eval "$as_ac_Header=no"
9246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9248 eval ac_res
=\$
$as_ac_Header
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9250 $as_echo "$ac_res" >&6; }
9251 eval as_val
=\$
$as_ac_Header
9252 if test "x$as_val" = x
""yes; then :
9253 cat >>confdefs.h
<<_ACEOF
9254 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9257 ac_header_dirent
=$ac_hdr; break
9261 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9262 if test $ac_header_dirent = dirent.h
; then
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9264 $as_echo_n "checking for library containing opendir... " >&6; }
9265 if test "${ac_cv_search_opendir+set}" = set; then :
9266 $as_echo_n "(cached) " >&6
9268 ac_func_search_save_LIBS
=$LIBS
9269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9287 for ac_lib
in '' dir
; do
9288 if test -z "$ac_lib"; then
9289 ac_res
="none required"
9292 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9294 if ac_fn_c_try_link
"$LINENO"; then :
9295 ac_cv_search_opendir
=$ac_res
9297 rm -f core conftest.err conftest.
$ac_objext \
9299 if test "${ac_cv_search_opendir+set}" = set; then :
9303 if test "${ac_cv_search_opendir+set}" = set; then :
9306 ac_cv_search_opendir
=no
9309 LIBS
=$ac_func_search_save_LIBS
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9312 $as_echo "$ac_cv_search_opendir" >&6; }
9313 ac_res
=$ac_cv_search_opendir
9314 if test "$ac_res" != no
; then :
9315 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9321 $as_echo_n "checking for library containing opendir... " >&6; }
9322 if test "${ac_cv_search_opendir+set}" = set; then :
9323 $as_echo_n "(cached) " >&6
9325 ac_func_search_save_LIBS
=$LIBS
9326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9344 for ac_lib
in '' x
; do
9345 if test -z "$ac_lib"; then
9346 ac_res
="none required"
9349 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9351 if ac_fn_c_try_link
"$LINENO"; then :
9352 ac_cv_search_opendir
=$ac_res
9354 rm -f core conftest.err conftest.
$ac_objext \
9356 if test "${ac_cv_search_opendir+set}" = set; then :
9360 if test "${ac_cv_search_opendir+set}" = set; then :
9363 ac_cv_search_opendir
=no
9366 LIBS
=$ac_func_search_save_LIBS
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9369 $as_echo "$ac_cv_search_opendir" >&6; }
9370 ac_res
=$ac_cv_search_opendir
9371 if test "$ac_res" != no
; then :
9372 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9379 $as_echo_n "checking for ANSI C header files... " >&6; }
9380 if test "${ac_cv_header_stdc+set}" = set; then :
9381 $as_echo_n "(cached) " >&6
9383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9398 if ac_fn_c_try_compile
"$LINENO"; then :
9399 ac_cv_header_stdc
=yes
9401 ac_cv_header_stdc
=no
9403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9405 if test $ac_cv_header_stdc = yes; then
9406 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9413 $EGREP "memchr" >/dev
/null
2>&1; then :
9416 ac_cv_header_stdc
=no
9422 if test $ac_cv_header_stdc = yes; then
9423 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9430 $EGREP "free" >/dev
/null
2>&1; then :
9433 ac_cv_header_stdc
=no
9439 if test $ac_cv_header_stdc = yes; then
9440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9441 if test "$cross_compiling" = yes; then :
9444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9448 #if ((' ' & 0x0FF) == 0x020)
9449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9452 # define ISLOWER(c) \
9453 (('a' <= (c) && (c) <= 'i') \
9454 || ('j' <= (c) && (c) <= 'r') \
9455 || ('s' <= (c) && (c) <= 'z'))
9456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9464 for (i = 0; i < 256; i++)
9465 if (XOR (islower (i), ISLOWER (i))
9466 || toupper (i) != TOUPPER (i))
9471 if ac_fn_c_try_run
"$LINENO"; then :
9474 ac_cv_header_stdc
=no
9476 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9477 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9483 $as_echo "$ac_cv_header_stdc" >&6; }
9484 if test $ac_cv_header_stdc = yes; then
9486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9490 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
9492 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9493 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9494 eval as_val
=\$
$as_ac_Header
9495 if test "x$as_val" = x
""yes; then :
9496 cat >>confdefs.h
<<_ACEOF
9497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9505 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9506 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
9507 $as_echo_n "(cached) " >&6
9509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9511 #include <sys/types.h>
9512 #include <sys/wait.h>
9514 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9517 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9525 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9530 if ac_fn_c_try_compile
"$LINENO"; then :
9531 ac_cv_header_sys_wait_h
=yes
9533 ac_cv_header_sys_wait_h
=no
9535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9538 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9539 if test $ac_cv_header_sys_wait_h = yes; then
9541 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9546 # Checks for typedefs, structures, and compiler characteristics.
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
9548 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
9549 if test "${ac_cv_header_stdbool_h+set}" = set; then :
9550 $as_echo_n "(cached) " >&6
9552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 #include <stdbool.h>
9557 "error: bool is not defined"
9560 "error: false is not defined"
9563 "error: false is not 0"
9566 "error: true is not defined"
9569 "error: true is not 1"
9571 #ifndef __bool_true_false_are_defined
9572 "error: __bool_true_false_are_defined is not defined"
9575 struct s { _Bool s: 1; _Bool t; } s;
9577 char a[true == 1 ? 1 : -1];
9578 char b[false == 0 ? 1 : -1];
9579 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9580 char d[(bool) 0.5 == true ? 1 : -1];
9582 char f[(_Bool) 0.0 == false ? 1 : -1];
9584 char h[sizeof (_Bool)];
9586 enum { j = false, k = true, l = false * true, m = true * 256 };
9587 /* The following fails for
9588 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
9590 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9591 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9592 # if defined __xlc__ || defined __GNUC__
9593 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9594 reported by James Lemley on 2005-10-05; see
9595 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9596 This test is not quite right, since xlc is allowed to
9597 reject this program, as the initializer for xlcbug is
9598 not one of the forms that C requires support for.
9599 However, doing the test right would require a runtime
9600 test, and that would make cross-compilation harder.
9601 Let us hope that IBM fixes the xlc bug, and also adds
9602 support for this kind of constant expression. In the
9603 meantime, this test will reject xlc, which is OK, since
9604 our stdbool.h substitute should suffice. We also test
9605 this with GCC, where it should work, to detect more
9606 quickly whether someone messes up the test in the
9608 char digs[] = "0123456789";
9609 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
9611 /* Catch a bug in an HP-UX C compiler. See
9612 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
9613 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
9624 /* Refer to every declared value, to avoid compiler optimizations. */
9625 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
9626 + !m + !n + !o + !p + !q + !pq);
9632 if ac_fn_c_try_compile
"$LINENO"; then :
9633 ac_cv_header_stdbool_h
=yes
9635 ac_cv_header_stdbool_h
=no
9637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
9640 $as_echo "$ac_cv_header_stdbool_h" >&6; }
9641 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
9642 if test "x$ac_cv_type__Bool" = x
""yes; then :
9644 cat >>confdefs.h
<<_ACEOF
9645 #define HAVE__BOOL 1
9651 if test $ac_cv_header_stdbool_h = yes; then
9653 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9658 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9659 if test "${ac_cv_c_const+set}" = set; then :
9660 $as_echo_n "(cached) " >&6
9662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9668 /* FIXME: Include the comments suggested by Paul. */
9670 /* Ultrix mips cc rejects this. */
9671 typedef int charset[2];
9673 /* SunOS 4.1.1 cc rejects this. */
9674 char const *const *pcpcc;
9676 /* NEC SVR4.0.2 mips cc rejects this. */
9677 struct point {int x, y;};
9678 static struct point const zero = {0,0};
9679 /* AIX XL C 1.02.0.0 rejects this.
9680 It does not let you subtract one const X* pointer from another in
9681 an arm of an if-expression whose if-part is not a constant
9683 const char *g = "string";
9684 pcpcc = &g + (g ? g-g : 0);
9685 /* HPUX 7.0 cc rejects these. */
9687 ppc = (char**) pcpcc;
9688 pcpcc = (char const *const *) ppc;
9689 { /* SCO 3.2v4 cc rejects this. */
9691 char const *s = 0 ? (char *) 0 : (char const *) 0;
9696 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9698 const int *foo = &x[0];
9701 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9702 typedef const int *iptr;
9706 { /* AIX XL C 1.02.0.0 rejects this saying
9707 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9708 struct s { int j; const int *ap[3]; };
9709 struct s *b; b->j = 5;
9711 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9715 return !cs[0] && !zero.x;
9722 if ac_fn_c_try_compile
"$LINENO"; then :
9727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9730 $as_echo "$ac_cv_c_const" >&6; }
9731 if test $ac_cv_c_const = no
; then
9733 $as_echo "#define const /**/" >>confdefs.h
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9738 $as_echo_n "checking for inline... " >&6; }
9739 if test "${ac_cv_c_inline+set}" = set; then :
9740 $as_echo_n "(cached) " >&6
9743 for ac_kw
in inline __inline__ __inline
; do
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9748 static $ac_kw foo_t static_foo () {return 0; }
9749 $ac_kw foo_t foo () {return 0; }
9753 if ac_fn_c_try_compile
"$LINENO"; then :
9754 ac_cv_c_inline
=$ac_kw
9756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9757 test "$ac_cv_c_inline" != no
&& break
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9762 $as_echo "$ac_cv_c_inline" >&6; }
9764 case $ac_cv_c_inline in
9767 case $ac_cv_c_inline in
9769 *) ac_val
=$ac_cv_c_inline;;
9771 cat >>confdefs.h
<<_ACEOF
9773 #define inline $ac_val
9779 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
9780 if test "x$ac_cv_type_mode_t" = x
""yes; then :
9784 cat >>confdefs.h
<<_ACEOF
9790 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9791 if test "x$ac_cv_type_off_t" = x
""yes; then :
9795 cat >>confdefs.h
<<_ACEOF
9796 #define off_t long int
9801 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9802 if test "x$ac_cv_type_size_t" = x
""yes; then :
9806 cat >>confdefs.h
<<_ACEOF
9807 #define size_t unsigned int
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9813 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9814 if test "${ac_cv_header_time+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9819 #include <sys/types.h>
9820 #include <sys/time.h>
9826 if ((struct tm *) 0)
9832 if ac_fn_c_try_compile
"$LINENO"; then :
9833 ac_cv_header_time
=yes
9835 ac_cv_header_time
=no
9837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9840 $as_echo "$ac_cv_header_time" >&6; }
9841 if test $ac_cv_header_time = yes; then
9843 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9848 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9849 if test "${ac_cv_struct_tm+set}" = set; then :
9850 $as_echo_n "(cached) " >&6
9852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 #include <sys/types.h>
9861 int *p = &tm.tm_sec;
9867 if ac_fn_c_try_compile
"$LINENO"; then :
9868 ac_cv_struct_tm
=time.h
9870 ac_cv_struct_tm
=sys
/time.h
9872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9875 $as_echo "$ac_cv_struct_tm" >&6; }
9876 if test $ac_cv_struct_tm = sys
/time.h
; then
9878 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
9883 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
9884 if test "${ac_cv_type_uid_t+set}" = set; then :
9885 $as_echo_n "(cached) " >&6
9887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 #include <sys/types.h>
9892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9893 $EGREP "uid_t" >/dev
/null
2>&1; then :
9894 ac_cv_type_uid_t
=yes
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
9902 $as_echo "$ac_cv_type_uid_t" >&6; }
9903 if test $ac_cv_type_uid_t = no
; then
9905 $as_echo "#define uid_t int" >>confdefs.h
9908 $as_echo "#define gid_t int" >>confdefs.h
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9913 $as_echo_n "checking for working volatile... " >&6; }
9914 if test "${ac_cv_c_volatile+set}" = set; then :
9915 $as_echo_n "(cached) " >&6
9917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9925 int * volatile y = (int *) 0;
9931 if ac_fn_c_try_compile
"$LINENO"; then :
9932 ac_cv_c_volatile
=yes
9936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9939 $as_echo "$ac_cv_c_volatile" >&6; }
9940 if test $ac_cv_c_volatile = no
; then
9942 $as_echo "#define volatile /**/" >>confdefs.h
9946 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
9947 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
9949 cat >>confdefs.h
<<_ACEOF
9950 #define HAVE_PTRDIFF_T 1
9957 # Checks for library functions.
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
9959 $as_echo_n "checking whether closedir returns void... " >&6; }
9960 if test "${ac_cv_func_closedir_void+set}" = set; then :
9961 $as_echo_n "(cached) " >&6
9963 if test "$cross_compiling" = yes; then :
9964 ac_cv_func_closedir_void
=yes
9966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 $ac_includes_default
9969 #include <$ac_header_dirent>
9977 return closedir (opendir (".")) != 0;
9982 if ac_fn_c_try_run
"$LINENO"; then :
9983 ac_cv_func_closedir_void
=no
9985 ac_cv_func_closedir_void
=yes
9987 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9988 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
9993 $as_echo "$ac_cv_func_closedir_void" >&6; }
9994 if test $ac_cv_func_closedir_void = yes; then
9996 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
10000 if test $ac_cv_c_compiler_gnu = yes; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
10002 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
10003 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
10004 $as_echo_n "(cached) " >&6
10006 ac_pattern
="Autoconf.*'x'"
10007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10013 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10014 ac_cv_prog_gcc_traditional
=yes
10016 ac_cv_prog_gcc_traditional
=no
10021 if test $ac_cv_prog_gcc_traditional = no
; then
10022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 #include <termio.h>
10027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10028 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
10029 ac_cv_prog_gcc_traditional
=yes
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10036 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10037 if test $ac_cv_prog_gcc_traditional = yes; then
10038 CC
="$CC -traditional"
10042 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10043 if test "x$ac_cv_type_pid_t" = x
""yes; then :
10047 cat >>confdefs.h
<<_ACEOF
10053 for ac_header
in vfork.h
10055 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10056 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
10057 cat >>confdefs.h
<<_ACEOF
10058 #define HAVE_VFORK_H 1
10065 for ac_func
in fork vfork
10067 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10068 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10069 eval as_val
=\$
$as_ac_var
10070 if test "x$as_val" = x
""yes; then :
10071 cat >>confdefs.h
<<_ACEOF
10072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10078 if test "x$ac_cv_func_fork" = xyes
; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10080 $as_echo_n "checking for working fork... " >&6; }
10081 if test "${ac_cv_func_fork_works+set}" = set; then :
10082 $as_echo_n "(cached) " >&6
10084 if test "$cross_compiling" = yes; then :
10085 ac_cv_func_fork_works
=cross
10087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10089 $ac_includes_default
10094 /* By Ruediger Kuhlmann. */
10095 return fork () < 0;
10101 if ac_fn_c_try_run
"$LINENO"; then :
10102 ac_cv_func_fork_works
=yes
10104 ac_cv_func_fork_works
=no
10106 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10107 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10112 $as_echo "$ac_cv_func_fork_works" >&6; }
10115 ac_cv_func_fork_works
=$ac_cv_func_fork
10117 if test "x$ac_cv_func_fork_works" = xcross
; then
10119 *-*-amigaos* |
*-*-msdosdjgpp*)
10120 # Override, as these systems have only a dummy fork() stub
10121 ac_cv_func_fork_works
=no
10124 ac_cv_func_fork_works
=yes
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10128 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10130 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10131 if test "x$ac_cv_func_vfork" = xyes
; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10133 $as_echo_n "checking for working vfork... " >&6; }
10134 if test "${ac_cv_func_vfork_works+set}" = set; then :
10135 $as_echo_n "(cached) " >&6
10137 if test "$cross_compiling" = yes; then :
10138 ac_cv_func_vfork_works
=cross
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 /* Thanks to Paul Eggert for this test. */
10143 $ac_includes_default
10144 #include <sys/wait.h>
10145 #ifdef HAVE_VFORK_H
10146 # include <vfork.h>
10148 /* On some sparc systems, changes by the child to local and incoming
10149 argument registers are propagated back to the parent. The compiler
10150 is told about this with #include <vfork.h>, but some compilers
10151 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10152 static variable whose address is put into a register that is
10153 clobbered by the vfork. */
10156 sparc_address_test (int arg)
10158 sparc_address_test (arg) int arg;
10161 static pid_t child;
10179 pid_t parent = getpid ();
10182 sparc_address_test (0);
10187 /* Here is another test for sparc vfork register problems. This
10188 test uses lots of local variables, at least as many local
10189 variables as main has allocated so far including compiler
10190 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10191 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10192 reuse the register of parent for one of the local variables,
10193 since it will think that parent can't possibly be used any more
10194 in this routine. Assigning to the local variable will thus
10195 munge parent in the parent process. */
10197 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10198 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10199 /* Convince the compiler that p..p7 are live; otherwise, it might
10200 use the same hardware register for all 8 local variables. */
10201 if (p != p1 || p != p2 || p != p3 || p != p4
10202 || p != p5 || p != p6 || p != p7)
10205 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10206 from child file descriptors. If the child closes a descriptor
10207 before it execs or exits, this munges the parent's descriptor
10208 as well. Test for this by closing stdout in the child. */
10209 _exit(close(fileno(stdout)) != 0);
10214 while (wait(&status) != child)
10217 /* Was there some problem with vforking? */
10220 /* Did the child fail? (This shouldn't happen.) */
10223 /* Did the vfork/compiler bug occur? */
10224 || parent != getpid()
10226 /* Did the file descriptor bug occur? */
10227 || fstat(fileno(stdout), &st) != 0
10232 if ac_fn_c_try_run
"$LINENO"; then :
10233 ac_cv_func_vfork_works
=yes
10235 ac_cv_func_vfork_works
=no
10237 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10238 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
10243 $as_echo "$ac_cv_func_vfork_works" >&6; }
10246 if test "x$ac_cv_func_fork_works" = xcross
; then
10247 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10249 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10252 if test "x$ac_cv_func_vfork_works" = xyes
; then
10254 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
10258 $as_echo "#define vfork fork" >>confdefs.h
10261 if test "x$ac_cv_func_fork_works" = xyes
; then
10263 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10268 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10269 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10270 $as_echo_n "(cached) " >&6
10272 rm -f conftest.sym conftest.
file
10273 echo >conftest.
file
10274 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10275 if test "$cross_compiling" = yes; then :
10276 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 $ac_includes_default
10285 /* Linux will dereference the symlink and fail, as required by POSIX.
10286 That is better in the sense that it means we will not
10287 have to compile and use the lstat wrapper. */
10288 return lstat ("conftest.sym/", &sbuf) == 0;
10293 if ac_fn_c_try_run
"$LINENO"; then :
10294 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10296 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10298 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10299 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10303 # If the `ln -s' command failed, then we probably don't even
10304 # have an lstat function.
10305 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10307 rm -f conftest.sym conftest.
file
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10311 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10313 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10315 cat >>confdefs.h
<<_ACEOF
10316 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10320 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10321 case " $LIBOBJS " in
10322 *" lstat.$ac_objext "* ) ;;
10323 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10329 if test x
$SYS != xwin32
; then :
10331 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10332 # -lseq on Dynix/PTX, -lgen on Unixware.
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
10334 $as_echo_n "checking for library containing getmntent... " >&6; }
10335 if test "${ac_cv_search_getmntent+set}" = set; then :
10336 $as_echo_n "(cached) " >&6
10338 ac_func_search_save_LIBS
=$LIBS
10339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10352 return getmntent ();
10357 for ac_lib
in '' sun
seq gen
; do
10358 if test -z "$ac_lib"; then
10359 ac_res
="none required"
10362 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10364 if ac_fn_c_try_link
"$LINENO"; then :
10365 ac_cv_search_getmntent
=$ac_res
10367 rm -f core conftest.err conftest.
$ac_objext \
10369 if test "${ac_cv_search_getmntent+set}" = set; then :
10373 if test "${ac_cv_search_getmntent+set}" = set; then :
10376 ac_cv_search_getmntent
=no
10378 rm conftest.
$ac_ext
10379 LIBS
=$ac_func_search_save_LIBS
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
10382 $as_echo "$ac_cv_search_getmntent" >&6; }
10383 ac_res
=$ac_cv_search_getmntent
10384 if test "$ac_res" != no
; then :
10385 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10386 ac_cv_func_getmntent
=yes
10388 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
10391 ac_cv_func_getmntent
=no
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
10396 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
10397 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
10398 $as_echo_n "(cached) " >&6
10400 if test "$cross_compiling" = yes; then :
10401 ac_cv_func_lstat_empty_string_bug
=yes
10403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 $ac_includes_default
10410 return lstat ("", &sbuf) == 0;
10415 if ac_fn_c_try_run
"$LINENO"; then :
10416 ac_cv_func_lstat_empty_string_bug
=no
10418 ac_cv_func_lstat_empty_string_bug
=yes
10420 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10421 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
10426 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
10427 if test $ac_cv_func_lstat_empty_string_bug = yes; then
10428 case " $LIBOBJS " in
10429 *" lstat.$ac_objext "* ) ;;
10430 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10435 cat >>confdefs.h
<<_ACEOF
10436 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10442 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10443 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
10444 $as_echo_n "(cached) " >&6
10446 rm -f conftest.sym conftest.
file
10447 echo >conftest.
file
10448 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
10449 if test "$cross_compiling" = yes; then :
10450 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 $ac_includes_default
10459 /* Linux will dereference the symlink and fail, as required by POSIX.
10460 That is better in the sense that it means we will not
10461 have to compile and use the lstat wrapper. */
10462 return lstat ("conftest.sym/", &sbuf) == 0;
10467 if ac_fn_c_try_run
"$LINENO"; then :
10468 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
10470 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10472 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10473 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10477 # If the `ln -s' command failed, then we probably don't even
10478 # have an lstat function.
10479 ac_cv_func_lstat_dereferences_slashed_symlink
=no
10481 rm -f conftest.sym conftest.
file
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10485 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10487 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
10489 cat >>confdefs.h
<<_ACEOF
10490 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10494 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
10495 case " $LIBOBJS " in
10496 *" lstat.$ac_objext "* ) ;;
10497 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
10506 $as_echo_n "checking for working memcmp... " >&6; }
10507 if test "${ac_cv_func_memcmp_working+set}" = set; then :
10508 $as_echo_n "(cached) " >&6
10510 if test "$cross_compiling" = yes; then :
10511 ac_cv_func_memcmp_working
=no
10513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10515 $ac_includes_default
10520 /* Some versions of memcmp are not 8-bit clean. */
10521 char c0 = '\100', c1 = '\200', c2 = '\201';
10522 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10525 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10526 or more and with at least one buffer not starting on a 4-byte boundary.
10527 William Lewis provided this test program. */
10532 for (i = 0; i < 4; i++)
10536 strcpy (a, "--------01111111");
10537 strcpy (b, "--------10000000");
10538 if (memcmp (a, b, 16) >= 0)
10548 if ac_fn_c_try_run
"$LINENO"; then :
10549 ac_cv_func_memcmp_working
=yes
10551 ac_cv_func_memcmp_working
=no
10553 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10554 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
10559 $as_echo "$ac_cv_func_memcmp_working" >&6; }
10560 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10561 *" memcmp.$ac_objext "* ) ;;
10562 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10567 for ac_header
in sys
/select.h sys
/socket.h
10569 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10570 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10571 eval as_val
=\$
$as_ac_Header
10572 if test "x$as_val" = x
""yes; then :
10573 cat >>confdefs.h
<<_ACEOF
10574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
10582 $as_echo_n "checking types of arguments for select... " >&6; }
10583 if test "${ac_cv_func_select_args+set}" = set; then :
10584 $as_echo_n "(cached) " >&6
10586 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10587 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10588 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 $ac_includes_default
10592 #ifdef HAVE_SYS_SELECT_H
10593 # include <sys/select.h>
10595 #ifdef HAVE_SYS_SOCKET_H
10596 # include <sys/socket.h>
10602 extern int select ($ac_arg1,
10603 $ac_arg234, $ac_arg234, $ac_arg234,
10609 if ac_fn_c_try_compile
"$LINENO"; then :
10610 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10616 # Provide a safe default value.
10617 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10621 $as_echo "$ac_cv_func_select_args" >&6; }
10622 ac_save_IFS
=$IFS; IFS
=','
10623 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10627 cat >>confdefs.h
<<_ACEOF
10628 #define SELECT_TYPE_ARG1 $1
10632 cat >>confdefs.h
<<_ACEOF
10633 #define SELECT_TYPE_ARG234 ($2)
10637 cat >>confdefs.h
<<_ACEOF
10638 #define SELECT_TYPE_ARG5 ($3)
10643 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
10644 $as_echo_n "(cached) " >&6
10646 ac_cv_func_setvbuf_reversed
=no
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10651 $as_echo_n "checking return type of signal handlers... " >&6; }
10652 if test "${ac_cv_type_signal+set}" = set; then :
10653 $as_echo_n "(cached) " >&6
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10657 #include <sys/types.h>
10658 #include <signal.h>
10663 return *(signal (0, 0)) (0) == 1;
10668 if ac_fn_c_try_compile
"$LINENO"; then :
10669 ac_cv_type_signal
=int
10671 ac_cv_type_signal
=void
10673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
10676 $as_echo "$ac_cv_type_signal" >&6; }
10678 cat >>confdefs.h
<<_ACEOF
10679 #define RETSIGTYPE $ac_cv_type_signal
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
10684 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10685 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
10686 $as_echo_n "(cached) " >&6
10688 if test "$cross_compiling" = yes; then :
10689 ac_cv_func_stat_empty_string_bug
=yes
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10693 $ac_includes_default
10698 return stat ("", &sbuf) == 0;
10703 if ac_fn_c_try_run
"$LINENO"; then :
10704 ac_cv_func_stat_empty_string_bug
=no
10706 ac_cv_func_stat_empty_string_bug
=yes
10708 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10709 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
10714 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10715 if test $ac_cv_func_stat_empty_string_bug = yes; then
10716 case " $LIBOBJS " in
10717 *" stat.$ac_objext "* ) ;;
10718 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
10723 cat >>confdefs.h
<<_ACEOF
10724 #define HAVE_STAT_EMPTY_STRING_BUG 1
10729 for ac_func
in strftime
10731 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
10732 if test "x$ac_cv_func_strftime" = x
""yes; then :
10733 cat >>confdefs.h
<<_ACEOF
10734 #define HAVE_STRFTIME 1
10738 # strftime is in -lintl on SCO UNIX.
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
10740 $as_echo_n "checking for strftime in -lintl... " >&6; }
10741 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
10742 $as_echo_n "(cached) " >&6
10744 ac_check_lib_save_LIBS
=$LIBS
10745 LIBS
="-lintl $LIBS"
10746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10759 return strftime ();
10764 if ac_fn_c_try_link
"$LINENO"; then :
10765 ac_cv_lib_intl_strftime
=yes
10767 ac_cv_lib_intl_strftime
=no
10769 rm -f core conftest.err conftest.
$ac_objext \
10770 conftest
$ac_exeext conftest.
$ac_ext
10771 LIBS
=$ac_check_lib_save_LIBS
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
10774 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
10775 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
10776 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
10778 LIBS
="-lintl $LIBS"
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
10785 $as_echo_n "checking for working strtod... " >&6; }
10786 if test "${ac_cv_func_strtod+set}" = set; then :
10787 $as_echo_n "(cached) " >&6
10789 if test "$cross_compiling" = yes; then :
10790 ac_cv_func_strtod
=no
10792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 $ac_includes_default
10803 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10804 char *string = " +69";
10807 value = strtod (string, &term);
10808 if (value != 69 || term != (string + 4))
10813 /* Under Solaris 2.4, strtod returns the wrong value for the
10814 terminating character under some conditions. */
10815 char *string = "NaN";
10817 strtod (string, &term);
10818 if (term != string && *(term - 1) == 0)
10825 if ac_fn_c_try_run
"$LINENO"; then :
10826 ac_cv_func_strtod
=yes
10828 ac_cv_func_strtod
=no
10830 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10831 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
10836 $as_echo "$ac_cv_func_strtod" >&6; }
10837 if test $ac_cv_func_strtod = no
; then
10838 case " $LIBOBJS " in
10839 *" strtod.$ac_objext "* ) ;;
10840 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
10844 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
10845 if test "x$ac_cv_func_pow" = x
""yes; then :
10849 if test $ac_cv_func_pow = no
; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
10851 $as_echo_n "checking for pow in -lm... " >&6; }
10852 if test "${ac_cv_lib_m_pow+set}" = set; then :
10853 $as_echo_n "(cached) " >&6
10855 ac_check_lib_save_LIBS
=$LIBS
10857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10875 if ac_fn_c_try_link
"$LINENO"; then :
10876 ac_cv_lib_m_pow
=yes
10880 rm -f core conftest.err conftest.
$ac_objext \
10881 conftest
$ac_exeext conftest.
$ac_ext
10882 LIBS
=$ac_check_lib_save_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
10885 $as_echo "$ac_cv_lib_m_pow" >&6; }
10886 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
10890 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10897 for ac_func
in vprintf
10899 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10900 if test "x$ac_cv_func_vprintf" = x
""yes; then :
10901 cat >>confdefs.h
<<_ACEOF
10902 #define HAVE_VPRINTF 1
10905 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10906 if test "x$ac_cv_func__doprnt" = x
""yes; then :
10908 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10916 if test $cross_compiling = yes -a $gnumalloc = yes; then :
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10919 configure cannot check whether malloc() and realloc() are GNU libc
10920 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10921 run configure with the --without-gnu-malloc switch." >&5
10922 $as_echo "$as_me: WARNING:
10923 configure cannot check whether malloc() and realloc() are GNU libc
10924 compatible. You have to be ABSOLUTELY sure that they are, otherwise
10925 run configure with the --without-gnu-malloc switch." >&2;}
10926 _mule_warning_8
=yes
10927 _mule_has_warnings
=yes
10929 ac_cv_func_malloc_0_nonnull
=yes
10930 ac_cv_func_realloc_0_nonnull
=yes
10933 for ac_header
in stdlib.h
10935 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10936 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
10937 cat >>confdefs.h
<<_ACEOF
10938 #define HAVE_STDLIB_H 1
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10946 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
10947 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
10948 $as_echo_n "(cached) " >&6
10950 if test "$cross_compiling" = yes; then :
10951 ac_cv_func_malloc_0_nonnull
=no
10953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10955 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10956 # include <stdlib.h>
10964 return ! malloc (0);
10969 if ac_fn_c_try_run
"$LINENO"; then :
10970 ac_cv_func_malloc_0_nonnull
=yes
10972 ac_cv_func_malloc_0_nonnull
=no
10974 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10975 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
10980 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
10981 if test $ac_cv_func_malloc_0_nonnull = yes; then :
10983 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
10986 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
10988 case " $LIBOBJS " in
10989 *" malloc.$ac_objext "* ) ;;
10990 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
10995 $as_echo "#define malloc rpl_malloc" >>confdefs.h
11000 for ac_header
in stdlib.h
11002 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11003 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
11004 cat >>confdefs.h
<<_ACEOF
11005 #define HAVE_STDLIB_H 1
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
11013 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11014 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
11015 $as_echo_n "(cached) " >&6
11017 if test "$cross_compiling" = yes; then :
11018 ac_cv_func_realloc_0_nonnull
=no
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11022 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11023 # include <stdlib.h>
11031 return ! realloc (0, 0);
11036 if ac_fn_c_try_run
"$LINENO"; then :
11037 ac_cv_func_realloc_0_nonnull
=yes
11039 ac_cv_func_realloc_0_nonnull
=no
11041 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11042 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11047 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11048 if test $ac_cv_func_realloc_0_nonnull = yes; then :
11050 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11053 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11055 case " $LIBOBJS " in
11056 *" realloc.$ac_objext "* ) ;;
11057 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11062 $as_echo "#define realloc rpl_realloc" >>confdefs.h
11067 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
11069 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11070 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11071 eval as_val
=\$
$as_ac_var
11072 if test "x$as_val" = x
""yes; then :
11073 cat >>confdefs.h
<<_ACEOF
11074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11080 #-------------------------------------------------------------------------------
11081 # End of autoscan stuff
11082 #-------------------------------------------------------------------------------
11084 for ac_func
in mkdir getrlimit setrlimit getopt_long
11086 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11087 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11088 eval as_val
=\$
$as_ac_var
11089 if test "x$as_val" = x
""yes; then :
11090 cat >>confdefs.h
<<_ACEOF
11091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11101 for ac_header
in $ac_header_list
11103 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11104 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11106 eval as_val
=\$
$as_ac_Header
11107 if test "x$as_val" = x
""yes; then :
11108 cat >>confdefs.h
<<_ACEOF
11109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11122 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11124 # Check whether --enable-mmap was given.
11125 if test "${enable_mmap+set}" = set; then :
11126 enableval
=$enable_mmap;
11131 if test ${enable_mmap:-no} = yes; then :
11133 for ac_header
in sys
/mman.h
11135 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11136 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11137 cat >>confdefs.h
<<_ACEOF
11138 #define HAVE_SYS_MMAN_H 1
11146 for ac_func
in getpagesize
11148 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11149 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
11150 cat >>confdefs.h
<<_ACEOF
11151 #define HAVE_GETPAGESIZE 1
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11158 $as_echo_n "checking for working mmap... " >&6; }
11159 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
11160 $as_echo_n "(cached) " >&6
11162 if test "$cross_compiling" = yes; then :
11163 ac_cv_func_mmap_fixed_mapped
=no
11165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 $ac_includes_default
11168 /* malloc might have been renamed as rpl_malloc. */
11171 /* Thanks to Mike Haertel and Jim Avera for this test.
11172 Here is a matrix of mmap possibilities:
11173 mmap private not fixed
11174 mmap private fixed at somewhere currently unmapped
11175 mmap private fixed at somewhere already mapped
11176 mmap shared not fixed
11177 mmap shared fixed at somewhere currently unmapped
11178 mmap shared fixed at somewhere already mapped
11179 For private mappings, we should verify that changes cannot be read()
11180 back from the file, nor mmap's back from the file at a different
11181 address. (There have been systems where private was not correctly
11182 implemented like the infamous i386 svr4.0, and systems where the
11183 VM page cache was not coherent with the file system buffer cache
11184 like early versions of FreeBSD and possibly contemporary NetBSD.)
11185 For shared mappings, we should conversely verify that changes get
11186 propagated back to all the places they're supposed to be.
11188 Grep wants private fixed already mapped.
11189 The main things grep needs to know about mmap are:
11190 * does it exist and is it safe to write into the mmap'd area
11191 * how to use it (BSD variants) */
11194 #include <sys/mman.h>
11196 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11200 /* This mess was copied from the GNU getpagesize.h. */
11201 #ifndef HAVE_GETPAGESIZE
11202 # ifdef _SC_PAGESIZE
11203 # define getpagesize() sysconf(_SC_PAGESIZE)
11204 # else /* no _SC_PAGESIZE */
11205 # ifdef HAVE_SYS_PARAM_H
11206 # include <sys/param.h>
11207 # ifdef EXEC_PAGESIZE
11208 # define getpagesize() EXEC_PAGESIZE
11209 # else /* no EXEC_PAGESIZE */
11211 # define getpagesize() NBPG * CLSIZE
11214 # endif /* no CLSIZE */
11215 # else /* no NBPG */
11217 # define getpagesize() NBPC
11218 # else /* no NBPC */
11220 # define getpagesize() PAGESIZE
11221 # endif /* PAGESIZE */
11222 # endif /* no NBPC */
11223 # endif /* no NBPG */
11224 # endif /* no EXEC_PAGESIZE */
11225 # else /* no HAVE_SYS_PARAM_H */
11226 # define getpagesize() 8192 /* punt totally */
11227 # endif /* no HAVE_SYS_PARAM_H */
11228 # endif /* no _SC_PAGESIZE */
11230 #endif /* no HAVE_GETPAGESIZE */
11235 char *data, *data2, *data3;
11239 pagesize = getpagesize ();
11241 /* First, make a file with some known garbage in it. */
11242 data = (char *) malloc (pagesize);
11245 for (i = 0; i < pagesize; ++i)
11246 *(data + i) = rand ();
11248 fd = creat ("conftest.mmap", 0600);
11251 if (write (fd, data, pagesize) != pagesize)
11255 /* Next, check that the tail of a page is zero-filled. File must have
11256 non-zero length, otherwise we risk SIGBUS for entire page. */
11257 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11261 if (write (fd2, data2, 1) != 1)
11263 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11264 if (data2 == MAP_FAILED)
11266 for (i = 0; i < pagesize; ++i)
11270 if (munmap (data2, pagesize))
11273 /* Next, try to mmap the file at a fixed address which already has
11274 something else allocated at it. If we can, also make sure that
11275 we see the same garbage. */
11276 fd = open ("conftest.mmap", O_RDWR);
11279 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11280 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11282 for (i = 0; i < pagesize; ++i)
11283 if (*(data + i) != *(data2 + i))
11286 /* Finally, make sure that changes to the mapped area do not
11287 percolate back to the file as seen by read(). (This is a bug on
11288 some variants of i386 svr4.0.) */
11289 for (i = 0; i < pagesize; ++i)
11290 *(data2 + i) = *(data2 + i) + 1;
11291 data3 = (char *) malloc (pagesize);
11294 if (read (fd, data3, pagesize) != pagesize)
11296 for (i = 0; i < pagesize; ++i)
11297 if (*(data + i) != *(data3 + i))
11303 if ac_fn_c_try_run
"$LINENO"; then :
11304 ac_cv_func_mmap_fixed_mapped
=yes
11306 ac_cv_func_mmap_fixed_mapped
=no
11308 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11309 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11314 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11315 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11317 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11320 rm -f conftest.mmap conftest.txt
11322 for ac_func
in munmap sysconf
11324 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11325 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11326 eval as_val
=\$
$as_ac_var
11327 if test "x$as_val" = x
""yes; then :
11328 cat >>confdefs.h
<<_ACEOF
11329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11335 if test $ac_cv_func_sysconf = yes; then :
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
11338 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
11339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11343 #include <unistd.h>
11349 return sysconf(_SC_PAGESIZE);
11356 if ac_fn_c_try_link
"$LINENO"; then :
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
11359 $as_echo "_SC_PAGESIZE" >&6; }
11361 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
11366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11370 #include <unistd.h>
11376 return sysconf(_SC_PAGE_SIZE);
11383 if ac_fn_c_try_link
"$LINENO"; then :
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
11386 $as_echo "_SC_PAGE_SIZE" >&6; }
11388 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11394 $as_echo "none" >&6; }
11397 rm -f core conftest.err conftest.
$ac_objext \
11398 conftest
$ac_exeext conftest.
$ac_ext
11401 rm -f core conftest.err conftest.
$ac_objext \
11402 conftest
$ac_exeext conftest.
$ac_ext
11408 # fake the result of the test for munmap() for the gettext macros
11409 ac_cv_func_munmap
=no
11415 mule_backup_CPPFLAGS
="$CPPFLAGS"
11416 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
11417 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11418 if test "x$ac_cv_have_decl_strerror_r" = x
""yes; then :
11424 cat >>confdefs.h
<<_ACEOF
11425 #define HAVE_DECL_STRERROR_R $ac_have_decl
11428 for ac_func
in strerror_r
11430 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11431 if test "x$ac_cv_func_strerror_r" = x
""yes; then :
11432 cat >>confdefs.h
<<_ACEOF
11433 #define HAVE_STRERROR_R 1
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11440 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
11441 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
11442 $as_echo_n "(cached) " >&6
11445 ac_cv_func_strerror_r_char_p
=no
11446 if test $ac_cv_have_decl_strerror_r = yes; then
11447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449 $ac_includes_default
11455 char x = *strerror_r (0, buf, sizeof buf);
11456 char *p = strerror_r (0, buf, sizeof buf);
11463 if ac_fn_c_try_compile
"$LINENO"; then :
11464 ac_cv_func_strerror_r_char_p
=yes
11466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11468 # strerror_r is not declared. Choose between
11469 # systems that have relatively inaccessible declarations for the
11470 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11471 # former has a strerror_r that returns char*, while the latter
11472 # has a strerror_r that returns `int'.
11473 # This test should segfault on the DEC system.
11474 if test "$cross_compiling" = yes; then :
11477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11479 $ac_includes_default
11480 extern char *strerror_r ();
11485 char x = *strerror_r (0, buf, sizeof buf);
11486 return ! isalpha (x);
11491 if ac_fn_c_try_run
"$LINENO"; then :
11492 ac_cv_func_strerror_r_char_p
=yes
11494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
11502 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
11503 if test $ac_cv_func_strerror_r_char_p = yes; then
11505 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
11509 CPPFLAGS
="$mule_backup_CPPFLAGS"
11511 # Look for a way to preallocate disk space for files.
11512 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
11515 $as_echo_n "checking for fallocate... " >&6; }
11516 mule_backup_CPPFLAGS
="$CPPFLAGS"
11517 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
11518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11522 #define _GNU_SOURCE
11523 #ifdef HAVE_FCNTL_H
11524 # include <fcntl.h>
11526 #include <linux/falloc.h>
11532 fallocate(0, 0, 0, 0);
11539 if ac_fn_c_try_link
"$LINENO"; then :
11542 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11545 $as_echo "yes" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11553 rm -f core conftest.err conftest.
$ac_objext \
11554 conftest
$ac_exeext conftest.
$ac_ext
11555 CPPFLAGS
="$mule_backup_CPPFLAGS"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
11559 $as_echo_n "checking for SYS_fallocate... " >&6; }
11560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11564 #include <sys/syscall.h>
11565 #include <sys/types.h>
11566 #include <unistd.h>
11572 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
11579 if ac_fn_c_try_link
"$LINENO"; then :
11582 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11585 $as_echo "yes" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11593 rm -f core conftest.err conftest.
$ac_objext \
11594 conftest
$ac_exeext conftest.
$ac_ext
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
11597 $as_echo_n "checking for posix_fallocate... " >&6; }
11598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11602 #define _XOPEN_SOURCE 600
11603 #include <stdlib.h>
11604 #ifdef HAVE_FCNTL_H
11605 # include <fcntl.h>
11612 posix_fallocate(0, 0, 0);
11619 if ac_fn_c_try_link
"$LINENO"; then :
11622 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11625 $as_echo "yes" >&6; }
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630 $as_echo "no" >&6; }
11633 rm -f core conftest.err conftest.
$ac_objext \
11634 conftest
$ac_exeext conftest.
$ac_ext
11638 # Checking Native Language Support
11642 if test -n "$ac_aux_dir"; then
11643 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
11645 if test -z "$MKINSTALLDIRS"; then
11646 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11653 # Extract the first word of "msgfmt", so it can be a program name with args.
11654 set dummy msgfmt
; ac_word
=$2
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11656 $as_echo_n "checking for $ac_word... " >&6; }
11657 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11658 $as_echo_n "(cached) " >&6
11662 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11665 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11666 for ac_dir
in $PATH; do
11667 test -z "$ac_dir" && ac_dir
=.
11668 if test -f $ac_dir/$ac_word; then
11669 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11670 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11671 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
11677 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11681 MSGFMT
="$ac_cv_path_MSGFMT"
11682 if test "$MSGFMT" != ":"; then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11684 $as_echo "$MSGFMT" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11687 $as_echo "no" >&6; }
11690 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11691 set dummy gmsgfmt
; ac_word
=$2
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11693 $as_echo_n "checking for $ac_word... " >&6; }
11694 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11699 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11703 for as_dir
in $PATH
11706 test -z "$as_dir" && as_dir
=.
11707 for ac_exec_ext
in '' $ac_executable_extensions; do
11708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11709 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11717 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11721 GMSGFMT
=$ac_cv_path_GMSGFMT
11722 if test -n "$GMSGFMT"; then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11724 $as_echo "$GMSGFMT" >&6; }
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11732 # Extract the first word of "xgettext", so it can be a program name with args.
11733 set dummy xgettext
; ac_word
=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11739 case "$XGETTEXT" in
11741 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11744 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11745 for ac_dir
in $PATH; do
11746 test -z "$ac_dir" && ac_dir
=.
11747 if test -f $ac_dir/$ac_word; then
11748 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11749 (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
11750 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
11756 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11760 XGETTEXT
="$ac_cv_path_XGETTEXT"
11761 if test "$XGETTEXT" != ":"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11763 $as_echo "$XGETTEXT" >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11766 $as_echo "no" >&6; }
11771 # Extract the first word of "msgmerge", so it can be a program name with args.
11772 set dummy msgmerge
; ac_word
=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11776 $as_echo_n "(cached) " >&6
11778 case "$MSGMERGE" in
11780 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11784 for ac_dir
in $PATH; do
11785 test -z "$ac_dir" && ac_dir
=.
11786 if test -f $ac_dir/$ac_word; then
11787 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11788 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
11794 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11798 MSGMERGE
="$ac_cv_path_MSGMERGE"
11799 if test "$MSGMERGE" != ":"; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11801 $as_echo "$MSGMERGE" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 $as_echo "no" >&6; }
11808 if test "$GMSGFMT" != ":"; then
11809 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11810 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11813 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11815 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11820 if test "$XGETTEXT" != ":"; then
11821 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
11822 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11826 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11832 ac_config_commands
="$ac_config_commands default-1"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11837 $as_echo_n "checking for strerror in -lcposix... " >&6; }
11838 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
11839 $as_echo_n "(cached) " >&6
11841 ac_check_lib_save_LIBS
=$LIBS
11842 LIBS
="-lcposix $LIBS"
11843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11856 return strerror ();
11861 if ac_fn_c_try_link
"$LINENO"; then :
11862 ac_cv_lib_cposix_strerror
=yes
11864 ac_cv_lib_cposix_strerror
=no
11866 rm -f core conftest.err conftest.
$ac_objext \
11867 conftest
$ac_exeext conftest.
$ac_ext
11868 LIBS
=$ac_check_lib_save_LIBS
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11871 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11872 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
11873 LIBS
="$LIBS -lcposix"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
11880 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
11881 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
11882 $as_echo_n "(cached) " >&6
11884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 #include <features.h>
11888 #ifdef __GNU_LIBRARY__
11889 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
11895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11896 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
11897 ac_cv_gnu_library_2_1
=yes
11899 ac_cv_gnu_library_2_1
=no
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
11907 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
11909 GLIBC21
="$ac_cv_gnu_library_2_1"
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11915 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11916 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
11917 $as_echo_n "(cached) " >&6
11920 if test "$cross_compiling" = yes; then :
11922 # Guess based on the CPU.
11923 case "$host_cpu" in
11924 alpha
* | i3456786 | m68k | s390
*)
11925 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
11927 gt_cv_int_divbyzero_sigfpe
="guessing no";;
11931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 #include <stdlib.h>
11935 #include <signal.h>
11939 sigfpe_handler (int sig)
11941 sigfpe_handler (sig) int sig;
11944 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
11945 exit (sig != SIGFPE);
11955 signal (SIGFPE, sigfpe_handler);
11956 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
11957 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
11958 signal (SIGTRAP, sigfpe_handler);
11960 /* Linux/SPARC yields signal SIGILL. */
11961 #if defined (__sparc__) && defined (__linux__)
11962 signal (SIGILL, sigfpe_handler);
11971 if ac_fn_c_try_run
"$LINENO"; then :
11972 gt_cv_int_divbyzero_sigfpe
=yes
11974 gt_cv_int_divbyzero_sigfpe
=no
11976 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11977 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
11983 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
11984 case "$gt_cv_int_divbyzero_sigfpe" in
11989 cat >>confdefs.h
<<_ACEOF
11990 #define INTDIV0_RAISES_SIGFPE $value
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
11996 $as_echo_n "checking for inttypes.h... " >&6; }
11997 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
11998 $as_echo_n "(cached) " >&6
12000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12002 #include <sys/types.h>
12003 #include <inttypes.h>
12007 uintmax_t i = (uintmax_t) -1;
12012 if ac_fn_c_try_compile
"$LINENO"; then :
12013 jm_ac_cv_header_inttypes_h
=yes
12015 jm_ac_cv_header_inttypes_h
=no
12017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
12020 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
12021 if test $jm_ac_cv_header_inttypes_h = yes; then
12023 cat >>confdefs.h
<<_ACEOF
12024 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12031 $as_echo_n "checking for stdint.h... " >&6; }
12032 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
12033 $as_echo_n "(cached) " >&6
12035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12037 #include <sys/types.h>
12038 #include <stdint.h>
12042 uintmax_t i = (uintmax_t) -1;
12047 if ac_fn_c_try_compile
"$LINENO"; then :
12048 jm_ac_cv_header_stdint_h
=yes
12050 jm_ac_cv_header_stdint_h
=no
12052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
12055 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
12056 if test $jm_ac_cv_header_stdint_h = yes; then
12058 cat >>confdefs.h
<<_ACEOF
12059 #define HAVE_STDINT_H_WITH_UINTMAX 1
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
12066 $as_echo_n "checking for unsigned long long... " >&6; }
12067 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
12068 $as_echo_n "(cached) " >&6
12070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 unsigned long long ull = 1; int i = 63;
12076 unsigned long long ullmax = (unsigned long long) -1;
12077 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
12082 if ac_fn_c_try_link
"$LINENO"; then :
12083 ac_cv_type_unsigned_long_long
=yes
12085 ac_cv_type_unsigned_long_long
=no
12087 rm -f core conftest.err conftest.
$ac_objext \
12088 conftest
$ac_exeext conftest.
$ac_ext
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
12091 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
12092 if test $ac_cv_type_unsigned_long_long = yes; then
12094 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
12101 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
12103 test $ac_cv_type_unsigned_long_long = yes \
12104 && ac_type
='unsigned long long' \
12105 || ac_type
='unsigned long'
12107 cat >>confdefs.h
<<_ACEOF
12108 #define uintmax_t $ac_type
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12115 $as_echo_n "checking for inttypes.h... " >&6; }
12116 if test "${gt_cv_header_inttypes_h+set}" = set; then :
12117 $as_echo_n "(cached) " >&6
12120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12122 #include <sys/types.h>
12123 #include <inttypes.h>
12132 if ac_fn_c_try_compile
"$LINENO"; then :
12133 gt_cv_header_inttypes_h
=yes
12135 gt_cv_header_inttypes_h
=no
12137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
12141 $as_echo "$gt_cv_header_inttypes_h" >&6; }
12142 if test $gt_cv_header_inttypes_h = yes; then
12144 cat >>confdefs.h
<<_ACEOF
12145 #define HAVE_INTTYPES_H 1
12152 if test $gt_cv_header_inttypes_h = yes; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12154 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12155 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
12156 $as_echo_n "(cached) " >&6
12159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12161 #include <inttypes.h>
12174 if ac_fn_c_try_compile
"$LINENO"; then :
12175 gt_cv_inttypes_pri_broken
=no
12177 gt_cv_inttypes_pri_broken
=yes
12179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
12183 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
12185 if test "$gt_cv_inttypes_pri_broken" = yes; then
12187 cat >>confdefs.h
<<_ACEOF
12188 #define PRI_MACROS_BROKEN 1
12194 if test "X$prefix" = "XNONE"; then
12195 acl_final_prefix
="$ac_default_prefix"
12197 acl_final_prefix
="$prefix"
12199 if test "X$exec_prefix" = "XNONE"; then
12200 acl_final_exec_prefix
='${prefix}'
12202 acl_final_exec_prefix
="$exec_prefix"
12204 acl_save_prefix
="$prefix"
12205 prefix
="$acl_final_prefix"
12206 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12207 prefix
="$acl_save_prefix"
12210 # Check whether --with-gnu-ld was given.
12211 if test "${with_gnu_ld+set}" = set; then :
12212 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12218 if test "$GCC" = yes; then
12219 # Check if gcc -print-prog-name=ld gives a path.
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12221 $as_echo_n "checking for ld used by GCC... " >&6; }
12224 # gcc leaves a trailing carriage return which upsets mingw
12225 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12227 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12230 # Accept absolute paths.
12231 [\\/]* |
[A-Za-z
]:[\\/]*)
12232 re_direlt
='/[^/][^/]*/\.\./'
12233 # Canonicalize the path of ld
12234 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12235 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12236 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12238 test -z "$LD" && LD
="$ac_prog"
12241 # If it fails, then pretend we aren't using GCC.
12245 # If it is relative, then search for the first ld in PATH.
12246 with_gnu_ld
=unknown
12249 elif test "$with_gnu_ld" = yes; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12251 $as_echo_n "checking for GNU ld... " >&6; }
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12254 $as_echo_n "checking for non-GNU ld... " >&6; }
12256 if test "${acl_cv_path_LD+set}" = set; then :
12257 $as_echo_n "(cached) " >&6
12259 if test -z "$LD"; then
12260 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12261 for ac_dir
in $PATH; do
12262 test -z "$ac_dir" && ac_dir
=.
12263 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12264 acl_cv_path_LD
="$ac_dir/$ac_prog"
12265 # Check to see if the program is GNU ld. I'd rather use --version,
12266 # but apparently some GNU ld's only accept -v.
12267 # Break only if it was the GNU/non-GNU ld that we prefer.
12268 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
12269 test "$with_gnu_ld" != no
&& break
12271 test "$with_gnu_ld" != yes && break
12277 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12281 LD
="$acl_cv_path_LD"
12282 if test -n "$LD"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12284 $as_echo "$LD" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287 $as_echo "no" >&6; }
12289 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12291 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12292 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12293 $as_echo_n "(cached) " >&6
12295 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12296 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
12297 acl_cv_prog_gnu_ld
=yes
12299 acl_cv_prog_gnu_ld
=no
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12303 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12304 with_gnu_ld
=$acl_cv_prog_gnu_ld
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12309 $as_echo_n "checking for shared library run path origin... " >&6; }
12310 if test "${acl_cv_rpath+set}" = set; then :
12311 $as_echo_n "(cached) " >&6
12314 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12315 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12317 rm -f .
/conftest.sh
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12322 $as_echo "$acl_cv_rpath" >&6; }
12324 libext
="$acl_cv_libext"
12325 shlibext
="$acl_cv_shlibext"
12326 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12327 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12328 hardcode_direct
="$acl_cv_hardcode_direct"
12329 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12330 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
12331 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
12332 # Check whether --enable-rpath was given.
12333 if test "${enable_rpath+set}" = set; then :
12334 enableval
=$enable_rpath; :
12348 acl_save_prefix
="$prefix"
12349 prefix
="$acl_final_prefix"
12350 acl_save_exec_prefix
="$exec_prefix"
12351 exec_prefix
="$acl_final_exec_prefix"
12353 eval additional_includedir
=\"$includedir\"
12354 eval additional_libdir
=\"$libdir\"
12356 exec_prefix
="$acl_save_exec_prefix"
12357 prefix
="$acl_save_prefix"
12360 # Check whether --with-libiconv-prefix was given.
12361 if test "${with_libiconv_prefix+set}" = set; then :
12362 withval
=$with_libiconv_prefix;
12363 if test "X$withval" = "Xno"; then
12366 if test "X$withval" = "X"; then
12368 acl_save_prefix
="$prefix"
12369 prefix
="$acl_final_prefix"
12370 acl_save_exec_prefix
="$exec_prefix"
12371 exec_prefix
="$acl_final_exec_prefix"
12373 eval additional_includedir
=\"$includedir\"
12374 eval additional_libdir
=\"$libdir\"
12376 exec_prefix
="$acl_save_exec_prefix"
12377 prefix
="$acl_save_prefix"
12380 additional_includedir
="$withval/include"
12381 additional_libdir
="$withval/lib"
12392 names_already_handled
=
12393 names_next_round
='iconv '
12394 while test -n "$names_next_round"; do
12395 names_this_round
="$names_next_round"
12397 for name
in $names_this_round; do
12399 for n
in $names_already_handled; do
12400 if test "$n" = "$name"; then
12401 already_handled
=yes
12405 if test -z "$already_handled"; then
12406 names_already_handled
="$names_already_handled $name"
12407 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12408 eval value
=\"\
$HAVE_LIB$uppername\"
12409 if test -n "$value"; then
12410 if test "$value" = yes; then
12411 eval value
=\"\
$LIB$uppername\"
12412 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12413 eval value
=\"\
$LTLIB$uppername\"
12414 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12423 if test $use_additional = yes; then
12424 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12425 found_dir
="$additional_libdir"
12426 found_so
="$additional_libdir/lib$name.$shlibext"
12427 if test -f "$additional_libdir/lib$name.la"; then
12428 found_la
="$additional_libdir/lib$name.la"
12431 if test -f "$additional_libdir/lib$name.$libext"; then
12432 found_dir
="$additional_libdir"
12433 found_a
="$additional_libdir/lib$name.$libext"
12434 if test -f "$additional_libdir/lib$name.la"; then
12435 found_la
="$additional_libdir/lib$name.la"
12440 if test "X$found_dir" = "X"; then
12441 for x
in $LDFLAGS $LTLIBICONV; do
12443 acl_save_prefix
="$prefix"
12444 prefix
="$acl_final_prefix"
12445 acl_save_exec_prefix
="$exec_prefix"
12446 exec_prefix
="$acl_final_exec_prefix"
12448 exec_prefix
="$acl_save_exec_prefix"
12449 prefix
="$acl_save_prefix"
12453 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12454 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12456 found_so
="$dir/lib$name.$shlibext"
12457 if test -f "$dir/lib$name.la"; then
12458 found_la
="$dir/lib$name.la"
12461 if test -f "$dir/lib$name.$libext"; then
12463 found_a
="$dir/lib$name.$libext"
12464 if test -f "$dir/lib$name.la"; then
12465 found_la
="$dir/lib$name.la"
12471 if test "X$found_dir" != "X"; then
12476 if test "X$found_dir" != "X"; then
12477 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12478 if test "X$found_so" != "X"; then
12479 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12480 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12483 for x
in $ltrpathdirs; do
12484 if test "X$x" = "X$found_dir"; then
12489 if test -z "$haveit"; then
12490 ltrpathdirs
="$ltrpathdirs $found_dir"
12492 if test "$hardcode_direct" = yes; then
12493 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12495 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12496 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12498 for x
in $rpathdirs; do
12499 if test "X$x" = "X$found_dir"; then
12504 if test -z "$haveit"; then
12505 rpathdirs
="$rpathdirs $found_dir"
12509 for x
in $LDFLAGS $LIBICONV; do
12511 acl_save_prefix
="$prefix"
12512 prefix
="$acl_final_prefix"
12513 acl_save_exec_prefix
="$exec_prefix"
12514 exec_prefix
="$acl_final_exec_prefix"
12516 exec_prefix
="$acl_save_exec_prefix"
12517 prefix
="$acl_save_prefix"
12519 if test "X$x" = "X-L$found_dir"; then
12524 if test -z "$haveit"; then
12525 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12527 if test "$hardcode_minus_L" != no
; then
12528 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12530 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12536 if test "X$found_a" != "X"; then
12537 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12539 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12542 additional_includedir
=
12543 case "$found_dir" in
12545 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12546 additional_includedir
="$basedir/include"
12549 if test "X$additional_includedir" != "X"; then
12550 if test "X$additional_includedir" != "X/usr/include"; then
12552 if test "X$additional_includedir" = "X/usr/local/include"; then
12553 if test -n "$GCC"; then
12555 linux
*) haveit
=yes;;
12559 if test -z "$haveit"; then
12560 for x
in $CPPFLAGS $INCICONV; do
12562 acl_save_prefix
="$prefix"
12563 prefix
="$acl_final_prefix"
12564 acl_save_exec_prefix
="$exec_prefix"
12565 exec_prefix
="$acl_final_exec_prefix"
12567 exec_prefix
="$acl_save_exec_prefix"
12568 prefix
="$acl_save_prefix"
12570 if test "X$x" = "X-I$additional_includedir"; then
12575 if test -z "$haveit"; then
12576 if test -d "$additional_includedir"; then
12577 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12583 if test -n "$found_la"; then
12584 save_libdir
="$libdir"
12585 case "$found_la" in
12586 */* |
*\\*) .
"$found_la" ;;
12587 *) .
"./$found_la" ;;
12589 libdir
="$save_libdir"
12590 for dep
in $dependency_libs; do
12593 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12594 if test "X$additional_libdir" != "X/usr/lib"; then
12596 if test "X$additional_libdir" = "X/usr/local/lib"; then
12597 if test -n "$GCC"; then
12599 linux
*) haveit
=yes;;
12603 if test -z "$haveit"; then
12605 for x
in $LDFLAGS $LIBICONV; do
12607 acl_save_prefix
="$prefix"
12608 prefix
="$acl_final_prefix"
12609 acl_save_exec_prefix
="$exec_prefix"
12610 exec_prefix
="$acl_final_exec_prefix"
12612 exec_prefix
="$acl_save_exec_prefix"
12613 prefix
="$acl_save_prefix"
12615 if test "X$x" = "X-L$additional_libdir"; then
12620 if test -z "$haveit"; then
12621 if test -d "$additional_libdir"; then
12622 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12626 for x
in $LDFLAGS $LTLIBICONV; do
12628 acl_save_prefix
="$prefix"
12629 prefix
="$acl_final_prefix"
12630 acl_save_exec_prefix
="$exec_prefix"
12631 exec_prefix
="$acl_final_exec_prefix"
12633 exec_prefix
="$acl_save_exec_prefix"
12634 prefix
="$acl_save_prefix"
12636 if test "X$x" = "X-L$additional_libdir"; then
12641 if test -z "$haveit"; then
12642 if test -d "$additional_libdir"; then
12643 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12650 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12651 if test "$enable_rpath" != no
; then
12653 for x
in $rpathdirs; do
12654 if test "X$x" = "X$dir"; then
12659 if test -z "$haveit"; then
12660 rpathdirs
="$rpathdirs $dir"
12663 for x
in $ltrpathdirs; do
12664 if test "X$x" = "X$dir"; then
12669 if test -z "$haveit"; then
12670 ltrpathdirs
="$ltrpathdirs $dir"
12675 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12678 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12681 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12682 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12688 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12689 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12695 if test "X$rpathdirs" != "X"; then
12696 if test -n "$hardcode_libdir_separator"; then
12698 for found_dir
in $rpathdirs; do
12699 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12701 acl_save_libdir
="$libdir"
12703 eval flag
=\"$hardcode_libdir_flag_spec\"
12704 libdir
="$acl_save_libdir"
12705 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12707 for found_dir
in $rpathdirs; do
12708 acl_save_libdir
="$libdir"
12709 libdir
="$found_dir"
12710 eval flag
=\"$hardcode_libdir_flag_spec\"
12711 libdir
="$acl_save_libdir"
12712 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12716 if test "X$ltrpathdirs" != "X"; then
12717 for found_dir
in $ltrpathdirs; do
12718 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12725 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
12726 stdlib.h string.h unistd.h sys
/param.h
12728 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12729 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12730 eval as_val
=\$
$as_ac_Header
12731 if test "x$as_val" = x
""yes; then :
12732 cat >>confdefs.h
<<_ACEOF
12733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12740 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
12741 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
12742 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
12744 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12745 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12746 eval as_val
=\$
$as_ac_var
12747 if test "x$as_val" = x
""yes; then :
12748 cat >>confdefs.h
<<_ACEOF
12749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12761 am_save_CPPFLAGS
="$CPPFLAGS"
12763 for element
in $INCICONV; do
12765 for x
in $CPPFLAGS; do
12767 acl_save_prefix
="$prefix"
12768 prefix
="$acl_final_prefix"
12769 acl_save_exec_prefix
="$exec_prefix"
12770 exec_prefix
="$acl_final_exec_prefix"
12772 exec_prefix
="$acl_save_exec_prefix"
12773 prefix
="$acl_save_prefix"
12775 if test "X$x" = "X$element"; then
12780 if test -z "$haveit"; then
12781 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12787 $as_echo_n "checking for iconv... " >&6; }
12788 if test "${am_cv_func_iconv+set}" = set; then :
12789 $as_echo_n "(cached) " >&6
12792 am_cv_func_iconv
="no, consider installing GNU libiconv"
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12796 #include <stdlib.h>
12801 iconv_t cd = iconv_open("","");
12802 iconv(cd,NULL,NULL,NULL,NULL);
12808 if ac_fn_c_try_link
"$LINENO"; then :
12809 am_cv_func_iconv
=yes
12811 rm -f core conftest.err conftest.
$ac_objext \
12812 conftest
$ac_exeext conftest.
$ac_ext
12813 if test "$am_cv_func_iconv" != yes; then
12814 am_save_LIBS
="$LIBS"
12815 LIBS
="$LIBS $LIBICONV"
12816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12818 #include <stdlib.h>
12823 iconv_t cd = iconv_open("","");
12824 iconv(cd,NULL,NULL,NULL,NULL);
12830 if ac_fn_c_try_link
"$LINENO"; then :
12831 am_cv_lib_iconv
=yes
12832 am_cv_func_iconv
=yes
12834 rm -f core conftest.err conftest.
$ac_objext \
12835 conftest
$ac_exeext conftest.
$ac_ext
12836 LIBS
="$am_save_LIBS"
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12841 $as_echo "$am_cv_func_iconv" >&6; }
12842 if test "$am_cv_func_iconv" = yes; then
12844 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12847 if test "$am_cv_lib_iconv" = yes; then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12849 $as_echo_n "checking how to link with libiconv... " >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12851 $as_echo "$LIBICONV" >&6; }
12853 CPPFLAGS
="$am_save_CPPFLAGS"
12860 if test "$am_cv_func_iconv" = yes; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12862 $as_echo_n "checking for iconv declaration... " >&6; }
12863 if test "${am_cv_proto_iconv+set}" = set; then :
12864 $as_echo_n "(cached) " >&6
12867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 #include <stdlib.h>
12876 #if defined(__STDC__) || defined(__cplusplus)
12877 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12890 if ac_fn_c_try_compile
"$LINENO"; then :
12891 am_cv_proto_iconv_arg1
=""
12893 am_cv_proto_iconv_arg1
="const"
12895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12896 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);"
12899 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
12901 }$am_cv_proto_iconv" >&5
12903 }$am_cv_proto_iconv" >&6; }
12905 cat >>confdefs.h
<<_ACEOF
12906 #define ICONV_CONST $am_cv_proto_iconv_arg1
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
12913 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
12914 if test "${am_cv_langinfo_codeset+set}" = set; then :
12915 $as_echo_n "(cached) " >&6
12917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12919 #include <langinfo.h>
12923 char* cs = nl_langinfo(CODESET);
12928 if ac_fn_c_try_link
"$LINENO"; then :
12929 am_cv_langinfo_codeset
=yes
12931 am_cv_langinfo_codeset
=no
12933 rm -f core conftest.err conftest.
$ac_objext \
12934 conftest
$ac_exeext conftest.
$ac_ext
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
12938 $as_echo "$am_cv_langinfo_codeset" >&6; }
12939 if test $am_cv_langinfo_codeset = yes; then
12941 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
12945 if test $ac_cv_header_locale_h = yes; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12948 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12949 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12950 $as_echo_n "(cached) " >&6
12952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12954 #include <locale.h>
12963 if ac_fn_c_try_link
"$LINENO"; then :
12964 am_cv_val_LC_MESSAGES
=yes
12966 am_cv_val_LC_MESSAGES
=no
12968 rm -f core conftest.err conftest.
$ac_objext \
12969 conftest
$ac_exeext conftest.
$ac_ext
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12972 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12973 if test $am_cv_val_LC_MESSAGES = yes; then
12975 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12981 for ac_prog
in bison
12983 # Extract the first word of "$ac_prog", so it can be a program name with args.
12984 set dummy
$ac_prog; ac_word
=$2
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12986 $as_echo_n "checking for $ac_word... " >&6; }
12987 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
12988 $as_echo_n "(cached) " >&6
12990 if test -n "$INTLBISON"; then
12991 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
12993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12994 for as_dir
in $PATH
12997 test -z "$as_dir" && as_dir
=.
12998 for ac_exec_ext
in '' $ac_executable_extensions; do
12999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13000 ac_cv_prog_INTLBISON
="$ac_prog"
13001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13010 INTLBISON
=$ac_cv_prog_INTLBISON
13011 if test -n "$INTLBISON"; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
13013 $as_echo "$INTLBISON" >&6; }
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13016 $as_echo "no" >&6; }
13020 test -n "$INTLBISON" && break
13023 if test -z "$INTLBISON"; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
13027 $as_echo_n "checking version of bison... " >&6; }
13028 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13029 case $ac_prog_version in
13030 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
13031 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
13032 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
13033 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
13036 $as_echo "$ac_prog_version" >&6; }
13038 if test $ac_verc_fail = yes; then
13044 # Check whether --with-language was given.
13045 if test "${with_language+set}" = set; then :
13046 withval
=$with_language; if test "$withval" != "all"; then :
13047 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13067 $as_echo_n "checking whether NLS is requested... " >&6; }
13068 # Check whether --enable-nls was given.
13069 if test "${enable_nls+set}" = set; then :
13070 enableval
=$enable_nls; USE_NLS
=$enableval
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13076 $as_echo "$USE_NLS" >&6; }
13080 BUILD_INCLUDED_LIBINTL
=no
13081 USE_INCLUDED_LIBINTL
=no
13087 if test "$USE_NLS" = "yes"; then
13088 gt_use_preinstalled_gnugettext
=no
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
13091 $as_echo_n "checking whether included gettext is requested... " >&6; }
13093 # Check whether --with-included-gettext was given.
13094 if test "${with_included_gettext+set}" = set; then :
13095 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
13097 nls_cv_force_use_gnu_gettext
=no
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
13101 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
13103 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
13104 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13112 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13113 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
13114 $as_echo_n "(cached) " >&6
13116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13118 #include <libintl.h>
13119 extern int _nl_msg_cat_cntr;
13120 extern int *_nl_domain_bindings;
13124 bindtextdomain ("", "");
13125 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
13130 if ac_fn_c_try_link
"$LINENO"; then :
13131 gt_cv_func_gnugettext2_libc
=yes
13133 gt_cv_func_gnugettext2_libc
=no
13135 rm -f core conftest.err conftest.
$ac_objext \
13136 conftest
$ac_exeext conftest.
$ac_ext
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
13139 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
13141 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13147 acl_save_prefix
="$prefix"
13148 prefix
="$acl_final_prefix"
13149 acl_save_exec_prefix
="$exec_prefix"
13150 exec_prefix
="$acl_final_exec_prefix"
13152 eval additional_includedir
=\"$includedir\"
13153 eval additional_libdir
=\"$libdir\"
13155 exec_prefix
="$acl_save_exec_prefix"
13156 prefix
="$acl_save_prefix"
13159 # Check whether --with-libintl-prefix was given.
13160 if test "${with_libintl_prefix+set}" = set; then :
13161 withval
=$with_libintl_prefix;
13162 if test "X$withval" = "Xno"; then
13165 if test "X$withval" = "X"; then
13167 acl_save_prefix
="$prefix"
13168 prefix
="$acl_final_prefix"
13169 acl_save_exec_prefix
="$exec_prefix"
13170 exec_prefix
="$acl_final_exec_prefix"
13172 eval additional_includedir
=\"$includedir\"
13173 eval additional_libdir
=\"$libdir\"
13175 exec_prefix
="$acl_save_exec_prefix"
13176 prefix
="$acl_save_prefix"
13179 additional_includedir
="$withval/include"
13180 additional_libdir
="$withval/lib"
13191 names_already_handled
=
13192 names_next_round
='intl '
13193 while test -n "$names_next_round"; do
13194 names_this_round
="$names_next_round"
13196 for name
in $names_this_round; do
13198 for n
in $names_already_handled; do
13199 if test "$n" = "$name"; then
13200 already_handled
=yes
13204 if test -z "$already_handled"; then
13205 names_already_handled
="$names_already_handled $name"
13206 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13207 eval value
=\"\
$HAVE_LIB$uppername\"
13208 if test -n "$value"; then
13209 if test "$value" = yes; then
13210 eval value
=\"\
$LIB$uppername\"
13211 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13212 eval value
=\"\
$LTLIB$uppername\"
13213 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13222 if test $use_additional = yes; then
13223 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13224 found_dir
="$additional_libdir"
13225 found_so
="$additional_libdir/lib$name.$shlibext"
13226 if test -f "$additional_libdir/lib$name.la"; then
13227 found_la
="$additional_libdir/lib$name.la"
13230 if test -f "$additional_libdir/lib$name.$libext"; then
13231 found_dir
="$additional_libdir"
13232 found_a
="$additional_libdir/lib$name.$libext"
13233 if test -f "$additional_libdir/lib$name.la"; then
13234 found_la
="$additional_libdir/lib$name.la"
13239 if test "X$found_dir" = "X"; then
13240 for x
in $LDFLAGS $LTLIBINTL; do
13242 acl_save_prefix
="$prefix"
13243 prefix
="$acl_final_prefix"
13244 acl_save_exec_prefix
="$exec_prefix"
13245 exec_prefix
="$acl_final_exec_prefix"
13247 exec_prefix
="$acl_save_exec_prefix"
13248 prefix
="$acl_save_prefix"
13252 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13253 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13255 found_so
="$dir/lib$name.$shlibext"
13256 if test -f "$dir/lib$name.la"; then
13257 found_la
="$dir/lib$name.la"
13260 if test -f "$dir/lib$name.$libext"; then
13262 found_a
="$dir/lib$name.$libext"
13263 if test -f "$dir/lib$name.la"; then
13264 found_la
="$dir/lib$name.la"
13270 if test "X$found_dir" != "X"; then
13275 if test "X$found_dir" != "X"; then
13276 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13277 if test "X$found_so" != "X"; then
13278 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13279 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13282 for x
in $ltrpathdirs; do
13283 if test "X$x" = "X$found_dir"; then
13288 if test -z "$haveit"; then
13289 ltrpathdirs
="$ltrpathdirs $found_dir"
13291 if test "$hardcode_direct" = yes; then
13292 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13294 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13295 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13297 for x
in $rpathdirs; do
13298 if test "X$x" = "X$found_dir"; then
13303 if test -z "$haveit"; then
13304 rpathdirs
="$rpathdirs $found_dir"
13308 for x
in $LDFLAGS $LIBINTL; do
13310 acl_save_prefix
="$prefix"
13311 prefix
="$acl_final_prefix"
13312 acl_save_exec_prefix
="$exec_prefix"
13313 exec_prefix
="$acl_final_exec_prefix"
13315 exec_prefix
="$acl_save_exec_prefix"
13316 prefix
="$acl_save_prefix"
13318 if test "X$x" = "X-L$found_dir"; then
13323 if test -z "$haveit"; then
13324 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13326 if test "$hardcode_minus_L" != no
; then
13327 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13329 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13335 if test "X$found_a" != "X"; then
13336 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13338 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13341 additional_includedir
=
13342 case "$found_dir" in
13344 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13345 additional_includedir
="$basedir/include"
13348 if test "X$additional_includedir" != "X"; then
13349 if test "X$additional_includedir" != "X/usr/include"; then
13351 if test "X$additional_includedir" = "X/usr/local/include"; then
13352 if test -n "$GCC"; then
13354 linux
*) haveit
=yes;;
13358 if test -z "$haveit"; then
13359 for x
in $CPPFLAGS $INCINTL; do
13361 acl_save_prefix
="$prefix"
13362 prefix
="$acl_final_prefix"
13363 acl_save_exec_prefix
="$exec_prefix"
13364 exec_prefix
="$acl_final_exec_prefix"
13366 exec_prefix
="$acl_save_exec_prefix"
13367 prefix
="$acl_save_prefix"
13369 if test "X$x" = "X-I$additional_includedir"; then
13374 if test -z "$haveit"; then
13375 if test -d "$additional_includedir"; then
13376 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13382 if test -n "$found_la"; then
13383 save_libdir
="$libdir"
13384 case "$found_la" in
13385 */* |
*\\*) .
"$found_la" ;;
13386 *) .
"./$found_la" ;;
13388 libdir
="$save_libdir"
13389 for dep
in $dependency_libs; do
13392 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13393 if test "X$additional_libdir" != "X/usr/lib"; then
13395 if test "X$additional_libdir" = "X/usr/local/lib"; then
13396 if test -n "$GCC"; then
13398 linux
*) haveit
=yes;;
13402 if test -z "$haveit"; then
13404 for x
in $LDFLAGS $LIBINTL; do
13406 acl_save_prefix
="$prefix"
13407 prefix
="$acl_final_prefix"
13408 acl_save_exec_prefix
="$exec_prefix"
13409 exec_prefix
="$acl_final_exec_prefix"
13411 exec_prefix
="$acl_save_exec_prefix"
13412 prefix
="$acl_save_prefix"
13414 if test "X$x" = "X-L$additional_libdir"; then
13419 if test -z "$haveit"; then
13420 if test -d "$additional_libdir"; then
13421 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13425 for x
in $LDFLAGS $LTLIBINTL; do
13427 acl_save_prefix
="$prefix"
13428 prefix
="$acl_final_prefix"
13429 acl_save_exec_prefix
="$exec_prefix"
13430 exec_prefix
="$acl_final_exec_prefix"
13432 exec_prefix
="$acl_save_exec_prefix"
13433 prefix
="$acl_save_prefix"
13435 if test "X$x" = "X-L$additional_libdir"; then
13440 if test -z "$haveit"; then
13441 if test -d "$additional_libdir"; then
13442 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13449 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13450 if test "$enable_rpath" != no
; then
13452 for x
in $rpathdirs; do
13453 if test "X$x" = "X$dir"; then
13458 if test -z "$haveit"; then
13459 rpathdirs
="$rpathdirs $dir"
13462 for x
in $ltrpathdirs; do
13463 if test "X$x" = "X$dir"; then
13468 if test -z "$haveit"; then
13469 ltrpathdirs
="$ltrpathdirs $dir"
13474 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13477 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13480 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13481 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13487 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13488 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13494 if test "X$rpathdirs" != "X"; then
13495 if test -n "$hardcode_libdir_separator"; then
13497 for found_dir
in $rpathdirs; do
13498 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13500 acl_save_libdir
="$libdir"
13502 eval flag
=\"$hardcode_libdir_flag_spec\"
13503 libdir
="$acl_save_libdir"
13504 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13506 for found_dir
in $rpathdirs; do
13507 acl_save_libdir
="$libdir"
13508 libdir
="$found_dir"
13509 eval flag
=\"$hardcode_libdir_flag_spec\"
13510 libdir
="$acl_save_libdir"
13511 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13515 if test "X$ltrpathdirs" != "X"; then
13516 for found_dir
in $ltrpathdirs; do
13517 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13522 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13523 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
13524 $as_echo_n "(cached) " >&6
13526 gt_save_CPPFLAGS
="$CPPFLAGS"
13527 CPPFLAGS
="$CPPFLAGS $INCINTL"
13528 gt_save_LIBS
="$LIBS"
13529 LIBS
="$LIBS $LIBINTL"
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532 #include <libintl.h>
13533 extern int _nl_msg_cat_cntr;
13538 const char *_nl_expand_alias ();
13542 bindtextdomain ("", "");
13543 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13548 if ac_fn_c_try_link
"$LINENO"; then :
13549 gt_cv_func_gnugettext2_libintl
=yes
13551 gt_cv_func_gnugettext2_libintl
=no
13553 rm -f core conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13555 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13556 LIBS
="$LIBS $LIBICONV"
13557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13559 #include <libintl.h>
13560 extern int _nl_msg_cat_cntr;
13565 const char *_nl_expand_alias ();
13569 bindtextdomain ("", "");
13570 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13575 if ac_fn_c_try_link
"$LINENO"; then :
13576 LIBINTL
="$LIBINTL $LIBICONV"
13577 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13578 gt_cv_func_gnugettext2_libintl
=yes
13581 rm -f core conftest.err conftest.
$ac_objext \
13582 conftest
$ac_exeext conftest.
$ac_ext
13584 CPPFLAGS
="$gt_save_CPPFLAGS"
13585 LIBS
="$gt_save_LIBS"
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
13588 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
13591 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13592 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
13593 && test "$PACKAGE" != gettext; }; then
13594 gt_use_preinstalled_gnugettext
=yes
13602 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13603 nls_cv_use_gnu_gettext
=yes
13607 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13608 INTLOBJS
="\$(GETTOBJS)"
13609 BUILD_INCLUDED_LIBINTL
=yes
13610 USE_INCLUDED_LIBINTL
=yes
13611 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13612 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13613 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13616 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13617 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13622 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13623 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13625 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13632 if test "$USE_NLS" = "yes"; then
13634 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13635 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13637 $as_echo_n "checking how to link with libintl... " >&6; }
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13639 $as_echo "$LIBINTL" >&6; }
13641 for element
in $INCINTL; do
13643 for x
in $CPPFLAGS; do
13645 acl_save_prefix
="$prefix"
13646 prefix
="$acl_final_prefix"
13647 acl_save_exec_prefix
="$exec_prefix"
13648 exec_prefix
="$acl_final_exec_prefix"
13650 exec_prefix
="$acl_save_exec_prefix"
13651 prefix
="$acl_save_prefix"
13653 if test "X$x" = "X$element"; then
13658 if test -z "$haveit"; then
13659 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13666 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13669 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13677 if test "$PACKAGE" = gettext; then
13678 BUILD_INCLUDED_LIBINTL
=yes
13686 nls_cv_header_intl
=
13687 nls_cv_header_libgt
=
13698 INTL_LIBTOOL_SUFFIX_PREFIX
=
13702 INTLLIBS
="$LIBINTL"
13709 if test $USE_INCLUDED_LIBINTL = yes; then :
13710 INCINTL
=-I\
${top_builddir}/intl
13713 if test x
$USE_NLS = xyes
; then :
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
13716 $as_echo_n "checking for autopoint... " >&6; }
13717 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
13718 if test -n "$autopoint_version"; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
13721 $as_echo "yes ($autopoint_version)" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13727 $as_echo "no" >&6; }
13733 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13735 You need to install GNU gettext/gettext-tools to compile aMule with
13737 $as_echo "$as_me: WARNING:
13738 You need to install GNU gettext/gettext-tools to compile aMule with
13739 i18n support." >&2;}
13740 _mule_warning_9
=yes
13741 _mule_has_warnings
=yes
13745 if test ${USE_NLS:-no} = yes; then :
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
13748 $as_echo_n "checking for requested languages... " >&6; }
13749 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
13751 if test ${enable_amule_daemon:-no} = yes; then :
13753 if test -z "$LINGUAS"; then :
13754 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
13757 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13758 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
13761 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
13764 AMULE_DAEMON_MANPAGES
=
13769 if test ${enable_amulecmd:-no} = yes; then :
13771 if test -z "$LINGUAS"; then :
13772 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
13775 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13776 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
13779 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
13787 if test ${enable_webserver:-no} = yes; then :
13789 if test -z "$LINGUAS"; then :
13790 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
13793 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13794 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
13797 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
13800 WEBSERVER_MANPAGES
=
13805 if test ${enable_amule_gui:-no} = yes; then :
13807 if test -z "$LINGUAS"; then :
13808 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
13811 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13812 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
13815 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
13818 AMULE_GUI_MANPAGES
=
13823 if test ${enable_cas:-no} = yes; then :
13825 if test -z "$LINGUAS"; then :
13826 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
13829 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13830 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
13833 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
13841 if test ${enable_wxcas:-no} = yes; then :
13843 if test -z "$LINGUAS"; then :
13844 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
13847 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13848 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
13851 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
13859 if test ${enable_ed2k:-yes} = yes; then :
13861 if test -z "$LINGUAS"; then :
13862 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
13865 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13866 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
13869 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
13877 if test ${enable_alc:-no} = yes; then :
13879 if test -z "$LINGUAS"; then :
13880 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
13883 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13884 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
13887 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
13895 if test ${enable_alcc:-no} = yes; then :
13897 if test -z "$LINGUAS"; then :
13898 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
13901 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13902 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
13905 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
13913 if test ${enable_monolithic:-yes} = yes; then :
13915 if test -z "$LINGUAS"; then :
13916 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
13919 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
13920 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
13923 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
13926 MONOLITHIC_MANPAGES
=
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
13931 $as_echo "${LINGUAS:-all}" >&6; }
13937 # Check for bfd.h (to have proper backtraces without using wxExecute)
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
13940 $as_echo_n "checking for bfd... " >&6; }
13942 for bfd_ldadd
in "" "${LIBINTL}" "-ldl" "-ldl ${LIBINTL}"; do
13943 mule_backup_LIBS
="$LIBS"
13944 mule_backup_LDFLAGS
="$LDFLAGS"
13945 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
13946 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13951 #include <ansidecl.h>
13958 char *dummy = bfd_errmsg(bfd_get_error());
13965 if ac_fn_c_try_link
"$LINENO"; then :
13968 BFD_CPPFLAGS
="-DHAVE_BFD"
13969 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
13970 LIBS
="$mule_backup_LIBS"
13971 LDFLAGS
="$mule_backup_LDFLAGS"
13975 rm -f core conftest.err conftest.
$ac_objext \
13976 conftest
$ac_exeext conftest.
$ac_ext
13977 LIBS
="$mule_backup_LIBS"
13978 LDFLAGS
="$mule_backup_LDFLAGS"
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13982 $as_echo "$result" >&6; }
13984 if test $result = no
; then :
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13986 bfd.h not found or unusable, please install binutils development
13987 package if you are a developer or want to help testing aMule" >&5
13988 $as_echo "$as_me: WARNING:
13989 bfd.h not found or unusable, please install binutils development
13990 package if you are a developer or want to help testing aMule" >&2;}
13991 _mule_warning_10
=yes
13992 _mule_has_warnings
=yes
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
13999 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14004 #include <execinfo.h>
14011 int n = backtrace(&bt, 1);
14012 const char **bt_syms = backtrace_symbols(bt, n);
14019 if ac_fn_c_try_link
"$LINENO"; then :
14022 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14025 $as_echo "yes" >&6; }
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14030 $as_echo "no" >&6; }
14033 rm -f core conftest.err conftest.
$ac_objext \
14034 conftest
$ac_exeext conftest.
$ac_ext
14037 # Flush standard test results for speeding cache
14038 cat >confcache
<<\_ACEOF
14039 # This file is a shell script that caches the results of configure
14040 # tests run on this system so they can be shared between configure
14041 # scripts and configure runs, see configure's option --config-cache.
14042 # It is not useful on other systems. If it contains results you don't
14043 # want to keep, you may remove or edit it.
14045 # config.status only pays attention to the cache file if you give it
14046 # the --recheck option to rerun configure.
14048 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14049 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14050 # following values.
14054 # The following way of writing the cache mishandles newlines in values,
14055 # but we know of no workaround that is simple, portable, and efficient.
14056 # So, we kill variables containing newlines.
14057 # Ultrix sh set writes to stderr and can't be redirected directly,
14058 # and sets the high bit in the cache file unless we assign to the vars.
14060 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14061 eval ac_val
=\$
$ac_var
14065 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14069 _ | IFS | as_nl
) ;; #(
14070 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14071 *) { eval $ac_var=; unset $ac_var;} ;;
14077 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14078 *${as_nl}ac_space
=\
*)
14079 # `set' does not quote correctly, so add quotes: double-quote
14080 # substitution turns \\\\ into \\, and sed turns \\ into \.
14083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14086 # `set' quotes correctly as required by POSIX, so do not add quotes.
14087 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14096 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14098 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14100 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14101 if test -w "$cache_file"; then
14102 test "x$cache_file" != "x/dev/null" &&
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14104 $as_echo "$as_me: updating cache $cache_file" >&6;}
14105 cat confcache
>$cache_file
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14108 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14116 # Check whether --enable-debug was given.
14117 if test "${enable_debug+set}" = set; then :
14118 enableval
=$enable_debug;
14122 # Check whether --enable-profile was given.
14123 if test "${enable_profile+set}" = set; then :
14124 enableval
=$enable_profile;
14128 # Check whether --enable-optimize was given.
14129 if test "${enable_optimize+set}" = set; then :
14130 enableval
=$enable_optimize;
14135 if test ${enable_debug:-yes} = yes; then :
14137 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
14139 MULECFLAGS
="$MULECFLAGS -g"
14140 MULECXXFLAGS
="$MULECXXFLAGS -g"
14142 if test ${GLIBCXX:-no} = yes; then :
14143 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
14145 if test ${GCC:-no} = yes; then :
14147 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14148 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
14151 if test ${SYS:-unknown} = win32
; then :
14152 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
14157 if test ${GCC:-no} = yes; then :
14159 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
14160 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
14166 if test ${enable_profile:-no} = yes; then :
14169 MULECFLAGS
="$MULECFLAGS -pg"
14170 MULECXXFLAGS
="$MULECXXFLAGS -pg"
14172 MULELDFLAGS
="$MULELDFLAGS -pg"
14176 if test ${enable_optimize:-no} = yes; then :
14178 MULECFLAGS
="$MULECFLAGS -O2"
14179 MULECXXFLAGS
="$MULECXXFLAGS -O2"
14183 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
14186 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
14188 $as_echo_n "checking for docdir... " >&6; }
14189 if test -z "$docdir"; then :
14190 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
14193 $as_echo "$docdir" >&6; }
14195 # Try to set the SVN checkout-date
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
14197 $as_echo_n "checking for SVNDATE... " >&6; }
14198 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
14200 svndate
="rev. `cat $srcdir/.svn-revision`"
14201 elif test -d $srcdir/.svn
# SVNDATE for svn
14203 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
14206 $as_echo "${svndate:-None required}" >&6; }
14207 if test -n "$svndate"; then :
14210 cat >>confdefs.h
<<_ACEOF
14211 #define SVNDATE "$svndate"
14214 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
14221 # Check whether --with-denoise-level was given.
14222 if test "${with_denoise_level+set}" = set; then :
14223 withval
=$with_denoise_level;
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
14228 $as_echo_n "checking denoising level... " >&6; }
14229 if test ${with_denoise_level:-5} = yes; then :
14230 with_denoise_level
=5
14232 if test ${with_denoise_level:-5} = no
; then :
14233 with_denoise_level
=0
14235 if test ${with_denoise_level:-5} -gt 4; then :
14236 if test "${svndate:+set}" = "set"; then :
14237 with_denoise_level
=0
14239 with_denoise_level
=4
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
14243 $as_echo "$with_denoise_level" >&6; }
14245 ac_config_commands
="$ac_config_commands denoiser"
14249 if test ${enable_plasmamule:-no} = yes; then :
14252 if test -z ${QT_MOC}; then :
14254 for ac_prog
in moc-qt4 moc
14256 # Extract the first word of "$ac_prog", so it can be a program name with args.
14257 set dummy
$ac_prog; ac_word
=$2
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14259 $as_echo_n "checking for $ac_word... " >&6; }
14260 if test "${ac_cv_path_QT_MOC+set}" = set; then :
14261 $as_echo_n "(cached) " >&6
14265 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
14268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14269 for as_dir
in $PATH
14272 test -z "$as_dir" && as_dir
=.
14273 for ac_exec_ext
in '' $ac_executable_extensions; do
14274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14275 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
14276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14286 QT_MOC
=$ac_cv_path_QT_MOC
14287 if test -n "$QT_MOC"; then
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
14289 $as_echo "$QT_MOC" >&6; }
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14292 $as_echo "no" >&6; }
14296 test -n "$QT_MOC" && break
14299 if test -z ${QT_MOC}; then :
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
14309 $as_echo_n "checking for moc... " >&6; }
14310 if test -x ${QT_MOC}; then :
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
14313 $as_echo "${QT_MOC}" >&6; }
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
14319 $as_echo "\"not found\"" >&6; }
14328 if test "${QT_MOC}" != "not found"; then :
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
14331 $as_echo_n "checking for moc version >= 4... " >&6; }
14332 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
14333 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
14336 $as_echo "found ${QT_MOC_VERSION}" >&6; }
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
14341 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
14349 if test "${QT_MOC}" = "not found"; then :
14350 enable_plasmamule
=disabled
14353 if test ${enable_plasmamule:-no} = yes; then :
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
14358 $as_echo_n "checking for qt... " >&6; }
14359 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14362 $as_echo "found" >&6; }
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
14364 $as_echo_n "checking for qt core cflags... " >&6; }
14365 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
14367 $as_echo "$QT_CORE_CFLAGS" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
14369 $as_echo_n "checking for qt core libs... " >&6; }
14370 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
14372 $as_echo "$QT_CORE_LIBS" >&6; }
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
14374 $as_echo_n "checking for qt gui cflags... " >&6; }
14375 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
14377 $as_echo "$QT_GUI_CFLAGS" >&6; }
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
14379 $as_echo_n "checking for qt gui libs... " >&6; }
14380 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
14382 $as_echo "$QT_GUI_LIBS" >&6; }
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14386 $as_echo "not found" >&6; }
14395 if test -z "${QT_CORE_CXXFLAGS}"; then :
14396 enable_plasmamule
=disabled
14401 if test ${enable_plasmamule:-no} = yes; then :
14404 if test -z ${KDE4_CONFIG}; then :
14406 # Extract the first word of "kde4-config", so it can be a program name with args.
14407 set dummy kde4-config
; ac_word
=$2
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14409 $as_echo_n "checking for $ac_word... " >&6; }
14410 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
14411 $as_echo_n "(cached) " >&6
14413 case $KDE4_CONFIG in
14415 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
14418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14419 for as_dir
in $PATH
14422 test -z "$as_dir" && as_dir
=.
14423 for ac_exec_ext
in '' $ac_executable_extensions; do
14424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14425 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14436 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
14437 if test -n "$KDE4_CONFIG"; then
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
14439 $as_echo "$KDE4_CONFIG" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14442 $as_echo "no" >&6; }
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
14450 $as_echo_n "checking for kde4-config... " >&6; }
14451 if test ! -x KDE4_CONFIG
; then :
14453 KDE4_CONFIG
="not found"
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14455 $as_echo "not found" >&6; }
14462 if test "${KDE4_CONFIG}" != "not found"; then :
14464 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
14465 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
14468 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
14473 $as_echo "at least version
4 required
" >&6; }
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
14481 $as_echo "not found
" >&6; }
14487 if test "${KDE4_CONFIG}" = "not found
"; then :
14488 enable_plasmamule=disabled
14493 if test ${enable_plasmamule:-no} = yes; then :
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
14497 $as_echo_n "checking
for kde4 headers...
" >&6; }
14498 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
14500 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
14502 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
14505 $as_echo "${KDE_HEADER_DIR}" >&6; }
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
14510 $as_echo "dataengine.h not found
" >&6; }
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
14518 $as_echo "kdirwatch.h not found
" >&6; }
14524 if test -z ${KDE_HEADER_DIR}; then :
14525 enable_plasmamule=disabled
14530 if test ${enable_plasmamule:-no} = yes; then :
14532 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
14533 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
14538 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
14539 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14544 if test ${KDE_IN_HOME} = "yes"; then :
14546 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14550 if test -n ${prefix}; then :
14552 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
14553 if test -n ${KDE_APPLNK_PATH}; then :
14555 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14561 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
14567 $as_echo "${KDE_APPLNK_PATH}" >&6; }
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
14573 $as_echo_n "checking
for kde4 services Path...
" >&6; }
14574 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14579 if test ${KDE_IN_HOME} = "yes"; then :
14581 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14585 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
14589 $as_echo "${KDE_SERVICE_PATH}" >&6; }
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
14595 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
14596 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14601 if test ${KDE_IN_HOME} = "yes"; then :
14603 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14607 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
14611 $as_echo "${KDE_MODULE_PATH}" >&6; }
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
14617 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
14618 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14623 if test ${KDE_IN_HOME} = "yes"; then :
14625 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14629 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
14632 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
14634 $as_echo "${KDE_ICON_PATH}" >&6; }
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
14640 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
14641 if test `echo ${prefix} | grep home | wc -l` == 1; then :
14646 if test ${KDE_IN_HOME} = "yes"; then :
14648 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
14652 if test -n ${prefix}; then :
14654 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
14655 if test -n ${KDE_MIME_PATH}; then :
14657 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14663 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
14669 $as_echo "${KDE_MIME_PATH}" >&6; }
14674 enable_plasmamule=disabled
14679 if test ${enable_plasmamule:-no} = yes; then :
14681 if test -z ${DEB_HOST_ARCH}; then :
14684 for ac_prog in kbuildsycoca4 kbuildsycoca
14686 # Extract the first word of "$ac_prog", so it can be a program name with args.
14687 set dummy $ac_prog; ac_word=$2
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14689 $as_echo_n "checking
for $ac_word...
" >&6; }
14690 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
14691 $as_echo_n "(cached
) " >&6
14693 case $KBUILDSYCOCA in
14695 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
14698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14699 for as_dir in $PATH
14702 test -z "$as_dir" && as_dir=.
14703 for ac_exec_ext in '' $ac_executable_extensions; do
14704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14705 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
14706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14716 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
14717 if test -n "$KBUILDSYCOCA"; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
14719 $as_echo "$KBUILDSYCOCA" >&6; }
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14722 $as_echo "no
" >&6; }
14726 test -n "$KBUILDSYCOCA" && break
14730 if test -z ${KBUILDSYCOCA}; then :
14732 echo "No tool
for KDE Systemcache Management found
"
14739 # Extract the first word of "update-mime-database
", so it can be a program name with args.
14740 set dummy update-mime-database; ac_word=$2
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14742 $as_echo_n "checking
for $ac_word...
" >&6; }
14743 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
14744 $as_echo_n "(cached
) " >&6
14746 case $UPDATE_MIME_DATABASE in
14748 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
14751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14752 for as_dir in $PATH
14755 test -z "$as_dir" && as_dir=.
14756 for ac_exec_ext in '' $ac_executable_extensions; do
14757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14758 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14769 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14770 if test -n "$UPDATE_MIME_DATABASE"; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
14772 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14775 $as_echo "no
" >&6; }
14780 if test -z ${UPDATE_MIME_DATABASE}; then :
14782 echo "No tool
for MIME Datanase Management found
"
14789 USER_INSTALL_HOOK="USER_INSTALL
"
14797 if test ${enable_debug:-yes} = yes; then :
14799 DEBUGFLAG="-D__DEBUG__"
14806 if test x$SYS = xwin32; then
14808 SYS_WIN32_FALSE='#'
14814 if test x$SYS = xwin32 -a "$RC" != ":"; then
14822 if test x$SYS = xdarwin; then
14823 NEED_CORESERVICES_TRUE=
14824 NEED_CORESERVICES_FALSE='#'
14826 NEED_CORESERVICES_TRUE='#'
14827 NEED_CORESERVICES_FALSE=
14830 if test x$USE_NLS = xyes; then
14832 COMPILE_NLS_FALSE='#'
14834 COMPILE_NLS_TRUE='#'
14838 if test x$HAVE_FLEX_EXTENDED = xyes; then
14839 GENERATE_FLEX_HEADER_TRUE=
14840 GENERATE_FLEX_HEADER_FALSE='#'
14842 GENERATE_FLEX_HEADER_TRUE='#'
14843 GENERATE_FLEX_HEADER_FALSE=
14846 if test x$INSTALL_SKINS = xyes; then
14847 INSTALL_SKINS_TRUE=
14848 INSTALL_SKINS_FALSE='#'
14850 INSTALL_SKINS_TRUE='#'
14851 INSTALL_SKINS_FALSE=
14854 if test ${enable_plasmamule:-no} = yes; then
14856 PLASMAMULE_FALSE='#'
14858 PLASMAMULE_TRUE='#'
14863 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
14864 COMPILE_LIB_COMMON_TRUE=
14865 COMPILE_LIB_COMMON_FALSE='#'
14867 COMPILE_LIB_COMMON_TRUE='#'
14868 COMPILE_LIB_COMMON_FALSE=
14871 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
14872 COMPILE_LIB_EC_TRUE=
14873 COMPILE_LIB_EC_FALSE='#'
14875 COMPILE_LIB_EC_TRUE='#'
14876 COMPILE_LIB_EC_FALSE=
14880 # Check for readline library
14881 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
14884 $as_echo_n "checking
for a readline compatible library...
" >&6; }
14885 if test "${vl_cv_lib_readline+set}" = set; then :
14886 $as_echo_n "(cached
) " >&6
14890 for readline_lib in readline edit editline; do
14891 for termcap_lib in "" termcap curses ncurses; do
14892 if test -z "$termcap_lib"; then
14893 TRY_LIB="-l$readline_lib"
14895 TRY_LIB="-l$readline_lib -l$termcap_lib"
14897 LIBS="$ORIG_LIBS $TRY_LIB"
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14911 return readline ();
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 vl_cv_lib_readline="$TRY_LIB"
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14921 if test -n "$vl_cv_lib_readline"; then
14925 if test -n "$vl_cv_lib_readline"; then
14929 if test -z "$vl_cv_lib_readline"; then
14930 vl_cv_lib_readline="no
"
14934 READLINE_LIBS="$vl_cv_lib_readline"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
14939 $as_echo "$vl_cv_lib_readline" >&6; }
14941 if test "$vl_cv_lib_readline" != "no
"; then
14943 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14945 for ac_header
in readline.h readline
/readline.h
14947 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14948 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14949 eval as_val
=\$
$as_ac_Header
14950 if test "x$as_val" = x
""yes; then :
14951 cat >>confdefs.h
<<_ACEOF
14952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14960 $as_echo_n "checking whether readline supports history... " >&6; }
14961 if test "${vl_cv_lib_readline_history+set}" = set; then :
14962 $as_echo_n "(cached) " >&6
14965 vl_cv_lib_readline_history
="no"
14966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14975 char add_history ();
14979 return add_history ();
14984 if ac_fn_c_try_link
"$LINENO"; then :
14985 vl_cv_lib_readline_history
="yes"
14987 rm -f core conftest.err conftest.
$ac_objext \
14988 conftest
$ac_exeext conftest.
$ac_ext
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14992 $as_echo "$vl_cv_lib_readline_history" >&6; }
14993 if test "$vl_cv_lib_readline_history" = "yes"; then
14995 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14997 for ac_header
in history.h readline
/history.h
14999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15000 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15001 eval as_val
=\$
$as_ac_Header
15002 if test "x$as_val" = x
""yes; then :
15003 cat >>confdefs.h
<<_ACEOF
15004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15018 if test ${PLASMAMULE:-no} = yes; then :
15021 if test -z ${QT_MOC}; then :
15023 for ac_prog
in moc-qt4 moc
15025 # Extract the first word of "$ac_prog", so it can be a program name with args.
15026 set dummy
$ac_prog; ac_word
=$2
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15028 $as_echo_n "checking for $ac_word... " >&6; }
15029 if test "${ac_cv_path_QT_MOC+set}" = set; then :
15030 $as_echo_n "(cached) " >&6
15034 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15038 for as_dir
in $PATH
15041 test -z "$as_dir" && as_dir
=.
15042 for ac_exec_ext
in '' $ac_executable_extensions; do
15043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15044 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15055 QT_MOC
=$ac_cv_path_QT_MOC
15056 if test -n "$QT_MOC"; then
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15058 $as_echo "$QT_MOC" >&6; }
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15061 $as_echo "no" >&6; }
15065 test -n "$QT_MOC" && break
15068 if test -z ${QT_MOC}; then :
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15078 $as_echo_n "checking for moc... " >&6; }
15079 if test -x ${QT_MOC}; then :
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15082 $as_echo "${QT_MOC}" >&6; }
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15088 $as_echo "\"not found\"" >&6; }
15097 if test "${QT_MOC}" != "not found"; then :
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15100 $as_echo_n "checking for moc version >= 4... " >&6; }
15101 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15102 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15105 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15110 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15118 if test "${QT_MOC}" = "not found"; then :
15119 enable_plasmamule
=disabled
15122 if test ${enable_plasmamule:-no} = yes; then :
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15127 $as_echo_n "checking for qt... " >&6; }
15128 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15131 $as_echo "found" >&6; }
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15133 $as_echo_n "checking for qt core cflags... " >&6; }
15134 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15136 $as_echo "$QT_CORE_CFLAGS" >&6; }
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15138 $as_echo_n "checking for qt core libs... " >&6; }
15139 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15141 $as_echo "$QT_CORE_LIBS" >&6; }
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15143 $as_echo_n "checking for qt gui cflags... " >&6; }
15144 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15146 $as_echo "$QT_GUI_CFLAGS" >&6; }
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15148 $as_echo_n "checking for qt gui libs... " >&6; }
15149 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15151 $as_echo "$QT_GUI_LIBS" >&6; }
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15155 $as_echo "not found" >&6; }
15164 if test -z "${QT_CORE_CXXFLAGS}"; then :
15165 enable_plasmamule
=disabled
15170 if test ${enable_plasmamule:-no} = yes; then :
15173 if test -z ${KDE4_CONFIG}; then :
15175 # Extract the first word of "kde4-config", so it can be a program name with args.
15176 set dummy kde4-config
; ac_word
=$2
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15178 $as_echo_n "checking for $ac_word... " >&6; }
15179 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
15180 $as_echo_n "(cached) " >&6
15182 case $KDE4_CONFIG in
15184 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15188 for as_dir
in $PATH
15191 test -z "$as_dir" && as_dir
=.
15192 for ac_exec_ext
in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15205 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15206 if test -n "$KDE4_CONFIG"; then
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15208 $as_echo "$KDE4_CONFIG" >&6; }
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15211 $as_echo "no" >&6; }
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15219 $as_echo_n "checking for kde4-config... " >&6; }
15220 if test ! -x KDE4_CONFIG
; then :
15222 KDE4_CONFIG
="not found"
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15224 $as_echo "not found" >&6; }
15231 if test "${KDE4_CONFIG}" != "not found"; then :
15233 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15234 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15237 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15242 $as_echo "at least version
4 required
" >&6; }
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15250 $as_echo "not found
" >&6; }
15256 if test "${KDE4_CONFIG}" = "not found
"; then :
15257 enable_plasmamule=disabled
15262 if test ${enable_plasmamule:-no} = yes; then :
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15266 $as_echo_n "checking
for kde4 headers...
" >&6; }
15267 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15269 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15271 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15274 $as_echo "${KDE_HEADER_DIR}" >&6; }
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15279 $as_echo "dataengine.h not found
" >&6; }
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15287 $as_echo "kdirwatch.h not found
" >&6; }
15293 if test -z ${KDE_HEADER_DIR}; then :
15294 enable_plasmamule=disabled
15299 if test ${enable_plasmamule:-no} = yes; then :
15301 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15302 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15307 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15308 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15313 if test ${KDE_IN_HOME} = "yes"; then :
15315 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15319 if test -n ${prefix}; then :
15321 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15322 if test -n ${KDE_APPLNK_PATH}; then :
15324 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15330 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15336 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15342 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15343 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15348 if test ${KDE_IN_HOME} = "yes"; then :
15350 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15354 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15358 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15364 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15365 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15370 if test ${KDE_IN_HOME} = "yes"; then :
15372 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15376 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15380 $as_echo "${KDE_MODULE_PATH}" >&6; }
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15386 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15387 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15392 if test ${KDE_IN_HOME} = "yes"; then :
15394 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15398 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15401 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15403 $as_echo "${KDE_ICON_PATH}" >&6; }
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15409 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15410 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15415 if test ${KDE_IN_HOME} = "yes"; then :
15417 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15421 if test -n ${prefix}; then :
15423 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15424 if test -n ${KDE_MIME_PATH}; then :
15426 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15432 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15438 $as_echo "${KDE_MIME_PATH}" >&6; }
15443 enable_plasmamule=disabled
15448 if test ${enable_plasmamule:-no} = yes; then :
15450 if test -z ${DEB_HOST_ARCH}; then :
15453 for ac_prog in kbuildsycoca4 kbuildsycoca
15455 # Extract the first word of "$ac_prog", so it can be a program name with args.
15456 set dummy $ac_prog; ac_word=$2
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15458 $as_echo_n "checking
for $ac_word...
" >&6; }
15459 if test "${ac_cv_path_KBUILDSYCOCA+set}" = set; then :
15460 $as_echo_n "(cached
) " >&6
15462 case $KBUILDSYCOCA in
15464 ac_cv_path_KBUILDSYCOCA="$KBUILDSYCOCA" # Let the user override the test with a path.
15467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15468 for as_dir in $PATH
15471 test -z "$as_dir" && as_dir=.
15472 for ac_exec_ext in '' $ac_executable_extensions; do
15473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15474 ac_cv_path_KBUILDSYCOCA="$as_dir/$ac_word$ac_exec_ext"
15475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15485 KBUILDSYCOCA=$ac_cv_path_KBUILDSYCOCA
15486 if test -n "$KBUILDSYCOCA"; then
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $KBUILDSYCOCA" >&5
15488 $as_echo "$KBUILDSYCOCA" >&6; }
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15491 $as_echo "no
" >&6; }
15495 test -n "$KBUILDSYCOCA" && break
15499 if test -z ${KBUILDSYCOCA}; then :
15501 echo "No tool
for KDE Systemcache Management found
"
15508 # Extract the first word of "update-mime-database
", so it can be a program name with args.
15509 set dummy update-mime-database; ac_word=$2
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15511 $as_echo_n "checking
for $ac_word...
" >&6; }
15512 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
15513 $as_echo_n "(cached
) " >&6
15515 case $UPDATE_MIME_DATABASE in
15517 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15521 for as_dir in $PATH
15524 test -z "$as_dir" && as_dir=.
15525 for ac_exec_ext in '' $ac_executable_extensions; do
15526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15527 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15528 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15538 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15539 if test -n "$UPDATE_MIME_DATABASE"; then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $UPDATE_MIME_DATABASE" >&5
15541 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15544 $as_echo "no
" >&6; }
15549 if test -z ${UPDATE_MIME_DATABASE}; then :
15551 echo "No tool
for MIME Datanase Management found
"
15558 USER_INSTALL_HOOK="USER_INSTALL
"
15566 if test ${enable_debug:-yes} = yes; then :
15568 DEBUGFLAG="-D__DEBUG__"
15575 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
15578 # Check whether --enable-ccache was given.
15579 if test "${enable_ccache+set}" = set; then :
15580 enableval=$enable_ccache;
15586 # Check whether --with-ccache-prefix was given.
15587 if test "${with_ccache_prefix+set}" = set; then :
15588 withval=$with_ccache_prefix;
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added
" >&5
15593 $as_echo_n "checking whether ccache support should be added...
" >&6; }
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15595 $as_echo "${enable_ccache:-no}" >&6; }
15597 if test ${enable_ccache:-no} = yes; then :
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ccache presence
" >&5
15600 $as_echo_n "checking
for ccache presence...
" >&6; }
15601 if test -z "$with_ccache_prefix"; then :
15603 ccache_full=`which ccache`
15604 with_ccache_prefix=`dirname ${ccache_full}`
15607 if $with_ccache_prefix/ccache -V >/dev/null 2>&1; then :
15609 CC="$with_ccache_prefix/ccache
$CC"
15610 CXX="$with_ccache_prefix/ccache
$CXX"
15611 BUILD_CC="$with_ccache_prefix/ccache
$BUILD_CC"
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_ccache:-no}" >&5
15617 $as_echo "${enable_ccache:-no}" >&6; }
15622 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
"
15624 ac_config_files="$ac_config_files po
/Makefile.
in Compilation.flags
"
15626 if test x$SYS = xwin32; then :
15627 ac_config_files="$ac_config_files version.rc
"
15630 cat >confcache <<\_ACEOF
15631 # This file is a shell script that caches the results of configure
15632 # tests run on this system so they can be shared between configure
15633 # scripts and configure runs, see configure's option --config-cache.
15634 # It is not useful on other systems. If it contains results you don't
15635 # want to keep, you may remove or edit it.
15637 # config.status only pays attention to the cache file if you give it
15638 # the --recheck option to rerun configure.
15640 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15641 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15642 # following values.
15646 # The following way of writing the cache mishandles newlines in values,
15647 # but we know of no workaround that is simple, portable, and efficient.
15648 # So, we kill variables containing newlines.
15649 # Ultrix sh set writes to stderr and can't be redirected directly,
15650 # and sets the high bit in the cache file unless we assign to the vars.
15652 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15653 eval ac_val=\$$ac_var
15657 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15658 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15661 _ | IFS | as_nl) ;; #(
15662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15663 *) { eval $ac_var=; unset $ac_var;} ;;
15669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15670 *${as_nl}ac_space=\ *)
15671 # `set' does not quote correctly, so add quotes: double-quote
15672 # substitution turns \\\\ into \\, and sed turns \\ into \.
15675 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15678 # `set' quotes correctly as required by POSIX, so do not add quotes.
15679 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15692 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15693 if test -w "$cache_file"; then
15694 test "x
$cache_file" != "x
/dev
/null
" &&
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15696 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15697 cat confcache >$cache_file
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15700 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15705 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15706 # Let make expand exec_prefix.
15707 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15709 DEFS=-DHAVE_CONFIG_H
15713 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
15714 # 1. Remove the extension, and $U if already installed.
15715 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15716 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15717 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15718 # will be set to the directory where LIBOBJS objects are built.
15719 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
15720 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
15722 LIBOBJS=$ac_libobjs
15724 LTLIBOBJS=$ac_ltlibobjs
15727 if test -n "$EXEEXT"; then
15729 am__EXEEXT_FALSE='#'
15731 am__EXEEXT_TRUE='#'
15735 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15736 as_fn_error "conditional
\"MAINTAINER_MODE
\" was never defined.
15737 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15739 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15740 as_fn_error "conditional
\"AMDEP
\" was never defined.
15741 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15743 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15744 as_fn_error "conditional
\"am__fastdepCXX
\" was never defined.
15745 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15747 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15748 as_fn_error "conditional
\"am__fastdepCC
\" was never defined.
15749 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15751 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
15752 as_fn_error "conditional
\"MONOLITHIC
\" was never defined.
15753 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15755 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
15756 as_fn_error "conditional
\"AMULE_DAEMON
\" was never defined.
15757 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15759 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
15760 as_fn_error "conditional
\"COMPILE_CMD
\" was never defined.
15761 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15763 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
15764 as_fn_error "conditional
\"WEB
\" was never defined.
15765 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15767 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
15768 as_fn_error "conditional
\"AMULE_GUI
\" was never defined.
15769 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15771 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
15772 as_fn_error "conditional
\"CAS
\" was never defined.
15773 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15775 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
15776 as_fn_error "conditional
\"WXCAS
\" was never defined.
15777 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15779 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
15780 as_fn_error "conditional
\"ED2K
\" was never defined.
15781 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15783 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
15784 as_fn_error "conditional
\"ALC
\" was never defined.
15785 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15787 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
15788 as_fn_error "conditional
\"ALCC
\" was never defined.
15789 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15791 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
15792 as_fn_error "conditional
\"XAS
\" was never defined.
15793 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15795 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
15796 as_fn_error "conditional
\"FILEVIEW
\" was never defined.
15797 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15799 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
15800 as_fn_error "conditional
\"SYS_WIN32
\" was never defined.
15801 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15803 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
15804 as_fn_error "conditional
\"NEED_RC
\" was never defined.
15805 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15807 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
15808 as_fn_error "conditional
\"NEED_CORESERVICES
\" was never defined.
15809 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15811 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
15812 as_fn_error "conditional
\"COMPILE_NLS
\" was never defined.
15813 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15815 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
15816 as_fn_error "conditional
\"GENERATE_FLEX_HEADER
\" was never defined.
15817 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15819 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
15820 as_fn_error "conditional
\"INSTALL_SKINS
\" was never defined.
15821 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15823 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
15824 as_fn_error "conditional
\"PLASMAMULE
\" was never defined.
15825 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15827 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
15828 as_fn_error "conditional
\"COMPILE_LIB_COMMON
\" was never defined.
15829 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15831 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
15832 as_fn_error "conditional
\"COMPILE_LIB_EC
\" was never defined.
15833 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15836 : ${CONFIG_STATUS=./config.status}
15838 ac_clean_files_save=$ac_clean_files
15839 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
15841 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
15843 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15845 # Generated by $as_me.
15846 # Run this file to recreate the current configuration.
15847 # Compiler output produced by configure, useful for debugging
15848 # configure, is in config.log if it exists.
15851 ac_cs_recheck=false
15854 SHELL=\${CONFIG_SHELL-$SHELL}
15857 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15858 ## -------------------- ##
15859 ## M4sh Initialization. ##
15860 ## -------------------- ##
15862 # Be more Bourne compatible
15863 DUALCASE=1; export DUALCASE # for MKS sh
15864 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15867 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15868 # is contrary to our usage. Disable this feature.
15869 alias -g '${1+"$@"}'='"$@
"'
15870 setopt NO_GLOB_SUBST
15872 case `(set -o) 2>/dev/null` in #(
15884 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15885 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15888 # Prefer a ksh shell builtin over an external printf program on Solaris,
15889 # but without wasting forks for bash or zsh.
15890 if test -z "$BASH_VERSION$ZSH_VERSION" \
15891 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
15892 as_echo='print -r --'
15893 as_echo_n='print -rn --'
15894 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
15895 as_echo='printf %s\n'
15896 as_echo_n='printf %s'
15898 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
15899 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15900 as_echo_n='/usr/ucb/echo -n'
15902 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
15903 as_echo_n_body='eval
15907 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
15908 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
15910 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
15912 export as_echo_n_body
15913 as_echo_n='sh -c $as_echo_n_body as_echo'
15915 export as_echo_body
15916 as_echo='sh -c $as_echo_body as_echo'
15919 # The user is always right.
15920 if test "${PATH_SEPARATOR+set}" != set; then
15922 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15923 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15930 # We need space, tab and new line, in precisely that order. Quoting is
15931 # there to prevent editors from complaining about space-tab.
15932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15933 # splitting by setting IFS to empty value.)
15936 # Find who we are. Look in the path if we contain no directory separator.
15938 *[\\/]* ) as_myself=$0 ;;
15939 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15940 for as_dir in $PATH
15943 test -z "$as_dir" && as_dir=.
15944 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15950 # We did not find ourselves, most probably we were run as `sh COMMAND'
15951 # in which case we are not to be found in the path.
15952 if test "x
$as_myself" = x; then
15955 if test ! -f "$as_myself"; then
15956 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
15960 # Unset variables that we do not need and which cause bugs (e.g. in
15961 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
15962 # suppresses any "Segmentation fault
" message there. '((' could
15963 # trigger a bug in pdksh 5.2.14.
15964 for as_var in BASH_ENV ENV MAIL MAILPATH
15965 do eval test x\${$as_var+set} = xset \
15966 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15982 # as_fn_error ERROR [LINENO LOG_FD]
15983 # ---------------------------------
15984 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
15985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15986 # script with status $?, using 1 if that was 0.
15989 as_status=$?; test $as_status -eq 0 && as_status=1
15991 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15992 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
15994 $as_echo "$as_me: error
: $1" >&2
15995 as_fn_exit $as_status
15999 # as_fn_set_status STATUS
16000 # -----------------------
16001 # Set $? to STATUS, without forking.
16002 as_fn_set_status ()
16005 } # as_fn_set_status
16007 # as_fn_exit STATUS
16008 # -----------------
16009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16013 as_fn_set_status $1
16019 # Portably unset VAR.
16022 { eval $1=; unset $1;}
16024 as_unset=as_fn_unset
16025 # as_fn_append VAR VALUE
16026 # ----------------------
16027 # Append the text in VALUE to the end of the definition contained in VAR. Take
16028 # advantage of any shell optimizations that allow amortized linear growth over
16029 # repeated appends, instead of the typical quadratic growth present in naive
16031 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
16032 eval 'as_fn_append ()
16043 # as_fn_arith ARG...
16044 # ------------------
16045 # Perform arithmetic evaluation on the ARGs, and store the result in the
16046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16047 # must be portable across $(()) and expr.
16048 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
16049 eval 'as_fn_arith ()
16056 as_val=`expr "$@
" || test $? -eq 1`
16061 if expr a : '\(a\)' >/dev/null 2>&1 &&
16062 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
16068 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
16069 as_basename=basename
16074 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
16080 as_me=`$as_basename -- "$0" ||
16081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16082 X"$0" : 'X\(//\)$' \| \
16083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16085 sed '/^.*\/\([^/][^/]*\)\/*$/{
16099 # Avoid depending upon Character Ranges.
16100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16103 as_cr_digits='0123456789'
16104 as_cr_alnum=$as_cr_Letters$as_cr_digits
16106 ECHO_C= ECHO_N= ECHO_T=
16107 case `echo -n x` in #(((((
16109 case `echo 'xy\c'` in
16110 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16112 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16119 rm -f conf$$ conf$$.exe conf$$.file
16120 if test -d conf$$.dir; then
16121 rm -f conf$$.dir/conf$$.file
16124 mkdir conf$$.dir 2>/dev/null
16126 if (echo >conf$$.file) 2>/dev/null; then
16127 if ln -s conf$$.file conf$$ 2>/dev/null; then
16129 # ... but there are two gotchas:
16130 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16131 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16132 # In both cases, we have to default to `cp -p'.
16133 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16135 elif ln conf$$.file conf$$ 2>/dev/null; then
16143 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16144 rmdir conf$$.dir 2>/dev/null
16149 # Create "$as_dir" as a directory, including parents if necessary.
16154 -*) as_dir=./$as_dir;;
16156 test -d "$as_dir" || eval $as_mkdir_p || {
16160 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
16161 *) as_qdir=$as_dir;;
16163 as_dirs="'$as_qdir' $as_dirs"
16164 as_dir=`$as_dirname -- "$as_dir" ||
16165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16166 X"$as_dir" : 'X\(//\)[^/]' \| \
16167 X"$as_dir" : 'X\(//\)$' \| \
16168 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16169 $as_echo X"$as_dir" |
16170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16174 /^X\(\/\/\)[^/].*/{
16187 test -d "$as_dir" && break
16189 test -z "$as_dirs" || eval "mkdir
$as_dirs"
16190 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
16194 if mkdir -p . 2>/dev/null; then
16195 as_mkdir_p='mkdir -p "$as_dir"'
16197 test -d ./-p && rmdir ./-p
16201 if test -x / >/dev/null 2>&1; then
16202 as_test_x='test -x'
16204 if ls -dL / >/dev/null 2>&1; then
16211 if test -d "$1"; then
16217 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16218 ???[sx]*):;;*)false;;esac;fi
16222 as_executable_p=$as_test_x
16224 # Sed expression to map a string onto a valid CPP name.
16225 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16227 # Sed expression to map a string onto a valid variable name.
16228 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16232 ## ----------------------------------- ##
16233 ## Main body of $CONFIG_STATUS script. ##
16234 ## ----------------------------------- ##
16236 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16239 # Save the log message, to keep $0 and so on meaningful, and to
16240 # report actual input values of CONFIG_FILES etc. instead of their
16241 # values after options handling.
16243 This
file was extended by aMule
$as_me SVN
, which was
16244 generated by GNU Autoconf
2.65. Invocation
command line was
16246 CONFIG_FILES
= $CONFIG_FILES
16247 CONFIG_HEADERS
= $CONFIG_HEADERS
16248 CONFIG_LINKS
= $CONFIG_LINKS
16249 CONFIG_COMMANDS
= $CONFIG_COMMANDS
16252 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
16257 case $ac_config_files in *"
16258 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16261 case $ac_config_headers in *"
16262 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16267 # Files that config.status was made for.
16268 config_files="$ac_config_files"
16269 config_headers="$ac_config_headers"
16270 config_commands="$ac_config_commands"
16274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16276 \
`$as_me' instantiates files and other configuration actions
16277 from templates according to the current configuration. Unless the files
16278 and actions are specified as TAGs, all are instantiated by default.
16280 Usage: $0 [OPTION]... [TAG]...
16282 -h, --help print this help, then exit
16283 -V, --version print version number and configuration settings, then exit
16284 --config print configuration, then exit
16285 -q, --quiet, --silent
16286 do not print progress messages
16287 -d, --debug don't remove temporary files
16288 --recheck update $as_me by reconfiguring in the same conditions
16289 --file=FILE[:TEMPLATE]
16290 instantiate the configuration file FILE
16291 --header=FILE[:TEMPLATE]
16292 instantiate the configuration header FILE
16294 Configuration files:
16297 Configuration headers:
16300 Configuration commands:
16303 Report bugs to <admin@amule.org>."
16306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16307 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16309 aMule config.status SVN
16310 configured by $0, generated by GNU Autoconf 2.65,
16311 with options \\"\$ac_cs_config\\"
16313 Copyright (C) 2009 Free Software Foundation, Inc.
16314 This config.status script is free software; the Free Software Foundation
16315 gives unlimited permission to copy, distribute and modify it."
16322 test -n "\$AWK" || AWK=awk
16325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16326 # The default lists apply if the user does not specify any file.
16332 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16333 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16344 # Handling of the options.
16345 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16347 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16348 $as_echo "$ac_cs_version"; exit ;;
16349 --config | --confi | --conf | --con | --co | --c )
16350 $as_echo "$ac_cs_config"; exit ;;
16351 --debug | --debu | --deb | --de | --d | -d )
16353 --file | --fil | --fi | --f )
16356 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16358 as_fn_append CONFIG_FILES " '$ac_optarg'"
16359 ac_need_defaults=false;;
16360 --header | --heade | --head | --hea )
16363 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16365 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16366 ac_need_defaults=false;;
16368 # Conflict between --help and --header
16369 as_fn_error "ambiguous option: \`$1'
16370 Try \`$0 --help' for more information.
";;
16371 --help | --hel | -h )
16372 $as_echo "$ac_cs_usage"; exit ;;
16373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16374 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16377 # This is an error.
16378 -*) as_fn_error "unrecognized option
: \
`$1'
16379 Try \`$0 --help' for more information." ;;
16381 *) as_fn_append ac_config_targets " $1"
16382 ac_need_defaults=false ;;
16388 ac_configure_extra_args=
16390 if $ac_cs_silent; then
16392 ac_configure_extra_args="$ac_configure_extra_args --silent"
16396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16397 if \$ac_cs_recheck; then
16398 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16400 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16401 CONFIG_SHELL='$SHELL'
16402 export CONFIG_SHELL
16407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16411 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16412 ## Running $as_me. ##
16418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16422 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16423 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16424 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16426 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
16427 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16428 LINGUAS="${LINGUAS-%UNSET%}"
16430 denoiserlevel=$with_denoise_level
16434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16436 # Handling of arguments.
16437 for ac_config_target
in $ac_config_targets
16439 case $ac_config_target in
16440 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16441 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16442 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16443 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
16444 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16445 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
16446 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
16447 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
16448 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16449 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
16450 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
16451 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
16452 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
16453 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
16454 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
16455 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
16456 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
16457 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
16458 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
16459 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
16460 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
16461 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
16462 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
16463 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
16464 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
16465 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
16466 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
16467 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
16468 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
16469 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
16470 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
16471 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
16472 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
16473 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
16474 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
16475 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
16476 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
16477 "Compilation.flags") CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
16478 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
16480 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16485 # If the user did not use the arguments to specify the items to instantiate,
16486 # then the envvar interface is used. Set only those that are not.
16487 # We use the long form for the default assignment because of an extremely
16488 # bizarre bug on SunOS 4.1.3.
16489 if $ac_need_defaults; then
16490 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16491 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16492 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16495 # Have a temporary directory for convenience. Make it in the build tree
16496 # simply because there is no reason against having it here, and in addition,
16497 # creating and moving files from /tmp can sometimes cause problems.
16498 # Hook for its removal unless debugging.
16499 # Note that there is a small window in which the directory will not be cleaned:
16500 # after its creation but before its name has been assigned to `$tmp'.
16504 trap 'exit_status=$?
16505 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16507 trap 'as_fn_exit 1' 1 2 13 15
16509 # Create a (secure) tmp directory for tmp files.
16512 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16513 test -n "$tmp" && test -d "$tmp"
16516 tmp
=.
/conf$$
-$RANDOM
16517 (umask 077 && mkdir
"$tmp")
16518 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16520 # Set up the scripts for CONFIG_FILES section.
16521 # No need to generate them if there are no CONFIG_FILES.
16522 # This happens for instance with `./config.status config.h'.
16523 if test -n "$CONFIG_FILES"; then
16526 ac_cr
=`echo X | tr X '\015'`
16527 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16528 # But we know of no other shell where ac_cr would be empty at this
16529 # point, so we can use a bashism as a fallback.
16530 if test "x$ac_cr" = x
; then
16531 eval ac_cr
=\$
\'\\r
\'
16533 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16534 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16537 ac_cs_awk_cr
=$ac_cr
16540 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16545 echo "cat >conf$$subs.awk <<_ACEOF" &&
16546 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16548 } >conf$$subs.sh ||
16549 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16552 for ac_last_try in false false false false false :; do
16553 . ./conf$$subs.sh ||
16554 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16556 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16557 if test $ac_delim_n = $ac_delim_num; then
16559 elif $ac_last_try; then
16560 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16562 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16565 rm -f conf$$subs.sh
16567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16568 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16572 s/^/S["/; s
/!.
*/"]=/
16582 s/\(.\{148\}\)..*/\1/
16584 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16589 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16596 s/\(.\{148\}\)..*/\1/
16598 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16602 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16607 ' <conf$$subs.awk | sed '
16612 ' >>$CONFIG_STATUS || ac_write_fail=1
16613 rm -f conf$$subs.awk
16614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16616 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16617 for (key in S) S_is_set[key] = 1
16623 nfields = split(line, field, "@
")
16625 len = length(field[1])
16626 for (i = 2; i < nfields; i++) {
16628 keylen = length(key)
16629 if (S_is_set[key]) {
16631 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16632 len += length(value) + length(field[++i])
16643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16644 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16645 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16648 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16649 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16652 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16653 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16654 # trailing colons and then remove the whole line if VPATH becomes empty
16655 # (actually we leave an empty line to preserve line numbers).
16656 if test "x
$srcdir" = x.; then
16657 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16658 s/:*\$(srcdir):*/:/
16659 s/:*\${srcdir}:*/:/
16661 s/^\([^=]*=[ ]*\):*/\1/
16667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16668 fi # test -n "$CONFIG_FILES"
16670 # Set up the scripts for CONFIG_HEADERS section.
16671 # No need to generate them if there are no CONFIG_HEADERS.
16672 # This happens for instance with `./config.status Makefile'.
16673 if test -n "$CONFIG_HEADERS"; then
16674 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16678 # Transform confdefs.h into an awk script `defines.awk', embedded as
16679 # here-document in config.status, that substitutes the proper values into
16680 # config.h.in to produce config.h.
16682 # Create a delimiter string that does not exist in confdefs.h, to ease
16683 # handling of long lines.
16685 for ac_last_try in false false :; do
16686 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16687 if test -z "$ac_t"; then
16689 elif $ac_last_try; then
16690 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16692 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16696 # For the awk script, D is an array of macro values keyed by name,
16697 # likewise P contains macro parameters if any. Preserve backslash
16698 # newline sequences.
16700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16702 s/.\{148\}/&'"$ac_delim"'/g
16705 s/^[ ]*#[ ]*define[ ][ ]*/ /
16712 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16714 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16719 D["\
1"]=" \
3\\\\\\n
"\\/p
16721 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16726 s/.\{148\}/&'"$ac_delim"'/g
16731 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16734 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16736 ' <confdefs.h | sed '
16737 s/'"$ac_delim"'/"\\\
16738 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16741 for (key in D) D_is_set[key] = 1
16744 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16746 split(line, arg, " ")
16747 if (arg[1] == "#") {
16751 defundef
= substr
(arg
[1], 2)
16754 split(mac1
, mac2
, "(") #)
16756 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16757 if (D_is_set
[macro
]) {
16758 # Preserve the white space surrounding the "#".
16759 print prefix
"define", macro P
[macro
] D
[macro
]
16762 # Replace #undef with comments. This is necessary, for example,
16763 # in the case of _POSIX_SOURCE, which is predefined and required
16764 # on some systems where configure will not decide to define it.
16765 if (defundef
== "undef") {
16766 print
"/*", prefix defundef
, macro
, "*/"
16774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16775 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16776 fi # test -n "$CONFIG_HEADERS"
16779 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16784 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16786 case $ac_mode$ac_tag in
16788 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16789 :[FH
]-) ac_tag
=-:-;;
16790 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16807 -) ac_f
="$tmp/stdin";;
16808 *) # Look for the file first in the build tree, then in the source tree
16809 # (if the path is not absolute). The absolute path cannot be DOS-style,
16810 # because $ac_f cannot contain `:'.
16814 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16816 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16818 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16819 as_fn_append ac_file_inputs
" '$ac_f'"
16822 # Let's still pretend it is `configure' which instantiates (i.e., don't
16823 # use $as_me), people would be surprised to read:
16824 # /* config.h. Generated by config.status. */
16825 configure_input
='Generated from '`
16826 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16828 if test x
"$ac_file" != x-
; then
16829 configure_input
="$ac_file. $configure_input"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16831 $as_echo "$as_me: creating $ac_file" >&6;}
16833 # Neutralize special characters interpreted by sed in replacement strings.
16834 case $configure_input in #(
16835 *\
&* |
*\|
* |
*\\* )
16836 ac_sed_conf_input
=`$as_echo "$configure_input" |
16837 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16838 *) ac_sed_conf_input
=$configure_input;;
16842 *:-:* |
*:-) cat >"$tmp/stdin" \
16843 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16848 ac_dir
=`$as_dirname -- "$ac_file" ||
16849 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16850 X"$ac_file" : 'X\(//\)[^/]' \| \
16851 X"$ac_file" : 'X\(//\)$' \| \
16852 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16853 $as_echo X"$ac_file" |
16854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16858 /^X\(\/\/\)[^/].*/{
16871 as_dir
="$ac_dir"; as_fn_mkdir_p
16875 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16877 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16878 # A ".." for each directory in $ac_dir_suffix.
16879 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16880 case $ac_top_builddir_sub in
16881 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16882 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16885 ac_abs_top_builddir
=$ac_pwd
16886 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16887 # for backward compatibility:
16888 ac_top_builddir
=$ac_top_build_prefix
16891 .
) # We are building in place.
16893 ac_top_srcdir
=$ac_top_builddir_sub
16894 ac_abs_top_srcdir
=$ac_pwd ;;
16895 [\\/]* | ?
:[\\/]* ) # Absolute name.
16896 ac_srcdir
=$srcdir$ac_dir_suffix;
16897 ac_top_srcdir
=$srcdir
16898 ac_abs_top_srcdir
=$srcdir ;;
16899 *) # Relative name.
16900 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16901 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16902 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16904 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16914 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16915 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16917 ac_MKDIR_P
=$MKDIR_P
16919 [\\/$
]* | ?
:[\\/]* ) ;;
16920 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16925 # If the template does not know about datarootdir, expand it.
16926 # FIXME: This hack should be removed a few years after 2.60.
16927 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16938 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16939 *datarootdir
*) ac_datarootdir_seen
=yes;;
16940 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16942 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16945 ac_datarootdir_hack='
16946 s&@datadir@&$datadir&g
16947 s&@docdir@&$docdir&g
16948 s&@infodir@&$infodir&g
16949 s&@localedir@&$localedir&g
16950 s&@mandir@&$mandir&g
16951 s&\\\${datarootdir}&$datarootdir&g' ;;
16955 # Neutralize VPATH when `$srcdir' = `.'.
16956 # Shell code in configure.ac might set extrasub.
16957 # FIXME: do we really want to maintain this feature?
16958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16959 ac_sed_extra="$ac_vpsub
16962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16964 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16965 s|@configure_input@|
$ac_sed_conf_input|
;t t
16966 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16967 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16968 s
&@srcdir@
&$ac_srcdir&;t t
16969 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16970 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16971 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16972 s
&@builddir@
&$ac_builddir&;t t
16973 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16974 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16975 s
&@INSTALL@
&$ac_INSTALL&;t t
16976 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16977 $ac_datarootdir_hack
16979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16980 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16982 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16983 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16984 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16986 which seems to be undefined. Please make sure it is defined." >&5
16987 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16988 which seems to be undefined. Please make sure it is defined." >&2;}
16992 -) cat "$tmp/out" && rm -f "$tmp/out";;
16993 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16995 || as_fn_error "could not create $ac_file" "$LINENO" 5
17001 if test x"$ac_file" != x-; then
17003 $as_echo "/* $configure_input */" \
17004 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17005 } >"$tmp/config.h" \
17006 || as_fn_error "could not create $ac_file" "$LINENO" 5
17007 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17009 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17012 mv "$tmp/config.h" "$ac_file" \
17013 || as_fn_error "could not create $ac_file" "$LINENO" 5
17016 $as_echo "/* $configure_input */" \
17017 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17018 || as_fn_error "could not create -" "$LINENO" 5
17020 # Compute "$ac_file"'s index
in $config_headers.
17023 for _am_header
in $config_headers :; do
17024 case $_am_header in
17025 $_am_arg |
$_am_arg:* )
17028 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17031 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17032 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17033 X"$_am_arg" : 'X\(//\)[^/]' \| \
17034 X"$_am_arg" : 'X\(//\)$' \| \
17035 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17036 $as_echo X"$_am_arg" |
17037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17041 /^X\(\/\/\)[^/].*/{
17053 s/.*/./; q'`/stamp-h
$_am_stamp_count
17056 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17057 $as_echo "$as_me: executing $ac_file commands" >&6;}
17062 case $ac_file$ac_mode in
17063 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17064 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17065 # are listed without --file. Let's play safe and only enable the eval
17066 # if we detect the quoting.
17067 case $CONFIG_FILES in
17068 *\'*) eval set x
"$CONFIG_FILES" ;;
17069 *) set x
$CONFIG_FILES ;;
17074 # Strip MF so we end up with the name of the file.
17075 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17076 # Check whether this is an Automake generated Makefile or not.
17077 # We used to match only the files named `Makefile.in', but
17078 # some people rename them; so instead we look at the file content.
17079 # Grep'ing the first line is not enough: some people post-process
17080 # each Makefile.in and add a new line on top of each file to say so.
17081 # Grep'ing the whole file is not good either: AIX grep has a line
17082 # limit of 2048, but all sed's we know have understand at least 4000.
17083 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17084 dirpart
=`$as_dirname -- "$mf" ||
17085 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17086 X"$mf" : 'X\(//\)[^/]' \| \
17087 X"$mf" : 'X\(//\)$' \| \
17088 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17094 /^X\(\/\/\)[^/].*/{
17110 # Extract the definition of DEPDIR, am__include, and am__quote
17111 # from the Makefile without running `make'.
17112 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17113 test -z "$DEPDIR" && continue
17114 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17115 test -z "am__include" && continue
17116 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17117 # When using ansi2knr, U may be empty or an underscore; expand it
17118 U
=`sed -n 's/^U = //p' < "$mf"`
17119 # Find all dependency output files, they are included files with
17120 # $(DEPDIR) in their names. We invoke sed twice because it is the
17121 # simplest approach to changing $(DEPDIR) to its actual value in the
17123 for file in `sed -n "
17124 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17125 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17126 # Make sure the directory exists.
17127 test -f "$dirpart/$file" && continue
17128 fdir
=`$as_dirname -- "$file" ||
17129 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17130 X"$file" : 'X\(//\)[^/]' \| \
17131 X"$file" : 'X\(//\)$' \| \
17132 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17133 $as_echo X"$file" |
17134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17138 /^X\(\/\/\)[^/].*/{
17151 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17152 # echo "creating $dirpart/$file"
17153 echo '# dummy' > "$dirpart/$file"
17159 for ac_file
in $CONFIG_FILES; do
17160 # Support "outfile[:infile[:infile...]]"
17162 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17164 # PO directories have a Makefile.in generated from Makefile.in.in.
17165 case "$ac_file" in */Makefile.
in)
17166 # Adjust a relative srcdir.
17167 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17168 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17169 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17170 # In autoconf-2.13 it is called $ac_given_srcdir.
17171 # In autoconf-2.50 it is called $srcdir.
17172 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17173 case "$ac_given_srcdir" in
17174 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17175 /*) top_srcdir
="$ac_given_srcdir" ;;
17176 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17178 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17179 rm -f "$ac_dir/POTFILES"
17180 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17181 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17182 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17183 # on $ac_dir but don't depend on user-specified configuration
17185 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17186 # The LINGUAS file contains the set of available languages.
17187 if test -n "$ALL_LINGUAS"; then
17188 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17190 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17191 # Hide the ALL_LINGUAS assigment from automake.
17192 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17194 case "$ac_given_srcdir" in
17196 *) srcdirpre
='$(srcdir)/' ;;
17202 for lang
in $ALL_LINGUAS; do
17203 POFILES
="$POFILES $srcdirpre$lang.po"
17204 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17205 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17206 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17208 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17209 # environment variable.
17211 if test -n "$ALL_LINGUAS"; then
17212 for presentlang
in $ALL_LINGUAS; do
17214 if test "%UNSET%" != "$LINGUAS"; then
17215 desiredlanguages
="$LINGUAS"
17217 desiredlanguages
="$ALL_LINGUAS"
17219 for desiredlang
in $desiredlanguages; do
17220 # Use the presentlang catalog if desiredlang is
17221 # a. equal to presentlang, or
17222 # b. a variant of presentlang (because in this case,
17223 # presentlang can be used as a fallback for messages
17224 # which are not translated in the desiredlang catalog).
17225 case "$desiredlang" in
17226 "$presentlang"*) useit
=yes;;
17229 if test $useit = yes; then
17230 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17235 if test -n "$INST_LINGUAS"; then
17236 for lang
in $INST_LINGUAS; do
17237 CATALOGS
="$CATALOGS $lang.gmo"
17240 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17241 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"
17242 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17243 if test -f "$f"; then
17245 *.orig |
*.bak |
*~
) ;;
17246 *) cat "$f" >> "$ac_dir/Makefile" ;;
17254 "denoiser":C
) if test $denoiserlevel -gt 0; then
17255 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
17256 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" \
17257 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
17258 for i
in `find . -name 'Makefile' -print`; do
17259 if test -n "`head -n 1 $i | grep '^#'`"; then
17260 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
17271 ac_clean_files
=$ac_clean_files_save
17273 test $ac_write_fail = 0 ||
17274 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17277 # configure is writing to config.log, and then calls config.status.
17278 # config.status does its own redirection, appending to config.log.
17279 # Unfortunately, on DOS this fails, as config.log is still kept open
17280 # by configure, so config.status won't be able to write to it; its
17281 # output is simply discarded. So we exec the FD to /dev/null,
17282 # effectively closing config.log, so it can be properly (re)opened and
17283 # appended to by config.status. When coming back to configure, we
17284 # need to make the FD available again.
17285 if test "$no_create" != yes; then
17287 ac_config_status_args
=
17288 test "$silent" = yes &&
17289 ac_config_status_args
="$ac_config_status_args --quiet"
17291 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17294 # would make configure fail if this is the last instruction.
17295 $ac_cs_success || as_fn_exit $?
17297 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17299 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17303 if test -n "$svndate"; then :
17304 SVN_REVISION
=" ($svndate)"
17311 echo " Configure script has finished system check."
17313 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
17315 echo " aMule enabled options:"
17317 echo " **** aMule Core ****"
17318 echo " Prefix where aMule should be installed? ${prefix:-none}"
17319 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
17320 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
17321 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
17322 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
17323 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
17324 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
17325 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
17326 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
17327 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
17328 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
17331 echo " **** aMule TextClient ****"
17332 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
17334 echo " **** aMule WebServer ****"
17335 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
17337 echo " **** aMule ED2K Links Handler ****"
17338 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
17340 echo " **** aMuleLinkCreator ****"
17341 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
17342 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
17344 echo " **** aMule Statistics ****"
17345 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
17346 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
17347 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
17348 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
17351 echo " **** General Libraries and Tools ****"
17352 echo " Should ccache support be enabled? ${enable_ccache:-no}"
17353 echo " Libraries aMule will use to build:"
17354 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 :
17357 if test $WX_DEBUG -eq 1; then :
17358 wxinfo
="$wxinfo,debug"
17360 if test $WX_SHARED -eq 1; then :
17361 wxinfo
="$wxinfo,shared"
17363 wxinfo
="$wxinfo,static"
17365 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
17368 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
17369 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
17371 if test ${enable_upnp:-yes} = yes; then :
17373 if test -n "$with_libupnp_prefix"; then :
17374 libupnp_place
=" (in $with_libupnp_prefix)"
17376 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
17379 if test ${enable_nls:-yes} = yes; then
17380 if test x
$USE_NLS = xno
; then :
17381 libintl_found
="Not detected"
17383 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
17384 libintl_found
="included"
17386 libintl_found
="system"
17389 echo " libintl $libintl_found"
17391 if test ${enable_geoip:-no} = yes; then :
17392 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
17397 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
17398 echo " libGeoIP ${geoip_style}"
17401 if test ${enable_webserver:-no} = yes; then :
17402 echo " libpng ${LIBPNG_VERSION:-Not detected}"
17404 if test ${enable_cas:-no} = yes; then :
17405 echo " libgd ${GDLIB_VERSION:-Not detected}"
17407 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 :
17408 echo " zlib ${ZLIB_VERSION:-Not detected}"
17410 if test ${enable_plasmamule:-no} = yes; then :
17411 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
17412 echo " qt-core-libs ${QT_CORE_LIBS}"
17413 echo " qt-gui-libs ${QT_GUI_LIBS}"
17414 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
17415 echo " kde-headers ${KDE_HEADER_DIR}"
17416 echo " kde-services-path ${KDE_SERVICE_PATH}"
17417 echo " kde-module-path ${KDE_MODULE_PATH}"
17418 echo " kde-icon-path ${KDE_ICON_PATH}"
17419 echo " kde-mime-path ${KDE_MIME_PATH}"
17420 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
17423 if test ${_mule_has_warnings:-no} = yes; then
17426 echo " *** Warnings during configuration ***"
17428 if test ${_mule_warning_0:-no} = yes; then
17431 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
17432 Please check that gdlib-config is in your default path, check out
17433 LD_LIBRARY_PATH or equivalent variable.
17434 Or this might also be that your gdlib-config has other name.
17435 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
17436 /usr/bin/gdlib-config with a valid path to your gdlib-config).
17437 If you use compiled packages check if you have devel pack installed.
17438 To download the latest version check http://www.boutell.com/gd for sources.
17441 if test ${_mule_warning_1:-no} = yes; then
17444 * libpng >= 1.2.0 not found.
17445 amuleweb will be compiled but file download progress bar images will NOT be
17449 if test ${_mule_warning_2:-no} = yes; then
17452 * File::Copy perl module is required by the mldonkey_importer script.
17453 If you want to use this script please install File::Copy from CPAN.
17456 if test ${_mule_warning_3:-no} = yes; then
17459 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
17462 if test ${_mule_warning_4:-no} = yes; then
17465 * GeoIP support has been disabled because the GeoIP libraries were not found
17468 if test ${_mule_warning_5:-no} = yes; then
17471 * GeoIP support has been disabled because the GeoIP header files were not
17475 if test ${_mule_warning_6:-no} = yes; then
17478 * UPnP code has been disabled because ${libupnp_error}.
17481 if test ${_mule_warning_7:-no} = yes; then
17484 * Cross-compilation detected, so exception handling cannot be tested.
17485 Note that broken exception handling in your compiler may lead to unexpected
17489 if test ${_mule_warning_8:-no} = yes; then
17492 * configure cannot check whether malloc() and realloc() are GNU libc
17493 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
17494 configure with the --without-gnu-malloc switch.
17497 if test ${_mule_warning_9:-no} = yes; then
17500 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
17504 if test ${_mule_warning_10:-no} = yes; then
17507 * bfd.h not found or unusable, please install binutils development package if
17508 you are a developer or want to help testing aMule