From e044973b0cadb4c36c2a2c11e908d758b8cd75f9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 28 Jan 2019 09:33:28 +1030 Subject: Control gas enable-checking default by bfd/development.sh * configure.ac (ac_checking): Set from bfd/development.sh development variable. * configure: Regenerate. --- gas/ChangeLog | 6 ++++++ gas/configure | 7 +++---- gas/configure.ac | 7 +++---- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 75b60e2..69205dd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2019-01-28 Alan Modra + + * configure.ac (ac_checking): Set from bfd/development.sh + development variable. + * configure: Regenerate. + 2019-01-25 Sudakshina Das * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt diff --git a/gas/configure b/gas/configure index 014af3c..6f3307b 100755 --- a/gas/configure +++ b/gas/configure @@ -12050,10 +12050,9 @@ if test "${enable_targets+set}" = set; then : esac fi -ac_checking=yes -if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then - ac_checking= -fi +ac_checking= +. ${srcdir}/../bfd/development.sh +test "$development" = true && ac_checking=yes # Check whether --enable-checking was given. if test "${enable_checking+set}" = set; then : enableval=$enable_checking; case "${enableval}" in diff --git a/gas/configure.ac b/gas/configure.ac index 105d708..cc4bae0 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -50,10 +50,9 @@ AC_ARG_ENABLE(targets, *) enable_targets=$enableval ;; esac])dnl -ac_checking=yes -if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then - ac_checking= -fi +ac_checking= +. ${srcdir}/../bfd/development.sh +test "$development" = true && ac_checking=yes AC_ARG_ENABLE(checking, [ --enable-checking enable run-time checks], [case "${enableval}" in -- cgit v1.1