From 6d1cd853c7eb267071559037d75d782a7764216d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Sep 2020 09:25:33 +0200 Subject: use autoconf268 for EL-6 --- php-pecl-xdebug.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit