autoconf: replace non-portable += syntax
Subsystems (2)
PATCH 1/1 autoconf: replace non-portable += syntax
Behaves exactly the same and also works in shells which don't support +=
Signed-off-by Sertonix <[email protected]>
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -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"
Signature · 1 line
2.49.0
I forgot to mention that this patch is for nfs-utils