patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 22 22:01:43 2008 +0000 (2008-09-22)
changeset 868 45b6a85bfdbc
permissions -rw-r--r--
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(+)
yann@868
     1
Index: sysdeps/powerpc/powerpc32/configure.in
yann@868
     2
===================================================================
yann@868
     3
--- libc/sysdeps/powerpc/powerpc32/configure.in	(revision 7000)
yann@868
     4
+++ libc/sysdeps/powerpc/powerpc32/configure.in	(working copy)
yann@868
     5
@@ -1,6 +1,8 @@
yann@868
     6
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
yann@868
     7
 # Local configure fragment for sysdeps/powerpc/powerpc32.
yann@868
     8
 
yann@868
     9
+AC_PREREQ(2.50)
yann@868
    10
+
yann@868
    11
 # See whether gas has R_PPC_REL16 relocs.
yann@868
    12
 AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
yann@868
    13
 cat > conftest.s <<\EOF
yann@868
    14
Index: sysdeps/powerpc/powerpc32/elf/configure.in
yann@868
    15
===================================================================
yann@868
    16
--- libc/sysdeps/powerpc/powerpc32/elf/configure.in	(revision 7000)
yann@868
    17
+++ libc/sysdeps/powerpc/powerpc32/elf/configure.in	(working copy)
yann@868
    18
@@ -1,6 +1,8 @@
yann@868
    19
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
yann@868
    20
 # Local configure fragment for sysdeps/powerpc32/elf.
yann@868
    21
 
yann@868
    22
+AC_PREREQ(2.50)
yann@868
    23
+
yann@868
    24
 if test "$usetls" != no; then
yann@868
    25
 # Check for support of thread-local storage handling in assembler and
yann@868
    26
 # linker.
yann@868
    27
Index: sysdeps/powerpc/configure.in
yann@868
    28
===================================================================
yann@868
    29
--- libc/sysdeps/powerpc/configure.in	(revision 7000)
yann@868
    30
+++ libc/sysdeps/powerpc/configure.in	(working copy)
yann@868
    31
@@ -1,6 +1,8 @@
yann@868
    32
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
yann@868
    33
 # Local configure fragment for sysdeps/powerpc.
yann@868
    34
 
yann@868
    35
+AC_PREREQ(2.50)
yann@868
    36
+
yann@868
    37
 # Accept binutils which knows about ".machine".
yann@868
    38
 AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl
yann@868
    39
 cat > conftest.s <<\EOF
yann@868
    40
Index: sysdeps/unix/sysv/linux/powerpc/configure.in
yann@868
    41
===================================================================
yann@868
    42
--- libc/sysdeps/unix/sysv/linux/powerpc/configure.in	(revision 7000)
yann@868
    43
+++ libc/sysdeps/unix/sysv/linux/powerpc/configure.in	(working copy)
yann@868
    44
@@ -2,6 +2,8 @@
yann@868
    45
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
yann@868
    46
 # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
yann@868
    47
 
yann@868
    48
+AC_PREREQ(2.50)
yann@868
    49
+
yann@868
    50
 AC_CACHE_CHECK(whether $CC $CFLAGS -mlong-double-128 uses IBM extended format,
yann@868
    51
 	       libc_cv_mlong_double_128ibm, [dnl
yann@868
    52
 save_CFLAGS="$CFLAGS"
yann@868
    53
Index: sysdeps/ieee754/ldbl-opt/configure.in
yann@868
    54
===================================================================
yann@868
    55
--- libc/sysdeps/ieee754/ldbl-opt/configure.in	(revision 7000)
yann@868
    56
+++ libc/sysdeps/ieee754/ldbl-opt/configure.in	(working copy)
yann@868
    57
@@ -2,6 +2,8 @@
yann@868
    58
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
yann@868
    59
 # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
yann@868
    60
 
yann@868
    61
+AC_PREREQ(2.50)
yann@868
    62
+
yann@868
    63
 AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
yann@868
    64
 	       libc_cv_mlong_double_128, [dnl
yann@868
    65
 save_CFLAGS="$CFLAGS"
yann@868
    66
Index: libidn/configure.in
yann@868
    67
===================================================================
yann@868
    68
--- libc/libidn/configure.in	(revision 7000)
yann@868
    69
+++ libc/libidn/configure.in	(working copy)
yann@868
    70
@@ -1,6 +1,8 @@
yann@868
    71
 dnl glibc configure fragment for libidn add-on
yann@868
    72
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
yann@868
    73
 
yann@868
    74
+AC_PREREQ(2.50)
yann@868
    75
+
yann@868
    76
 libc_add_on_canonical=
yann@868
    77
 libc_add_on_subdirs=.
yann@868
    78