Fix oniguruma detection logic
At the moment, a failed oniguruma header check would leave HAVE_ONIGURUMA set to 1 still, resulting in a compiler error in builtin.c.
This commit is contained in:
1 parent
ebc090ad15
commit
10e8d34fd3
1 file changed
+1
-1
+1
-1
@@ -61,7 +61,7 @@ if test $ONIGURUMAPATHSET == 1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# check for ONIGURUMA library
|
# check for ONIGURUMA library
|
||||||
HAVE_ONIGURUMA=1
|
HAVE_ONIGURUMA=0
|
||||||
AC_CHECK_HEADER("oniguruma.h",
|
AC_CHECK_HEADER("oniguruma.h",
|
||||||
AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; HAVE_ONIGURUMA=1;]))
|
AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; HAVE_ONIGURUMA=1;]))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user