diff --git a/autoconf-2.62-449944.patch b/autoconf-2.62-449944.patch new file mode 100644 index 0000000..56b4028 --- /dev/null +++ b/autoconf-2.62-449944.patch @@ -0,0 +1,33 @@ +diff -ur autoconf-2.62/ChangeLog autoconf-2.62_new/ChangeLog +--- autoconf-2.62/ChangeLog 2008-04-06 01:04:49.000000000 +0200 ++++ autoconf-2.62_new/ChangeLog 2008-07-04 17:40:40.000000000 +0200 +@@ -1,3 +1,8 @@ ++2008-07-04 Stepan Kasal ++ ++ * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Remove the checks for ++ universal binaries, it produced false positives. ++ + 2008-06-16 Ralf Wildenhues + + Fix '#undef variable /* comment */' transform in config +diff -ur autoconf-2.62/lib/autoconf/c.m4 autoconf-2.62_new/lib/autoconf/c.m4 +--- autoconf-2.62/lib/autoconf/c.m4 2008-04-06 01:04:48.000000000 +0200 ++++ autoconf-2.62_new/lib/autoconf/c.m4 2008-07-04 17:38:31.000000000 +0200 +@@ -1407,17 +1407,6 @@ + #endif])dnl + AC_CACHE_CHECK([whether byte ordering is bigendian], [ac_cv_c_bigendian], + [ac_cv_c_bigendian=unknown +- m4_ifval(m4_ifdef([AH_HEADER], 1)[$4], +- [# See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. +- AC_COMPILE_IFELSE( +- [AC_LANG_SOURCE( +- [[#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) +- neither is defined; +- #endif +- typedef int dummy; +- ]])], +- [ac_cv_c_bigendian=universal])], +- [AC_DIAGNOSE([obsolete], [AC_C_BIGENDIAN suggests AC_CONFIG_HEADERS])]) + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + AC_COMPILE_IFELSE( diff --git a/autoconf.spec b/autoconf.spec index 6b18da0..a37a483 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -1,7 +1,7 @@ Summary: A GNU tool for automatically configuring source code Name: autoconf Version: 2.62 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ and GFDL Group: Development/Tools Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.bz2 @@ -10,9 +10,10 @@ Source2: filter-requires-automake.sh # This one will be included in 2.63: Patch0: autoconf-2.62-449973.patch Patch1: autoconf-2.62-449245.patch +Patch2: autoconf-2.62-449944.patch URL: http://www.gnu.org/software/autoconf/ BuildRequires: m4 >= 1.4.7, emacs -Requires: m4 >= 1.4.7, mktemp, imake, grep +Requires: m4 >= 1.4.7 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info BuildArch: noarch @@ -43,16 +44,17 @@ their use. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build # use ./configure here to avoid copying config.{sub,guess} with those from the # rpm package ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ --bindir=%{_bindir} --datadir=%{_datadir} -make # %{?_smp_mflags} Makefile not smp save +make # %{?_smp_mflags} The Makefile is not smp safe. -#check -#make check VERBOSE=yes +%check +make check VERBOSE=yes %install rm -rf ${RPM_BUILD_ROOT} @@ -84,6 +86,12 @@ fi %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO %changelog +* Fri Jul 4 2008 Stepan Kasal 2.62-4 +- add a quick fix for #449944 +- remove Requires: mktemp, imake, grep; these are required by the generated + configure, but not by Autoconf. +- switch on make check + * Tue Jun 24 2008 Karsten Hopp 2.62-3 - add fix for same line comments #449245 (Ralf Wildenhues)