chdir to working directory before accessing PID file
[yazproxy-moved-to-github.git] / yazpp.m4
index 85e8393..65bb934 100644 (file)
--- a/yazpp.m4
+++ b/yazpp.m4
@@ -1,4 +1,4 @@
-## $Id: yazpp.m4,v 1.1 2004-04-11 11:36:46 adam Exp $
+## $Id: yazpp.m4,v 1.3 2004-04-22 07:52:51 adam Exp $
 AC_DEFUN([YAZPP_INIT],
 [
         AC_SUBST(YAZPPLIB)
@@ -7,7 +7,7 @@ AC_DEFUN([YAZPP_INIT],
         AC_SUBST(YAZPPVERSION)
         yazppconfig=NONE
         yazpppath=NONE
-        AC_ARG_WITH(yazppconfig, [  --with-yazppconfig=DIR  yaz++-config in DIR (example /home/yaz++-0.5)], [yazpppath=$withval])
+        AC_ARG_WITH(yazpp, [  --with-yazpp=DIR        yaz++-config in DIR (example /home/yaz++-0.8)], [yazpppath=$withval])
         if test "x$yazpppath" != "xNONE"; then
                 yazppconfig=$yazpppath/yaz++-config
         else
@@ -24,7 +24,7 @@ AC_DEFUN([YAZPP_INIT],
                         fi
                 done
                 if test "x$yazppconfig" = "xNONE"; then
-                        AC_PATH_PROG(yazppconfig, yaz-config, NONE)
+                        AC_PATH_PROG(yazppconfig, yaz++-config, NONE)
                 fi
         fi
         AC_MSG_CHECKING(for YAZ++)