mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
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:
@ -61,7 +61,7 @@ if test $ONIGURUMAPATHSET == 1; then
|
||||
fi
|
||||
|
||||
# check for ONIGURUMA library
|
||||
HAVE_ONIGURUMA=1
|
||||
HAVE_ONIGURUMA=0
|
||||
AC_CHECK_HEADER("oniguruma.h",
|
||||
AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; HAVE_ONIGURUMA=1;]))
|
||||
|
||||
|
Reference in New Issue
Block a user