Use only sleep if unistd.h is defined
[yazproxy-moved-to-github.git] / yazpp.m4
index cf121a0..8512109 100644 (file)
--- a/yazpp.m4
+++ b/yazpp.m4
@@ -44,7 +44,7 @@ AC_DEFUN([YAZPP_INIT],
                        have_yaz_version=`echo "$YAZPPVERSION" | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`
                        req_yaz_version=`echo "$2" | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`
                        if test "$have_yaz_version" -lt "$req_yaz_version"; then
-                               AC_MSG_ERROR([$YAZPPVERSION. Requires $2 or later])
+                               AC_MSG_ERROR([$YAZPPVERSION. Requires YAZ++ $2 or later])
                        fi
                fi
        fi