config.site: do not affect cross compilation
Resolves: #1042775 Version: 2.69-14
This commit is contained in:
parent
59af6325c1
commit
50451905fe
@ -1,7 +1,7 @@
|
||||
Summary: A GNU tool for automatically configuring source code
|
||||
Name: autoconf
|
||||
Version: 2.69
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
License: GPLv2+ and GFDL
|
||||
Group: Development/Tools
|
||||
Source0: http://ftpmirror.gnu.org/autoconf/autoconf-%{version}.tar.xz
|
||||
@ -95,6 +95,9 @@ fi
|
||||
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
|
||||
|
||||
%changelog
|
||||
* Tue Dec 17 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-14
|
||||
- fix config.site to not affect cross compilation (Stefan Sørensen, #1042775)
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
@ -7,6 +7,11 @@
|
||||
# Note: This file includes also RHEL/Fedora fix for installing libraries into
|
||||
# "/lib/lib64" on 64bit systems.
|
||||
|
||||
if test -n "$host"; then
|
||||
# skip when cross-compiling
|
||||
return 0
|
||||
fi
|
||||
|
||||
if test "$prefix" = /usr; then
|
||||
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
|
||||
test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
|
||||
|
||||
Loading…
Reference in New Issue
Block a user