summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-13 18:04:52 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-13 18:04:52 +0000
commite9d3c1cfbeae9ce34ec7cd4ad7edb2b235e4c785 (patch)
treeb86409bc83dbdd0fb9ce02ea6cf8c923ffd95807 /autoconf
parentc18e940c5a1c050701594ee2b356cd40249505a3 (diff)
downloadllvm-e9d3c1cfbeae9ce34ec7cd4ad7edb2b235e4c785.tar.gz
llvm-e9d3c1cfbeae9ce34ec7cd4ad7edb2b235e4c785.tar.bz2
llvm-e9d3c1cfbeae9ce34ec7cd4ad7edb2b235e4c785.tar.xz
configure: [cygming] Set --disable-embed-stdcxx by default on --enable-shared.
Many distros provide stdc++.dll recently. --enable-embed-stdcxx might confuse people. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index bdbb5249fe..9832cdb428 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -580,12 +580,12 @@ esac
dnl Allow libstdc++ is embedded in LLVM.dll.
AC_ARG_ENABLE(embed-stdcxx,
AS_HELP_STRING([--enable-embed-stdcxx],
- [Build a shared library with embedded libstdc++ for Win32 DLL (default is YES)]),,
+ [Build a shared library with embedded libstdc++ for Win32 DLL (default is NO)]),,
enableval=default)
case "$enableval" in
yes) AC_SUBST(ENABLE_EMBED_STDCXX,[1]) ;;
no) AC_SUBST(ENABLE_EMBED_STDCXX,[0]) ;;
- default) AC_SUBST(ENABLE_EMBED_STDCXX,[1]) ;;
+ default) AC_SUBST(ENABLE_EMBED_STDCXX,[0]) ;;
*) AC_MSG_ERROR([Invalid setting for --enable-embed-stdcxx. Use "yes" or "no"]) ;;
esac