[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] m4: fix logic error leading to -fno-rtti being added wrongly.
From: |
Gary V. Vaughan |
Subject: |
[PATCH] m4: fix logic error leading to -fno-rtti being added wrongly. |
Date: |
Sat, 26 Nov 2011 11:19:16 +0700 |
Applied as the obvious fix for an error in translation in commit 962aa919.
* m4/libtool.m4 (_LT_COMPILER_OPTION): Negate comparison so that
compiler flags are added correctly.
Signed-off-by: Gary V. Vaughan <address@hidden>
---
m4/libtool.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 007492c..4be85a5 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1532,7 +1532,7 @@ AC_CACHE_CHECK([$1], [$2],
$RM conftest*
])
-if test yes != "[$]$2"; then
+if test yes = "[$]$2"; then
m4_if([$5], , :, [$5])
else
m4_if([$6], , :, [$6])
--
1.7.7.4
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] m4: fix logic error leading to -fno-rtti being added wrongly.,
Gary V. Vaughan <=