X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fconfigure.ac;h=335971fdf669ff4a6911edf501f648a75ce1d4a6;hb=919adfe8409211c726c1d05b47ca59890ee648f1;hp=0ca169101b3f0ad34b044c6b147c3557d1616fd0;hpb=e8319fde715960466aca2461c74cec8907abd391;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/configure.ac b/gdb/configure.ac index 0ca169101b..335971fdf6 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -254,7 +254,6 @@ AC_SUBST(HAVE_NATIVE_GCORE_TARGET) # For other settings, only the main target counts. gdb_sim= gdb_osabi= -build_gdbserver= targ=$target; . ${srcdir}/configure.tgt # Fetch the default architecture and default target vector from BFD. @@ -2001,33 +2000,6 @@ if test x"${gdb_osabi}" != x ; then [Define to the default OS ABI for this configuration.]) fi -AC_ARG_ENABLE(gdbserver, -AS_HELP_STRING([--enable-gdbserver], - [automatically build gdbserver (yes/no/auto, default is auto)]), -[case "${enableval}" in - yes| no|auto) ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-gdbserver option) ;; -esac],[enable_gdbserver=auto]) - -# We only build gdbserver automatically in a native configuration, and -# only if the user did not explicitly disable its build. -if test "$gdb_native" = "yes" -a "$enable_gdbserver" != "no"; then - AC_MSG_CHECKING(whether gdbserver is supported on this host) - if test "x$build_gdbserver" = xyes; then - AC_MSG_RESULT(yes) - AC_CONFIG_SUBDIRS(gdbserver) - gdbserver_build_enabled=yes - else - AC_MSG_RESULT(no) - fi -fi - -# If the user explicitly request the gdbserver to be built, verify that -# we were in fact able to enable it. -if test "$enable_gdbserver" = "yes" -a "$gdbserver_build_enabled" != "yes"; then - AC_MSG_ERROR(Automatic gdbserver build is not supported for this configuration) -fi - # Check for babeltrace and babeltrace-ctf AC_ARG_WITH(babeltrace, AC_HELP_STRING([--with-babeltrace], [include babeltrace support (auto/yes/no)]),