From 6cfe5e522ae927e7bf234b349e9ec3bebbd4edd6 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Thu, 3 May 2018 14:31:48 -0400 Subject: [PATCH] FS-11047: [build] detect v8.pc as well --- configure.ac | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 7c41dbc465..aaf6c270cf 100644 --- a/configure.ac +++ b/configure.ac @@ -1453,12 +1453,15 @@ PKG_CHECK_MODULES([MEMCACHED], [libmemcached >= 0.31],[ PKG_CHECK_MODULES([V8FS_STATIC], [v8fs_static >= 6.1.298],[ AM_CONDITIONAL([HAVE_V8FS],[true])],[ - if module_enabled mod_v8; then - AC_MSG_ERROR([You need to either install libv8fs-dev (>= 6.1.298) or disable mod_v8 in modules.conf]) - else - AC_MSG_RESULT([no]) - AM_CONDITIONAL([HAVE_V8FS],[false]) - fi + PKG_CHECK_MODULES([V8FS_STATIC], [v8 >= 6.1.298],[ + AM_CONDITIONAL([HAVE_V8FS],[true])],[ + if module_enabled mod_v8; then + AC_MSG_ERROR([You need to either install libv8fs-dev (>= 6.1.298) or disable mod_v8 in modules.conf]) + else + AC_MSG_RESULT([no]) + AM_CONDITIONAL([HAVE_V8FS],[false]) + fi + ]) ]) PKG_CHECK_MODULES([AMQP], [librabbitmq >= 0.5.2],[