9 yazpp_src_root=@YAZPP_SRC_ROOT@
10 yazpp_build_root=@YAZPP_BUILD_ROOT@
12 yazlibs="@YAZLIB@ @LIBS@"
13 yazlalibs="@YAZLALIB@ @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 libs_short="-lyazpp -lzoompp"
75 if test "$yaz_echo_source" = "yes"; then
76 YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyazpp"
77 YAZPPLIB="$YAZPPLIB -L${yazpp_build_root}/zoom/.libs -lzoompp"
78 YAZPPLIB="$YAZPPLIB $yazlibs"
79 YAZPPLALIB="${yazpp_build_root}/src/libyazpp.la $yazlalibs"
80 YAZPPINC="-I${yazpp_src_root}/include $YAZPPINC"
83 if test "$yazppprefix" = "/usr"; then
84 YAZPPLIB="${libs_short} $yazlibs"
86 YAZPPLIB="-L${yazppprefix}/lib ${libs_short} $yazlibs"
89 if test "$yazppprefix" != "/usr"; then
90 YAZPPINC="-I${yazppprefix}/include $YAZPPINC"
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_lalibs" = "yes"; then