From 2890e95357cab23d142f291d95793a8bf65d36cc Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 17 Jul 2024 06:38:03 +0200 Subject: [PATCH] Autotools: Fix Autoconf syntax (erroneous dnl) M4 interprets the dnl in this combination of m4_ifnblank as part of the preceding text so the [] can be used to avoid this issue. --- build/php.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/php.m4 b/build/php.m4 index b804eea1426c8..81f84bf62e527 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -377,7 +377,7 @@ AC_DEFUN([PHP_EVAL_LIBLINE], ;; esac done -m4_ifnblank([$3], [m4_ifnblank([$2], [ext_shared=$_php_ext_shared_saved])])dnl +m4_ifnblank([$3], [m4_ifnblank([$2], [ext_shared=$_php_ext_shared_saved])])[]dnl ]) dnl