diff options
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 13 |
1 files changed, 12 insertions, 1 deletions
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 |