[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/7] Port bootstrap.conf BREs to POSIX
From: |
Paul Eggert |
Subject: |
[PATCH 1/7] Port bootstrap.conf BREs to POSIX |
Date: |
Thu, 26 Jan 2023 14:17:32 -0800 |
* bootstrap.conf: Stick to POSIX BREs when calling grep,
instead of relying on the GNU extensions \> and \].
This fixes ./bootstrap diagnostics like “grep: warning: stray
\ before ]” that I got with an experimental version of grep
that checks for POSIX conformance.
---
bootstrap.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bootstrap.conf b/bootstrap.conf
index 7266f7b..82eb1a7 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -160,9 +160,9 @@ XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
# you're using this infrastructure, you should care about such things.
gettext_external=0
-grep '^[ ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
+grep '^[ ]*AM_GNU_GETTEXT(external[,)]' configure.ac > /dev/null &&
gettext_external=1
-grep '^[ ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
+grep '^[ ]*AM_GNU_GETTEXT(\[external]' configure.ac > /dev/null &&
gettext_external=1
if test $gettext_external = 1; then
--
2.39.1
- [PATCH 0/7] improve porting and Gnulib integration, Paul Eggert, 2023/01/26
- [PATCH 2/7] Update bootstrap from Gnulib, Paul Eggert, 2023/01/26
- [PATCH 5/7] Omit some redundant include directives, Paul Eggert, 2023/01/26
- [PATCH 3/7] Update LDADD for recent Gnulib, Paul Eggert, 2023/01/26
- [PATCH 7/7] Remove unused attribute macro, Paul Eggert, 2023/01/26
- [PATCH 1/7] Port bootstrap.conf BREs to POSIX,
Paul Eggert <=
- [PATCH 6/7] Simplify __attribute__ tests, less porting hassle, Paul Eggert, 2023/01/26
- [PATCH 4/7] Don’t assume compilers don’t output to stderr, Paul Eggert, 2023/01/26