From: Chandler Carruth <chandlerc@gmail.com>
Date: Thu, 28 May 2015 02:17:15 +0000 (+0000)
Subject: [omp] Actually provide a default OpenMP runtime -- libgomp for now.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bd47c6b55930f81027c38cb0c149f919e4d8d592;p=oota-llvm.git

[omp] Actually provide a default OpenMP runtime -- libgomp for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238390 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 5ca40ec373b..390d22e15c2 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1340,7 +1340,7 @@ AC_DEFINE_UNQUOTED(DEFAULT_SYSROOT,"$withval",
 AC_ARG_WITH(clang-default-openmp-runtime,
   AS_HELP_STRING([--with-clang-default-openmp-runtime],
     [The default OpenMP runtime for Clang.]),,
-    withval="")
+    withval="libgomp")
 AC_DEFINE_UNQUOTED(CLANG_DEFAULT_OPENMP_RUNTIME,"$withval",
                    [Default OpenMP runtime used by -fopenmp.])
 
diff --git a/configure b/configure
index b3ccccbb881..254f7e0eb85 100755
--- a/configure
+++ b/configure
@@ -5954,7 +5954,7 @@ _ACEOF
 if test "${with_clang_default_openmp_runtime+set}" = set; then
   withval=$with_clang_default_openmp_runtime;
 else
-  withval=""
+  withval="libgomp"
 fi