X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=lib%2Fyaz-config.in;h=c215aee1d71a9827d7100d3a16bfd8e5c0decb78;hp=15abac9f5e2655d91a27d65bbb340b8727a96c20;hb=7282236bf8f7f5ed9890f04c2b658397fd333e8b;hpb=3fbac983921247d7804695af483263420089beec diff --git a/lib/yaz-config.in b/lib/yaz-config.in index 15abac9..c215aee 100755 --- a/lib/yaz-config.in +++ b/lib/yaz-config.in @@ -1,10 +1,10 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.5 2000-08-04 10:40:45 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@" YAZVERSION=@VERSION@ @@ -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