LLVMC doesn't need ENABLE_PIC to build now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2009-07-04 03:54:54 +00:00
parent 9d1a81daaa
commit 86a3510a68
3 changed files with 6 additions and 12 deletions

View File

@@ -605,10 +605,10 @@ 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} = "no"; then
AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[]])
else
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===-----------------------------------------------------------------------===