mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Autotools: Trim redundant newlines in PHP_ADD_BUILD_DIR (#14946)
This reduces redundant newlines in the generated configure script while keeping possible 'dnl' usage before or after this macro call working as before (backwards compatible).
This commit is contained in:
parent
808d5b3047
commit
35f64bb5e1
@ -893,11 +893,7 @@ dnl When "create" is given, the provided "dirs" are created immediately upon
|
||||
dnl macro invocation, instead of deferring it to the PHP_GEN_BUILD_DIRS.
|
||||
dnl
|
||||
AC_DEFUN([PHP_ADD_BUILD_DIR],[
|
||||
ifelse($2,,[
|
||||
BUILD_DIR="$BUILD_DIR $1"
|
||||
], [
|
||||
$php_shtool mkdir -p $1
|
||||
])
|
||||
ifelse($2,,[BUILD_DIR="$BUILD_DIR $1"], [$php_shtool mkdir -p $1])
|
||||
])
|
||||
|
||||
dnl
|
||||
|
Loading…
Reference in New Issue
Block a user