1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Autotools: Fix Autoconf syntax (erroneous dnl) (#14987)

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.
This commit is contained in:
Peter Kokot
2024-07-17 15:47:20 +02:00
committed by GitHub
parent 2aeff2c988
commit cf1835b8b6

View File

@@ -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