Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are installed (such as Debian).
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 22 22:01:43 2008 +0000 (2008-09-22)
changeset 86845b6a85bfdbc
parent 867 c91b266f4dfa
child 869 23c6c9ea90be
Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are installed (such as Debian).

/trunk/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch | 78 78 0 0 ++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
patches/eglibc/2_8/100-powerpc-private_futex.patch
patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/eglibc/2_8/100-powerpc-private_futex.patch	Mon Sep 22 22:01:43 2008 +0000
     1.3 @@ -0,0 +1,15 @@
     1.4 +2008-04-28  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
     1.5 +
     1.6 +	[BZ 6740]
     1.7 +	nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
     1.8 +	Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.
     1.9 +
    1.10 +--- a/nptl/sysdeps/powerpc/tcb-offsets.sym
    1.11 ++++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
    1.12 +@@ -15,4 +15,6 @@
    1.13 + PID				thread_offsetof (pid)
    1.14 + TID				thread_offsetof (tid)
    1.15 + POINTER_GUARD			(offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
    1.16 ++#ifndef __ASSUME_PRIVATE_FUTEX
    1.17 + PRIVATE_FUTEX_OFFSET		thread_offsetof (header.private_futex)
    1.18 ++#endif
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch	Mon Sep 22 22:01:43 2008 +0000
     2.3 @@ -0,0 +1,78 @@
     2.4 +Index: sysdeps/powerpc/powerpc32/configure.in
     2.5 +===================================================================
     2.6 +--- libc/sysdeps/powerpc/powerpc32/configure.in	(revision 7000)
     2.7 ++++ libc/sysdeps/powerpc/powerpc32/configure.in	(working copy)
     2.8 +@@ -1,6 +1,8 @@
     2.9 + GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    2.10 + # Local configure fragment for sysdeps/powerpc/powerpc32.
    2.11 + 
    2.12 ++AC_PREREQ(2.50)
    2.13 ++
    2.14 + # See whether gas has R_PPC_REL16 relocs.
    2.15 + AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
    2.16 + cat > conftest.s <<\EOF
    2.17 +Index: sysdeps/powerpc/powerpc32/elf/configure.in
    2.18 +===================================================================
    2.19 +--- libc/sysdeps/powerpc/powerpc32/elf/configure.in	(revision 7000)
    2.20 ++++ libc/sysdeps/powerpc/powerpc32/elf/configure.in	(working copy)
    2.21 +@@ -1,6 +1,8 @@
    2.22 + GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    2.23 + # Local configure fragment for sysdeps/powerpc32/elf.
    2.24 + 
    2.25 ++AC_PREREQ(2.50)
    2.26 ++
    2.27 + if test "$usetls" != no; then
    2.28 + # Check for support of thread-local storage handling in assembler and
    2.29 + # linker.
    2.30 +Index: sysdeps/powerpc/configure.in
    2.31 +===================================================================
    2.32 +--- libc/sysdeps/powerpc/configure.in	(revision 7000)
    2.33 ++++ libc/sysdeps/powerpc/configure.in	(working copy)
    2.34 +@@ -1,6 +1,8 @@
    2.35 + GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    2.36 + # Local configure fragment for sysdeps/powerpc.
    2.37 + 
    2.38 ++AC_PREREQ(2.50)
    2.39 ++
    2.40 + # Accept binutils which knows about ".machine".
    2.41 + AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl
    2.42 + cat > conftest.s <<\EOF
    2.43 +Index: sysdeps/unix/sysv/linux/powerpc/configure.in
    2.44 +===================================================================
    2.45 +--- libc/sysdeps/unix/sysv/linux/powerpc/configure.in	(revision 7000)
    2.46 ++++ libc/sysdeps/unix/sysv/linux/powerpc/configure.in	(working copy)
    2.47 +@@ -2,6 +2,8 @@
    2.48 + GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    2.49 + # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
    2.50 + 
    2.51 ++AC_PREREQ(2.50)
    2.52 ++
    2.53 + AC_CACHE_CHECK(whether $CC $CFLAGS -mlong-double-128 uses IBM extended format,
    2.54 + 	       libc_cv_mlong_double_128ibm, [dnl
    2.55 + save_CFLAGS="$CFLAGS"
    2.56 +Index: sysdeps/ieee754/ldbl-opt/configure.in
    2.57 +===================================================================
    2.58 +--- libc/sysdeps/ieee754/ldbl-opt/configure.in	(revision 7000)
    2.59 ++++ libc/sysdeps/ieee754/ldbl-opt/configure.in	(working copy)
    2.60 +@@ -2,6 +2,8 @@
    2.61 + GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    2.62 + # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
    2.63 + 
    2.64 ++AC_PREREQ(2.50)
    2.65 ++
    2.66 + AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
    2.67 + 	       libc_cv_mlong_double_128, [dnl
    2.68 + save_CFLAGS="$CFLAGS"
    2.69 +Index: libidn/configure.in
    2.70 +===================================================================
    2.71 +--- libc/libidn/configure.in	(revision 7000)
    2.72 ++++ libc/libidn/configure.in	(working copy)
    2.73 +@@ -1,6 +1,8 @@
    2.74 + dnl glibc configure fragment for libidn add-on
    2.75 + GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    2.76 + 
    2.77 ++AC_PREREQ(2.50)
    2.78 ++
    2.79 + libc_add_on_canonical=
    2.80 + libc_add_on_subdirs=.
    2.81 +