Re: AC_TYPE_LONG_LONG_INT busted in current Autoconf

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2024-01-16 20:57, Nick Bowler wrote:
> You definitely need to also remove the ;;
> on the previous lines

Oh, right, thanks! Further patch attached and installed.

I tend not to run into these problems because Gnulib overrides these 
macros. At some point we should coalesce the two.
0001-Fix-typo-in-previous-patch.patch (text/x-patch, 1.1 KB)
From 3a813b3b2f9f3a8ec0df95e444b6fb54267775a9 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Tue, 16 Jan 2024 21:19:31 -0800
Subject: [PATCH] Fix typo in previous patch

---
 lib/autoconf/types.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/autoconf/types.m4 b/lib/autoconf/types.m4
index d12a1dc6..8ed2f155 100644
--- a/lib/autoconf/types.m4
+++ b/lib/autoconf/types.m4
@@ -532,7 +532,7 @@ AC_DEFUN([AC_TYPE_LONG_LONG_INT],
   AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
      [ac_cv_type_long_long_int=yes
       case $ac_prog_cc_stdc in
-	no | c89) ;;
+	no | c89)
 	  ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
 	  if test $ac_cv_type_long_long_int = yes; then
 	    dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
@@ -577,7 +577,7 @@ AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
     [ac_cv_type_unsigned_long_long_int],
     [ac_cv_type_unsigned_long_long_int=yes
      case $ac_prog_cc_stdc in
-       no | c89) ;;
+       no | c89)
 	 AC_LINK_IFELSE(
 	   [_AC_TYPE_LONG_LONG_SNIPPET],
 	   [],
-- 
2.40.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.