Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.13
diff -u -r1.13 ltmain.m4sh
--- libltdl/config/ltmain.m4sh	30 Sep 2005 08:41:48 -0000	1.13
+++ libltdl/config/ltmain.m4sh	15 Oct 2005 10:47:35 -0000
@@ -3721,7 +3721,7 @@
 		    # link against it, someone is ignoring the earlier warnings
 		    if /usr/bin/file -L $add 2> /dev/null |
 			 $GREP "bundle" >/dev/null ; then
-		      if test "X$dlopenmodule" != "X$lib"; then
+		      if test "X$dlopenmodule" = "X$lib"; then
 			$ECHO "*** Warning: lib $linklib is a module, not a shared library"
 			if test -z "$old_library" ; then
 			  $ECHO
