0003-configure-disable-the-phar-tool.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. From 5ba6355e489f647c88ca48afbc75965468193181 Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Tue, 9 Aug 2016 11:51:53 +0200
  4. Subject: [PATCH] configure: disable the 'phar' tool
  5. Disable the 'phar' command-line tool build/installation since it requires
  6. php to run and pack up phar itself in phar format. This would require
  7. a host-php instance and really probably nobody needs the phar tool
  8. on the target.
  9. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  10. [Gustavo: update for autoreconf/configure.in]
  11. Signed-off-by: Adam Duskett <aduskett@gmail.com>
  12. [Aduskett: update for 7.3.0]
  13. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  14. [Bernd: rebased for 7.4.10 & 7.4.13]
  15. ---
  16. configure.ac | 9 ++-------
  17. 1 file changed, 2 insertions(+), 7 deletions(-)
  18. diff --git a/configure.ac b/configure.ac
  19. index 0dfab302..6026fb66 100644
  20. --- a/configure.ac
  21. +++ b/configure.ac
  22. @@ -1454,13 +1454,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
  23. INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
  24. CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
  25. -if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
  26. - pharcmd=pharcmd
  27. - pharcmd_install=install-pharcmd
  28. -else
  29. - pharcmd=
  30. - pharcmd_install=
  31. -fi;
  32. +pharcmd=
  33. +pharcmd_install=
  34. all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
  35. install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"
  36. --
  37. 2.14.3