public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/modula-2] Added gcc/m2/configure.ac tests for Python3 and realpath.
@ 2022-03-02 22:29 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-03-02 22:29 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:11470d2c217175bb308dc4dade4f6f28103df1da

commit 11470d2c217175bb308dc4dade4f6f28103df1da
Author: q <gaius.mulley@southwales.ac.uk>
Date:   Wed Mar 2 22:27:45 2022 +0000

    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>

Diff:
---
 gcc/m2/ChangeLog     | 4 ++++
 gcc/m2/configure.ac  | 8 +++++++-
 gm2tools/Makefile.in | 2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 4a9e40e4488..a94e759cc04 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -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>
 
diff --git a/gcc/m2/configure.ac b/gcc/m2/configure.ac
index 4c219258d90..f76d69576df 100644
--- a/gcc/m2/configure.ac
+++ b/gcc/m2/configure.ac
@@ -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)
diff --git a/gm2tools/Makefile.in b/gm2tools/Makefile.in
index 386f2e4163a..d228a6a9b39 100644
--- a/gm2tools/Makefile.in
+++ b/gm2tools/Makefile.in
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 22:29 [gcc/devel/modula-2] Added gcc/m2/configure.ac tests for Python3 and realpath Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).