X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=e4d99da016ce525cd1a0983e89895e32ffab8e23;hp=70241cba20e6deb603b72f6c2557c0b8f1b5c19e;hb=ba1eb985bfd53a8cfbfd251e65688921dba56236;hpb=7282236bf8f7f5ed9890f04c2b658397fd333e8b diff --git a/yaz-config.in b/yaz-config.in index 70241cb..e4d99da 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,7 +1,124 @@ #!/bin/sh -# yaz-config for source tree +# $Id: yaz-config.in,v 1.25 2006-07-06 10:17:51 adam Exp $ +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@ + +yazextralibs="@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_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: