summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-19 00:02:09 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-19 00:02:09 +0200
commit447b41f6bb1e9a5bdeac411277e21a55207123b0 (patch)
treeddecd36d6f8a764df6ba65849b1e1b436a0dc871
parentfda06127fa71637df7913e06fc8124448c934fdc (diff)
downloadphp-git-447b41f6bb1e9a5bdeac411277e21a55207123b0.tar.gz
Fix #77035: The phpize and ./configure create redundant .deps file
The `.deps` file(s) was once used by Automake and created to write dependencies to it. The file creation has been removed via the commit 779c11af21cf8a627b8f2f2edef9e9073c76ed94. The phpize and ./configure script create a redundant .deps file in a PECL extension directory which might cause confusions why is it used. Today it is no longer relevant so this redundant artefact can be removed in the phpize configure script.
-rw-r--r--.gitignore1
-rwxr-xr-xext/ext_skel1
-rw-r--r--scripts/phpize.in2
-rw-r--r--scripts/phpize.m41
4 files changed, 1 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 2e95e2510f..a9e2e51221 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,7 +26,6 @@
*.tar.xz.asc
.FBCIndex
.FBCLockFolder
-.deps
.libs
phpt.*
core
diff --git a/ext/ext_skel b/ext/ext_skel
index 63563e7f02..88b10e9dbc 100755
--- a/ext/ext_skel
+++ b/ext/ext_skel
@@ -189,7 +189,6 @@ eof
$ECHO_N " .gitignore$ECHO_C"
cat >.gitignore <<eof
-.deps
*.lo
*.la
.libs
diff --git a/scripts/phpize.in b/scripts/phpize.in
index 4000183e19..99250da078 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -11,7 +11,7 @@ SED="@SED@"
FILES_BUILD="mkdep.awk scan_makefile_in.awk shtool libtool.m4 ax_check_compile_flag.m4"
FILES="acinclude.m4 Makefile.global config.sub config.guess ltmain.sh run-tests*.php"
-CLEAN_FILES="$FILES *.o *.lo *.la .deps .libs/ build/ modules/ install-sh \
+CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ install-sh \
mkinstalldirs missing config.nice config.sub config.guess configure configure.in \
aclocal.m4 config.h config.h.in conftest* ltmain.sh libtool config.cache autom4te.cache/ \
config.log config.status Makefile Makefile.fragments Makefile.objects confdefs.h \
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index b354596f2f..1cf38a2daa 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -195,7 +195,6 @@ PHP_GEN_BUILD_DIRS
PHP_GEN_GLOBAL_MAKEFILE
test -d modules || $php_shtool mkdir modules
-touch .deps
AC_CONFIG_HEADER(config.h)