* configure.in: Remove all use of the SUBDIRS variable; add
directories using the AC_CONFIG_SUBDIRS macro instead. Polish code providing the --enable-multi-ice option, and move it right in front of the code that checks whether gdbserver is supported. Polish that too. * configure: Regenerated. * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of @SUBDIRS@.
This commit is contained in:
parent
38ea52b394
commit
8dcde88743
4 changed files with 450 additions and 450 deletions
|
@ -1,3 +1,14 @@
|
||||||
|
2003-01-03 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Remove all use of the SUBDIRS variable; add
|
||||||
|
directories using the AC_CONFIG_SUBDIRS macro instead. Polish
|
||||||
|
code providing the --enable-multi-ice option, and move it right in
|
||||||
|
front of the code that checks whether gdbserver is supported.
|
||||||
|
Polish that too.
|
||||||
|
* configure: Regenerated.
|
||||||
|
* Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
|
||||||
|
@SUBDIRS@.
|
||||||
|
|
||||||
2003-01-03 Andrew Cagney <cagney@redhat.com>
|
2003-01-03 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* alpha-tdep.c: Use deprecated_update_frame_base_hack.
|
* alpha-tdep.c: Use deprecated_update_frame_base_hack.
|
||||||
|
|
|
@ -838,7 +838,7 @@ OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
|
||||||
|
|
||||||
TSOBS = inflow.o
|
TSOBS = inflow.o
|
||||||
|
|
||||||
SUBDIRS = @SUBDIRS@
|
SUBDIRS = @subdirs@
|
||||||
|
|
||||||
# For now, shortcut the "configure GDB for fewer languages" stuff.
|
# For now, shortcut the "configure GDB for fewer languages" stuff.
|
||||||
YYFILES = c-exp.tab.c \
|
YYFILES = c-exp.tab.c \
|
||||||
|
|
825
gdb/configure
vendored
825
gdb/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -60,21 +60,8 @@ CONFIG_CLEAN=
|
||||||
CONFIG_INSTALL=
|
CONFIG_INSTALL=
|
||||||
CONFIG_UNINSTALL=
|
CONFIG_UNINSTALL=
|
||||||
|
|
||||||
SUBDIRS="doc testsuite nlm"
|
AC_CONFIG_SUBDIRS(doc testsuite)
|
||||||
configdirs="doc testsuite"
|
configdirs=
|
||||||
|
|
||||||
AC_ARG_ENABLE(multi-ice,
|
|
||||||
[ --enable-multi-ice Build the multi-ice-gdb-server],
|
|
||||||
[case "${enableval}" in
|
|
||||||
yes ) enable_multi_ice="yes" ;;
|
|
||||||
no) enable_multi_ice="no" ;;
|
|
||||||
*) AC_MSG_ERROR(Bad value for --enable-multi-ice: ${enableval}) ;;
|
|
||||||
esac
|
|
||||||
])
|
|
||||||
|
|
||||||
if test "${enable_multi_ice}" = "yes"; then
|
|
||||||
configdirs="${configdirs} multi-ice"
|
|
||||||
fi
|
|
||||||
|
|
||||||
. $srcdir/configure.host
|
. $srcdir/configure.host
|
||||||
|
|
||||||
|
@ -1118,7 +1105,6 @@ if test "${enable_gdbtk}" = "yes"; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SUBDIRS="${SUBDIRS} gdbtk"
|
|
||||||
configdirs="${configdirs} gdbtk"
|
configdirs="${configdirs} gdbtk"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1324,22 +1310,31 @@ case "${GDB_MULTI_ARCH}" in
|
||||||
*) AC_MSG_ERROR("GDB: Unknown GDB_MULTI_ARCH value ${GDB_MULTI_ARCH}");;
|
*) AC_MSG_ERROR("GDB: Unknown GDB_MULTI_ARCH value ${GDB_MULTI_ARCH}");;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test "${enable_multi_ice}" = "yes"; then
|
# Enable multi-ice-gdb-server.
|
||||||
SUBDIRS="${SUBDIRS} multi-ice"
|
AC_ARG_ENABLE(multi-ice,
|
||||||
|
[ --enable-multi-ice build the multi-ice-gdb-server],
|
||||||
|
[case $enableval in
|
||||||
|
yes | no)
|
||||||
|
;;
|
||||||
|
*) AC_MSG_ERROR([bad value $enableval for --enable-multi-ice]) ;;
|
||||||
|
esac])
|
||||||
|
if test "x$enable_multi_ice" = xyes; then
|
||||||
|
configdirs="$configdirs multi-ice"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ``gdbserver'' can only be built in a native configuration.
|
# We only build gdbserver automatically if host and target are the same.
|
||||||
if test x"${target}" = x"${host}"; then
|
if test "x$target" = "x$host"; then
|
||||||
AC_MSG_CHECKING(whether gdbserver is supported on this host)
|
AC_MSG_CHECKING(whether gdbserver is supported on this host)
|
||||||
if test x"${build_gdbserver}" = xyes ; then
|
if test "x$build_gdbserver" = xyes; then
|
||||||
configdirs="${configdirs} gdbserver"
|
configdirs="$configdirs gdbserver"
|
||||||
SUBDIRS="${SUBDIRS} gdbserver"
|
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_CONFIG_SUBDIRS($configdirs)
|
||||||
|
SUBDIRS=$subdirs
|
||||||
AC_SUBST(SUBDIRS)
|
AC_SUBST(SUBDIRS)
|
||||||
|
|
||||||
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
||||||
|
@ -1399,7 +1394,6 @@ AC_DEFINE(GDB_DEFAULT_HOST_CHARSET, "ISO-8859-1",
|
||||||
|
|
||||||
AM_ICONV
|
AM_ICONV
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS($configdirs)
|
|
||||||
AC_OUTPUT(Makefile .gdbinit:gdbinit.in,
|
AC_OUTPUT(Makefile .gdbinit:gdbinit.in,
|
||||||
[
|
[
|
||||||
dnl Autoconf doesn't provide a mechanism for modifying definitions
|
dnl Autoconf doesn't provide a mechanism for modifying definitions
|
||||||
|
|
Loading…
Add table
Reference in a new issue