Build GDB as a C++ program by default
authorPedro Alves <palves@redhat.com>
Wed, 20 Apr 2016 22:20:15 +0000 (23:20 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 20 Apr 2016 22:20:15 +0000 (23:20 +0100)
This makes --enable-build-with-cxx be "yes" by default.

One must now configure with --enable-build-with-cxx=no in order to
build with a C compiler.

gdb/ChangeLog:
2016-04-20  Pedro Alves  <palves@redhat.com>

* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes.
* configure: Renegerate.

gdb/gdbserver/ChangeLog:
2016-04-20  Pedro Alves  <palves@redhat.com>

* configure: Renegerate.

gdb/ChangeLog
gdb/build-with-cxx.m4
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure

index 9dec80184ed8b3fd41681eccc6baebaaaf945ce0..30a306c63638746fd1603a1797bb5dfa5168bdb4 100644 (file)
@@ -1,3 +1,8 @@
+2016-04-20  Pedro Alves  <palves@redhat.com>
+
+       * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes.
+       * configure: Renegerate.
+
 2016-04-20  Pedro Alves  <palves@redhat.com>
 
        * darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host.
index 6eb9143479179b4c80eb5e304f866f164e0817a6..6077278a9e8750a6f16dd611e6a0a639d15c5aa4 100644 (file)
@@ -29,7 +29,7 @@ AC_DEFUN([GDB_AC_BUILD_WITH_CXX],
       *)
          AC_MSG_ERROR([bad value $enableval for --enable-build-with-cxx]) ;;
     esac],
-    [enable_build_with_cxx=no])
+    [enable_build_with_cxx=yes])
 
   if test "$enable_build_with_cxx" = "yes"; then
     COMPILER='$(CXX)'
index 8c2ec0f78d59bb73f1d8af1a98558322af7b8b32..3cf95e769986d78da5b81f77c2c6bd7abb76e2b6 100755 (executable)
@@ -4965,7 +4965,7 @@ if test "${enable_build_with_cxx+set}" = set; then :
          as_fn_error "bad value $enableval for --enable-build-with-cxx" "$LINENO" 5 ;;
     esac
 else
-  enable_build_with_cxx=no
+  enable_build_with_cxx=yes
 fi
 
 
index c2901305b16b374cdcee173a2cc4c5cadfedd01e..029205d3b86568520f684d5582ae5009f0d55f25 100644 (file)
@@ -1,3 +1,7 @@
+2016-04-20  Pedro Alves  <palves@redhat.com>
+
+       * configure: Renegerate.
+
 2016-04-20  Yao Qi  <yao.qi@linaro.org>
 
        * linux-aarch32-low.c: Include "arch/arm-linux.h".
index 208233571f59bd8e020512492f6e7eecbc18c51a..746218e3047094891a2c39a3e1a904fdf880dd11 100755 (executable)
@@ -4784,7 +4784,7 @@ if test "${enable_build_with_cxx+set}" = set; then :
          as_fn_error "bad value $enableval for --enable-build-with-cxx" "$LINENO" 5 ;;
     esac
 else
-  enable_build_with_cxx=no
+  enable_build_with_cxx=yes
 fi