automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, yl-work-for-master, updated


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, yl-work-for-master, updated. v1.11-1915-ga2437fe
Date: Mon, 13 Feb 2012 18:50:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=a2437fee3612a2186005d361c84d62a9859278d7

The branch, yl-work-for-master has been updated
       via  a2437fee3612a2186005d361c84d62a9859278d7 (commit)
      from  568a1a5e0bfc5bbe1e6d683fe38871a906c2f2a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a2437fee3612a2186005d361c84d62a9859278d7
Author: Stefano Lattarini <address@hidden>
Date:   Mon Feb 13 19:33:51 2012 +0100

    yacc/lex tests: avoid spurious skips with non-GNU make
    
    * tests/defs (useless_vpath_rebuild): Fix botched logic that
    was causing this function to always diagnose non-GNU make
    implementations as being affected by the "useless rebuilds
    in VPATH setup" bug (that affects FreeBSD make and causes
    automake bug#7884).

-----------------------------------------------------------------------

Summary of changes:
 tests/defs |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/tests/defs b/tests/defs
index 93c72b7..819a96a 100644
--- a/tests/defs
+++ b/tests/defs
@@ -453,16 +453,11 @@ am__can_chain_suffix_rules="" # Avoid interferences from 
the environment.
 # directory.
 useless_vpath_rebuild ()
 {
-  case $am__useless_vpath_rebuild in
-    yes) return 0;;
-     no) return 1;;
-     "") ;;
-      *) fatal_ "no_useless_builddir_remake: internal error";;
-  esac
-  if using_gmake; then
-    am__useless_vpath_rebuild=no
-    return 1
-  else
+  if test -z "$am__useless_vpath_rebuild"; then
+    if using_gmake; then
+      am__useless_vpath_rebuild=no
+      return 1
+    fi
     mkdir am__vpath.dir$$
     cd am__vpath.dir$$
     touch foo.a foo.b bar baz
@@ -484,7 +479,14 @@ END
     cd ../..
     rm -rf am__vpath.dir$$
   fi
+  case $am__useless_vpath_rebuild in
+    yes) return 0;;
+     no) return 1;;
+     "") ;;
+      *) fatal_ "no_useless_builddir_remake: internal error";;
+  esac
 }
+am__useless_vpath_rebuild=""
 
 yl_distcheck () { useless_vpath_rebuild || $MAKE distcheck ${1+"$@"}; }
 


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]