2 # $Id: yaz++-config.in,v 1.4 2002-11-14 14:41:07 adam Exp $
10 yazpp_src_root=@YAZPP_SRC_ROOT@
11 yazpp_build_root=@YAZPP_BUILD_ROOT@
13 yazlibs="@YAZLIB@ @LIBS@"
14 yazlalibs="@YAZLALIB@ @LIBS@"
15 YAZPPVERSION=@VERSION@
20 Usage: yaz++-config [OPTIONS] [LIBRARIES]
31 #if test $# -eq 0; then
35 while test $# -gt 0; do
37 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72 if test "$yaz_echo_source" = "yes"; then
73 YAZPPLIB="-L${yazpp_build_root}/lib/.libs -lyaz++ $yazlibs"
74 YAZPPLALIB="${yazpp_build_root}/lib/libyaz++.la $yazlalibs"
75 YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
78 if test "$yazppprefix" = "/usr"; then
79 YAZPPLIB="-lyaz++ $yazlibs"
81 YAZPPLIB="-L${yazppprefix}/lib -lyaz++ $yazlibs"
84 if test "$yazppprefix" = "/usr"; then
87 YAZPPINC="@YAZINC@ -I${yazppprefix}/include"
91 if test "$yaz_echo_help" = "yes"; then
94 if test "$yaz_echo_cflags" = "yes"; then
97 if test "$yaz_echo_libs" = "yes"; then
100 if test "$yaz_echo_lalibs" = "yes"; then