]> granicus.if.org Git - jq/commitdiff
Fix oniguruma detection logic 699/head
authorSebastian Freundt <freundt@ga-group.nl>
Mon, 16 Feb 2015 09:00:58 +0000 (09:00 +0000)
committerSebastian Freundt <freundt@ga-group.nl>
Mon, 16 Feb 2015 09:01:08 +0000 (09:01 +0000)
At the moment, a failed oniguruma header check would leave
HAVE_ONIGURUMA set to 1 still, resulting in a compiler error
in builtin.c.

configure.ac

index b551df90244d9d69c1bd5c163d179486cb4e87a9..c3847f140c11f068caf266f8223f837821bc0418 100644 (file)
@@ -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;]))