aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-03-15 17:03:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-03-15 17:03:03 +0000
commitbf3071347e9457f11d04706163ebfc0bb7965de8 (patch)
treeb83e2db2021a834400ab5e36b333855bb7784cdc /gdb/configure.ac
parent64daa791abda1c6ac39c00c19719a06af3cbe787 (diff)
downloadgdb-bf3071347e9457f11d04706163ebfc0bb7965de8.zip
gdb-bf3071347e9457f11d04706163ebfc0bb7965de8.tar.gz
gdb-bf3071347e9457f11d04706163ebfc0bb7965de8.tar.bz2
Fail gdb configure if target is not supported.
* configure.ac: Exit if ${gdb_target_obs}" is not set. * configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 5e77f59..434c5b4 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -161,6 +161,9 @@ do
. ${srcdir}/configure.tgt
+ AS_IF([test -z "${gdb_target_obs}"],
+ [AC_MSG_ERROR([configuration ${targ} is unsupported.])])
+
# Target-specific object files
for i in ${gdb_target_obs}; do
case " $TARGET_OBS " in