[llvm-commits] [llvm] r141875 - in /llvm/trunk: autoconf/configure.ac configure
NAKAMURA Takumi
geek4civic at gmail.com
Thu Oct 13 11:04:52 PDT 2011
Author: chapuni
Date: Thu Oct 13 13:04:52 2011
New Revision: 141875
URL: http://llvm.org/viewvc/llvm-project?rev=141875&view=rev
Log:
configure: [cygming] Set --disable-embed-stdcxx by default on --enable-shared.
Many distros provide stdc++.dll recently. --enable-embed-stdcxx might confuse people.
Modified:
llvm/trunk/autoconf/configure.ac
llvm/trunk/configure
Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=141875&r1=141874&r2=141875&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Thu Oct 13 13:04:52 2011
@@ -580,12 +580,12 @@
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
Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=141875&r1=141874&r2=141875&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Thu Oct 13 13:04:52 2011
@@ -1409,7 +1409,7 @@
--enable-shared Build a shared library and link tools against it
(default is NO)
--enable-embed-stdcxx Build a shared library with embedded libstdc++ for
- Win32 DLL (default is YES)
+ Win32 DLL (default is NO)
--enable-timestamps Enable embedding timestamp information in build
(default is YES)
--enable-targets Build specific host targets: all or
@@ -5232,7 +5232,7 @@
;;
no) ENABLE_EMBED_STDCXX=0
;;
- default) ENABLE_EMBED_STDCXX=1
+ default) ENABLE_EMBED_STDCXX=0
;;
*) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
More information about the llvm-commits
mailing list