]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix ccnoco.test for uncommon LDFLAGS settings.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 7 Jan 2008 20:53:38 +0000 (21:53 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 7 Jan 2008 20:55:05 +0000 (21:55 +0100)
* 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.

ChangeLog
THANKS
tests/ccnoco.test

index e76a82596670287d9581fa5d2865ea286ab081ef..f7b3a7e945fc25bb115b15f98e2f4a53bb98d63d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * 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  <skasal@redhat.com>
 
        * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
diff --git a/THANKS b/THANKS
index 4533fb5501a1cb7fa3a11316ddca0de32aeeb549..eee4eda30f94cb54152db96be72bc575262ed16e 100644 (file)
--- 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
index 8b37fe8ac10ca222589ba04cd58f9623f01179ee..ca7592204b6d74bf66c8082a6dfcc9ae76f3763c 100755 (executable)
@@ -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