- give configure error if you try --enable-debugger and --enable-gdb-stub
at the same time.
This commit is contained in:
parent
4e9db8b224
commit
e44407be1d
7
bochs/configure
vendored
7
bochs/configure
vendored
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in,v 1.145 2002/10/03 02:26:32 bdenney Exp .
|
||||
# From configure.in Id: configure.in,v 1.147 2002/10/03 21:03:16 bdenney Exp .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.53.
|
||||
#
|
||||
@ -10658,6 +10658,11 @@ echo "${ECHO_T}yes" >&6
|
||||
_ACEOF
|
||||
|
||||
GDBSTUB_VAR='$(GDBSTUB_OBJS)'
|
||||
if test "$bx_debugger" = 1; then
|
||||
{ { echo "$as_me:$LINENO: error: --enable-debugger and --enable-gdb-stub are mutually exclusive" >&5
|
||||
echo "$as_me: error: --enable-debugger and --enable-gdb-stub are mutually exclusive" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
else
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
|
@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.50)
|
||||
AC_INIT(bochs.h)
|
||||
AC_REVISION([[$Id: configure.in,v 1.146 2002-10-03 05:23:20 bdenney Exp $]])
|
||||
AC_REVISION([[$Id: configure.in,v 1.147 2002-10-03 21:03:16 bdenney Exp $]])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl // Put Bochs version information right here so that it gets substituted
|
||||
@ -1249,6 +1249,9 @@ AC_ARG_ENABLE(gdb-stub,
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(BX_GDBSTUB, 1)
|
||||
GDBSTUB_VAR='$(GDBSTUB_OBJS)'
|
||||
if test "$bx_debugger" = 1; then
|
||||
AC_MSG_ERROR(--enable-debugger and --enable-gdb-stub are mutually exclusive)
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
AC_DEFINE(BX_GDBSTUB, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user