mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Check the path for a valid autoconf.
This commit is contained in:
parent
84a3494c5f
commit
ff0fc8eed0
@ -13,7 +13,9 @@
|
||||
#
|
||||
%if %{__autoreconf_ver} <= 2.68
|
||||
%if %{__autoreconf_bindir_ver} <= 2.68
|
||||
%error Autoconf (autoreconf) version 2.69 or higher is needed.
|
||||
%if %{__autoreconf_path_ver} <= 2.68
|
||||
%error Autoconf (autoreconf) version 2.69 or higher is needed.
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
@ -3,7 +3,10 @@
|
||||
%define __makeinfo_ver %(test -x %{__makeinfo} && %{__makeinfo} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __autoconf_ver %(test -x %{__autoconf} && %{__autoconf} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __autoconf_bindir_ver %(test -x %{_bindir}/autoconf && %{_bindir}/autoconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __autoconf_path_rver %(autoconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __autoreconf_ver %(test -x %{__autoreconf} && %{__autoreconf} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __autoreconf_bindir_ver %(test -x %{_bindir}/autoreconf && %{_bindir}/autoreconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __autoreconf_path_ver %(autoreconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __automake_ver %(test -x %{__automake} && %{__automake} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __automake_bindir_ver %(test -x %{_bindir}/automake && %{_bindir}/automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
%define __automake_path_ver %(automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
|
||||
|
Loading…
x
Reference in New Issue
Block a user