aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-01-28 09:33:28 +1030
committerAlan Modra <amodra@gmail.com>2019-01-28 09:59:16 +1030
commite044973b0cadb4c36c2a2c11e908d758b8cd75f9 (patch)
tree6edc4283b17a35877d2ec5c105e3cb94e5f10d43 /gas
parent1dbc40b9d70b95717abb0db6865a12ebd7d91b06 (diff)
downloadgdb-e044973b0cadb4c36c2a2c11e908d758b8cd75f9.zip
gdb-e044973b0cadb4c36c2a2c11e908d758b8cd75f9.tar.gz
gdb-e044973b0cadb4c36c2a2c11e908d758b8cd75f9.tar.bz2
Control gas enable-checking default by bfd/development.sh
* configure.ac (ac_checking): Set from bfd/development.sh development variable. * configure: Regenerate.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rwxr-xr-xgas/configure7
-rw-r--r--gas/configure.ac7
3 files changed, 12 insertions, 8 deletions
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 <amodra@gmail.com>
+
+ * configure.ac (ac_checking): Set from bfd/development.sh
+ development variable.
+ * configure: Regenerate.
+
2019-01-25 Sudakshina Das <sudi.das@arm.com>
* 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