diff options
author | Nicolas Williams <nico@cryptonector.com> | 2017-02-26 18:22:23 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2017-02-26 18:22:23 -0600 |
commit | 9a0d79629881b157ed2158bfe187d05ecff486cd (patch) | |
tree | 30c8a0f35e58d62de56c207fb7337782b72a87ca | |
parent | 0337027d5485515a923658b86e911c8e94f912e7 (diff) |
Fix --without-oniguruma build
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 871900f3..1edb4d8e 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]) |