]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10455: [build] add small configure check to determine V8_TARGET for GN build
authorMike Jerris <mike@jerris.com>
Fri, 30 Jun 2017 17:28:35 +0000 (13:28 -0400)
committerMike Jerris <mike@jerris.com>
Fri, 30 Jun 2017 17:28:44 +0000 (13:28 -0400)
configure.ac

index ff71ddc65da9a9934485076b8c99aa863a6d5840..ff1efdc53343d01ffd0dfb5b3c6c552b0d5ebab6 100644 (file)
@@ -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"])