mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add support to check for a valid autoconf for RTEMS.
This commit is contained in:
parent
1869040e16
commit
86b2b4fe63
@ -4,9 +4,17 @@
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
%include %{_configdir}/base.cfg
|
||||
%include %{_configdir}/versions.cfg
|
||||
|
||||
%define rtems_kernel_version 4.11
|
||||
|
||||
#
|
||||
# Check the version of autoconf.
|
||||
#
|
||||
%if %{__autoconf_ver} <= 2.68
|
||||
%error Autoconf version 2.69 or higher is needed.
|
||||
%endif
|
||||
|
||||
#
|
||||
# Pull the latest changes from git each build. Override if this is not what you
|
||||
# want.
|
||||
|
@ -1,5 +1,7 @@
|
||||
# Generate version strings.
|
||||
|
||||
%define __makeinfo_ver %(%{__makeinfo} --version | %{__awk} 'NR==1 {print $NF}')
|
||||
%define __autoconf_ver %(%{__autoconf} --version | %{__awk} 'NR==1 {print $NF}')
|
||||
%define __automake_ver %(%{__automake} --version | %{__awk} 'NR==1 {print $NF}')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user