From 9d1e21ee4cbc519cffdda121962b4672bfbb6007 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 18 Feb 2012 17:10:28 +0000 Subject: [PATCH] AC_CHECK_PROG sets variable to empty string when not found. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 2b90666..40483be 100644 --- a/configure.ac +++ b/configure.ac @@ -86,12 +86,12 @@ fi dnl OCaml ocamlnet RPC library + dependencies (version 3) is required. AC_CHECK_OCAML_PKG(rpc) -if test "x$OCAML_PKG_rpc" = "xno"; then +if test "x$OCAML_PKG_rpc" = "x"; then AC_MSG_ERROR([You must install OCaml ocamlnet library version 3]) fi AC_CHECK_PROG(OCAMLRPCGEN,ocamlrpcgen,ocamlrpcgen) -if test "x$OCAMLRPCGEN" = "xno"; then +if test "x$OCAMLRPCGEN" = "x"; then AC_MSG_ERROR([You must install the ocamlrpcgen program]) fi -- 1.8.3.1