[vmkit-commits] [vmkit] r81089 - /vmkit/trunk/autoconf/configure.ac
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Sat Sep 5 10:56:44 PDT 2009
Author: geoffray
Date: Sat Sep 5 12:56:43 2009
New Revision: 81089
URL: http://llvm.org/viewvc/llvm-project?rev=81089&view=rev
Log:
Add a --with-llvmgcc command line option to build VMKit with llvm-gcc.
Modified:
vmkit/trunk/autoconf/configure.ac
Modified: vmkit/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/autoconf/configure.ac?rev=81089&r1=81088&r2=81089&view=diff
==============================================================================
--- vmkit/trunk/autoconf/configure.ac (original)
+++ vmkit/trunk/autoconf/configure.ac Sat Sep 5 12:56:43 2009
@@ -149,6 +149,21 @@
dnl===
dnl===-----------------------------------------------------------------------===
+AC_ARG_WITH(llvmgcc,
+ [AS_HELP_STRING(--with-llvmgcc,
+ [Compile with llvm-gcc])],
+ [[withllvm=yes]],
+ [[withllvm=no]],
+)
+
+if test "x$withllvm" = "xyes"; then
+ WITH_LLVM_GCC=1
+ LLVM_FLAGS=-DWITH_LLVM_GCC
+fi
+
+AC_SUBST([WITH_LLVM_GCC])
+AC_SUBST([LLVM_FLAGS])
+
AC_ARG_WITH(thread,
[AS_HELP_STRING(--with-thread=something,
[Thread type ('common' or 'no')])],
@@ -183,7 +198,7 @@
dnl **************************************************************************
-dnl VVM GC type
+dnl GC type
dnl **************************************************************************
AC_ARG_WITH(gc,
[AS_HELP_STRING(--with-gc=something,
More information about the vmkit-commits
mailing list