Skip to content

Commit cf1835b

Browse files
authored
Autotools: Fix Autoconf syntax (erroneous dnl) (php#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.
1 parent 2aeff2c commit cf1835b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/php.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ AC_DEFUN([PHP_EVAL_LIBLINE],
377377
;;
378378
esac
379379
done
380-
m4_ifnblank([$3], [m4_ifnblank([$2], [ext_shared=$_php_ext_shared_saved])])dnl
380+
m4_ifnblank([$3], [m4_ifnblank([$2], [ext_shared=$_php_ext_shared_saved])])[]dnl
381381
])
382382

383383
dnl

0 commit comments

Comments
 (0)