2 # $Id: yaz++-config.in,v 1.2 2000-10-11 12:21:00 adam Exp $
10 yazpp_src_root=@YAZPP_SRC_ROOT@
12 yazlibs="@YAZLIB@ @LIBS@"
13 YAZPPVERSION=@VERSION@
18 Usage: yaz++-config [OPTIONS] [LIBRARIES]
29 #if test $# -eq 0; then
33 while test $# -gt 0; do
35 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
70 if test "$yaz_echo_source" = "yes"; then
71 YAZPPLIB="-L${yazpp_src_root}/src/.libs -lyaz++ $yazlibs"
72 YAZPPLALIB="${yazpp_src_root}/src/libyaz++.la $yazlibs"
73 YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
76 if test "$yazppprefix" = "/usr"; then
77 YAZPPLIB="-lyaz++ $yazlibs"
79 YAZPPLIB="-L${yazppprefix}/lib -lyaz++ $yazlibs"
82 if test "$yazppprefix" = "/usr"; then
85 YAZPPINC="@YAZINC@ -I${yazppprefix}/include"
89 if test "$yaz_echo_help" = "yes"; then
92 if test "$yaz_echo_cflags" = "yes"; then
95 if test "$yaz_echo_libs" = "yes"; then
98 if test "$yaz_echo_lalibs" = "yes"; then