From f6d648a883676256894f5687cbceffb1f4209e3d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 13 Apr 2025 18:53:17 -0700 Subject: [PATCH] =?utf8?q?regex:=20don=E2=80=99t=20assume=20RE=5FSYNTAX=5F?= =?utf8?q?*=20work=20in=20#if?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * m4/regex.m4 (gl_REGEX): Fix thinko that would have prevented future glibc versions from passing the test. --- m4/regex.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/regex.m4 b/m4/regex.m4 index 1b2012fe00..52ce5c3b37 100644 --- a/m4/regex.m4 +++ b/m4/regex.m4 @@ -1,5 +1,5 @@ # regex.m4 -# serial 79 +# serial 80 dnl Copyright (C) 1996-2001, 2003-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -54,7 +54,7 @@ AC_DEFUN([gl_REGEX], static void sigabrt_no_core (int sig) { raise (SIGTERM); } #endif - #if RE_SYNTAX_EMACS != (RE_CHAR_CLASSES | RE_INTERVALS) + #if !RE_SYNTAX_EMACS # error "RE_SYNTAX_EMACS does not match Emacs behavior" #endif ]], -- 2.39.5