configure: Turn on libstdc++ V3 by default.

* configure: Turn on libstdc++ V3 by default.

	* configure.in: Turn on libstdc++ V3 by default.
	* configure: Regenerated.

From-SVN: r37415
This commit is contained in:
Mark Mitchell 2000-11-13 01:15:40 +00:00 committed by Mark Mitchell
parent 520907ee6d
commit 34f6fbdb65
5 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,7 @@
2000-11-12 Mark Mitchell <mark@codesourcery.com>
* configure: Turn on libstdc++ V3 by default.
* ltcf-c.sh: On Solaris, use `gcc -shared' to build a shared library
if we've got GCC.

3
configure vendored
View File

@ -55,6 +55,7 @@ extraconfigdirs=
diroptions=
enable_threads=no
enable_shared=no
enable_libstdcxx_v3=yes
exec_prefix=
exec_prefixoption=
fatal=
@ -88,7 +89,7 @@ subdirs=
target_alias=NOTARGET
target_makefile_frag=
undefs=NOUNDEFS
version="$Revision: 1.29 $"
version="$Revision: 1.30 $"
x11=default
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'

View File

@ -1,5 +1,8 @@
2000-11-12 Mark Mitchell <mark@codesourcery.com>
* configure.in: Turn on libstdc++ V3 by default.
* configure: Regenerated.
* fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
2000-11-12 Jakub Jelinek <jakub@redhat.com>

10
gcc/configure vendored
View File

@ -1553,7 +1553,7 @@ for ac_kw in inline __inline__ __inline; do
#include "confdefs.h"
int main() {
} int $ac_kw foo() {
} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:1560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@ -1583,7 +1583,7 @@ esac
# Find some useful tools
for ac_prog in mawk gawk nawk awk
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@ -7220,7 +7220,7 @@ else
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x = {0,0};
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
@ -7361,7 +7361,7 @@ else
#include "confdefs.h"
#include <alloca.h>
int main() {
void *p = alloca(2 * sizeof(int));
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@ -9481,7 +9481,7 @@ if test "${enable_libstdcxx_v3+set}" = set; then
enableval="$enable_libstdcxx_v3"
enable_libstdcxx_v3="$enableval"
else
enable_libstdcxx_v3=no
enable_libstdcxx_v3=yes
fi

View File

@ -4934,7 +4934,7 @@ AC_MSG_CHECKING([for libstdc++ to install])
AC_ARG_ENABLE(libstdcxx-v3,
[ --enable-libstdcxx-v3
enable libstdc++-v3 for building and installation],
[enable_libstdcxx_v3="$enableval"], [enable_libstdcxx_v3=no])
[enable_libstdcxx_v3="$enableval"], [enable_libstdcxx_v3=yes])
if test x$enable_libstdcxx_v3 = xyes; then
AC_MSG_RESULT(v3)