[ejabberd] autoconf bugs
Tony Finch
dot at dotat.at
Tue Mar 6 22:02:11 MSK 2007
I install various libraries in non-standard places which tends to show up
bugs in configure scripts....
--- configure.ac~ 2007-03-06 18:57:20.000000000 +0000
+++ configure.ac 2007-03-06 18:58:26.000000000 +0000
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
-AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
+AC_INIT(ejabberd,, ejabberd at jabber.ru)
# Checks for programs.
AC_PROG_CC
--- aclocal.m4~ 2007-03-06 18:49:02.000000000 +0000
+++ aclocal.m4 2007-03-06 18:49:30.000000000 +0000
@@ -266,19 +266,19 @@
if test x"$tls" != x; then
for ssl_prefix in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl
/usr/pkg /usr/local /usr; do
printf "looking for openssl in $ssl_prefix...\n"
- SSL_CFLAGS="-I$ssl_prefix/include/openssl"
+ SSL_CFLAGS="-I$ssl_prefix/include"
SSL_LIBS="-L$ssl_prefix/lib -lcrypto"
AC_CHECK_LIB(ssl, SSL_new, [ have_openssl=yes ], [ have_openssl=no ], [ $SSL_LIBS $SSL_CFLAGS ])
if test x"$have_openssl" = xyes; then
save_CPPFLAGS=$CPPFLAGS
- CPPFLAGS="-I$ssl_prefix/lib $CPPFLAGS"
+ CPPFLAGS="-I$ssl_prefix/include $CPPFLAGS"
AC_CHECK_HEADERS(openssl/ssl.h, have_openssl_h=yes)
CPPFLAGS=$save_CPPFLAGS
if test x"$have_openssl_h" = xyes; then
have_openssl=yes
printf "openssl found in $ssl_prefix\n";
SSL_LIBS="-L$ssl_prefix/lib -lssl -lcrypto"
- CPPFLAGS="-I$ssl_prefix/lib $CPPFLAGS"
+ CPPFLAGS="-I$ssl_prefix/include $CPPFLAGS"
SSL_CFLAGS="-DHAVE_SSL"
break
fi
Tony.
--
f.a.n.finch <dot at dotat.at> http://dotat.at/
HUMBER THAMES: SOUTHERLY 4 OR 5 VEERING NORTHWESTERLY 3 OR 4. ROUGH DECREASING
MODERATE. RAIN OR SQUALLY SHOWERS. MODERATE OR GOOD.
More information about the ejabberd
mailing list