From: Mike Jerris Date: Fri, 30 Jun 2017 17:28:35 +0000 (-0400) Subject: FS-10455: [build] add small configure check to determine V8_TARGET for GN build X-Git-Tag: v1.8.0~403 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d88d95fdf4ae187bc0b396e4eb566b785764670;p=thirdparty%2Ffreeswitch.git FS-10455: [build] add small configure check to determine V8_TARGET for GN build --- 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"])