aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-10-05 09:53:50 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-10-06 11:29:44 +0100
commit043f5c63f06e9a376f189df54507666f3d30ed77 (patch)
tree6b47cce9d8155df2e1a31b40f35e5519b981e728 /sim/testsuite
parent31a8f60f2f31fccc1be955a692f1bd5330f8650d (diff)
downloadgdb-043f5c63f06e9a376f189df54507666f3d30ed77.zip
gdb-043f5c63f06e9a376f189df54507666f3d30ed77.tar.gz
gdb-043f5c63f06e9a376f189df54507666f3d30ed77.tar.bz2
sim: Fix autoreconf errors in sim/ directory
Run autoreconf in sim/ directory and you'll see some errors. The problem is that autoreconf (a perl script) does not evaluate the value passed as an argument to AC_CONFIG_AUX_DIR, so something like: AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..) does not do the right thing inside autoreconf, my understanding is that changing to something like this is fine: AC_CONFIG_AUX_DIR(../..) the generated configure seems to check the value passed, and the value passed relative to the source directory, so I think we get basically the same behaviour as before. sim/testsuite/ChangeLog: * configure: Regnerate. * configure.ac (AC_CONFIG_AUX_DIR): Update. sim/testsuite/d10v-elf/ChangeLog: * configure: Regnerate. * configure.ac (AC_CONFIG_AUX_DIR): Update. sim/testsuite/frv-elf/ChangeLog: * configure: Regnerate. * configure.ac (AC_CONFIG_AUX_DIR): Update. sim/testsuite/m32r-elf/ChangeLog: * configure: Regnerate. * configure.ac (AC_CONFIG_AUX_DIR): Update. sim/testsuite/mips64el-elf/ChangeLog: * configure: Regnerate. * configure.ac (AC_CONFIG_AUX_DIR): Update.
Diffstat (limited to 'sim/testsuite')
-rw-r--r--sim/testsuite/ChangeLog5
-rwxr-xr-xsim/testsuite/configure4
-rw-r--r--sim/testsuite/configure.ac2
-rw-r--r--sim/testsuite/d10v-elf/ChangeLog5
-rwxr-xr-xsim/testsuite/d10v-elf/configure4
-rw-r--r--sim/testsuite/d10v-elf/configure.ac2
-rw-r--r--sim/testsuite/frv-elf/ChangeLog5
-rwxr-xr-xsim/testsuite/frv-elf/configure4
-rw-r--r--sim/testsuite/frv-elf/configure.ac2
-rw-r--r--sim/testsuite/m32r-elf/ChangeLog5
-rwxr-xr-xsim/testsuite/m32r-elf/configure4
-rw-r--r--sim/testsuite/m32r-elf/configure.ac2
-rw-r--r--sim/testsuite/mips64el-elf/ChangeLog5
-rwxr-xr-xsim/testsuite/mips64el-elf/configure4
-rw-r--r--sim/testsuite/mips64el-elf/configure.ac2
15 files changed, 40 insertions, 15 deletions
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 14055f8..e8dedaf 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * configure: Regnerate.
+ * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
2020-09-08 David Faust <david.faust@oracle.com>
* sim/bpf/alu.s: Correct div and mod tests.
diff --git a/sim/testsuite/configure b/sim/testsuite/configure
index c3674c2..6f0464d 100755
--- a/sim/testsuite/configure
+++ b/sim/testsuite/configure
@@ -1688,7 +1688,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CC=${CC-cc}
ac_aux_dir=
-for ac_dir in `cd $srcdir;pwd`/../.. "$srcdir"/`cd $srcdir;pwd`/../..; do
+for ac_dir in ../.. "$srcdir"/../..; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1704,7 +1704,7 @@ for ac_dir in `cd $srcdir;pwd`/../.. "$srcdir"/`cd $srcdir;pwd`/../..; do
fi
done
if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../.." "$LINENO" 5
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
fi
# These three variables are undocumented and unsupported,
diff --git a/sim/testsuite/configure.ac b/sim/testsuite/configure.ac
index 5d75387..faaf38d 100644
--- a/sim/testsuite/configure.ac
+++ b/sim/testsuite/configure.ac
@@ -8,7 +8,7 @@ AC_INIT(common/bits-tst.c)
CC=${CC-cc}
AC_SUBST(CC)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
+AC_CONFIG_AUX_DIR(../..)
AC_CANONICAL_SYSTEM
# Configure sub-directory for appropriate targets
diff --git a/sim/testsuite/d10v-elf/ChangeLog b/sim/testsuite/d10v-elf/ChangeLog
index 839b20a..fec8767 100644
--- a/sim/testsuite/d10v-elf/ChangeLog
+++ b/sim/testsuite/d10v-elf/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * configure: Regnerate.
+ * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
2015-03-30 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (RUNFLAGS_FOR_TARGET): Set to --environment operating.
diff --git a/sim/testsuite/d10v-elf/configure b/sim/testsuite/d10v-elf/configure
index 27f3cf4..5686b7e 100755
--- a/sim/testsuite/d10v-elf/configure
+++ b/sim/testsuite/d10v-elf/configure
@@ -1682,7 +1682,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CC=${CC-cc}
ac_aux_dir=
-for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
+for ac_dir in ../../.. "$srcdir"/../../..; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1698,7 +1698,7 @@ for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
fi
done
if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../../.." "$LINENO" 5
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../.. \"$srcdir\"/../../.." "$LINENO" 5
fi
# These three variables are undocumented and unsupported,
diff --git a/sim/testsuite/d10v-elf/configure.ac b/sim/testsuite/d10v-elf/configure.ac
index 40e1c12..278d84d 100644
--- a/sim/testsuite/d10v-elf/configure.ac
+++ b/sim/testsuite/d10v-elf/configure.ac
@@ -9,7 +9,7 @@ AC_INIT(Makefile.in)
CC=${CC-cc}
AC_SUBST(CC)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
+AC_CONFIG_AUX_DIR(../../..)
AC_CANONICAL_SYSTEM
AC_SUBST(target_cpu)
diff --git a/sim/testsuite/frv-elf/ChangeLog b/sim/testsuite/frv-elf/ChangeLog
index c7fdbc8..904de02 100644
--- a/sim/testsuite/frv-elf/ChangeLog
+++ b/sim/testsuite/frv-elf/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * configure: Regnerate.
+ * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
diff --git a/sim/testsuite/frv-elf/configure b/sim/testsuite/frv-elf/configure
index 27f3cf4..5686b7e 100755
--- a/sim/testsuite/frv-elf/configure
+++ b/sim/testsuite/frv-elf/configure
@@ -1682,7 +1682,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CC=${CC-cc}
ac_aux_dir=
-for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
+for ac_dir in ../../.. "$srcdir"/../../..; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1698,7 +1698,7 @@ for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
fi
done
if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../../.." "$LINENO" 5
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../.. \"$srcdir\"/../../.." "$LINENO" 5
fi
# These three variables are undocumented and unsupported,
diff --git a/sim/testsuite/frv-elf/configure.ac b/sim/testsuite/frv-elf/configure.ac
index 40e1c12..278d84d 100644
--- a/sim/testsuite/frv-elf/configure.ac
+++ b/sim/testsuite/frv-elf/configure.ac
@@ -9,7 +9,7 @@ AC_INIT(Makefile.in)
CC=${CC-cc}
AC_SUBST(CC)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
+AC_CONFIG_AUX_DIR(../../..)
AC_CANONICAL_SYSTEM
AC_SUBST(target_cpu)
diff --git a/sim/testsuite/m32r-elf/ChangeLog b/sim/testsuite/m32r-elf/ChangeLog
index 14516f8..78512ec 100644
--- a/sim/testsuite/m32r-elf/ChangeLog
+++ b/sim/testsuite/m32r-elf/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * configure: Regnerate.
+ * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
diff --git a/sim/testsuite/m32r-elf/configure b/sim/testsuite/m32r-elf/configure
index 27f3cf4..5686b7e 100755
--- a/sim/testsuite/m32r-elf/configure
+++ b/sim/testsuite/m32r-elf/configure
@@ -1682,7 +1682,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CC=${CC-cc}
ac_aux_dir=
-for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
+for ac_dir in ../../.. "$srcdir"/../../..; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1698,7 +1698,7 @@ for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
fi
done
if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../../.." "$LINENO" 5
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../.. \"$srcdir\"/../../.." "$LINENO" 5
fi
# These three variables are undocumented and unsupported,
diff --git a/sim/testsuite/m32r-elf/configure.ac b/sim/testsuite/m32r-elf/configure.ac
index 40e1c12..278d84d 100644
--- a/sim/testsuite/m32r-elf/configure.ac
+++ b/sim/testsuite/m32r-elf/configure.ac
@@ -9,7 +9,7 @@ AC_INIT(Makefile.in)
CC=${CC-cc}
AC_SUBST(CC)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
+AC_CONFIG_AUX_DIR(../../..)
AC_CANONICAL_SYSTEM
AC_SUBST(target_cpu)
diff --git a/sim/testsuite/mips64el-elf/ChangeLog b/sim/testsuite/mips64el-elf/ChangeLog
index b1f3da4..7717ca1 100644
--- a/sim/testsuite/mips64el-elf/ChangeLog
+++ b/sim/testsuite/mips64el-elf/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * configure: Regnerate.
+ * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
diff --git a/sim/testsuite/mips64el-elf/configure b/sim/testsuite/mips64el-elf/configure
index 27f3cf4..5686b7e 100755
--- a/sim/testsuite/mips64el-elf/configure
+++ b/sim/testsuite/mips64el-elf/configure
@@ -1682,7 +1682,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CC=${CC-cc}
ac_aux_dir=
-for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
+for ac_dir in ../../.. "$srcdir"/../../..; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1698,7 +1698,7 @@ for ac_dir in `cd $srcdir;pwd`/../../.. "$srcdir"/`cd $srcdir;pwd`/../../..; do
fi
done
if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../../.." "$LINENO" 5
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../.. \"$srcdir\"/../../.." "$LINENO" 5
fi
# These three variables are undocumented and unsupported,
diff --git a/sim/testsuite/mips64el-elf/configure.ac b/sim/testsuite/mips64el-elf/configure.ac
index 40e1c12..278d84d 100644
--- a/sim/testsuite/mips64el-elf/configure.ac
+++ b/sim/testsuite/mips64el-elf/configure.ac
@@ -9,7 +9,7 @@ AC_INIT(Makefile.in)
CC=${CC-cc}
AC_SUBST(CC)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
+AC_CONFIG_AUX_DIR(../../..)
AC_CANONICAL_SYSTEM
AC_SUBST(target_cpu)