From: Richard W.M. Jones Date: Sat, 18 Feb 2012 17:10:28 +0000 (+0000) Subject: AC_CHECK_PROG sets variable to empty string when not found. X-Git-Tag: 0.0.1~32 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9d1e21ee4cbc519cffdda121962b4672bfbb6007;p=whenjobs.git AC_CHECK_PROG sets variable to empty string when not found. --- 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