X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=57886b6d34cafe29b6d8142d2aaad477f07c0d9d;hp=70241cba20e6deb603b72f6c2557c0b8f1b5c19e;hb=1aac63eecd76d5d060da84037a355c153d747ca7;hpb=7282236bf8f7f5ed9890f04c2b658397fd333e8b diff --git a/yaz-config.in b/yaz-config.in index 70241cb..57886b6 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,7 +1,180 @@ #!/bin/sh -# yaz-config for source tree +# This file is part of the YAZ toolkit. +# Copyright (C) 1995-2008 Index Data + +yazprefix=@prefix@ +yaz_echo_cflags=no +yaz_echo_libs=no +yaz_echo_help=no +yaz_echo_source=yes +yaz_echo_lalibs=no +yaz_echo_comp=no +yaz_src_root=@YAZ_SRC_ROOT@ +yaz_build_root=@YAZ_BUILD_ROOT@ +PTHREAD_LIBS="@PTHREAD_LIBS@" +PTHREAD_CFLAGS="@PTHREAD_CFLAGS@" +ICU_LIBS="@ICU_LIBS@" +ICU_CPPFLAGS="@ICU_CPPFLAGS@" +SSL_LIBS="@SSL_LIBS@" +LIBS="@LIBS@" 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" +VERSION_SHA1=@VERSION_SHA1@ + +usage() +{ + cat <&2 +fi +if test "$yaz_echo_cflags" = "yes"; then + echo $YAZINC +fi +if test "$yaz_echo_libs" = "yes"; then + echo $YAZLIB +fi +if test "$yaz_echo_lalibs" = "yes"; then + echo $YAZLALIB +fi +if test "$yaz_echo_comp" = "yes"; then + echo $YAZCOMP +fi +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: