Mailing List Archive

[PATCH 3/5] Quote the definition of OSSH_CHECK_HEADER_FOR_FIELD
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

autoreconf complains about underquoted definition of
OSSH_CHECK_HEADER_FOR_FIELD after aclocal.m4 has been and now is beeing
recreated.

Quote OSSH_CHECK_HEADER_FOR_FIELD as suggested.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
m4/openssh.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/openssh.m4 b/m4/openssh.m4
index b70856e433a5b..6a49f10fab7e6 100644
--- a/m4/openssh.m4
+++ b/m4/openssh.m4
@@ -131,7 +131,7 @@ dnl OSSH_CHECK_HEADER_FOR_FIELD(field, header, symbol)
dnl Does AC_EGREP_HEADER on 'header' for the string 'field'
dnl If found, set 'symbol' to be defined. Cache the result.
dnl TODO: This is not foolproof, better to compile and read from there
-AC_DEFUN(OSSH_CHECK_HEADER_FOR_FIELD, [
+AC_DEFUN([OSSH_CHECK_HEADER_FOR_FIELD], [
# look for field '$1' in header '$2'
dnl This strips characters illegal to m4 from the header filename
ossh_safe=`echo "$2" | sed 'y%./+-%__p_%'`
--
2.28.0

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev