[lfs-dev] automake sed

Ken Moffat zarniwhoop at ntlworld.com
Thu Aug 23 16:02:38 PDT 2012


 With my current experience of failed testsuites, and (probable
hardware failure causing) a bogus delay to 7.2-rc1, I hate to
mention this, but the sed in automake-1.12.3 is already included
upstream:

ken at ac4tv /scratch/ken/automake-1.12.3 $diff -C 8
t/aclocal7.sh{.orig,}
*** t/aclocal7.sh.orig	2012-08-23 23:53:47.136919660 +0100
--- t/aclocal7.sh	2012-08-23 23:54:00.885249023 +0100
***************
*** 40,55 ****
--- 40,56 ----
  # Automake will take aclocal.m4 to be newer if it has the same
  # timestamp
  # as Makefile.in.  Avoid the confusing by sleeping.
  AUTOMAKE_after_aclocal ()
  {
    $sleep
    $AUTOMAKE --no-force
  }
  
+ $sleep
  # aclocal will rewrite aclocal.m4 unless the input files are all
  # older than the
  # existing aclocal.m4 -- sleep to ensure somedefs.m4 has an older
  # timestamp
  # than the aclocal.m4 that the next aclocal call will generate.
  $sleep
  
  $ACLOCAL -I m4
  AUTOMAKE_after_aclocal
  
 compared to
ken at ac4tv /scratch/ken/automake-1.12.2 $diff -C 6
t/aclocal7.sh{.orig,}
*** t/aclocal7.sh.orig	2012-08-23 23:57:55.498872665 +0100
--- t/aclocal7.sh	2012-08-23 23:58:01.467013823 +0100
***************
*** 42,53 ****
--- 42,54 ----
  AUTOMAKE_after_aclocal ()
  {
    $sleep
    $AUTOMAKE --no-force
  }
  
+ $sleep
  $ACLOCAL -I m4
  AUTOMAKE_after_aclocal
  
  touch foo
  $sleep
  $ACLOCAL -I m4

ĸen (who doesn't like inserting lines at a line number with sed)
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-dev mailing list