AC_CHECK_PROG sets variable to empty string when not found.
[whenjobs.git] / configure.ac
index 2b90666..40483be 100644 (file)
@@ -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