summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2011-11-26 11:06:35 +0700
committerGary V. Vaughan <gary@gnu.org>2011-11-26 11:06:35 +0700
commit11869b9c9eb8bcc8cb6a615141f522a447377324 (patch)
treec6f6b6a345c1e87301e9dad4322d99c7e8790d55
parent6a4426ee0a17cbb8fcae3e06890cd1b6dc1237b6 (diff)
downloadlibtool-11869b9c9eb8bcc8cb6a615141f522a447377324.tar.gz
m4: fix logic error leading to -fno-rtti being added wrongly.
* m4/libtool.m4 (_LT_COMPILER_OPTION): Negate comparison so that compiler flags are added correctly. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r--m4/libtool.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 007492c2..4be85a52 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])