From 9a0d79629881b157ed2158bfe187d05ecff486cd Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 26 Feb 2017 18:22:23 -0600 Subject: [PATCH] Fix --without-oniguruma build --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 871900f..1edb4d8 100644 --- a/configure.ac +++ b/configure.ac @@ -256,7 +256,7 @@ AS_IF([test "x$with_oniguruma" != xno], [ AC_MSG_NOTICE([Oniguruma was not found. Will use the packaged oniguruma.]) ]) ]) - AS_IF([test "x$build_oniguruma" = xyes], [ + AS_IF([test "x$build_oniguruma" = xyes -a -f "${srcdir}/modules/oniguruma/configure.ac" ], [ onig_CFLAGS="-I${srcdir}/modules/oniguruma/src" onig_LDFLAGS="-L${srcdir}/modules/oniguruma/src -Wl,-rpath,${libdir}" AC_CONFIG_SUBDIRS([modules/oniguruma]) -- 2.40.0