projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
File yaz-config generated by configure (not Makefile).
[yaz-moved-to-github.git]
/
lib
/
yaz-config.in
diff --git
a/lib/yaz-config.in
b/lib/yaz-config.in
index
2713388
..
c215aee
100755
(executable)
--- a/
lib/yaz-config.in
+++ b/
lib/yaz-config.in
@@
-1,12
+1,12
@@
#!/bin/sh
#!/bin/sh
-
+# $Id: yaz-config.in,v 1.6 2000-10-02 12:31:43 adam Exp $
yazprefix=@prefix@
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()
YAZVERSION=@VERSION@
usage()
@@
-24,7
+24,7
@@
EOF
}
#if test $# -eq 0; then
}
#if test $# -eq 0; then
-# echo_help=yes
+# yaz_echo_help=yes
#fi
while test $# -gt 0; do
#fi
while test $# -gt 0; do
@@
-46,16
+46,16
@@
while test $# -gt 0; do
exit 0
;;
--cflags)
exit 0
;;
--cflags)
- echo_cflags=yes
+ yaz_echo_cflags=yes
;;
--libs)
;;
--libs)
- echo_libs=yes
+ yaz_echo_libs=yes
;;
--tabs)
;;
--tabs)
- echo_tabs=yes
+ yaz_echo_tabs=yes
;;
;;
- *)
- echo_help=yes
+ -*)
+ yaz_echo_help=yes
;;
esac
shift
;;
esac
shift
@@
-65,9
+65,9
@@
YAZTAB=$yazprefix/share/yaz/tab
YAZBIN=$yazprefix/bin
if test "$yazprefix" = "/usr"; then
YAZBIN=$yazprefix/bin
if test "$yazprefix" = "/usr"; then
- YAZLIB="-L$yazprefix/lib $YAZLIB"
-else
YAZLIB="-lyaz $yazlibs"
YAZLIB="-lyaz $yazlibs"
+else
+ YAZLIB="-L$yazprefix/lib -lyaz $yazlibs"
fi
if test "$yazprefix" = "/usr"; then
YAZINC=
fi
if test "$yazprefix" = "/usr"; then
YAZINC=
@@
-75,15
+75,15
@@
else
YAZINC=-I$yazprefix/include
fi
YAZINC=-I$yazprefix/include
fi
-if test "$echo_help" = "yes"; then
+if test "$yaz_echo_help" = "yes"; then
usage 1 1>&2
fi
usage 1 1>&2
fi
-if test "$echo_cflags" = "yes"; then
+if test "$yaz_echo_cflags" = "yes"; then
echo $YAZINC
fi
echo $YAZINC
fi
-if test "$echo_libs" = "yes"; then
+if test "$yaz_echo_libs" = "yes"; then
echo $YAZLIB
fi
echo $YAZLIB
fi
-if test "$echo_tabs" = "yes"; then
+if test "$yaz_echo_tabs" = "yes"; then
echo $YAZTAB
fi
echo $YAZTAB
fi