Possible compatibility problems with earlier versions marked with '*'.
+Fixed compilation for SSL which wasn't properly enabled for all platforms.
+
--- 2.0.10 2004/02/05
For yaz.m4, allow second argument for YAZ_INIT to hold minimal version of
dnl YAZ Toolkit, Index Data 1994-2004
dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.124 2004-02-05 11:55:56 adam Exp $
+dnl $Id: configure.in,v 1.125 2004-02-09 09:54:58 adam Exp $
AC_INIT(include/yaz/yaz-version.h)
AM_INIT_AUTOMAKE(yaz, 2.0.10)
AM_MAINTAINER_MODE
xCFLAGS="$CFLAGS";
if test "$openssl" != "yes"; then
if $openssl/bin/pkg-config --exists openssl; then
- SSL_CFLAGS=`$openssl/bin/pkgconfig --cflags openssl`
- SSL_LIBS=`$openssl/bin/pkgconfig --libs openssl`
- sslver=`$openssl/bin/pkgconfig --modversion openssl`
+ SSL_CFLAGS=`$openssl/bin/pkg-config --cflags openssl`
+ SSL_LIBS=`$openssl/bin/pkg-config --libs openssl`
+ sslver=`$openssl/bin/pkg-config --modversion openssl`
else
SSL_CFLAGS="-I$openssl/include -I$openssl/include/openssl"
SSL_LIBS="-L$openssl/lib"
fi
fi
if test "$sslver" != "no"; then
- SSL_DEFS="-DHAVE_OPENSSL_H=1"
+ SSL_DEFS="-DHAVE_OPENSSL_SSL_H=1"
USE_SSL=1
fi
AC_MSG_CHECKING([for SSL])
## Copyright (C) 1994-2003, Index Data
## All rights reserved.
-## $Id: Makefile.am,v 1.5 2004-01-12 12:11:57 adam Exp $
+## $Id: Makefile.am,v 1.6 2004-02-09 09:54:58 adam Exp $
if ISTHR
thrlib=libyazthread.la
# SSL versions of objects.
ssl-comstack.lo: comstack.c
- $(LTCOMPILE) $(SSL_FLAGS) -c $(srcdir)/comstack.c -o ssl-comstack.lo
+ $(LTCOMPILE) $(SSL_CFLAGS) $(SSL_DEFS) -c $(srcdir)/comstack.c -o ssl-comstack.lo
ssl-tcpip.lo: tcpip.c
- $(LTCOMPILE) $(SSL_FLAGS) -c $(srcdir)/tcpip.c -o ssl-tcpip.lo
+ $(LTCOMPILE) $(SSL_CFLAGS) $(SSL_DEFS) -c $(srcdir)/tcpip.c -o ssl-tcpip.lo