YAZPP_INIT macro searches ../../yaz++ as well (to ease make distcheck)
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 3 Dec 2004 14:26:39 +0000 (14:26 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 3 Dec 2004 14:26:39 +0000 (14:26 +0000)
yazpp.m4

index 28e628d..b0e6a5f 100644 (file)
--- a/yazpp.m4
+++ b/yazpp.m4
@@ -1,4 +1,4 @@
-## $Id: yazpp.m4,v 1.3 2004-04-22 07:53:15 adam Exp $
+## $Id: yazpp.m4,v 1.4 2004-12-03 14:26:39 adam Exp $
 AC_DEFUN([YAZPP_INIT],
 [
         AC_SUBST(YAZPPLIB)
@@ -16,7 +16,7 @@ AC_DEFUN([YAZPP_INIT],
                 else
                         yazppsrcdir=$srcdir
                 fi
-                for i in ${yazppsrcdir}/../yaz++-* ${yazppsrcdir}/../yaz++; do
+                for i in ${yazppsrcdir}/../../yaz++ ${yazppsrcdir}/../yaz++-* ${yazppsrcdir}/../yaz++; do
                         if test -d $i; then
                                 if test -r $i/yaz++-config; then
                                         yazppconfig=$i/yaz++-config