2495 |
|
as_fn_append ac_header_list " sys/param.h" |
2496 |
|
as_fn_append ac_header_list " errno.h" |
2497 |
|
as_fn_append ac_header_list " sys/syslog.h" |
2498 |
– |
as_fn_append ac_header_list " stddef.h" |
2499 |
– |
as_fn_append ac_header_list " libgen.h" |
2498 |
|
as_fn_append ac_header_list " types.h" |
2499 |
|
as_fn_append ac_header_list " socket.h" |
2500 |
|
as_fn_append ac_header_list " sys/wait.h" |
4439 |
|
fi |
4440 |
|
|
4441 |
|
|
4442 |
< |
#ltdl stuff |
4442 |
> |
# Initializing libtool. |
4443 |
|
case `pwd` in |
4444 |
|
*\ * | *\ *) |
4445 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
5120 |
|
else |
5121 |
|
lt_cv_nm_interface="BSD nm" |
5122 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5123 |
< |
(eval echo "\"\$as_me:5125: $ac_compile\"" >&5) |
5123 |
> |
(eval echo "\"\$as_me:5123: $ac_compile\"" >&5) |
5124 |
|
(eval "$ac_compile" 2>conftest.err) |
5125 |
|
cat conftest.err >&5 |
5126 |
< |
(eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5126 |
> |
(eval echo "\"\$as_me:5126: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5127 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5128 |
|
cat conftest.err >&5 |
5129 |
< |
(eval echo "\"\$as_me:5131: output\"" >&5) |
5129 |
> |
(eval echo "\"\$as_me:5129: output\"" >&5) |
5130 |
|
cat conftest.out >&5 |
5131 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5132 |
|
lt_cv_nm_interface="MS dumpbin" |
6331 |
|
;; |
6332 |
|
*-*-irix6*) |
6333 |
|
# Find out which ABI we are using. |
6334 |
< |
echo '#line 6336 "configure"' > conftest.$ac_ext |
6334 |
> |
echo '#line 6334 "configure"' > conftest.$ac_ext |
6335 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6336 |
|
(eval $ac_compile) 2>&5 |
6337 |
|
ac_status=$? |
7855 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7856 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7857 |
|
-e 's:$: $lt_compiler_flag:'` |
7858 |
< |
(eval echo "\"\$as_me:7860: $lt_compile\"" >&5) |
7858 |
> |
(eval echo "\"\$as_me:7858: $lt_compile\"" >&5) |
7859 |
|
(eval "$lt_compile" 2>conftest.err) |
7860 |
|
ac_status=$? |
7861 |
|
cat conftest.err >&5 |
7862 |
< |
echo "$as_me:7864: \$? = $ac_status" >&5 |
7862 |
> |
echo "$as_me:7862: \$? = $ac_status" >&5 |
7863 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
7864 |
|
# The compiler can only warn and ignore the option if not recognized |
7865 |
|
# So say no if there are warnings other than the usual output. |
8194 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8195 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8196 |
|
-e 's:$: $lt_compiler_flag:'` |
8197 |
< |
(eval echo "\"\$as_me:8199: $lt_compile\"" >&5) |
8197 |
> |
(eval echo "\"\$as_me:8197: $lt_compile\"" >&5) |
8198 |
|
(eval "$lt_compile" 2>conftest.err) |
8199 |
|
ac_status=$? |
8200 |
|
cat conftest.err >&5 |
8201 |
< |
echo "$as_me:8203: \$? = $ac_status" >&5 |
8201 |
> |
echo "$as_me:8201: \$? = $ac_status" >&5 |
8202 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8203 |
|
# The compiler can only warn and ignore the option if not recognized |
8204 |
|
# So say no if there are warnings other than the usual output. |
8299 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8300 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8301 |
|
-e 's:$: $lt_compiler_flag:'` |
8302 |
< |
(eval echo "\"\$as_me:8304: $lt_compile\"" >&5) |
8302 |
> |
(eval echo "\"\$as_me:8302: $lt_compile\"" >&5) |
8303 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8304 |
|
ac_status=$? |
8305 |
|
cat out/conftest.err >&5 |
8306 |
< |
echo "$as_me:8308: \$? = $ac_status" >&5 |
8306 |
> |
echo "$as_me:8306: \$? = $ac_status" >&5 |
8307 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8308 |
|
then |
8309 |
|
# The compiler can only warn and ignore the option if not recognized |
8354 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8355 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8356 |
|
-e 's:$: $lt_compiler_flag:'` |
8357 |
< |
(eval echo "\"\$as_me:8359: $lt_compile\"" >&5) |
8357 |
> |
(eval echo "\"\$as_me:8357: $lt_compile\"" >&5) |
8358 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8359 |
|
ac_status=$? |
8360 |
|
cat out/conftest.err >&5 |
8361 |
< |
echo "$as_me:8363: \$? = $ac_status" >&5 |
8361 |
> |
echo "$as_me:8361: \$? = $ac_status" >&5 |
8362 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8363 |
|
then |
8364 |
|
# The compiler can only warn and ignore the option if not recognized |
10091 |
|
libsuff= |
10092 |
|
case "$host_cpu" in |
10093 |
|
x86_64*|s390x*|powerpc64*) |
10094 |
< |
echo '#line 10096 "configure"' > conftest.$ac_ext |
10094 |
> |
echo '#line 10094 "configure"' > conftest.$ac_ext |
10095 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10096 |
|
(eval $ac_compile) 2>&5 |
10097 |
|
ac_status=$? |
10744 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10745 |
|
lt_status=$lt_dlunknown |
10746 |
|
cat > conftest.$ac_ext <<_LT_EOF |
10747 |
< |
#line 10749 "configure" |
10747 |
> |
#line 10747 "configure" |
10748 |
|
#include "confdefs.h" |
10749 |
|
|
10750 |
|
#if HAVE_DLFCN_H |
10840 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10841 |
|
lt_status=$lt_dlunknown |
10842 |
|
cat > conftest.$ac_ext <<_LT_EOF |
10843 |
< |
#line 10845 "configure" |
10843 |
> |
#line 10843 "configure" |
10844 |
|
#include "confdefs.h" |
10845 |
|
|
10846 |
|
#if HAVE_DLFCN_H |
11512 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11513 |
|
lt_status=$lt_dlunknown |
11514 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11515 |
< |
#line 11517 "configure" |
11515 |
> |
#line 11515 "configure" |
11516 |
|
#include "confdefs.h" |
11517 |
|
|
11518 |
|
#if HAVE_DLFCN_H |
12125 |
|
# Only expand once: |
12126 |
|
|
12127 |
|
|
12130 |
– |
LIBTOOL="$LIBTOOL --silent" |
12128 |
|
|
12129 |
|
# Checks for libraries. |
12130 |
|
|
12569 |
|
|
12570 |
|
|
12571 |
|
|
12572 |
< |
|
12576 |
< |
|
12577 |
< |
|
12578 |
< |
|
12572 |
> |
# check for /dev/null so we can use it to hold evil fd's |
12573 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
12574 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
12575 |
|
if test -c /dev/null; then : |
12862 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
12863 |
|
$as_echo "disabled" >&6; } |
12864 |
|
fi |
12865 |
+ |
|
12866 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
12867 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
12868 |
+ |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
12869 |
+ |
if test "$cross_compiling" = yes; then : |
12870 |
+ |
cf_openssl_version_ok=no |
12871 |
+ |
else |
12872 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12873 |
+ |
/* end confdefs.h. */ |
12874 |
+ |
|
12875 |
+ |
#include <openssl/opensslv.h> |
12876 |
+ |
#include <stdlib.h> |
12877 |
+ |
int |
12878 |
+ |
main () |
12879 |
+ |
{ |
12880 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
12881 |
+ |
; |
12882 |
+ |
return 0; |
12883 |
+ |
} |
12884 |
+ |
_ACEOF |
12885 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
12886 |
+ |
cf_openssl_version_ok=yes |
12887 |
+ |
else |
12888 |
+ |
cf_openssl_version_ok=no |
12889 |
+ |
fi |
12890 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12891 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
12892 |
+ |
fi |
12893 |
+ |
|
12894 |
+ |
|
12895 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
12896 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
12897 |
+ |
$as_echo "found" >&6; } |
12898 |
+ |
|
12899 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
12900 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
12901 |
+ |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
12902 |
+ |
$as_echo_n "(cached) " >&6 |
12903 |
+ |
else |
12904 |
+ |
ac_check_lib_save_LIBS=$LIBS |
12905 |
+ |
LIBS="-lcrypto $LIBS" |
12906 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12907 |
+ |
/* end confdefs.h. */ |
12908 |
+ |
|
12909 |
+ |
/* Override any GCC internal prototype to avoid an error. |
12910 |
+ |
Use char because int might match the return type of a GCC |
12911 |
+ |
builtin and then its argument prototype would still apply. */ |
12912 |
+ |
#ifdef __cplusplus |
12913 |
+ |
extern "C" |
12914 |
+ |
#endif |
12915 |
+ |
char RSA_free (); |
12916 |
+ |
int |
12917 |
+ |
main () |
12918 |
+ |
{ |
12919 |
+ |
return RSA_free (); |
12920 |
+ |
; |
12921 |
+ |
return 0; |
12922 |
+ |
} |
12923 |
+ |
_ACEOF |
12924 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
12925 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
12926 |
+ |
else |
12927 |
+ |
ac_cv_lib_crypto_RSA_free=no |
12928 |
+ |
fi |
12929 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
12930 |
+ |
conftest$ac_exeext conftest.$ac_ext |
12931 |
+ |
LIBS=$ac_check_lib_save_LIBS |
12932 |
+ |
fi |
12933 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
12934 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
12935 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
12936 |
+ |
cat >>confdefs.h <<_ACEOF |
12937 |
+ |
#define HAVE_LIBCRYPTO 1 |
12938 |
+ |
_ACEOF |
12939 |
+ |
|
12940 |
+ |
LIBS="-lcrypto $LIBS" |
12941 |
+ |
|
12942 |
+ |
fi |
12943 |
+ |
|
12944 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
12945 |
+ |
for ac_func in EVP_bf_cfb \ |
12946 |
+ |
EVP_cast5_cfb \ |
12947 |
+ |
EVP_idea_cfb \ |
12948 |
+ |
EVP_rc5_32_12_16_cfb \ |
12949 |
+ |
EVP_des_ede3_cfb \ |
12950 |
+ |
EVP_des_cfb |
12951 |
+ |
do : |
12952 |
+ |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12953 |
+ |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12954 |
+ |
eval as_val=\$$as_ac_var |
12955 |
+ |
if test "x$as_val" = x""yes; then : |
12956 |
+ |
cat >>confdefs.h <<_ACEOF |
12957 |
+ |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12958 |
+ |
_ACEOF |
12959 |
+ |
|
12960 |
+ |
fi |
12961 |
+ |
done |
12962 |
+ |
|
12963 |
+ |
fi |
12964 |
+ |
|
12965 |
+ |
else |
12966 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
12967 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
12968 |
+ |
cf_enable_openssl="no" |
12969 |
+ |
fi |
12970 |
+ |
fi |
12971 |
+ |
|
12972 |
|
if test "$cf_enable_openssl" = yes; then |
12973 |
|
ENABLE_SSL_TRUE= |
12974 |
|
ENABLE_SSL_FALSE='#' |
13002 |
|
fi |
13003 |
|
|
13004 |
|
|
13005 |
< |
if test "$small_net" = yes; then |
13005 |
> |
if test "$small_net" = "yes"; then : |
13006 |
> |
|
13007 |
|
|
13008 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
13009 |
|
|
13036 |
|
|
13037 |
|
else |
13038 |
|
|
13039 |
+ |
|
13040 |
+ |
|
13041 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
13042 |
|
|
13043 |
|
|
13480 |
|
|
13481 |
|
|
13482 |
|
cat >>confdefs.h <<_ACEOF |
13483 |
< |
#define TOPICLEN ($topiclen+1) |
13483 |
> |
#define TOPICLEN ($topiclen) |
13484 |
|
_ACEOF |
13485 |
|
|
13486 |
|
|