source: rtems-source-builder/source-builder/config/versions.cfg @ 5d9b153

4.104.114.95
Last change on this file since 5d9b153 was 5d9b153, checked in by Chris Johns <chrisj@…>, on 08/23/14 at 13:23:00

config: Detect a pipe error on command failure.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1# Generate version strings.
2
3%define __makeinfo_ver          %(test -x %{__makeinfo} && %{__makeinfo} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
4%define __autoconf_ver          %(test -x %{__autoconf} && %{__autoconf} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
5%define __autoconf_bindir_ver   %(test -x %{_bindir}/autoconf && %{_bindir}/autoconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
6%define __autoconf_path_rver    %(autoconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
7%define __autoreconf_ver        %(test -x %{__autoreconf} && %{__autoreconf} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
8%define __autoreconf_bindir_ver %(test -x %{_bindir}/autoreconf && %{_bindir}/autoreconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
9%define __autoreconf_path_ver   %(autoreconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
10%define __automake_ver          %(test -x %{__automake} && %{__automake} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
11%define __automake_bindir_ver   %(test -x %{_bindir}/automake && %{_bindir}/automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
12%define __automake_path_ver     %(automake --version && automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
Note: See TracBrowser for help on using the repository browser.