diff options
author | Nick Clifton <nickc@redhat.com> | 2003-08-01 08:35:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-08-01 08:35:04 +0000 |
commit | 91fb2a9d47c50cbd56e24b24c86f47972edc2be5 (patch) | |
tree | 5427b4aef9e5dfb04d5782aa99dbe86975a495cc /bfd/config.bfd | |
parent | 2097767332a3b2395da7015d076c33c0bb182d32 (diff) | |
download | gdb-91fb2a9d47c50cbd56e24b24c86f47972edc2be5.zip gdb-91fb2a9d47c50cbd56e24b24c86f47972edc2be5.tar.gz gdb-91fb2a9d47c50cbd56e24b24c86f47972edc2be5.tar.bz2 |
Add code to catch obsolete configurations and warn about them unless
--enable-obsolete is used. Use this to mark vax-vms port as obsolete.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r-- | bfd/config.bfd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index f658c03..a149675 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -29,6 +29,20 @@ targ64_selvecs= targ_cflags= targ_underscore=no +# Catch obsolete configurations. +case $targ in + vax-*-vms* \ + ) + if test "x$enable_obsolete" != xyes; then + echo "*** Configuration $targ is obsolete." >&2 + echo "*** Specify --enable-obsolete to build it anyway." >&2 + echo "*** Support will be REMOVED in the next major release of BINUTILS," >&2 + echo "*** unless a maintainer comes forward." >&2 + exit 1 + fi;; +esac + + targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` case "${targ_cpu}" in alpha*) targ_archs=bfd_alpha_arch ;; |