Control gas enable-checking default by bfd/development.sh
authorAlan Modra <amodra@gmail.com>
Sun, 27 Jan 2019 23:03:28 +0000 (09:33 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 27 Jan 2019 23:29:16 +0000 (09:59 +1030)
* configure.ac (ac_checking): Set from bfd/development.sh
development variable.
* configure: Regenerate.

gas/ChangeLog
gas/configure
gas/configure.ac

index 75b60e26313c634584e37dcd8ce717710ae401c7..69205dda36e4e18b5389e22e6ed682058c7b9363 100644 (file)
@@ -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
index 014af3c76c5c13f4c3b2c9f90e06e7fe5c6612f1..6f3307b46226a7d5d0dca8f068b6998a8100e0e6 100755 (executable)
@@ -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
index 105d708253a68e327a9a0bc5e2acd009deefb02e..cc4bae0957253c1a57f11da0c969855c68b5d86b 100644 (file)
@@ -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