Added gcc/m2/configure.ac tests for Python3 and realpath.

gcc/m2/ChangeLog:

      * m2/configure.ac: Added rule to test for Python3.  Added
      rule to detect realpath.

Signed-off-by: <gaius.mulley@southwales.ac.uk>
This commit is contained in:
q 2022-03-02 22:27:45 +00:00
parent 8df4f2c9f5
commit 11470d2c21
3 changed files with 12 additions and 2 deletions

View File

@ -14,6 +14,10 @@
is not deleted if the user specified -fmakeinit.
* mc-boot-ch/Glibc.c (libc_putenv): New function.
* ChangeLog-2021: (New file).
* m2/m2-link-support.h (GEN_SCAFFOLD_SRC): New definition.
(M2LINK) use GEN_SCAFFOLD_SRC to generate the scaffold name.
* m2/configure.ac: Added rule to test for Python3. Added rule to
detect realpath.
2022-01-25 Gaius Mulley <gaius.mulley@southwales.ac.uk>

View File

@ -24,7 +24,7 @@ AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
# Determine the noncanonical host name, for Ada.
# Determine the noncanonical host name, for Modula-2a.
ACX_NONCANONICAL_HOST
# Determine the noncanonical target name, for directory use.
@ -37,6 +37,12 @@ if test x$regex_flex = "x" ; then
AC_MSG_ERROR([flex is required to build GNU Modula-2 (hint install flex).])
fi
AC_CHECK_PROGS(regex_realpath, realpath)
if test x$regex_realpath = "x" ; then
AC_MSG_ERROR([realpath is required to build GNU Modula-2 (hint install coreutils).])
fi
AM_PATH_PYTHON([3.0])
AC_CHECK_FUNCS([stpcpy])
AC_DEFINE_UNQUOTED(AR_PATH, "$AR_PATH", the path to target archiver)

View File

@ -639,8 +639,8 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
@NATIVE_FALSE@uninstall-local:
@NATIVE_FALSE@install-exec-local:
@NATIVE_FALSE@uninstall-local:
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am