From: Gary V. Vaughan Date: Sat, 26 Nov 2011 04:06:35 +0000 (+0700) Subject: m4: fix logic error leading to -fno-rtti being added wrongly. X-Git-Tag: v2.4.2.418~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11869b9c9eb8bcc8cb6a615141f522a447377324;p=thirdparty%2Flibtool.git 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 --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 007492c2f..4be85a521 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])