From 0d88d95fdf4ae187bc0b396e4eb566b785764670 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Fri, 30 Jun 2017 13:28:35 -0400 Subject: [PATCH] FS-10455: [build] add small configure check to determine V8_TARGET for GN build --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index ff71ddc65d..ff1efdc533 100644 --- a/configure.ac +++ b/configure.ac @@ -1550,6 +1550,13 @@ AC_ARG_ENABLE(parallel-build-v8, [AS_HELP_STRING([--disable-parallel-build-v8], [Disable parallel build of V8])], [enable_parallel_build_v8="$enableval"], [enable_parallel_build_v8="yes"]) AM_CONDITIONAL([ENABLE_PARALLEL_BUILD_V8],[test "x$enable_parallel_build_v8" != "xno"]) +if test "`uname -m`" = "x86_64"; then + V8_TARGET="x64" +else + V8_TARGET="x86" +fi +AC_SUBST(V8_TARGET) + AM_CONDITIONAL([HAVE_ODBC],[test "x$enable_core_odbc_support" != "xno"]) AM_CONDITIONAL([HAVE_MYSQL],[test "$found_mysql" = "yes"])