]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure: Turn on libstdc++ V3 by default.
authorMark Mitchell <mark@codesourcery.com>
Mon, 13 Nov 2000 01:15:40 +0000 (01:15 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 13 Nov 2000 01:15:40 +0000 (01:15 +0000)
* configure: Turn on libstdc++ V3 by default.

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

From-SVN: r37415

ChangeLog
configure
gcc/ChangeLog
gcc/configure
gcc/configure.in

index 024b60186f90d748e502bf8394aa99170fede222..2b4284e1aac65f6bcb613a8f915456510fcdd093 100644 (file)
--- 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.
 
index 95467f5a3cc70d572e0b103c4b74b3d8d304e3e2..8698c45f730c0741be3e84d0c201ddfef96779fc 100755 (executable)
--- 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'
index 3ec89f3382ea42ae32f7965a3f9449c72ddba4ee..458ad1ae1839a3293c2cc5694a994707a475785f 100644 (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>
index 3f57a9ecf6c25e3cfb6a0d38add69b6882976edb..dec87b3dbf816bcb50812b0b6f284df47a38aab4 100755 (executable)
@@ -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
 
 
index 2353804fcb7725daa19d084b88188f2650be7911..a35ad2c017b7cd4ac4e9f17e72ecc83e40f75c54 100644 (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)