2 # $Id: yaz-config.in,v 1.3 2000-10-11 12:24:58 adam Exp $
10 yaz_src_root=@YAZ_SRC_ROOT@
18 Usage: yaz-config [OPTIONS] [LIBRARIES]
30 #if test $# -eq 0; then
34 while test $# -gt 0; do
36 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
71 if test "$yaz_echo_source" = "yes"; then
72 YAZTAB=${yaz_src_root}/tab
73 YAZBIN=${yaz_src_root}/bin
74 YAZLIB="-L${yaz_src_root}/lib/.libs -lyaz $yazlibs"
75 YAZLALIB="${yaz_src_root}/lib/libyaz.la $yazlibs"
76 YAZINC="-I${yaz_src_root}/include"
78 YAZTAB=$yazprefix/share/yaz/tab
81 if test "$yazprefix" = "/usr"; then
82 YAZLIB="-lyaz $yazlibs"
84 YAZLIB="-L$yazprefix/lib -lyaz $yazlibs"
87 if test "$yazprefix" = "/usr"; then
90 YAZINC=-I$yazprefix/include
94 if test "$yaz_echo_help" = "yes"; then
97 if test "$yaz_echo_cflags" = "yes"; then
100 if test "$yaz_echo_libs" = "yes"; then
103 if test "$yaz_echo_tabs" = "yes"; then
106 if test "$yaz_echo_lalibs" = "yes"; then