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.
This commit is contained in:
Pedro Alves 2016-04-20 23:20:15 +01:00
parent 5ae0055212
commit a23585089d
5 changed files with 12 additions and 3 deletions

View 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.

View 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)'

2
gdb/configure vendored
View File

@ -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

View 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".

View File

@ -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