X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=lib%2Fyaz-config.in;h=c215aee1d71a9827d7100d3a16bfd8e5c0decb78;hp=5b0f14f5d681537b3a319dece37c8eb539e91fb3;hb=7282236bf8f7f5ed9890f04c2b658397fd333e8b;hpb=3b2f87676aa2bf0d508e1ff71a57941852ce5628 diff --git a/lib/yaz-config.in b/lib/yaz-config.in index 5b0f14f..c215aee 100755 --- a/lib/yaz-config.in +++ b/lib/yaz-config.in @@ -1,12 +1,12 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.4 2000-06-21 10:10:39 adam Exp $ +# $Id: yaz-config.in,v 1.6 2000-10-02 12:31:43 adam Exp $ yazprefix=@prefix@ -echo_cflags=no -echo_libs=no -echo_help=no -echo_tabs=no +yaz_echo_cflags=no +yaz_echo_libs=no +yaz_echo_help=no +yaz_echo_tabs=no -yazlibs=@LIBS@ +yazlibs="@LIBS@" YAZVERSION=@VERSION@ usage() @@ -24,7 +24,7 @@ EOF } #if test $# -eq 0; then -# echo_help=yes +# yaz_echo_help=yes #fi while test $# -gt 0; do @@ -46,16 +46,16 @@ while test $# -gt 0; do exit 0 ;; --cflags) - echo_cflags=yes + yaz_echo_cflags=yes ;; --libs) - echo_libs=yes + yaz_echo_libs=yes ;; --tabs) - echo_tabs=yes + yaz_echo_tabs=yes ;; -*) - echo_help=yes + yaz_echo_help=yes ;; esac shift @@ -75,15 +75,15 @@ else YAZINC=-I$yazprefix/include fi -if test "$echo_help" = "yes"; then +if test "$yaz_echo_help" = "yes"; then usage 1 1>&2 fi -if test "$echo_cflags" = "yes"; then +if test "$yaz_echo_cflags" = "yes"; then echo $YAZINC fi -if test "$echo_libs" = "yes"; then +if test "$yaz_echo_libs" = "yes"; then echo $YAZLIB fi -if test "$echo_tabs" = "yes"; then +if test "$yaz_echo_tabs" = "yes"; then echo $YAZTAB fi