Re: [Patch] Exit gdb/configure.tgt for unsupported targets

Tom Tromey
2010-02-24T16:51:54Z

>>>>> "Ralf" == Ralf Corsepius <ralf.corsepius@rtems.org> writes:

Ralf> 2010-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf> * configure.tgt: Exit if ${gdb_target_obs}" is not set.

Ralf> +if test -z "${gdb_target_obs}"; then
Ralf> + echo "*** Configuration ${targ} is unsupported." >&2
Ralf> + exit 1
Ralf> +fi

I think it would be better to do the test in configure.ac and use
AC_MSG_ERROR.

Tom