File yaz-config generated by configure (not Makefile).
[yaz-moved-to-github.git] / lib / yaz-config.in
index fde3663..c215aee 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/sh
-
+# $Id: yaz-config.in,v 1.6 2000-10-02 12:31:43 adam Exp $
 yazprefix=@prefix@
-echo_cflags=no
-echo_libs=no
-echo_help=no
-echo_tabs=no
+yaz_echo_cflags=no
+yaz_echo_libs=no
+yaz_echo_help=no
+yaz_echo_tabs=no
 
-yazlibs=@LIBS@
+yazlibs="@LIBS@"
 YAZVERSION=@VERSION@
 
 usage()
@@ -24,7 +24,7 @@ EOF
 }
 
 #if test $# -eq 0; then
-#      echo_help=yes
+#      yaz_echo_help=yes
 #fi
 
 while test $# -gt 0; do
@@ -46,16 +46,16 @@ while test $# -gt 0; do
       exit 0
       ;;
     --cflags)
-      echo_cflags=yes
+      yaz_echo_cflags=yes
       ;;
     --libs)
-      echo_libs=yes
+      yaz_echo_libs=yes
       ;;
     --tabs)
-      echo_tabs=yes
+      yaz_echo_tabs=yes
       ;;
     -*)
-      echo_help=yes
+      yaz_echo_help=yes
       ;;
   esac
   shift
@@ -75,15 +75,15 @@ else
        YAZINC=-I$yazprefix/include
 fi
 
-if test "$echo_help" = "yes"; then
+if test "$yaz_echo_help" = "yes"; then
        usage 1 1>&2
 fi
-if test "$echo_cflags" = "yes"; then
+if test "$yaz_echo_cflags" = "yes"; then
        echo $YAZINC
 fi
-if test "$echo_libs" = "yes"; then
+if test "$yaz_echo_libs" = "yes"; then
        echo $YAZLIB
 fi
-if test "$echo_tabs" = "yes"; then
+if test "$yaz_echo_tabs" = "yes"; then
        echo $YAZTAB
 fi