Fixed bug #212: make distcheck uses global yaz, not a local one
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 19 Nov 2004 18:31:57 +0000 (18:31 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 19 Nov 2004 18:31:57 +0000 (18:31 +0000)
yaz.m4

diff --git a/yaz.m4 b/yaz.m4
index 8690686..31311d3 100644 (file)
--- a/yaz.m4
+++ b/yaz.m4
@@ -92,7 +92,7 @@ AC_DEFUN([YAZ_INIT],
                else
                        yazsrcdir=$srcdir
                fi
-               for i in ${yazsrcdir}/../yaz* ${yazsrcdir}/../yaz ../yaz* ../yaz; do
+               for i in ${yazsrcdir}/../../yaz *${yazsrcdir}/../yaz* ${yazsrcdir}/../yaz; do
                        if test -d $i; then
                                if test -r $i/yaz-config; then
                                        yazconfig=$i/yaz-config