Roll back the shared library, r96559. It broke two darwins and arm, mysteriously.
[oota-llvm.git] / autoconf / configure.ac
index 01ba197f540bae550a43fb4726f58f2c413fe789..40f77d828e2add6ae9bab3d436c9ad93ec622173 100644 (file)
@@ -470,18 +470,6 @@ esac
 AC_DEFINE_UNQUOTED([ENABLE_PIC],$ENABLE_PIC,
                    [Define if position independent code is enabled])
 
-dnl Allow linking tools against the shared library.
-AC_ARG_ENABLE(shared,
-  AS_HELP_STRING([--enable-shared],
-                 [Link LLVM tools shared (default is NO)]),,
-                 enableval=default)
-case "$enableval" in
-  yes) AC_SUBST(ENABLE_SHARED,[1]) ;;
-  no)  AC_SUBST(ENABLE_SHARED,[0]) ;;
-  default) AC_SUBST(ENABLE_SHARED,[0]) ;;
-  *) AC_MSG_ERROR([Invalid setting for --enable-shared. Use "yes" or "no"]) ;;
-esac
-
 dnl Allow specific targets to be specified for building (or not)
 TARGETS_TO_BUILD=""
 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
@@ -1277,10 +1265,6 @@ dnl Propagate the shared library extension that the libltdl checks did to
 dnl the Makefiles so we can use it there too
 AC_SUBST(SHLIBEXT,$libltdl_cv_shlibext)
 
-dnl Propagate the run-time library path variable that the libltdl
-dnl checks found to the Makefiles so we can use it there too
-AC_SUBST(SHLIBPATH_VAR,$libltdl_cv_shlibpath_var)
-
 # Translate the various configuration directories and other basic
 # information into substitutions that will end up in Makefile.config.in
 # that these configured values can be used by the makefiles