From cc4f8bcedc44920ce0a50619f4f667b28b40dffa Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sat, 4 Jul 2009 03:55:25 +0000 Subject: LLVMC can be now compiled w/o dynamic plugin support. Controlled via the --enable-llvmc-dynamic-plugins option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74784 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'autoconf') diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 3812222c6d..6b3c4caac0 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -605,12 +605,23 @@ AC_ARG_ENABLE(llvmc-dynamic,AS_HELP_STRING( --enable-llvmc-dynamic, [Link LLVMC dynamically (default is NO, unless on Win32)]),, enableval=$llvmc_dynamic) -if test ${enableval} = "yes" && test "$ENABLE_PIC" -eq 1; then +if test ${enableval} = "yes" && test "$ENABLE_PIC" -eq 1 ; then AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[ENABLE_LLVMC_DYNAMIC=1]]) else AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[]]) fi +dnl --enable-llvmc-dynamic-plugins : should LLVMC support dynamic plugins? +AC_ARG_ENABLE(llvmc-dynamic-plugins,AS_HELP_STRING( +--enable-llvmc-dynamic-plugins, +[Enable dynamic LLVMC plugins (default is YES)]),, +enableval=yes) +if test ${enableval} = "yes" ; then + AC_SUBST(ENABLE_LLVMC_DYNAMIC_PLUGINS,[[ENABLE_LLVMC_DYNAMIC_PLUGINS=1]]) +else + AC_SUBST(ENABLE_LLVMC_DYNAMIC_PLUGINS,[[]]) +fi + dnl===-----------------------------------------------------------------------=== dnl=== dnl=== SECTION 4: Check for programs we need and that they are the right version -- cgit v1.2.3