diff --git a/autoconf.spec b/autoconf.spec index 0a521ac..8b58150 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -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 - 2.69-14 +- fix config.site to not affect cross compilation (Stefan Sørensen, #1042775) + * Sat Aug 03 2013 Fedora Release Engineering - 2.69-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/config.site b/config.site index 0c5209f..f5d8d70 100644 --- a/config.site +++ b/config.site @@ -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