Move yaz-proxy to separate sub directory.
[yazpp-moved-to-github.git] / yaz++-config.in
index ef654bb..052e142 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: yaz++-config.in,v 1.5 2004-02-11 10:01:54 adam Exp $
+# $Id: yaz++-config.in,v 1.7 2004-03-29 22:46:50 adam Exp $
 yazppprefix=@prefix@
 yaz_echo_cflags=no
 yaz_echo_libs=no
@@ -28,9 +28,9 @@ EOF
        exit $1
 }
 
-#if test $# -eq 0; then
-#      yaz_echo_help=yes
-#fi
+if test $# -eq 0; then
+       yaz_echo_help=yes
+fi
 
 while test $# -gt 0; do
   case "$1" in
@@ -72,7 +72,9 @@ done
 libs_short="-lyazcpp -lzoomcpp"
 
 if test "$yaz_echo_source" = "yes"; then
-    YAZPPLIB="-L${yazpp_build_root}/src/.libs ${libs_short} $yazlibs"
+    YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyazcpp"
+    YAZPPLIB="$YAZPPLIB -L${yazpp_build_root}/zoom/.libs -lzoomcpp"
+    YAZPPLIB="$YAZPPLIB $yazlibs"
     YAZPPLALIB="${yazpp_build_root}/src/libyazcpp.la $yazlalibs"
     YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
 else