bug-autoconf
[Top][All Lists]
Advanced

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

Re: CVS Automake fails to make check with CVS Autoconf


From: Paul Eggert
Subject: Re: CVS Automake fails to make check with CVS Autoconf
Date: Fri, 22 Jun 2007 14:37:31 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

How about this (untested) patch to Automake?

2007-06-22  Paul Eggert  <address@hidden>

        * tests/subst.test: Port to CVS autoconf.
        Problem reported by Benoit Sigoure in:
        http://lists.gnu.org/archive/html/automake-patches/2007-06/msg00003.html

--- automake/tests/subst.test.~1.5.~    2005-05-14 13:28:56.000000000 -0700
+++ automake/tests/subst.test   2007-06-22 14:34:32.000000000 -0700
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 2001, 2002  Free Software Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -30,7 +30,9 @@ END
 
 : > Makefile.am
 
-$ACLOCAL || exit 1
-$AUTOMAKE || exit 1
-grep '^\$1' Makefile.in && exit 1
+if $ACLOCAL; then
+  $AUTOMAKE || exit 1
+  grep '^\$1' Makefile.in && exit 1
+fi
+
 exit 0




reply via email to

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