X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=d1ed8241f5b410437c0dc5170e4446783fe1ad40;hp=4692d4426125d90199eb242b6da0018aa96809e1;hb=0aad40fcb08a072aebd1dd352bc831f43d1644d7;hpb=51755f9b44a6ab87089c169cb7c64b240833a909 diff --git a/configure.ac b/configure.ac index 4692d44..d1ed824 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ dnl YAZ Toolkit, Index Data 1994-2006 dnl See the file LICENSE for details. -dnl $Id: configure.ac,v 1.14 2006-05-23 09:13:50 adam Exp $ +dnl $Id: configure.ac,v 1.23 2006-06-09 13:29:21 adam Exp $ AC_PREREQ(2.59) -AC_INIT([yaz],[2.1.19],[adam@indexdata.dk]) +AC_INIT([yaz],[2.1.21],[adam@indexdata.dk]) AC_CONFIG_SRCDIR(configure.ac) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE([1.8]) @@ -47,13 +47,13 @@ AC_CHECK_FUNC(gethostbyname, ,[AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])]) dnl dnl ------ OpenSSL AC_SUBST(SSL_CFLAGS) -openssl=no +openssl=default AC_ARG_WITH(openssl, [ --with-openssl[=PREFIX] OpenSSL library in PREFIX], [openssl=$withval]) SSL_CFLAGS="" SSL_LIBPATH="" if test "$openssl" != "no"; then sslver=no - if test "$openssl" != "yes"; then + if test "$openssl" != "yes" -a "$openssl" != "default"; then if test -x $openssl/bin/pkg-config; then if $openssl/bin/pkg-config --exists openssl; then SSL_CFLAGS=`$openssl/bin/pkg-config --cflags openssl` @@ -99,7 +99,9 @@ if test "$openssl" != "no"; then else SSL_CFLAGS="" AC_MSG_RESULT([None]) - AC_MSG_ERROR([OpenSSL development libraries missing]) + if test "$openssl" != "default"; then + AC_MSG_ERROR([OpenSSL development libraries missing]) + fi fi fi dnl @@ -358,13 +360,46 @@ client/Makefile ztest/Makefile zoom/Makefile doc/Makefile -doc/yaz.xml +doc/local.ent doc/common/Makefile -doc/common/html.dsl -doc/common/html.xsl doc/common/print.dsl -doc/common/tkl.xsl etc/Makefile yaz-config Doxyfile ],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yaz-config > util/yaz-config && chmod +x yaz-config util/yaz-config]) + + +echo \ ' +Build and install binaries with the usual + make + make check + make install + +Build distribution tarball with + make dist + +Verify distribution tarball with + make distcheck +' + +echo \ +"------------------------------------------------------------------------ +Configuration: + + YAZ Package: ${PACKAGE} + YAZ Version: ${VERSION} + Bugreport: ${PACKAGE_BUGREPORT} + Source code location: ${srcdir} + C Preprocessor: ${CPP} + C Preprocessor flags: ${CPPFLAGS} + C Compiler: ${CC} + C Compiler flags: ${CFLAGS} + Linker flags: ${LDFLAGS} + Linked libs: ${LIBS} + Host System Type: ${host} + Install path: ${prefix} + Automake: ${AUTOMAKE} + Archiver: ${AR} + Ranlib: ${RANLIB} + +------------------------------------------------------------------------"