[binutils-gdb] gdb/testsuite: modernize configure.ac

Simon Marchi simark@sourceware.org
Sat Oct 31 12:33:15 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e5b0dd0249bf568f748f207272583bd660e9c79

commit 0e5b0dd0249bf568f748f207272583bd660e9c79
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Sat Oct 31 08:30:58 2020 -0400

    gdb/testsuite: modernize configure.ac
    
    Run autoupdate, the only change is to split AC_INIT into AC_INIT and
    AC_CONFIG_SRCDIR.
    
    gdb/testsuite/ChangeLog:
    
            * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
            * configure: Re-generate.
    
    Change-Id: I6e40c0261bda4fe9144b896799ef460d23e22e09

Diff:
---
 gdb/testsuite/ChangeLog    | 5 +++++
 gdb/testsuite/configure    | 1 +
 gdb/testsuite/configure.ac | 3 ++-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3ed7d4f33e8..9b8370a4523 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
+	* configure: Re-generate.
+
 2020-10-30  Simon Marchi  <simon.marchi@efficios.com>
 
 	* gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure
index 0de60744600..3b0d4ed8ad3 100755
--- a/gdb/testsuite/configure
+++ b/gdb/testsuite/configure
@@ -2008,6 +2008,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   if test -f "$ac_dir/install-sh"; then
diff --git a/gdb/testsuite/configure.ac b/gdb/testsuite/configure.ac
index cc62c3fc45b..c1dd130e65c 100644
--- a/gdb/testsuite/configure.ac
+++ b/gdb/testsuite/configure.ac
@@ -16,7 +16,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-AC_INIT(gdb.base)
+AC_INIT
+AC_CONFIG_SRCDIR([gdb.base])
 
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST


More information about the Gdb-cvs mailing list