This commit is contained in:
parent
1424cffa4f
commit
c0629b44c2
@ -1,250 +0,0 @@
|
|||||||
--- doc/autoconf.texi
|
|
||||||
+++ doc/autoconf.texi
|
|
||||||
@@ -6739,7 +6739,7 @@ New programs need not use this macro.
|
|
||||||
|
|
||||||
@anchor{AC_C_BIGENDIAN}
|
|
||||||
@defmac AC_C_BIGENDIAN (@ovar{action-if-true}, @ovar{action-if-false}, @
|
|
||||||
- @ovar{action-if-unknown}, @ovar{action-if-universal})
|
|
||||||
+ @ovar{action-if-unknown})
|
|
||||||
@acindex{C_BIGENDIAN}
|
|
||||||
@cvindex WORDS_BIGENDIAN
|
|
||||||
@cindex Endianness
|
|
||||||
@@ -6753,26 +6753,11 @@ system header files. When cross-compili
|
|
||||||
grep'ed for some magic values. @var{action-if-unknown} is executed if
|
|
||||||
the latter case fails to determine the byte sex of the host system.
|
|
||||||
|
|
||||||
-In some cases a single run of a compiler can generate code for multiple
|
|
||||||
-architectures. This can happen, for example, when generating Mac OS X
|
|
||||||
-universal binary files, which work on both PowerPC and Intel
|
|
||||||
-architectures. In this case, the different variants might be for
|
|
||||||
-different architectures whose endiannesses differ. If
|
|
||||||
-@command{configure} detects this, it executes @var{action-if-universal}
|
|
||||||
-instead of @var{action-if-unknown}.
|
|
||||||
-
|
|
||||||
The default for @var{action-if-true} is to define
|
|
||||||
@samp{WORDS_BIGENDIAN}. The default for @var{action-if-false} is to do
|
|
||||||
-nothing. The default for @var{action-if-unknown} is to
|
|
||||||
-abort configure and tell the installer how to bypass this test.
|
|
||||||
-And finally, the default for @var{action-if-universal} is to define
|
|
||||||
-@samp{WORDS_BIGENDIAN} or not, depending on the architecture that the
|
|
||||||
-code is being generated for.
|
|
||||||
-
|
|
||||||
-If you use this macro without specifying @var{action-if-universal}, you
|
|
||||||
-should also use @code{AC_CONFIG_HEADERS}; otherwise
|
|
||||||
-@samp{WORDS_BIGENDIAN} may be set incorrectly for Mac OS X universal
|
|
||||||
-binary files.
|
|
||||||
+nothing. And finally, the default for @var{action-if-unknown} is to
|
|
||||||
+abort configure and tell the installer which variable he should preset
|
|
||||||
+to bypass this test.
|
|
||||||
@end defmac
|
|
||||||
|
|
||||||
@anchor{AC_C_CONST}
|
|
||||||
--- lib/autoconf/c.m4
|
|
||||||
+++ lib/autoconf/c.m4
|
|
||||||
@@ -1393,140 +1393,74 @@ fi
|
|
||||||
])# AC_C_CHAR_UNSIGNED
|
|
||||||
|
|
||||||
|
|
||||||
-# AC_C_BIGENDIAN ([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN],
|
|
||||||
-# [ACTION-IF-UNIVERSAL])
|
|
||||||
+# AC_C_BIGENDIAN ([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
|
|
||||||
# -------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([AC_C_BIGENDIAN],
|
|
||||||
-[AH_VERBATIM([WORDS_BIGENDIAN],
|
|
||||||
-[/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
||||||
- significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
||||||
-#if defined __BIG_ENDIAN__
|
|
||||||
-# define WORDS_BIGENDIAN 1
|
|
||||||
-#elif ! defined __LITTLE_ENDIAN__
|
|
||||||
-# undef WORDS_BIGENDIAN
|
|
||||||
-#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(
|
|
||||||
- [AC_LANG_PROGRAM(
|
|
||||||
- [[#include <sys/types.h>
|
|
||||||
- #include <sys/param.h>
|
|
||||||
- ]],
|
|
||||||
- [[#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
|
||||||
- && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
|
||||||
- && LITTLE_ENDIAN)
|
|
||||||
- bogus endian macros
|
|
||||||
- #endif
|
|
||||||
- ]])],
|
|
||||||
- [# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
||||||
- AC_COMPILE_IFELSE(
|
|
||||||
- [AC_LANG_PROGRAM(
|
|
||||||
- [[#include <sys/types.h>
|
|
||||||
- #include <sys/param.h>
|
|
||||||
- ]],
|
|
||||||
- [[#if BYTE_ORDER != BIG_ENDIAN
|
|
||||||
- not big endian
|
|
||||||
- #endif
|
|
||||||
- ]])],
|
|
||||||
- [ac_cv_c_bigendian=yes],
|
|
||||||
- [ac_cv_c_bigendian=no])])
|
|
||||||
- fi
|
|
||||||
- if test $ac_cv_c_bigendian = unknown; then
|
|
||||||
- # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
|
||||||
- AC_COMPILE_IFELSE(
|
|
||||||
- [AC_LANG_PROGRAM(
|
|
||||||
- [[#include <limits.h>
|
|
||||||
- ]],
|
|
||||||
- [[#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
|
||||||
- bogus endian macros
|
|
||||||
- #endif
|
|
||||||
- ]])],
|
|
||||||
- [# It does; now see whether it defined to _BIG_ENDIAN or not.
|
|
||||||
- AC_COMPILE_IFELSE(
|
|
||||||
- [AC_LANG_PROGRAM(
|
|
||||||
- [[#include <limits.h>
|
|
||||||
- ]],
|
|
||||||
- [[#ifndef _BIG_ENDIAN
|
|
||||||
- not big endian
|
|
||||||
- #endif
|
|
||||||
- ]])],
|
|
||||||
- [ac_cv_c_bigendian=yes],
|
|
||||||
- [ac_cv_c_bigendian=no])])
|
|
||||||
- fi
|
|
||||||
- if test $ac_cv_c_bigendian = unknown; then
|
|
||||||
- # Compile a test program.
|
|
||||||
- AC_RUN_IFELSE(
|
|
||||||
- [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
||||||
- [[
|
|
||||||
- /* Are we little or big endian? From Harbison&Steele. */
|
|
||||||
- union
|
|
||||||
- {
|
|
||||||
- long int l;
|
|
||||||
- char c[sizeof (long int)];
|
|
||||||
- } u;
|
|
||||||
- u.l = 1;
|
|
||||||
- return u.c[sizeof (long int) - 1] == 1;
|
|
||||||
- ]])],
|
|
||||||
- [ac_cv_c_bigendian=no],
|
|
||||||
- [ac_cv_c_bigendian=yes],
|
|
||||||
- [# Try to guess by grepping values from an object file.
|
|
||||||
- AC_COMPILE_IFELSE(
|
|
||||||
- [AC_LANG_PROGRAM(
|
|
||||||
- [[short int ascii_mm[] =
|
|
||||||
- { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
|
||||||
- short int ascii_ii[] =
|
|
||||||
- { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
|
||||||
- int use_ascii (int i) {
|
|
||||||
- return ascii_mm[i] + ascii_ii[i];
|
|
||||||
- }
|
|
||||||
- short int ebcdic_ii[] =
|
|
||||||
- { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
|
||||||
- short int ebcdic_mm[] =
|
|
||||||
- { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
|
||||||
- int use_ebcdic (int i) {
|
|
||||||
- return ebcdic_mm[i] + ebcdic_ii[i];
|
|
||||||
- }
|
|
||||||
- extern int foo;
|
|
||||||
- ]],
|
|
||||||
- [[return use_ascii (foo) == use_ebcdic (foo);]])],
|
|
||||||
- [if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
|
||||||
- ac_cv_c_bigendian=yes
|
|
||||||
- fi
|
|
||||||
- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
|
||||||
- if test "$ac_cv_c_bigendian" = unknown; then
|
|
||||||
- ac_cv_c_bigendian=no
|
|
||||||
- else
|
|
||||||
- # finding both strings is unlikely to happen, but who knows?
|
|
||||||
- ac_cv_c_bigendian=unknown
|
|
||||||
- fi
|
|
||||||
- fi])])
|
|
||||||
- fi])
|
|
||||||
- case $ac_cv_c_bigendian in #(
|
|
||||||
- yes)
|
|
||||||
- m4_default([$1],
|
|
||||||
- [AC_DEFINE([WORDS_BIGENDIAN], 1)]);; #(
|
|
||||||
- no)
|
|
||||||
- $2 ;; #(
|
|
||||||
- universal)
|
|
||||||
- $4 ;; #(
|
|
||||||
- *)
|
|
||||||
- m4_default([$3],
|
|
||||||
- [AC_MSG_ERROR([unknown endianness
|
|
||||||
- presetting ac_cv_c_bigendian=no (or yes) will help])]) ;;
|
|
||||||
- esac
|
|
||||||
+[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
|
|
||||||
+[# See if sys/param.h defines the BYTE_ORDER macro.
|
|
||||||
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
||||||
+#include <sys/param.h>
|
|
||||||
+],
|
|
||||||
+[#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
|
|
||||||
+ && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
|
|
||||||
+ bogus endian macros
|
|
||||||
+#endif
|
|
||||||
+])],
|
|
||||||
+[# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
||||||
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
||||||
+#include <sys/param.h>
|
|
||||||
+], [#if BYTE_ORDER != BIG_ENDIAN
|
|
||||||
+ not big endian
|
|
||||||
+#endif
|
|
||||||
+])], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=no])],
|
|
||||||
+[# It does not; compile a test program.
|
|
||||||
+AC_RUN_IFELSE(
|
|
||||||
+[AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [[
|
|
||||||
+ /* Are we little or big endian? From Harbison&Steele. */
|
|
||||||
+ union
|
|
||||||
+ {
|
|
||||||
+ long int l;
|
|
||||||
+ char c[sizeof (long int)];
|
|
||||||
+ } u;
|
|
||||||
+ u.l = 1;
|
|
||||||
+ return u.c[sizeof (long int) - 1] == 1;
|
|
||||||
+]])],
|
|
||||||
+ [ac_cv_c_bigendian=no],
|
|
||||||
+ [ac_cv_c_bigendian=yes],
|
|
||||||
+[# try to guess the endianness by grepping values into an object file
|
|
||||||
+ ac_cv_c_bigendian=unknown
|
|
||||||
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
|
||||||
+[[short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
|
||||||
+short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
|
||||||
+void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
|
||||||
+short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
|
||||||
+short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
|
||||||
+void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }]],
|
|
||||||
+[[ _ascii (); _ebcdic (); ]])],
|
|
||||||
+[if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
|
||||||
+ ac_cv_c_bigendian=yes
|
|
||||||
+fi
|
|
||||||
+if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
|
||||||
+ if test "$ac_cv_c_bigendian" = unknown; then
|
|
||||||
+ ac_cv_c_bigendian=no
|
|
||||||
+ else
|
|
||||||
+ # finding both strings is unlikely to happen, but who knows?
|
|
||||||
+ ac_cv_c_bigendian=unknown
|
|
||||||
+ fi
|
|
||||||
+fi])])])])
|
|
||||||
+case $ac_cv_c_bigendian in
|
|
||||||
+ yes)
|
|
||||||
+ m4_default([$1],
|
|
||||||
+ [AC_DEFINE([WORDS_BIGENDIAN], 1,
|
|
||||||
+ [Define to 1 if your processor stores words with the most significant
|
|
||||||
+ byte first (like Motorola and SPARC, unlike Intel and VAX).])]) ;;
|
|
||||||
+ no)
|
|
||||||
+ $2 ;;
|
|
||||||
+ *)
|
|
||||||
+ m4_default([$3],
|
|
||||||
+ [AC_MSG_ERROR([unknown endianness
|
|
||||||
+presetting ac_cv_c_bigendian=no (or yes) will help])]) ;;
|
|
||||||
+esac
|
|
||||||
])# AC_C_BIGENDIAN
|
|
||||||
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:42be7628e32fd3bebe07d684b11fb6e7e7920ef698fc4ccb3da6d77f91cefb96
|
|
||||||
size 1165951
|
|
3
autoconf-2.63.tar.bz2
Normal file
3
autoconf-2.63.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:264d7c1c0e268bc77fbe0f308e085545535edfe73f33e27c80219cc0c9c71246
|
||||||
|
size 1195259
|
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 10 09:59:08 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update to autoconf 2.63.
|
||||||
|
** AC_C_BIGENDIAN does not mistakenly report "universal" for some
|
||||||
|
bigendian hosts, a regression introduced with universal binary
|
||||||
|
support in 2.62.
|
||||||
|
** AC_PATH_X now includes /lib64 and /usr/lib64 in its list of default
|
||||||
|
library directories.
|
||||||
|
** AC_USE_SYSTEM_EXTENSIONS no longer conflicts with an external
|
||||||
|
AC_DEFINE([__EXTENSIONS__]). This fixes a regression introduced in
|
||||||
|
2.62 when using macros such as AC_AIX that were made obsolete in
|
||||||
|
favor of the more portable AC_USE_SYSTEM_EXTENSIONS.
|
||||||
|
** AC_CHECK_TARGET_TOOLS is usable in the non-cross-compile case.
|
||||||
|
** Newly obsolete macros
|
||||||
|
The following macro has been marked obsolete, since current porting
|
||||||
|
targets can safely assume C89 semantics that signal handlers return
|
||||||
|
void. We have no current plans to remove the macro.
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
** The macros m4_map and m4_map_sep now ignore any list elements
|
||||||
|
consisting of just empty quotes, and m4_map_sep now expands its
|
||||||
|
separator. This fixes a regression in 2.62 when these macros were
|
||||||
|
first documented, for the sake of clients expecting the semantics
|
||||||
|
that these macros had prior to that time. The new macros m4_mapall
|
||||||
|
and m4_mapall_sep, along with extra quoting of the separator, can
|
||||||
|
be used to get the semantics that m4_map_sep had in 2.62.
|
||||||
|
** Clients of m4_expand, such as AS_HELP_STRING and AT_SETUP, can now
|
||||||
|
handle properly quoted but otherwise unbalanced parentheses (for
|
||||||
|
some macros, this fixes a regression in 2.62).
|
||||||
|
** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
|
||||||
|
allowing the output of unbalanced parentheses in more contexts.
|
||||||
|
** The following m4sugar macros are new:
|
||||||
|
m4_joinall m4_mapall m4_mapall_sep m4_reverse m4_set_add
|
||||||
|
m4_set_add_all m4_set_contains m4_set_contents m4_set_delete
|
||||||
|
m4_set_difference m4_set_dump m4_set_empty m4_set_foreach
|
||||||
|
m4_set_intersection m4_set_list m4_set_listc m4_set_remove
|
||||||
|
m4_set_size m4_set_union
|
||||||
|
** The following m4sugar macros now accept multiple arguments, as is the
|
||||||
|
case with underlying m4:
|
||||||
|
m4_defn m4_popdef m4_undefine
|
||||||
|
** The following m4sugar macros now guarantee linear scaling; they
|
||||||
|
previously had linear scaling with m4 1.6 but quadratic scaling
|
||||||
|
when using m4 1.4.x. All macros built on top of these also gain
|
||||||
|
the scaling improvements.
|
||||||
|
m4_bmatch m4_bpatsubsts m4_case m4_cond m4_do m4_dquote_elt
|
||||||
|
m4_foreach m4_join m4_list_cmp m4_map m4_map_sep m4_max
|
||||||
|
m4_min m4_shiftn
|
||||||
|
** AT_KEYWORDS once again performs expansion on its argument, such that
|
||||||
|
AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
|
||||||
|
the possibly unexpanded m4_if [regression introduced in 2.62].
|
||||||
|
** Config header templates `#undef UNDEFINED /* comment */' do not lead to
|
||||||
|
nested comments any more; regression introduced in 2.62.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 17 16:11:10 CEST 2008 - schwab@suse.de
|
Thu Jul 17 16:11:10 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
#
|
#
|
||||||
# spec file for package autoconf-el (Version 2.62)
|
# spec file for package autoconf-el (Version 2.63)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -15,14 +22,12 @@ BuildRequires: emacs-nox
|
|||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Editors/Emacs
|
Group: Productivity/Editors/Emacs
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.62
|
Version: 2.63
|
||||||
Release: 9
|
Release: 1
|
||||||
Summary: Emacs mode for editing GNU Autoconf scripts
|
Summary: Emacs mode for editing GNU Autoconf scripts
|
||||||
Url: http://www.gnu.org/software/autoconf
|
Url: http://www.gnu.org/software/autoconf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: autoconf-%{version}.tar.bz2
|
Source: autoconf-%{version}.tar.bz2
|
||||||
# Uncomment to save space:
|
|
||||||
#NoSource: 0
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Enhances: emacs
|
Enhances: emacs
|
||||||
%define site_lisp %{_prefix}/share/emacs/site-lisp
|
%define site_lisp %{_prefix}/share/emacs/site-lisp
|
||||||
@ -70,6 +75,56 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{site_lisp}/*.elc
|
%{site_lisp}/*.elc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 10 2008 schwab@suse.de
|
||||||
|
- Update to autoconf 2.63.
|
||||||
|
** AC_C_BIGENDIAN does not mistakenly report "universal" for some
|
||||||
|
bigendian hosts, a regression introduced with universal binary
|
||||||
|
support in 2.62.
|
||||||
|
** AC_PATH_X now includes /lib64 and /usr/lib64 in its list of default
|
||||||
|
library directories.
|
||||||
|
** AC_USE_SYSTEM_EXTENSIONS no longer conflicts with an external
|
||||||
|
AC_DEFINE([__EXTENSIONS__]). This fixes a regression introduced in
|
||||||
|
2.62 when using macros such as AC_AIX that were made obsolete in
|
||||||
|
favor of the more portable AC_USE_SYSTEM_EXTENSIONS.
|
||||||
|
** AC_CHECK_TARGET_TOOLS is usable in the non-cross-compile case.
|
||||||
|
** Newly obsolete macros
|
||||||
|
The following macro has been marked obsolete, since current porting
|
||||||
|
targets can safely assume C89 semantics that signal handlers return
|
||||||
|
void. We have no current plans to remove the macro.
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
** The macros m4_map and m4_map_sep now ignore any list elements
|
||||||
|
consisting of just empty quotes, and m4_map_sep now expands its
|
||||||
|
separator. This fixes a regression in 2.62 when these macros were
|
||||||
|
first documented, for the sake of clients expecting the semantics
|
||||||
|
that these macros had prior to that time. The new macros m4_mapall
|
||||||
|
and m4_mapall_sep, along with extra quoting of the separator, can
|
||||||
|
be used to get the semantics that m4_map_sep had in 2.62.
|
||||||
|
** Clients of m4_expand, such as AS_HELP_STRING and AT_SETUP, can now
|
||||||
|
handle properly quoted but otherwise unbalanced parentheses (for
|
||||||
|
some macros, this fixes a regression in 2.62).
|
||||||
|
** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
|
||||||
|
allowing the output of unbalanced parentheses in more contexts.
|
||||||
|
** The following m4sugar macros are new:
|
||||||
|
m4_joinall m4_mapall m4_mapall_sep m4_reverse m4_set_add
|
||||||
|
m4_set_add_all m4_set_contains m4_set_contents m4_set_delete
|
||||||
|
m4_set_difference m4_set_dump m4_set_empty m4_set_foreach
|
||||||
|
m4_set_intersection m4_set_list m4_set_listc m4_set_remove
|
||||||
|
m4_set_size m4_set_union
|
||||||
|
** The following m4sugar macros now accept multiple arguments, as is the
|
||||||
|
case with underlying m4:
|
||||||
|
m4_defn m4_popdef m4_undefine
|
||||||
|
** The following m4sugar macros now guarantee linear scaling; they
|
||||||
|
previously had linear scaling with m4 1.6 but quadratic scaling
|
||||||
|
when using m4 1.4.x. All macros built on top of these also gain
|
||||||
|
the scaling improvements.
|
||||||
|
m4_bmatch m4_bpatsubsts m4_case m4_cond m4_do m4_dquote_elt
|
||||||
|
m4_foreach m4_join m4_list_cmp m4_map m4_map_sep m4_max
|
||||||
|
m4_min m4_shiftn
|
||||||
|
** AT_KEYWORDS once again performs expansion on its argument, such that
|
||||||
|
AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
|
||||||
|
the possibly unexpanded m4_if [regression introduced in 2.62].
|
||||||
|
** Config header templates `#undef UNDEFINED /* comment */' do not lead to
|
||||||
|
nested comments any more; regression introduced in 2.62.
|
||||||
* Thu Jul 17 2008 schwab@suse.de
|
* Thu Jul 17 2008 schwab@suse.de
|
||||||
- Revert AC_C_BIGENDIAN change for now.
|
- Revert AC_C_BIGENDIAN change for now.
|
||||||
- Fix config header substitution.
|
- Fix config header substitution.
|
||||||
|
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 10 09:59:08 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update to autoconf 2.63.
|
||||||
|
** AC_C_BIGENDIAN does not mistakenly report "universal" for some
|
||||||
|
bigendian hosts, a regression introduced with universal binary
|
||||||
|
support in 2.62.
|
||||||
|
** AC_PATH_X now includes /lib64 and /usr/lib64 in its list of default
|
||||||
|
library directories.
|
||||||
|
** AC_USE_SYSTEM_EXTENSIONS no longer conflicts with an external
|
||||||
|
AC_DEFINE([__EXTENSIONS__]). This fixes a regression introduced in
|
||||||
|
2.62 when using macros such as AC_AIX that were made obsolete in
|
||||||
|
favor of the more portable AC_USE_SYSTEM_EXTENSIONS.
|
||||||
|
** AC_CHECK_TARGET_TOOLS is usable in the non-cross-compile case.
|
||||||
|
** Newly obsolete macros
|
||||||
|
The following macro has been marked obsolete, since current porting
|
||||||
|
targets can safely assume C89 semantics that signal handlers return
|
||||||
|
void. We have no current plans to remove the macro.
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
** The macros m4_map and m4_map_sep now ignore any list elements
|
||||||
|
consisting of just empty quotes, and m4_map_sep now expands its
|
||||||
|
separator. This fixes a regression in 2.62 when these macros were
|
||||||
|
first documented, for the sake of clients expecting the semantics
|
||||||
|
that these macros had prior to that time. The new macros m4_mapall
|
||||||
|
and m4_mapall_sep, along with extra quoting of the separator, can
|
||||||
|
be used to get the semantics that m4_map_sep had in 2.62.
|
||||||
|
** Clients of m4_expand, such as AS_HELP_STRING and AT_SETUP, can now
|
||||||
|
handle properly quoted but otherwise unbalanced parentheses (for
|
||||||
|
some macros, this fixes a regression in 2.62).
|
||||||
|
** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
|
||||||
|
allowing the output of unbalanced parentheses in more contexts.
|
||||||
|
** The following m4sugar macros are new:
|
||||||
|
m4_joinall m4_mapall m4_mapall_sep m4_reverse m4_set_add
|
||||||
|
m4_set_add_all m4_set_contains m4_set_contents m4_set_delete
|
||||||
|
m4_set_difference m4_set_dump m4_set_empty m4_set_foreach
|
||||||
|
m4_set_intersection m4_set_list m4_set_listc m4_set_remove
|
||||||
|
m4_set_size m4_set_union
|
||||||
|
** The following m4sugar macros now accept multiple arguments, as is the
|
||||||
|
case with underlying m4:
|
||||||
|
m4_defn m4_popdef m4_undefine
|
||||||
|
** The following m4sugar macros now guarantee linear scaling; they
|
||||||
|
previously had linear scaling with m4 1.6 but quadratic scaling
|
||||||
|
when using m4 1.4.x. All macros built on top of these also gain
|
||||||
|
the scaling improvements.
|
||||||
|
m4_bmatch m4_bpatsubsts m4_case m4_cond m4_do m4_dquote_elt
|
||||||
|
m4_foreach m4_join m4_list_cmp m4_map m4_map_sep m4_max
|
||||||
|
m4_min m4_shiftn
|
||||||
|
** AT_KEYWORDS once again performs expansion on its argument, such that
|
||||||
|
AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
|
||||||
|
the possibly unexpanded m4_if [regression introduced in 2.62].
|
||||||
|
** Config header templates `#undef UNDEFINED /* comment */' do not lead to
|
||||||
|
nested comments any more; regression introduced in 2.62.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 17 16:11:10 CEST 2008 - schwab@suse.de
|
Thu Jul 17 16:11:10 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
#
|
#
|
||||||
# spec file for package autoconf (Version 2.62)
|
# spec file for package autoconf (Version 2.63)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -18,13 +25,11 @@ Url: http://www.gnu.org/software/autoconf
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Requires: m4 >= %(rpm -q --qf=%%{VERSION} m4)
|
Requires: m4 >= %(rpm -q --qf=%%{VERSION} m4)
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
Version: 2.62
|
Version: 2.63
|
||||||
Release: 6
|
Release: 1
|
||||||
Summary: A GNU Tool for Automatically Configuring Source Code
|
Summary: A GNU Tool for Automatically Configuring Source Code
|
||||||
Source: autoconf-%{version}.tar.bz2
|
Source: autoconf-%{version}.tar.bz2
|
||||||
Patch: autoreconf-ltdl.diff
|
Patch: autoreconf-ltdl.diff
|
||||||
Patch1: output-headers-prepare.diff
|
|
||||||
Patch2: ac-c-bigendian.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,8 +55,6 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
%patch1 -p1
|
|
||||||
%patch2
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f config}
|
%{suse_update_config -f config}
|
||||||
@ -84,6 +87,56 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man1/*.gz
|
%doc %{_mandir}/man1/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 10 2008 schwab@suse.de
|
||||||
|
- Update to autoconf 2.63.
|
||||||
|
** AC_C_BIGENDIAN does not mistakenly report "universal" for some
|
||||||
|
bigendian hosts, a regression introduced with universal binary
|
||||||
|
support in 2.62.
|
||||||
|
** AC_PATH_X now includes /lib64 and /usr/lib64 in its list of default
|
||||||
|
library directories.
|
||||||
|
** AC_USE_SYSTEM_EXTENSIONS no longer conflicts with an external
|
||||||
|
AC_DEFINE([__EXTENSIONS__]). This fixes a regression introduced in
|
||||||
|
2.62 when using macros such as AC_AIX that were made obsolete in
|
||||||
|
favor of the more portable AC_USE_SYSTEM_EXTENSIONS.
|
||||||
|
** AC_CHECK_TARGET_TOOLS is usable in the non-cross-compile case.
|
||||||
|
** Newly obsolete macros
|
||||||
|
The following macro has been marked obsolete, since current porting
|
||||||
|
targets can safely assume C89 semantics that signal handlers return
|
||||||
|
void. We have no current plans to remove the macro.
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
** The macros m4_map and m4_map_sep now ignore any list elements
|
||||||
|
consisting of just empty quotes, and m4_map_sep now expands its
|
||||||
|
separator. This fixes a regression in 2.62 when these macros were
|
||||||
|
first documented, for the sake of clients expecting the semantics
|
||||||
|
that these macros had prior to that time. The new macros m4_mapall
|
||||||
|
and m4_mapall_sep, along with extra quoting of the separator, can
|
||||||
|
be used to get the semantics that m4_map_sep had in 2.62.
|
||||||
|
** Clients of m4_expand, such as AS_HELP_STRING and AT_SETUP, can now
|
||||||
|
handle properly quoted but otherwise unbalanced parentheses (for
|
||||||
|
some macros, this fixes a regression in 2.62).
|
||||||
|
** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
|
||||||
|
allowing the output of unbalanced parentheses in more contexts.
|
||||||
|
** The following m4sugar macros are new:
|
||||||
|
m4_joinall m4_mapall m4_mapall_sep m4_reverse m4_set_add
|
||||||
|
m4_set_add_all m4_set_contains m4_set_contents m4_set_delete
|
||||||
|
m4_set_difference m4_set_dump m4_set_empty m4_set_foreach
|
||||||
|
m4_set_intersection m4_set_list m4_set_listc m4_set_remove
|
||||||
|
m4_set_size m4_set_union
|
||||||
|
** The following m4sugar macros now accept multiple arguments, as is the
|
||||||
|
case with underlying m4:
|
||||||
|
m4_defn m4_popdef m4_undefine
|
||||||
|
** The following m4sugar macros now guarantee linear scaling; they
|
||||||
|
previously had linear scaling with m4 1.6 but quadratic scaling
|
||||||
|
when using m4 1.4.x. All macros built on top of these also gain
|
||||||
|
the scaling improvements.
|
||||||
|
m4_bmatch m4_bpatsubsts m4_case m4_cond m4_do m4_dquote_elt
|
||||||
|
m4_foreach m4_join m4_list_cmp m4_map m4_map_sep m4_max
|
||||||
|
m4_min m4_shiftn
|
||||||
|
** AT_KEYWORDS once again performs expansion on its argument, such that
|
||||||
|
AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
|
||||||
|
the possibly unexpanded m4_if [regression introduced in 2.62].
|
||||||
|
** Config header templates `#undef UNDEFINED /* comment */' do not lead to
|
||||||
|
nested comments any more; regression introduced in 2.62.
|
||||||
* Thu Jul 17 2008 schwab@suse.de
|
* Thu Jul 17 2008 schwab@suse.de
|
||||||
- Revert AC_C_BIGENDIAN change for now.
|
- Revert AC_C_BIGENDIAN change for now.
|
||||||
- Fix config header substitution.
|
- Fix config header substitution.
|
||||||
|
@ -1,62 +0,0 @@
|
|||||||
commit c87512b5ae11de7a98ccc8c3e42d5df6f5039fe0
|
|
||||||
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
||||||
Date: Tue Jun 17 08:42:14 2008 +0200
|
|
||||||
|
|
||||||
Fix '#undef variable /* comment */' transform in config headers.
|
|
||||||
|
|
||||||
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): For
|
|
||||||
undefined preprocessor macros that are followed by a comment
|
|
||||||
in the header template, do not create nested comments in the
|
|
||||||
output.
|
|
||||||
* tests/torture.at (@%:@define header templates): Extend test.
|
|
||||||
* NEWS: Update.
|
|
||||||
Report by Karsten Hopp <karsten@redhat.com>.
|
|
||||||
|
|
||||||
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
||||||
|
|
||||||
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
|
|
||||||
index 50be77b..d5ed323 100644
|
|
||||||
--- a/lib/autoconf/status.m4
|
|
||||||
+++ b/lib/autoconf/status.m4
|
|
||||||
@@ -832,9 +832,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
||||||
}
|
|
||||||
split(mac1, mac2, "(") #)
|
|
||||||
macro = mac2[1]
|
|
||||||
+ prefix = substr(line, 1, index(line, defundef) - 1)
|
|
||||||
if (D_is_set[macro]) {
|
|
||||||
# Preserve the white space surrounding the "#".
|
|
||||||
- prefix = substr(line, 1, index(line, defundef) - 1)
|
|
||||||
print prefix "define", macro P[macro] D[macro]
|
|
||||||
next
|
|
||||||
} else {
|
|
||||||
@@ -842,7 +842,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
||||||
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
||||||
# on some systems where configure will not decide to define it.
|
|
||||||
if (defundef == "undef") {
|
|
||||||
- print "/*", line, "*/"
|
|
||||||
+ print "/*", prefix defundef, macro, "*/"
|
|
||||||
next
|
|
||||||
}
|
|
||||||
}
|
|
||||||
diff --git a/tests/torture.at b/tests/torture.at
|
|
||||||
index c37daba..92f8d5b 100644
|
|
||||||
--- a/tests/torture.at
|
|
||||||
+++ b/tests/torture.at
|
|
||||||
@@ -497,6 +497,8 @@ AT_DATA([config.hin],
|
|
||||||
#define str(define) \
|
|
||||||
#define
|
|
||||||
#define stringify(arg) str(arg)
|
|
||||||
+#undef aaa /* with comments */
|
|
||||||
+#undef not_substed /* with comments */
|
|
||||||
]])
|
|
||||||
|
|
||||||
AT_CHECK_AUTOCONF
|
|
||||||
@@ -527,6 +529,8 @@ ARG1
|
|
||||||
#define str(define) \
|
|
||||||
#define
|
|
||||||
#define stringify(arg) str(arg)
|
|
||||||
+#define aaa AAA
|
|
||||||
+/* #undef not_substed */
|
|
||||||
]])
|
|
||||||
AT_CHECK([cat config.h], 0, expout)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user