X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=b047e6da1dd560dfd09d3bc6b412b9a6b494b7d7;hp=70241cba20e6deb603b72f6c2557c0b8f1b5c19e;hb=180d8e06b6f1e7fe34b1a80ca1edde0dddf113f1;hpb=db715f04889e8811b9162e5308a8702985437f3f diff --git a/yaz-config.in b/yaz-config.in index 70241cb..b047e6d 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,7 +1,111 @@ #!/bin/sh -# yaz-config for source tree +# $Id: yaz-config.in,v 1.2 2000-10-11 10:40:56 adam Exp $ +yazprefix=@prefix@ +yaz_echo_cflags=no +yaz_echo_libs=no +yaz_echo_help=no +yaz_echo_tabs=no +yaz_echo_source=yes +yaz_echo_lalibs=no +yaz_src_root=@YAZ_SRC_ROOT@ + +yazlibs="@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" + +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_tabs" = "yes"; then + echo $YAZTAB +fi +if test "$yaz_echo_lalibs" = "yes"; then + echo $YAZLALIB +fi