summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-08-28 17:21:46 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-08-30 04:26:05 +0200
commit18a2f0849ff644b2e7921e287d5ae9e84a19aa71 (patch)
tree6fa2645e5c8f1c095b9ecb4709191c32f146d717 /configure.ac
parent48ff226caeaef37863736297bbe807ac5ec4784b (diff)
downloadphp-git-18a2f0849ff644b2e7921e287d5ae9e84a19aa71.tar.gz
Fix #78460: PEAR installation failure
When building PHP outside of the source tree: mkdir custom-build-dir cd custom-build-dir ../path/to/php-src/configure The directories need to be manually created including the pear directory so the pear installation PHAR file doesn't need to be downloaded from the remote location. Closes GH-4639
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6819e774a5..8f19fe0e60 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1550,6 +1550,8 @@ PHP_GEN_GLOBAL_MAKEFILE
AC_DEFINE([HAVE_BUILD_DEFS_H], 1, [ ])
+dnl Make directories when building in a separate build directory.
+$php_shtool mkdir -p pear
$php_shtool mkdir -p scripts
$php_shtool mkdir -p scripts/man1