binutils-gdb/sim/testsuite/configure.ac
Andrew Burgess 043f5c63f0 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.
2020-10-06 11:29:44 +01:00

33 lines
756 B
Plaintext

dnl Process this file file with autoconf to produce a configure script.
dnl This file is a shell script fragment that supplies the information
dnl necessary to tailor a template configure script into the configure
dnl script appropriate for this directory. For more information, check
dnl any existing configure script.
AC_INIT(common/bits-tst.c)
CC=${CC-cc}
AC_SUBST(CC)
AC_CONFIG_AUX_DIR(../..)
AC_CANONICAL_SYSTEM
# Configure sub-directory for appropriate targets
case ${target} in
d10v-*-elf )
AC_CONFIG_SUBDIRS(d10v-elf)
;;
frv-*-elf )
AC_CONFIG_SUBDIRS(frv-elf)
;;
m32r-*-elf )
AC_CONFIG_SUBDIRS(m32r-elf)
;;
mips64el-*-elf )
AC_CONFIG_SUBDIRS(mips64el-elf)
;;
esac
sinclude(../configure.tgt)
AC_OUTPUT(Makefile)