In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 28 21:34:11 2008 +0000 (2008-09-28)
changeset 88435302e8a3483
parent 883 927b30e32709
child 885 4653d6002d37
In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
They are nonetheless in sync and need not be regenerated.
Fix that by touching the files to have 'make' believe they are up-to-date (which they are).

/trunk/scripts/build/libc/glibc.sh | 5 5 0 0 +++++
/trunk/scripts/build/libc/eglibc.sh | 7 6 1 0 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
scripts/build/libc/eglibc.sh
scripts/build/libc/glibc.sh
     1.1 --- a/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch	Sun Sep 28 21:31:13 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,78 +0,0 @@
     1.4 -Index: sysdeps/powerpc/powerpc32/configure.in
     1.5 -===================================================================
     1.6 ---- libc/sysdeps/powerpc/powerpc32/configure.in	(revision 7000)
     1.7 -+++ libc/sysdeps/powerpc/powerpc32/configure.in	(working copy)
     1.8 -@@ -1,6 +1,8 @@
     1.9 - GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    1.10 - # Local configure fragment for sysdeps/powerpc/powerpc32.
    1.11 - 
    1.12 -+AC_PREREQ(2.50)
    1.13 -+
    1.14 - # See whether gas has R_PPC_REL16 relocs.
    1.15 - AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
    1.16 - cat > conftest.s <<\EOF
    1.17 -Index: sysdeps/powerpc/powerpc32/elf/configure.in
    1.18 -===================================================================
    1.19 ---- libc/sysdeps/powerpc/powerpc32/elf/configure.in	(revision 7000)
    1.20 -+++ libc/sysdeps/powerpc/powerpc32/elf/configure.in	(working copy)
    1.21 -@@ -1,6 +1,8 @@
    1.22 - GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    1.23 - # Local configure fragment for sysdeps/powerpc32/elf.
    1.24 - 
    1.25 -+AC_PREREQ(2.50)
    1.26 -+
    1.27 - if test "$usetls" != no; then
    1.28 - # Check for support of thread-local storage handling in assembler and
    1.29 - # linker.
    1.30 -Index: sysdeps/powerpc/configure.in
    1.31 -===================================================================
    1.32 ---- libc/sysdeps/powerpc/configure.in	(revision 7000)
    1.33 -+++ libc/sysdeps/powerpc/configure.in	(working copy)
    1.34 -@@ -1,6 +1,8 @@
    1.35 - GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    1.36 - # Local configure fragment for sysdeps/powerpc.
    1.37 - 
    1.38 -+AC_PREREQ(2.50)
    1.39 -+
    1.40 - # Accept binutils which knows about ".machine".
    1.41 - AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl
    1.42 - cat > conftest.s <<\EOF
    1.43 -Index: sysdeps/unix/sysv/linux/powerpc/configure.in
    1.44 -===================================================================
    1.45 ---- libc/sysdeps/unix/sysv/linux/powerpc/configure.in	(revision 7000)
    1.46 -+++ libc/sysdeps/unix/sysv/linux/powerpc/configure.in	(working copy)
    1.47 -@@ -2,6 +2,8 @@
    1.48 - GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    1.49 - # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
    1.50 - 
    1.51 -+AC_PREREQ(2.50)
    1.52 -+
    1.53 - AC_CACHE_CHECK(whether $CC $CFLAGS -mlong-double-128 uses IBM extended format,
    1.54 - 	       libc_cv_mlong_double_128ibm, [dnl
    1.55 - save_CFLAGS="$CFLAGS"
    1.56 -Index: sysdeps/ieee754/ldbl-opt/configure.in
    1.57 -===================================================================
    1.58 ---- libc/sysdeps/ieee754/ldbl-opt/configure.in	(revision 7000)
    1.59 -+++ libc/sysdeps/ieee754/ldbl-opt/configure.in	(working copy)
    1.60 -@@ -2,6 +2,8 @@
    1.61 - GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    1.62 - # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
    1.63 - 
    1.64 -+AC_PREREQ(2.50)
    1.65 -+
    1.66 - AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
    1.67 - 	       libc_cv_mlong_double_128, [dnl
    1.68 - save_CFLAGS="$CFLAGS"
    1.69 -Index: libidn/configure.in
    1.70 -===================================================================
    1.71 ---- libc/libidn/configure.in	(revision 7000)
    1.72 -+++ libc/libidn/configure.in	(working copy)
    1.73 -@@ -1,6 +1,8 @@
    1.74 - dnl glibc configure fragment for libidn add-on
    1.75 - GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
    1.76 - 
    1.77 -+AC_PREREQ(2.50)
    1.78 -+
    1.79 - libc_add_on_canonical=
    1.80 - libc_add_on_subdirs=.
    1.81 - 
     2.1 --- a/scripts/build/libc/eglibc.sh	Sun Sep 28 21:31:13 2008 +0000
     2.2 +++ b/scripts/build/libc/eglibc.sh	Sun Sep 28 21:34:11 2008 +0000
     2.3 @@ -110,6 +110,11 @@
     2.4          CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}"
     2.5      done
     2.6  
     2.7 +    # The configure files may be older than the configure.in files
     2.8 +    # if using a snapshot (or even some tarballs). Fake them being
     2.9 +    # up to date.
    2.10 +    find "${CT_SRC_DIR}/${CT_LIBC_FILE}" -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL
    2.11 +
    2.12      return 0
    2.13  }
    2.14  
    2.15 @@ -118,7 +123,7 @@
    2.16      :
    2.17  }
    2.18  
    2.19 -# This function installs the glibc headers needed to build the core compiler
    2.20 +# This function installs the eglibc headers needed to build the core compiler
    2.21  do_libc_headers() {
    2.22      # Instead of doing two time the same actions, headers will
    2.23      # be installed with start files
     3.1 --- a/scripts/build/libc/glibc.sh	Sun Sep 28 21:31:13 2008 +0000
     3.2 +++ b/scripts/build/libc/glibc.sh	Sun Sep 28 21:34:11 2008 +0000
     3.3 @@ -46,6 +46,11 @@
     3.4          CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}"
     3.5      done
     3.6  
     3.7 +    # The configure files may be older than the configure.in files
     3.8 +    # if using a snapshot (or even some tarballs). Fake them being
     3.9 +    # up to date.
    3.10 +    find "${CT_SRC_DIR}/${CT_LIBC_FILE}" -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL
    3.11 +
    3.12      return 0
    3.13  }
    3.14