* [PATCH] autoconf: replace non-portable += syntax
@ 2025-05-24 11:34 Sertonix
2025-05-24 11:41 ` Sertonix
0 siblings, 1 reply; 2+ messages in thread
From: Sertonix @ 2025-05-24 11:34 UTC (permalink / raw)
To: linux-nfs
Behaves exactly the same and also works in shells which don't support +=
Signed-off-by: Sertonix <sertonix@posteo.net>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index d8205e80..eb542581 100644
--- a/configure.ac
+++ b/configure.ac
@@ -678,7 +678,7 @@ AC_DEFUN([CHECK_CCSUPPORT], [
AC_MSG_CHECKING([whether CC supports $1])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
[AC_MSG_RESULT([yes])]
- [$2+=$1],
+ [AS_VAR_APPEND([$2],["$1"])],
[AC_MSG_RESULT([no])]
)
CFLAGS="$my_save_cflags"
--
2.49.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] autoconf: replace non-portable += syntax
2025-05-24 11:34 [PATCH] autoconf: replace non-portable += syntax Sertonix
@ 2025-05-24 11:41 ` Sertonix
0 siblings, 0 replies; 2+ messages in thread
From: Sertonix @ 2025-05-24 11:41 UTC (permalink / raw)
To: Sertonix, linux-nfs
I forgot to mention that this patch is for nfs-utils
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-24 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-24 11:34 [PATCH] autoconf: replace non-portable += syntax Sertonix
2025-05-24 11:41 ` Sertonix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox