minor
[yazpp-moved-to-github.git] / unix / configure.in
index 87fb89e..6398e2c 100644 (file)
@@ -1,7 +1,7 @@
 dnl YAZ++ Toolkit configure script.
 dnl (c) Index Data ApS 1999
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.3 1999-12-06 13:52:45 adam Exp $
+dnl $Id: configure.in,v 1.4 2000-07-04 13:48:49 adam Exp $
 AC_INIT(../include/yaz-socket-manager.h)
 dnl
 dnl ------ Checking programs
@@ -20,13 +20,13 @@ AC_SUBST(YAZINC)
 AC_SUBST(YAZLIB)
 yazconfig=NONE
 yazpath=NONE
-AC_ARG_WITH(yazconfig, [  --with-yazconfig        Path for yaz-config], [yazpath=$withval])
+AC_ARG_WITH(yazconfig, [  --with-yazconfig=DIR      yaz-config in DIR (example /home/yaz-1.6)], [yazpath=$withval])
 if test "x$yazpath" != "xNONE"; then
        yazconfig=$yazpath/yaz-config
 else
        for i in ../../yaz* ../../yaz; do
                if test -d $i; then
-                       if test -r $i/include/yaz/yaz-version.h; then
+                       if test -r $i/yaz-config; then
                                yazconfig=$i/yaz-config
                        fi
                fi