automake-patches
[Top][All Lists]
Advanced

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

FYI: don't grep CCC in cxxnoc.test


From: Alexandre Duret-Lutz
Subject: FYI: don't grep CCC in cxxnoc.test
Date: Sat, 14 May 2005 21:24:17 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

I'm installing this on HEAD and branch-1-9.

2005-05-14  Alexandre Duret-Lutz  <address@hidden>

        * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
        Autoconf currently defines a CCC variable.

Index: tests/cxxnoc.test
===================================================================
RCS file: /cvs/automake/automake/tests/cxxnoc.test,v
retrieving revision 1.5
diff -u -r1.5 cxxnoc.test
--- tests/cxxnoc.test   14 Nov 2003 21:25:58 -0000      1.5
+++ tests/cxxnoc.test   14 May 2005 19:22:32 -0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996, 1997, 2001, 2002  Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 2001, 2002, 2005  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -22,6 +22,8 @@
 
 . ./defs || exit 1
 
+set -e
+
 cat >> configure.in << 'END'
 AC_PROG_CXX
 END
@@ -34,8 +36,8 @@
 : > doe.C
 : > jane.C
 
-$ACLOCAL || exit 1
-$AUTOMAKE || exit 1
+$ACLOCAL
+$AUTOMAKE
 
-grep CC Makefile.in | grep -v MKDEP && exit 1
+$FGREP '(CC)' Makefile.in && exit 1
 exit 0

-- 
Alexandre Duret-Lutz





reply via email to

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