[PATCH] sim: Fix autoreconf errors in sim/ directory

Simon Marchi simark@simark.ca
Mon Oct 5 18:01:02 GMT 2020


On 2020-10-05 1:13 p.m., Andrew Burgess wrote:
> 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.

Looking at the generates configure files, I think that it's good.

Simon


More information about the Gdb-patches mailing list