aboutsummaryrefslogtreecommitdiff
path: root/gdb/build-with-cxx.m4
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-20 23:20:15 +0100
committerPedro Alves <palves@redhat.com>2016-04-20 23:20:15 +0100
commita23585089d7ba710b238d3d1ab3d34320afa48d0 (patch)
treebcec1e873a6543f9f07e97781078d04928c08f07 /gdb/build-with-cxx.m4
parent5ae0055212a4835793815dbd8fa120d8c63fc7e8 (diff)
downloadgdb-a23585089d7ba710b238d3d1ab3d34320afa48d0.zip
gdb-a23585089d7ba710b238d3d1ab3d34320afa48d0.tar.gz
gdb-a23585089d7ba710b238d3d1ab3d34320afa48d0.tar.bz2
Build GDB as a C++ program by default
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.
Diffstat (limited to 'gdb/build-with-cxx.m4')
-rw-r--r--gdb/build-with-cxx.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/build-with-cxx.m4 b/gdb/build-with-cxx.m4
index 6eb9143..6077278 100644
--- a/gdb/build-with-cxx.m4
+++ b/gdb/build-with-cxx.m4
@@ -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)'