llvm.org GIT mirror llvm / e9d3c1c
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 NAKAMURA Takumi 8 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
579579 dnl Allow libstdc++ is embedded in LLVM.dll.
580580 AC_ARG_ENABLE(embed-stdcxx,
581581 AS_HELP_STRING([--enable-embed-stdcxx],
582 [Build a shared library with embedded libstdc++ for Win32 DLL (default is YES)]),,
582 [Build a shared library with embedded libstdc++ for Win32 DLL (default is NO)]),,
583583 enableval=default)
584584 case "$enableval" in
585585 yes) AC_SUBST(ENABLE_EMBED_STDCXX,[1]) ;;
586586 no) AC_SUBST(ENABLE_EMBED_STDCXX,[0]) ;;
587 default) AC_SUBST(ENABLE_EMBED_STDCXX,[1]) ;;
587 default) AC_SUBST(ENABLE_EMBED_STDCXX,[0]) ;;
588588 *) AC_MSG_ERROR([Invalid setting for --enable-embed-stdcxx. Use "yes" or "no"]) ;;
589589 esac
590590
14081408 --enable-shared Build a shared library and link tools against it
14091409 (default is NO)
14101410 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for
1411 Win32 DLL (default is YES)
1411 Win32 DLL (default is NO)
14121412 --enable-timestamps Enable embedding timestamp information in build
14131413 (default is YES)
14141414 --enable-targets Build specific host targets: all or
52315231 ;;
52325232 no) ENABLE_EMBED_STDCXX=0
52335233 ;;
5234 default) ENABLE_EMBED_STDCXX=1
5234 default) ENABLE_EMBED_STDCXX=0
52355235 ;;
52365236 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
52375237 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}