AC_CHECK_PROG sets variable to empty string when not found.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 18 Feb 2012 17:10:28 +0000 (17:10 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 18 Feb 2012 17:10:28 +0000 (17:10 +0000)
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