X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=27fb8bd502035044d0e11c99820b961f10185f2b;hp=70241cba20e6deb603b72f6c2557c0b8f1b5c19e;hb=05193e78a2553c93a61da19a39e1276b1a509bac;hpb=7282236bf8f7f5ed9890f04c2b658397fd333e8b diff --git a/yaz-config.in b/yaz-config.in index 70241cb..27fb8bd 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,7 +1,200 @@ #!/bin/sh -# yaz-config for source tree -YAZVERSION=@VERSION@ -YAZBIN="@YAZ_SRC_ROOT@/bin" -YAZTAB="@YAZ_SRC_ROOT@/tab" -YAZLIB="-L@YAZ_SRC_ROOT@/lib/.libs -lyaz" -YAZINC="-I@YAZ_SRC_ROOT@/include" +# This file is part of the YAZ toolkit. +# Copyright (C) Index Data +# See the file LICENSE for details. + +prefix="@prefix@" +exec_prefix="@exec_prefix@" +libdir="@libdir@" +includedir="@includedir@" +echo_cflags=no +echo_libs=no +echo_help=no +echo_include=no +echo_source=yes +echo_lalibs=no +echo_comp=no +src_root="@abs_top_srcdir@" +build_root="@abs_top_builddir@" +ICU_LIBS="@ICU_LIBS@" +ICU_CPPFLAGS="@ICU_CPPFLAGS@" +SSL_LIBS="@SSL_LIBS@" +GCRYPT_LIBS="@GCRYPT_LIBS@" +MEMCACHED_LIBS="@MEMCACHED_LIBS@" +LIBS="@LIBS@" +VERSION=@VERSION@ +YAZVERSION=$VERSION +VERSION_SHA1=@VERSION_SHA1@ + +usage() +{ + cat <&2 +fi +if test "$echo_include" = "yes"; then + echo $YAZBINC +fi +if test "$echo_cflags" = "yes"; then + echo $YAZINC +fi +if test "$echo_libs" = "yes"; then + echo $YAZLIB +fi +if test "$echo_lalibs" = "yes"; then + echo $YAZLALIB +fi +if test "$echo_comp" = "yes"; then + echo $YAZCOMP +fi +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: