Skip to content

Autotools: Quote PHP_SUBST arguments in php.m4 #14758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions build/php.m4
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ AC_DEFUN([PHP_SHARED_MODULE],[
else
PHP_MODULES="$PHP_MODULES \$(phplibdir)/$1.$suffix"
fi
PHP_SUBST($2)
PHP_SUBST([$2])
cat >>Makefile.objects<<EOF
\$(phplibdir)/$1.$suffix: $3/$1.$suffix
\$(LIBTOOL) --tag=ifelse($4,,CC,CXX) --mode=install cp $3/$1.$suffix \$(phplibdir)
Expand Down Expand Up @@ -959,7 +959,7 @@ dnl Set for phpize builds only.
dnl ---------------------------
if test "$ext_builddir" = "."; then
PHP_PECL_EXTENSION=$1
PHP_SUBST(PHP_PECL_EXTENSION)
PHP_SUBST([PHP_PECL_EXTENSION])
fi
])

Expand Down Expand Up @@ -1616,7 +1616,7 @@ AC_DEFUN([PHP_PROG_AWK], [
fi
;;
esac
PHP_SUBST(AWK)
PHP_SUBST([AWK])
])

dnl
Expand Down Expand Up @@ -1685,7 +1685,7 @@ AC_DEFUN([PHP_PROG_BISON], [
;;
esac

PHP_SUBST(YACC)
PHP_SUBST([YACC])
])

dnl
Expand Down Expand Up @@ -1745,7 +1745,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
;;
esac

PHP_SUBST(RE2C)
PHP_SUBST([RE2C])
AS_VAR_SET([RE2C_FLAGS], [m4_normalize([$2])])
PHP_SUBST([RE2C_FLAGS])
])
Expand All @@ -1771,7 +1771,7 @@ AC_DEFUN([PHP_PROG_PHP],[
AC_MSG_RESULT([$php_version (ok)])
fi
fi
PHP_SUBST(PHP)
PHP_SUBST([PHP])
])

dnl ----------------------------------------------------------------------------
Expand Down
Loading