X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=configure.in;h=fd2059ec8bd2ed42810250477720a4914bcf35bf;hp=fb0932705134e67509d66c951151d7cb512a4e52;hb=aade6d9ba2e2b65e021de8a1c3a2d3874aa5742e;hpb=8af68de11421dacc2f77a8398dcb48c75a5ff3b1 diff --git a/configure.in b/configure.in index fb09327..fd2059e 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 @@ -250,4 +250,5 @@ AC_SUBST(OCAMLCFLAGS) AC_SUBST(OCAMLOPTFLAGS) AC_SUBST(CAMLP4FLAGS) AC_CONFIG_FILES(Remakefile) +AC_CONFIG_FILES(Makefile) AC_OUTPUT