2 # $Id: yaz++-config.in,v 1.1 2000-10-11 11:58:16 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]*=//'` ;;
73 if test "$yaz_echo_source" = "yes"; then
74 YAZPPLIB="-L${yazpp_src_root}/src/.libs -lyaz++ $yazlibs"
75 YAZPPLALIB="${yazpp_src_root}/src/libyaz++.la $yazlibs"
76 YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
79 if test "$yazppprefix" = "/usr"; then
80 YAZPPLIB="-lyaz++ $yazlibs"
82 YAZPPLIB="-L${yazppprefix}/lib -lyaz++ $yazlibs"
85 if test "$yazppprefix" = "/usr"; then
88 YAZPPINC="@YAZINC@ -I${yazppprefix}/include"
92 if test "$yaz_echo_help" = "yes"; then
95 if test "$yaz_echo_cflags" = "yes"; then
98 if test "$yaz_echo_libs" = "yes"; then
101 if test "$yaz_echo_lalibs" = "yes"; then