summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-17 09:25:33 +0200
committerRemi Collet <remi@remirepo.net>2020-09-17 09:25:33 +0200
commit6d1cd853c7eb267071559037d75d782a7764216d (patch)
treec9658e20cfc842439cac9b86095b11eff55fbfe6
parenta39e4097cdf31519a8ab484f60b1e836793e4599 (diff)
use autoconf268 for EL-6
-rw-r--r--php-pecl-xdebug.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec
index c316178..b8b607f 100644
--- a/php-pecl-xdebug.spec
+++ b/php-pecl-xdebug.spec
@@ -54,6 +54,9 @@ BuildRequires: libtool
%if %{with_tests}
BuildRequires: %{?scl_prefix}php-soap
%endif
+%if 0%{?rhel} == 6
+BuildRequires: autoconf268
+%endif
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -169,6 +172,9 @@ sed -e '1d' NTS/%{pecl_name}.ini >>%{ini_name}
%build
+%if 0%{?rhel} == 6
+export PHP_AUTOCONF=autoconf268;export PHP_AUTOHEADER=autoheader268
+%endif
%{?dtsenable}
cd NTS