From c76218066bbe4bb9046ce92515ed5bb87cf57a79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Mon, 15 Jul 2013 17:37:05 +0200 Subject: [PATCH] Fix a typo which causes mis-detection of the ocaml-expat bindings. --- configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index fb09327..1a6b561 100644 --- a/configure.in +++ b/configure.in @@ -150,8 +150,8 @@ AC_SUBST(EXE) # required libraries AC_MSG_CHECKING([for ulex]) -$OCAMLFIND query ulex >/dev/null 2>&1 -if test $? ; then +ulex_path=`$OCAMLFIND query ulex 2>/dev/null` +if test "$ulex_path" ; then AC_MSG_RESULT([found]) else AC_MSG_RESULT([not found]) @@ -159,12 +159,12 @@ else fi AC_MSG_CHECKING([for expat]) -$OCAMLFIND query ulex >/dev/null 2>&1 -if test $? ; then +expat_path=`$OCAMLFIND query expat 2>/dev/null` +if test "$expat_path" ; then AC_MSG_RESULT([found]) else AC_MSG_RESULT([not found]) - AC_MSG_ERROR([Cannot find ulex.]) + AC_MSG_ERROR([Cannot find expat.]) fi #compilation options -- 2.17.1