2 # $Id: yaz++-config.in,v 1.3 2001-03-26 14:43:49 adam Exp $
10 yazpp_src_root=@YAZPP_SRC_ROOT@
11 yazpp_build_root=@YAZPP_BUILD_ROOT@
13 yazlibs="@YAZLIB@ @LIBS@"
14 YAZPPVERSION=@VERSION@
19 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 YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyaz++ $yazlibs"
73 YAZPPLALIB="${yazpp_build_root}/src/libyaz++.la $yazlibs"
74 YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
77 if test "$yazppprefix" = "/usr"; then
78 YAZPPLIB="-lyaz++ $yazlibs"
80 YAZPPLIB="-L${yazppprefix}/lib -lyaz++ $yazlibs"
83 if test "$yazppprefix" = "/usr"; then
86 YAZPPINC="@YAZINC@ -I${yazppprefix}/include"
90 if test "$yaz_echo_help" = "yes"; then
93 if test "$yaz_echo_cflags" = "yes"; then
96 if test "$yaz_echo_libs" = "yes"; then
99 if test "$yaz_echo_lalibs" = "yes"; then