From unknown Mon Jun 23 04:09:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#75807 <75807@debbugs.gnu.org> To: bug#75807 <75807@debbugs.gnu.org> Subject: Status: [PATCH,WIP] Support for the Algol 68 language Reply-To: bug#75807 <75807@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:09:42 +0000 retitle 75807 [PATCH,WIP] Support for the Algol 68 language reassign 75807 automake-patches submitter 75807 "Jose E. Marchesi" severity 75807 normal tag 75807 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 24 10:29:40 2025 Received: (at submit) by debbugs.gnu.org; 24 Jan 2025 15:29:40 +0000 Received: from localhost ([127.0.0.1]:46572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbLcp-00067D-H3 for submit@debbugs.gnu.org; Fri, 24 Jan 2025 10:29:40 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54686) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbLck-00066u-Nb for submit@debbugs.gnu.org; Fri, 24 Jan 2025 10:29:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbLcf-000894-07 for automake-patches@gnu.org; Fri, 24 Jan 2025 10:29:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbLcb-0002oZ-An for automake-patches@gnu.org; Fri, 24 Jan 2025 10:29:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=qnTZGVwAykgOj02M+mGJR/4Mpc3rGndg+L+93vzHmfU=; b=e+7KUnfMkWHklP 1rZh2G07fF/CbOT5kOE5OK8NFsBC+bzVb1y+UE1uw53ccNyvzqF0jcJwMXn84Ssr0igHUYrMsg3Fv 2J9zhwc/F7K9LWJY2RxsT7DvhBCwaBx/0ePoMQARTVtggK48PAdGNmibEa6z8voaw7Yv2AZjGLV5T Of1Q/nsZ7J0Q9KOJa2xFy64xDewRC4LE0Q3dj/MJFUO7YLUzp59233M6NCoECAK1F7XeG5+rF0BRe 5ZyoKGMuDMFzyEBahletb5OBJ0JGqI1wQFFzTsLIh7vgOCbF3itjdw9PT8BQ6xWaHrUIOJMBtc6V0 VbINRK+KxgZszMGzMXqg==; From: "Jose E. Marchesi" To: automake-patches@gnu.org Subject: [PATCH,WIP] Support for the Algol 68 language Date: Fri, 24 Jan 2025 01:23:47 +0100 Message-ID: <877c6ldppo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Hello. This patch adds support for the Algol 68 programming language to Automake. It is based on the Algol 68 GCC front-end, which is currently under development [1]. A WIP series got sent to gcc-patches in January [2], and the front-end is temporarily hosted in the sourceware forge until integration in GCC is completed [3]. The full language is (almost) already implemented, the compiler is useful and I plan to send official patches for inclusion in GCC 16 very soon. In the meanwhile, I would like to have both autoconf and automake support ready to be added upstream once the front-end lands. This WIP seems to work for me: make, make install, make dist, etc. With a Makefile.am like this: ---- bin_PROGRAMS = program godcc_SOURCES = program.a68 ---- But I am not familiar with the Automake internals and it is likely I am missing something and/or doing something wrong. Comments are welcome. A patch adding Algol 68 support to autoconf has been sent to autoconf-patches@. Salud! [1] https://gcc.gnu.org/wiki/Algol68FrontEnd [2] https://inbox.sourceware.org/gcc-patches/20250101020952.18404-1-jose.marchesi@oracle.com/T/#t [3] https://forge.sourceforge.org/jemarch/a68-gcc Add support for the Algol 68 programming language. * NEWS: Add entry for Algol 68. * bin/automake.in: Call register_language for Algol 68. (resolve_linker): handle A68LINK. (%_am_macro_for_cond): Add entry for am__fastdepGA68. * configure.ac: Look for ga68 and set GNU_GA68 and GNU_A68FLAGS if fuond. * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for GA68 and GA68FLAGS. diff --git a/NEWS b/NEWS index b4c50ffc6..9da978c39 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,10 @@ please see NEWS-future and start following the advice there now. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.x: +* New supported languages: + + - Support for Algol 68 has been added; based on the GNU Algol 68 compiler. + * Miscellaneous changes - Only require the presence of an ABOUT-NLS file at the 'gnits' diff --git a/bin/automake.in b/bin/automake.in index 5d3e7c766..bc5c3838a 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -1023,6 +1023,24 @@ register_language ('name' => 'java', 'pure' => 1, 'extensions' => ['.java', '.class', '.zip', '.jar']); +# Algol 68 in GCC +register_language ('name' => 'a68', + 'Name' => 'Algol 68', + 'config_vars' => ['GA68'], + 'linker' => 'A68LINK', + 'link' => '$(A68LD) $(AM_A68FLAGS) $(A68FLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@', + 'flags' => ['A68FLAGS'], + 'compile' => '$(GA68) $(AM_A68FLAGS) $(A68FLAGS)', + 'ccer' => 'GA68', + 'compiler' => 'A68COMPILE', + 'compile_flag' => '-c', + 'output_flag' => '-o', + 'libtool_tag' => 'GA68', + 'lder' => 'A68LD', + 'ld' => '$(GA68)', + 'pure' => 1, + 'extensions' => ['.a68']); + ################################################################ # Error reporting functions. @@ -5564,7 +5582,7 @@ EOF if (0 == keys %libtool_tags) { # Hardcode the tags supported by Libtool 1.5. - %libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1); + %libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1, GA68 => 1); } } } @@ -6057,7 +6075,7 @@ sub resolve_linker { my (%linkers) = @_; - foreach my $l (qw(GCJLINK OBJCXXLINK CXXLINK F77LINK FCLINK OBJCLINK UPCLINK)) + foreach my $l (qw(GCJLINK A68LINK OBJCXXLINK CXXLINK F77LINK FCLINK OBJCLINK UPCLINK)) { return $l if defined $linkers{$l}; } @@ -6176,11 +6194,12 @@ my %_am_macro_for_cond = ( AMDEP => "one of the compiler tests\n" . " AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,\n" - . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC", + . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC, AM_PROG_A68", am__fastdepCC => 'AC_PROG_CC', am__fastdepCCAS => 'AM_PROG_AS', am__fastdepCXX => 'AC_PROG_CXX', am__fastdepGCJ => 'AM_PROG_GCJ', + am__fastdepGA68 => 'AM_PROG_GA68', am__fastdepOBJC => 'AC_PROG_OBJC', am__fastdepOBJCXX => 'AC_PROG_OBJCXX', am__fastdepUPC => 'AM_PROG_UPC' diff --git a/configure.ac b/configure.ac index 0a9e1904e..295bd2749 100644 --- a/configure.ac +++ b/configure.ac @@ -565,6 +565,16 @@ if test "$GNU_F77" != false; then _AM_SKIP_COMP_TESTS([GNU Fortran 77])]) fi +# GNU Algol 68 compiler. +AC_ARG_VAR([GNU_GA68], [GNU Algol 68 compiler]) +AC_ARG_VAR([GNU_A68FLAGS], [GNU Algol 68 compiler flags]) +AC_CHECK_TOOLS([GNU_GA68], [ga68], [false]) +if test "$GNU_GA68" != false; then + AS_IF([AM_RUN_LOG([$GNU_GA68 --version && $GNU_GA68 -v])], [], + [AC_MSG_WARN([botched installation for GNU Algol 68 compiler]) + _AM_SKIP_COMP_TESTS([GNU Algol 68])]) +fi + # GNU Java compiler. AC_ARG_VAR([GNU_GCJ], [GNU Java compiler]) AC_ARG_VAR([GNU_GCJFLAGS], [GNU Java compiler flags]) diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index 6e90b81f2..ccf065803 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -183,6 +183,8 @@ my %_ac_macro_for_var = CXX => 'AC_PROG_CXX', CXXFLAGS => 'AC_PROG_CXX', F77 => 'AC_PROG_F77', + GA68 => 'AC_PROG_GA68', + A68FLAGS => 'AC_PROG_GA68', FFLAGS => 'AC_PROG_F77', FC => 'AC_PROG_FC', FCFLAGS => 'AC_PROG_FC', From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 24 16:56:18 2025 Received: (at 75807) by debbugs.gnu.org; 24 Jan 2025 21:56:19 +0000 Received: from localhost ([127.0.0.1]:47283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbRf0-0002j2-Lt for submit@debbugs.gnu.org; Fri, 24 Jan 2025 16:56:18 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:57840 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbRey-0002is-Tk for 75807@debbugs.gnu.org; Fri, 24 Jan 2025 16:56:17 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 50OLthO9062447 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 24 Jan 2025 14:55:43 -0700 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 50OLthGA062446; Fri, 24 Jan 2025 14:55:43 -0700 Date: Fri, 24 Jan 2025 14:55:43 -0700 Message-Id: <202501242155.50OLthGA062446@freefriends.org> From: Karl Berry To: jemarch@gnu.org Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <877c6ldppo.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) the compiler is useful What Algol 68 code does anyone want to use or write nowadays? Just curious. But I am not familiar with the Automake internals Neither am I, but we plunge ahead as best we can anyway. and it is likely I am missing something and/or doing something wrong. It looks reasonable to me at first glance. But one crucial thing is missing: test(s) to exercise the functionality. Just compiling hello,world and running it should suffice for starters. Can you write a test please? --thanks, karl. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 24 19:10:58 2025 Received: (at 75807) by debbugs.gnu.org; 25 Jan 2025 00:10:58 +0000 Received: from localhost ([127.0.0.1]:47709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbTlK-0003zm-DU for submit@debbugs.gnu.org; Fri, 24 Jan 2025 19:10:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41714) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbTlI-0003zW-Di for 75807@debbugs.gnu.org; Fri, 24 Jan 2025 19:10:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbTlC-0006iq-Nr; Fri, 24 Jan 2025 19:10:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=SsTg6EqxAAD6pydjA977NW4+f6abOOb6ATicyg+VtWs=; b=SZpljB0mSQBNpyQkCSwo MkxxHi5Za3JZiyKB4LeUSOfjkfDJA9zuQzAoIoGNt9zaDVnVbEVJeiVV+QCNVcfZTky8iA/Pn/2M9 LJdJ86xdviVWjOY0NXRTvxZWva+MZ4d+K9GIYmQ443cIpZXSEgjvTuZawBj0p7ttmbHeuYm8E7LdY 7/9IRJVX5JsUNhvtIbwTXTF2L1wpta+L3XEskBq3HTTbBKo19R4YngC936HFK21L0NhtqYmsYskyr Oczcf3v5xVhU9nMaz2BwmyKg9r+6VjsB63yMn0A9XAQVB86VbMIgqNelEBK7lO0kj38ll3LNxgPlF PyH2fIUr7jJMyA==; From: "Jose E. Marchesi" To: Karl Berry Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <202501242155.50OLthGA062446@freefriends.org> (Karl Berry's message of "Fri, 24 Jan 2025 14:55:43 -0700") References: <202501242155.50OLthGA062446@freefriends.org> Date: Sat, 25 Jan 2025 01:10:43 +0100 Message-ID: <87jzajlpmk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Karl. > the compiler is useful > > What Algol 68 code does anyone want to use or write nowadays? > Just curious. Algol 68 is a very good programming language. Once implemented in a modern optimized compiler and carefully extended, I plan to use it for many of my non-C projects. > But I am not familiar with the Automake internals > > Neither am I, but we plunge ahead as best we can anyway. :) > and it is likely I am missing something and/or doing something wrong. > > It looks reasonable to me at first glance. But one crucial thing is > missing: test(s) to exercise the functionality. Just compiling > hello,world and running it should suffice for starters. > > Can you write a test please? --thanks, karl. Sure thing. Will send a V2. I see this triggered a ddebugs ticket. Should I send the [PATCH V2] by replying to this email, or start a new thread? If the second, shall I add 75807@debbugs.gnu.org in CC? How does it work? Thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 25 17:23:40 2025 Received: (at 75807) by debbugs.gnu.org; 25 Jan 2025 22:23:40 +0000 Received: from localhost ([127.0.0.1]:52968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tboZ2-0007nC-Fv for submit@debbugs.gnu.org; Sat, 25 Jan 2025 17:23:40 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:58734 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tboYx-0007n1-WF for 75807@debbugs.gnu.org; Sat, 25 Jan 2025 17:23:38 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 50PMN3EY157302 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 25 Jan 2025 15:23:03 -0700 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 50PMN3rl157301; Sat, 25 Jan 2025 15:23:03 -0700 Date: Sat, 25 Jan 2025 15:23:03 -0700 Message-Id: <202501252223.50PMN3rl157301@freefriends.org> From: Karl Berry To: jemarch@gnu.org Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <87jzajlpmk.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Will send a V2. Thanks. I belatedly realized that a draft update to automake.texi would also be greatly appreciated. Should I send the [PATCH V2] by replying to this email, That will work. or start a new thread? Better not to. If the second, shall I add 75807@debbugs.gnu.org in CC? How does it work? As far as I know, if NNNNN@debbugs.gnu.org is one of the recipients to a message, the msg will get added to that bug. When only one bug is involved, it's simpler (for the humans) to keep the same Subject: line. In this case: Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language Thanks Jose. Happy ca.1968 hacking :), Karl From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 25 18:57:14 2025 Received: (at 75807) by debbugs.gnu.org; 25 Jan 2025 23:57:14 +0000 Received: from localhost ([127.0.0.1]:53152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbq1Z-000755-Vc for submit@debbugs.gnu.org; Sat, 25 Jan 2025 18:57:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50514) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbq1X-00074o-0o for 75807@debbugs.gnu.org; Sat, 25 Jan 2025 18:57:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbq1R-0001ga-74; Sat, 25 Jan 2025 18:57:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=BfuAvYOgIl4ddy633aFHVC0Ui/hd19ZjV+LKfX01Zno=; b=cKe2XzWnrjvDoP5CXkHa 7XQHZxCoBzvSN5Up4vv3OQArZoPIB70FF4aekkpsmZW/BLiQ7iSriFWj7N/2Bz3xXiGuXqBgBVgJi 8M2UrMdJnMUOmarLhjMxVC9oYBir7BHwz2hLUyRPgtRL33qtpMBtsRG5F1YZfxjk+dITxA+6OsS9D 8vXYEH5cfl6XvO9223aTpZae94QtMVUsouIpy21TzofQqcpKuJKJwHudicLwfe/ebf3njlXMB4Dn+ LZhqi8dSWqJHd35p6T6M7fU1+hXERPYQkhoYRyFtV3R7UbNGK2xoG0zoSBkhL64uDVgZAorTAxErM YOQEZpCTPbLUHQ==; From: "Jose E. Marchesi" To: Karl Berry Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <202501242155.50OLthGA062446@freefriends.org> (Karl Berry's message of "Fri, 24 Jan 2025 14:55:43 -0700") References: <202501242155.50OLthGA062446@freefriends.org> Date: Sun, 26 Jan 2025 00:56:56 +0100 Message-ID: <87v7u2fnw7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello. New version of the patch below. Differences from previous versions: - The GA68 variable has been renamed to A68. (This has been also changed in the corresponding autoconf patches.) - Added a section 'Algol 68 Support' to the manual. - Added a test t/a68-demo.sh. commit c33511e6df2b23de3040484a56cc0efdff5c0691 Author: Jose E. Marchesi Date: Fri Jan 24 00:20:27 2025 +0100 Add support for the Algol 68 programming language. * NEWS: Add entry for Algol 68. * doc/automake.texi (Algol 68 Support): New section. * bin/automake.in: Call register_language for Algol 68. (resolve_linker): handle A68LINK. (%_am_macro_for_cond): Add entry for am__fastdepGA68. * configure.ac: Look for ga68 and set GNU_GA68 and GNU_A68FLAGS if fuond. * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for GA68 and GA68FLAGS. * t/a68-demo.sh: New test. diff --git a/NEWS b/NEWS index b4c50ffc6..9da978c39 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,10 @@ please see NEWS-future and start following the advice there now. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.x: +* New supported languages: + + - Support for Algol 68 has been added; based on the GNU Algol 68 compiler. + * Miscellaneous changes - Only require the presence of an ABOUT-NLS file at the 'gnits' diff --git a/bin/automake.in b/bin/automake.in index 5d3e7c766..f7451e3f8 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -1023,6 +1023,24 @@ register_language ('name' => 'java', 'pure' => 1, 'extensions' => ['.java', '.class', '.zip', '.jar']); +# Algol 68 in GCC +register_language ('name' => 'a68', + 'Name' => 'Algol 68', + 'config_vars' => ['A68'], + 'linker' => 'A68LINK', + 'link' => '$(A68LD) $(AM_A68FLAGS) $(A68FLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@', + 'flags' => ['A68FLAGS'], + 'compile' => '$(A68) $(AM_A68FLAGS) $(A68FLAGS)', + 'ccer' => 'A68', + 'compiler' => 'A68COMPILE', + 'compile_flag' => '-c', + 'output_flag' => '-o', + 'libtool_tag' => 'A68', + 'lder' => 'A68LD', + 'ld' => '$(A68)', + 'pure' => 1, + 'extensions' => ['.a68']); + ################################################################ # Error reporting functions. @@ -5564,7 +5582,7 @@ EOF if (0 == keys %libtool_tags) { # Hardcode the tags supported by Libtool 1.5. - %libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1); + %libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1, A68 => 1); } } } @@ -6057,7 +6075,7 @@ sub resolve_linker { my (%linkers) = @_; - foreach my $l (qw(GCJLINK OBJCXXLINK CXXLINK F77LINK FCLINK OBJCLINK UPCLINK)) + foreach my $l (qw(GCJLINK A68LINK OBJCXXLINK CXXLINK F77LINK FCLINK OBJCLINK UPCLINK)) { return $l if defined $linkers{$l}; } @@ -6176,11 +6194,12 @@ my %_am_macro_for_cond = ( AMDEP => "one of the compiler tests\n" . " AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,\n" - . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC", + . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC, AM_PROG_A68", am__fastdepCC => 'AC_PROG_CC', am__fastdepCCAS => 'AM_PROG_AS', am__fastdepCXX => 'AC_PROG_CXX', am__fastdepGCJ => 'AM_PROG_GCJ', + am__fastdepA68 => 'AM_PROG_A68', am__fastdepOBJC => 'AC_PROG_OBJC', am__fastdepOBJCXX => 'AC_PROG_OBJCXX', am__fastdepUPC => 'AM_PROG_UPC' diff --git a/configure.ac b/configure.ac index 0a9e1904e..27fe4a328 100644 --- a/configure.ac +++ b/configure.ac @@ -565,6 +565,16 @@ if test "$GNU_F77" != false; then _AM_SKIP_COMP_TESTS([GNU Fortran 77])]) fi +# GNU Algol 68 compiler. +AC_ARG_VAR([GNU_A68], [GNU Algol 68 compiler]) +AC_ARG_VAR([GNU_A68FLAGS], [GNU Algol 68 compiler flags]) +AC_CHECK_TOOLS([GNU_A68], [ga68], [false]) +if test "$GNU_A68" != false; then + AS_IF([AM_RUN_LOG([$GNU_A68 --version && $GNU_A68 -v])], [], + [AC_MSG_WARN([botched installation for GNU Algol 68 compiler]) + _AM_SKIP_COMP_TESTS([GNU Algol 68])]) +fi + # GNU Java compiler. AC_ARG_VAR([GNU_GCJ], [GNU Java compiler]) AC_ARG_VAR([GNU_GCJFLAGS], [GNU Java compiler flags]) diff --git a/doc/automake.texi b/doc/automake.texi index a5b993007..4f848e7af 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -230,6 +230,7 @@ Building Programs and Libraries * Fortran 9x Support:: Compiling Fortran 9x sources * Java Support with gcj:: Compiling Java sources using gcj * Vala Support:: Compiling Vala sources +* Algol 68 Support:: Compiling Algol 68 sources * Support for Other Languages:: Compiling other languages * Dependencies:: Automatic dependency tracking * EXEEXT:: Support for executable extensions @@ -4848,6 +4849,7 @@ to build programs and libraries. * Fortran 9x Support:: Compiling Fortran 9x sources * Java Support with gcj:: Compiling Java sources using gcj * Vala Support:: Compiling Vala sources +* Algol 68 Support:: Compiling Algol 68 sources * Support for Other Languages:: Compiling other languages * Dependencies:: Automatic dependency tracking * EXEEXT:: Support for executable extensions @@ -7178,6 +7180,41 @@ Note that currently, you cannot use per-target @code{*_VALAFLAGS} (@pxref{Renamed Objects}) to produce different C files from one Vala source file. +@node Algol 68 Support +@comment node-name, next, previous, up +@section Algol 68 Support + +@cindex Algol 68 support +@cindex Support for Algol 68 + +Automake includes support for Algol 68, using GCC. + +Any package including Algol 68 code must define the output variable +@code{A68} in @file{configure.ac}; the simplest way to do this is to use +the @code{AC_PROG_A68} macro (@pxref{Particular Programs, , Particular +Program Checks, autoconf, The Autoconf Manual}). + +A few additional variables are defined when a Fortran 77 source file is +seen: + +@vtable @code + +@item A68 +The name of the Algol 68 compiler. + +@item A68FLAGS +Any flags to pass to the Algol 68 compiler. + +@item AM_A68FLAGS +The maintainer's variant of @code{FFLAGS}. + +@item A68COMPILE +The command used to compile an Algol 68 source file. The file name is +appended to form the complete command line. + +@item A68LINK +The command used to link a pure Algol 68 program or shared library. +@end vtable @node Support for Other Languages @comment node-name, next, previous, up diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index 6e90b81f2..7608de23d 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -183,6 +183,8 @@ my %_ac_macro_for_var = CXX => 'AC_PROG_CXX', CXXFLAGS => 'AC_PROG_CXX', F77 => 'AC_PROG_F77', + A68 => 'AC_PROG_A68', + A68FLAGS => 'AC_PROG_A68', FFLAGS => 'AC_PROG_F77', FC => 'AC_PROG_FC', FCFLAGS => 'AC_PROG_FC', diff --git a/t/a68-demo.sh b/t/a68-demo.sh new file mode 100644 index 000000000..c2966d4ea --- /dev/null +++ b/t/a68-demo.sh @@ -0,0 +1,87 @@ +#! /bin/sh +# Copyright (C) 2012-2025 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Demo on Algol 68 support. + +required=ga68 +am_create_testdir=empty +. test-init.sh + +cat > configure.ac << 'END' +AC_INIT([GNU Algol 68 Demo], [1.0], [bug-automake@gnu.org]) +AC_CONFIG_SRCDIR([play.a68]) +AC_CONFIG_AUX_DIR([build-aux]) +AM_INIT_AUTOMAKE +AC_PROG_A68 +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT +END + +cat > Makefile.am << 'END' +AUTOMAKE_OPTIONS = subdir-objects + +bin_PROGRAMS = work play +play_SOURCES = play.a68 +work_SOURCES = work.a68 + +.PHONY: test-objs +check-local: test-objs +test-objs: + test -f play.$(OBJEXT) + test -f work.$(OBJEXT) +END + +mkdir sub build-aux + +$ACLOCAL +$AUTOCONF +$AUTOMAKE --add-missing + +cat > work.a68 << 'END' +PROGRAM (puts ("We are working :-(\n"); 0) +END + +cat > play.a68 << 'END' +PROGRAM (puts ("We are playing :-)\n"); 0) +END + +./configure +$MAKE +$MAKE test-objs + +if ! cross_compiling; then + unindent > exp.play << 'END' + We are playing :-) +END + unindent > exp.work << 'END' + We are working :-( +END + for p in play work; do + # The program must run correctly (exit status = 0). + ./$p + # And it must have the expected output. Note that we strip extra + # CR characters (if any), to cater to MinGW programs on MSYS. + # See automake bug#14493. + ./$p | tr -d '\015' > got.$p || { cat got.$p; exit 1; } + cat exp.$p + cat got.$p + diff exp.$p got.$p + done +fi + +$MAKE distcheck + +: From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 25 19:34:37 2025 Received: (at 75807) by debbugs.gnu.org; 26 Jan 2025 00:34:37 +0000 Received: from localhost ([127.0.0.1]:53201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbqbf-0000WR-5S for submit@debbugs.gnu.org; Sat, 25 Jan 2025 19:34:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36158) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbqbb-0000W9-Aj for 75807@debbugs.gnu.org; Sat, 25 Jan 2025 19:34:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbqbV-0005df-UG; Sat, 25 Jan 2025 19:34:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=UlyStc2tuyMw1btkmSIHYDUG99xwToZ6k6b4ojORfGk=; b=br3xKY9hJAqjH8rVc7RO 1GKJJujOA2vXZHavskv7wqIAZBmt+13LVTEvaJGyxOuLF9WOjLAqHGUC7pj+Ph2SN/sg0UMZL7kGo DXJ5abmUKTIL7EfToekwU+SyfQcD5QKoiFBC+7nAp/5/ghOsfW5PCGKorkIsaa7d8rN6fNM90Z2TK OMcHW66doKPjPf6sZlEveOCM4x0WEL8GyvVW/037JK4Mt7IJpH7pZWQ30AJmXs+8sqevA68p6lDK0 CEvde/+rQ6+PH9DFAZ5TXnyhhnh0XjO/FnF3lgLu2W1921Y3FtqpaT1QxEHPgnimvWMXkhhrBOwT+ ySNkCUYyLyTt8Q==; From: "Jose E. Marchesi" To: Karl Berry Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <87v7u2fnw7.fsf@gnu.org> (Jose E. Marchesi's message of "Sun, 26 Jan 2025 00:56:56 +0100") References: <202501242155.50OLthGA062446@freefriends.org> <87v7u2fnw7.fsf@gnu.org> Date: Sun, 26 Jan 2025 01:34:17 +0100 Message-ID: <87r04qfm5y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) By the way, the version of autoconf needed to run the automake test can be found in: https://git.sr.ht/~jemarch/a68-autoconf Branch a68. > Hello. > > New version of the patch below. Differences from previous versions: > > - The GA68 variable has been renamed to A68. (This has been also > changed in the corresponding autoconf patches.) > - Added a section 'Algol 68 Support' to the manual. > - Added a test t/a68-demo.sh. > > commit c33511e6df2b23de3040484a56cc0efdff5c0691 > Author: Jose E. Marchesi > Date: Fri Jan 24 00:20:27 2025 +0100 > > Add support for the Algol 68 programming language. > > * NEWS: Add entry for Algol 68. > * doc/automake.texi (Algol 68 Support): New section. > * bin/automake.in: Call register_language for Algol 68. > (resolve_linker): handle A68LINK. > (%_am_macro_for_cond): Add entry for am__fastdepGA68. > * configure.ac: Look for ga68 and set GNU_GA68 and GNU_A68FLAGS if fuond. > * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for GA68 > and GA68FLAGS. > * t/a68-demo.sh: New test. > > diff --git a/NEWS b/NEWS > index b4c50ffc6..9da978c39 100644 > --- a/NEWS > +++ b/NEWS > @@ -4,6 +4,10 @@ please see NEWS-future and start following the advice there now. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > New in 1.x: > > +* New supported languages: > + > + - Support for Algol 68 has been added; based on the GNU Algol 68 compiler. > + > * Miscellaneous changes > > - Only require the presence of an ABOUT-NLS file at the 'gnits' > diff --git a/bin/automake.in b/bin/automake.in > index 5d3e7c766..f7451e3f8 100644 > --- a/bin/automake.in > +++ b/bin/automake.in > @@ -1023,6 +1023,24 @@ register_language ('name' => 'java', > 'pure' => 1, > 'extensions' => ['.java', '.class', '.zip', '.jar']); > > +# Algol 68 in GCC > +register_language ('name' => 'a68', > + 'Name' => 'Algol 68', > + 'config_vars' => ['A68'], > + 'linker' => 'A68LINK', > + 'link' => '$(A68LD) $(AM_A68FLAGS) $(A68FLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@', > + 'flags' => ['A68FLAGS'], > + 'compile' => '$(A68) $(AM_A68FLAGS) $(A68FLAGS)', > + 'ccer' => 'A68', > + 'compiler' => 'A68COMPILE', > + 'compile_flag' => '-c', > + 'output_flag' => '-o', > + 'libtool_tag' => 'A68', > + 'lder' => 'A68LD', > + 'ld' => '$(A68)', > + 'pure' => 1, > + 'extensions' => ['.a68']); > + > ################################################################ > > # Error reporting functions. > @@ -5564,7 +5582,7 @@ EOF > if (0 == keys %libtool_tags) > { > # Hardcode the tags supported by Libtool 1.5. > - %libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1); > + %libtool_tags = (CC => 1, CXX => 1, GCJ => 1, F77 => 1, A68 => 1); > } > } > } > @@ -6057,7 +6075,7 @@ sub resolve_linker > { > my (%linkers) = @_; > > - foreach my $l (qw(GCJLINK OBJCXXLINK CXXLINK F77LINK FCLINK OBJCLINK UPCLINK)) > + foreach my $l (qw(GCJLINK A68LINK OBJCXXLINK CXXLINK F77LINK FCLINK OBJCLINK UPCLINK)) > { > return $l if defined $linkers{$l}; > } > @@ -6176,11 +6194,12 @@ my %_am_macro_for_cond = > ( > AMDEP => "one of the compiler tests\n" > . " AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,\n" > - . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC", > + . " AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC, AM_PROG_A68", > am__fastdepCC => 'AC_PROG_CC', > am__fastdepCCAS => 'AM_PROG_AS', > am__fastdepCXX => 'AC_PROG_CXX', > am__fastdepGCJ => 'AM_PROG_GCJ', > + am__fastdepA68 => 'AM_PROG_A68', > am__fastdepOBJC => 'AC_PROG_OBJC', > am__fastdepOBJCXX => 'AC_PROG_OBJCXX', > am__fastdepUPC => 'AM_PROG_UPC' > diff --git a/configure.ac b/configure.ac > index 0a9e1904e..27fe4a328 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -565,6 +565,16 @@ if test "$GNU_F77" != false; then > _AM_SKIP_COMP_TESTS([GNU Fortran 77])]) > fi > > +# GNU Algol 68 compiler. > +AC_ARG_VAR([GNU_A68], [GNU Algol 68 compiler]) > +AC_ARG_VAR([GNU_A68FLAGS], [GNU Algol 68 compiler flags]) > +AC_CHECK_TOOLS([GNU_A68], [ga68], [false]) > +if test "$GNU_A68" != false; then > + AS_IF([AM_RUN_LOG([$GNU_A68 --version && $GNU_A68 -v])], [], > + [AC_MSG_WARN([botched installation for GNU Algol 68 compiler]) > + _AM_SKIP_COMP_TESTS([GNU Algol 68])]) > +fi > + > # GNU Java compiler. > AC_ARG_VAR([GNU_GCJ], [GNU Java compiler]) > AC_ARG_VAR([GNU_GCJFLAGS], [GNU Java compiler flags]) > diff --git a/doc/automake.texi b/doc/automake.texi > index a5b993007..4f848e7af 100644 > --- a/doc/automake.texi > +++ b/doc/automake.texi > @@ -230,6 +230,7 @@ Building Programs and Libraries > * Fortran 9x Support:: Compiling Fortran 9x sources > * Java Support with gcj:: Compiling Java sources using gcj > * Vala Support:: Compiling Vala sources > +* Algol 68 Support:: Compiling Algol 68 sources > * Support for Other Languages:: Compiling other languages > * Dependencies:: Automatic dependency tracking > * EXEEXT:: Support for executable extensions > @@ -4848,6 +4849,7 @@ to build programs and libraries. > * Fortran 9x Support:: Compiling Fortran 9x sources > * Java Support with gcj:: Compiling Java sources using gcj > * Vala Support:: Compiling Vala sources > +* Algol 68 Support:: Compiling Algol 68 sources > * Support for Other Languages:: Compiling other languages > * Dependencies:: Automatic dependency tracking > * EXEEXT:: Support for executable extensions > @@ -7178,6 +7180,41 @@ Note that currently, you cannot use per-target @code{*_VALAFLAGS} > (@pxref{Renamed Objects}) to produce different C files from one Vala > source file. > > +@node Algol 68 Support > +@comment node-name, next, previous, up > +@section Algol 68 Support > + > +@cindex Algol 68 support > +@cindex Support for Algol 68 > + > +Automake includes support for Algol 68, using GCC. > + > +Any package including Algol 68 code must define the output variable > +@code{A68} in @file{configure.ac}; the simplest way to do this is to use > +the @code{AC_PROG_A68} macro (@pxref{Particular Programs, , Particular > +Program Checks, autoconf, The Autoconf Manual}). > + > +A few additional variables are defined when a Fortran 77 source file is > +seen: > + > +@vtable @code > + > +@item A68 > +The name of the Algol 68 compiler. > + > +@item A68FLAGS > +Any flags to pass to the Algol 68 compiler. > + > +@item AM_A68FLAGS > +The maintainer's variant of @code{FFLAGS}. > + > +@item A68COMPILE > +The command used to compile an Algol 68 source file. The file name is > +appended to form the complete command line. > + > +@item A68LINK > +The command used to link a pure Algol 68 program or shared library. > +@end vtable > > @node Support for Other Languages > @comment node-name, next, previous, up > diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm > index 6e90b81f2..7608de23d 100644 > --- a/lib/Automake/Variable.pm > +++ b/lib/Automake/Variable.pm > @@ -183,6 +183,8 @@ my %_ac_macro_for_var = > CXX => 'AC_PROG_CXX', > CXXFLAGS => 'AC_PROG_CXX', > F77 => 'AC_PROG_F77', > + A68 => 'AC_PROG_A68', > + A68FLAGS => 'AC_PROG_A68', > FFLAGS => 'AC_PROG_F77', > FC => 'AC_PROG_FC', > FCFLAGS => 'AC_PROG_FC', > diff --git a/t/a68-demo.sh b/t/a68-demo.sh > new file mode 100644 > index 000000000..c2966d4ea > --- /dev/null > +++ b/t/a68-demo.sh > @@ -0,0 +1,87 @@ > +#! /bin/sh > +# Copyright (C) 2012-2025 Free Software Foundation, Inc. > +# > +# This program is free software; you can redistribute it and/or modify > +# it under the terms of the GNU General Public License as published by > +# the Free Software Foundation; either version 2, or (at your option) > +# any later version. > +# > +# This program is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +# GNU General Public License for more details. > +# > +# You should have received a copy of the GNU General Public License > +# along with this program. If not, see . > + > +# Demo on Algol 68 support. > + > +required=ga68 > +am_create_testdir=empty > +. test-init.sh > + > +cat > configure.ac << 'END' > +AC_INIT([GNU Algol 68 Demo], [1.0], [bug-automake@gnu.org]) > +AC_CONFIG_SRCDIR([play.a68]) > +AC_CONFIG_AUX_DIR([build-aux]) > +AM_INIT_AUTOMAKE > +AC_PROG_A68 > +AC_CONFIG_FILES([Makefile]) > +AC_OUTPUT > +END > + > +cat > Makefile.am << 'END' > +AUTOMAKE_OPTIONS = subdir-objects > + > +bin_PROGRAMS = work play > +play_SOURCES = play.a68 > +work_SOURCES = work.a68 > + > +.PHONY: test-objs > +check-local: test-objs > +test-objs: > + test -f play.$(OBJEXT) > + test -f work.$(OBJEXT) > +END > + > +mkdir sub build-aux > + > +$ACLOCAL > +$AUTOCONF > +$AUTOMAKE --add-missing > + > +cat > work.a68 << 'END' > +PROGRAM (puts ("We are working :-(\n"); 0) > +END > + > +cat > play.a68 << 'END' > +PROGRAM (puts ("We are playing :-)\n"); 0) > +END > + > +./configure > +$MAKE > +$MAKE test-objs > + > +if ! cross_compiling; then > + unindent > exp.play << 'END' > + We are playing :-) > +END > + unindent > exp.work << 'END' > + We are working :-( > +END > + for p in play work; do > + # The program must run correctly (exit status = 0). > + ./$p > + # And it must have the expected output. Note that we strip extra > + # CR characters (if any), to cater to MinGW programs on MSYS. > + # See automake bug#14493. > + ./$p | tr -d '\015' > got.$p || { cat got.$p; exit 1; } > + cat exp.$p > + cat got.$p > + diff exp.$p got.$p > + done > +fi > + > +$MAKE distcheck > + > +: From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 26 17:16:13 2025 Received: (at 75807) by debbugs.gnu.org; 26 Jan 2025 22:16:13 +0000 Received: from localhost ([127.0.0.1]:58205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcAvM-0002Pv-Um for submit@debbugs.gnu.org; Sun, 26 Jan 2025 17:16:13 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:54916 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcAvK-0002Pm-Vp for 75807@debbugs.gnu.org; Sun, 26 Jan 2025 17:16:11 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 50QMFbYr284740 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 26 Jan 2025 15:15:37 -0700 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 50QMFbOE284739; Sun, 26 Jan 2025 15:15:37 -0700 Date: Sun, 26 Jan 2025 15:15:37 -0700 Message-Id: <202501262215.50QMFbOE284739@freefriends.org> From: Karl Berry To: jemarch@gnu.org Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <87v7u2fnw7.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) New version of the patch below. Thanks much, Jose. I'll take a look and install soonly, I hope. --all the best, karl. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 02 16:39:20 2025 Received: (at 75807) by debbugs.gnu.org; 2 Feb 2025 21:39:20 +0000 Received: from localhost ([127.0.0.1]:36502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tehgW-0008By-0n for submit@debbugs.gnu.org; Sun, 02 Feb 2025 16:39:20 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:57882 helo=freefriends.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tehgT-0008Bj-KB; Sun, 02 Feb 2025 16:39:18 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.16.1/8.16.1) with ESMTPS id 512LckTY969475 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 2 Feb 2025 14:38:46 -0700 Received: (from apache@localhost) by freefriends.org (8.16.1/8.14.7/Submit) id 512Lckl3969474; Sun, 2 Feb 2025 14:38:46 -0700 Date: Sun, 2 Feb 2025 14:38:46 -0700 Message-Id: <202502022138.512Lckl3969474@freefriends.org> From: Karl Berry To: jemarch@gnu.org Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <87v7u2fnw7.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) New version of the patch below. I pushed this. Thanks Jose! From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 02 16:51:02 2025 Received: (at 75807) by debbugs.gnu.org; 2 Feb 2025 21:51:02 +0000 Received: from localhost ([127.0.0.1]:36529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tehrp-0000Mt-RC for submit@debbugs.gnu.org; Sun, 02 Feb 2025 16:51:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41258) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tehrn-0000MY-8w for 75807@debbugs.gnu.org; Sun, 02 Feb 2025 16:51:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tehrh-0003Tk-F5; Sun, 02 Feb 2025 16:50:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=0kwT7XOIq0n12ZUQLFXwmRA0s6+ZwxTlX53KNCKXW7U=; b=dqM5UFSp7dVbJeLoQl+P /n6ghnUofcpp0BuoyIBsWs7gv2uvLfilND/jWkHXaNIQTDeJf6SRbO48Asd4FBj45S1D0RYpPoHi+ BX8+Nh06vR4syR9JoMA1cy/l39pUSqCRgmC0u3f1Q7DsrjTuq6esEsC+0fqf2/9iMDL9yD18tdb3w MktJ7qMqigR9NX5h5eTn10X/cq5mtMzCAXlaOZYMh1A+NS1zUMPXae3k7Fs6lqbV8N1Rys//umkAk 3dgAFfrJQXRJ0XcdMjOLMjbUTknVsvz9pXHgAieGAYHUURPDMj4uY09JvA3Ov3rLF9yepepVp+G5t O6/Te7kQKexUnA==; From: "Jose E. Marchesi" To: Karl Berry Subject: Re: [bug#75807] [PATCH,WIP] Support for the Algol 68 language In-Reply-To: <202502022138.512Lckl3969474@freefriends.org> (Karl Berry's message of "Sun, 2 Feb 2025 14:38:46 -0700") References: <202502022138.512Lckl3969474@freefriends.org> Date: Sun, 02 Feb 2025 22:50:30 +0100 Message-ID: <87o6zkt3rt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75807 Cc: 75807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thank you Karl. Now let's see if I can get the autoconf counterpart reviewed. > New version of the patch below. > > I pushed this. Thanks Jose! From unknown Mon Jun 23 04:09:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 03 Mar 2025 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator