diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-10-05 09:53:50 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-10-06 11:29:44 +0100 |
commit | 043f5c63f06e9a376f189df54507666f3d30ed77 (patch) | |
tree | 6b47cce9d8155df2e1a31b40f35e5519b981e728 /sim/testsuite/mips64el-elf/configure | |
parent | 31a8f60f2f31fccc1be955a692f1bd5330f8650d (diff) | |
download | gdb-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/mips64el-elf/configure')
-rwxr-xr-x | sim/testsuite/mips64el-elf/configure | 4 |
1 files changed, 2 insertions, 2 deletions
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, |