X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=ad78247e630d87ef48fd7dd50591869c1b6621b9;hp=70241cba20e6deb603b72f6c2557c0b8f1b5c19e;hb=83178ddb2e40a3c9dbde8b7b3e6cf5e8918da990;hpb=7282236bf8f7f5ed9890f04c2b658397fd333e8b diff --git a/yaz-config.in b/yaz-config.in index 70241cb..ad78247 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,7 +1,174 @@ #!/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" + +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: