aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-11-13 01:15:40 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-11-13 01:15:40 +0000
commit34f6fbdb65c5e2a8ff1c6553592503532ef0141f (patch)
tree22c6cd3559333654dbe6874c6e812640377b64e2
parent520907ee6d48a4b427c74355936f11b3e475ebeb (diff)
downloadgcc-34f6fbdb65c5e2a8ff1c6553592503532ef0141f.zip
gcc-34f6fbdb65c5e2a8ff1c6553592503532ef0141f.tar.gz
gcc-34f6fbdb65c5e2a8ff1c6553592503532ef0141f.tar.bz2
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
-rw-r--r--ChangeLog2
-rwxr-xr-xconfigure3
-rw-r--r--gcc/ChangeLog3
-rwxr-xr-xgcc/configure10
-rw-r--r--gcc/configure.in2
5 files changed, 13 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 024b601..2b4284e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/configure b/configure
index 95467f5..8698c45 100755
--- a/configure
+++ b/configure
@@ -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'
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3ec89f3..458ad1a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/configure b/gcc/configure
index 3f57a9e..dec87b3 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -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
diff --git a/gcc/configure.in b/gcc/configure.in
index 2353804..a35ad2c 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -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)