public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Gaius Mulley <gaius@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/modula-2] Added gcc/m2/configure.ac tests for Python3 and realpath. Date: Wed, 2 Mar 2022 22:29:41 +0000 (GMT) [thread overview] Message-ID: <20220302222941.82E663858D39@sourceware.org> (raw) 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
reply other threads:[~2022-03-02 22:29 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220302222941.82E663858D39@sourceware.org \ --to=gaius@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).