X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=ac06478dc3bbf0b54595e9d17d61808340172cad;hb=43b2549e1810961f9b00ac36b388336f29744b6b;hp=5f5648b6262ffde5d167cfdefe8fb3ac74c7fb5e;hpb=e23eae6ada71a70849bcdab7ee179579aad248e1;p=yaz-moved-to-github.git diff --git a/configure.in b/configure.in index 5f5648b..ac06478 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl YAZ Toolkit, Index Data 1994-2004 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.139 2004-05-01 23:32:20 adam Exp $ +dnl $Id: configure.in,v 1.141 2004-05-10 11:24:59 adam Exp $ AC_INIT(include/yaz/yaz-version.h) -AM_INIT_AUTOMAKE(yaz, 2.0.19) +AM_INIT_AUTOMAKE(yaz, 2.0.20) AM_MAINTAINER_MODE dnl AC_SUBST(READLINE_LIBS) @@ -50,11 +50,17 @@ if test "$openssl" != "no"; then SSL_LIBS="-L$openssl/lib" fi else - if $pkgconfig --exists openssl; then - SSL_CFLAGS=`$pkgconfig --cflags openssl` - SSL_LIBS=`$pkgconfig --libs openssl` - sslver=`$pkgconfig --modversion openssl` - fi + if test "$pkgconfig" != "NONE"; then + if $pkgconfig --exists openssl; then + SSL_CFLAGS=`$pkgconfig --cflags openssl` + SSL_LIBS=`$pkgconfig --libs openssl` + sslver=`$pkgconfig --modversion openssl` + fi + fi + if test "$sslver" = "no"; then + SSL_CFLAGS="-I/usr/include/openssl" + SSL_LIBS="" + fi fi if test "$sslver" = "no"; then xLIBS="$LIBS";