aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-04-21 05:15:41 +0000
committerAlan Modra <amodra@gmail.com>2007-04-21 05:15:41 +0000
commitc43a438d5eb0a2e19397a4c0fb51ce3a68ed1503 (patch)
tree3dd24ccc5105a905d362369120b9c118e42752a0 /gas/configure.in
parent717bbdf18106a202656b1f34c03b02f52b84a849 (diff)
downloadgdb-c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503.zip
gdb-c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503.tar.gz
gdb-c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503.tar.bz2
* as.h (ENABLE_CHECKING): Default define to 0.
(know): Assert if ENABLE_CHECKING. (struct relax_type): Remove superfluous declaration. * configure.in (--enable-checking): New. * configure: Regenerate. * config.in: Regenerate. * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING. Check for duplicate powerpc_operands entries.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index af242e2..02e8e53 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -30,6 +30,7 @@ AC_ARG_ENABLE(targets,
no) enable_targets= ;;
*) enable_targets=$enableval ;;
esac])dnl
+
AC_ARG_ENABLE(commonbfdlib,
[ --enable-commonbfdlib build shared BFD/opcodes/libiberty library],
[case "${enableval}" in
@@ -38,6 +39,20 @@ AC_ARG_ENABLE(commonbfdlib,
*) AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
esac])dnl
+ac_checking=yes
+if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then
+ ac_checking=
+fi
+AC_ARG_ENABLE(checking,
+[ --enable-checking enable run-time checks],
+[case "${enableval}" in
+ no|none) ac_checking= ;;
+ *) ac_checking=yes ;;
+esac])dnl
+if test x$ac_checking != x ; then
+ AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want run-time sanity checks.])
+fi
+
using_cgen=no
AM_BINUTILS_WARNINGS