From: Ralf Wildenhues Date: Mon, 7 Jan 2008 20:53:38 +0000 (+0100) Subject: Fix ccnoco.test for uncommon LDFLAGS settings. X-Git-Tag: v1.10b~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e86514729c6dccb6213fdde8d93d7061c8108a5;p=thirdparty%2Fautomake.git Fix ccnoco.test for uncommon LDFLAGS settings. * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o, to avoid matching for example `LDFLAGS=-Wl,--sort-common'. * THANKS: Update. Report and analysis by Carsten Lohrke and Mike Frysinger. --- diff --git a/ChangeLog b/ChangeLog index e76a82596..f7b3a7e94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-07 Ralf Wildenhues + + * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o, + to avoid matching for example `LDFLAGS=-Wl,--sort-common'. + * THANKS: Update. + Report and analysis by Carsten Lohrke and Mike Frysinger. + 2008-01-07 Stepan Kasal * automake.in (handle_texinfo_helper, handle_lib_objects): Fix diff --git a/THANKS b/THANKS index 4533fb550..eee4eda30 100644 --- a/THANKS +++ b/THANKS @@ -46,6 +46,7 @@ Brian Gough bjg@network-theory.co.uk Brian Jones cbj@nortel.net Bruce Korb bkorb@gnu.org Bruno Haible haible@ilog.fr +Carsten Lohrke carlo@gentoo.org Charles Wilson cwilson@ece.gatech.edu Chris Provenzano proven@io.proven.org Christian Cornelssen ccorn@cs.tu-berlin.de diff --git a/tests/ccnoco.test b/tests/ccnoco.test index 8b37fe8ac..ca7592204 100755 --- a/tests/ccnoco.test +++ b/tests/ccnoco.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2008 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -57,8 +57,8 @@ END cat > Mycomp << 'END' #!/bin/sh -case "$@" in - *-c*-o* | *-o*-c*) +case " "$* in + *\ -c*\ -o* | *\ -o*\ -c*) exit 1 ;; esac