From 10e8d34fd3acf86dcbe64cff748d2f1d31073014 Mon Sep 17 00:00:00 2001 From: Sebastian Freundt Date: Mon, 16 Feb 2015 09:00:58 +0000 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b551df90..c3847f14 100644 --- a/configure.ac +++ b/configure.ac @@ -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;]))