GNOME Bugzilla – Bug 322476
Missing check for .dylib
Last modified: 2006-03-21 13:58:31 UTC
Version details: 2.8.4 Distribution/Version: Darwin configure checks for the filename extension of the dynamic libraries of the current OS. This check does not contain a case for Darwin (which extension is .dylib). Look for the line: "AC_MSG_CHECKING(for the suffix of shared libraries)" in configure.in.
2006-03-06 Anders Carlsson <andersca@imendio.com> * configure.in: Make .dylib the shared library suffix on darwin. (#322476, Vladimir Panov)
I reverted this fix since it breaks module loading in GTK+ and Pango under Darwin. The reason for this is that libtool creates shared modules with the .so suffix and shared libraries with the .dylib suffix. When for example pango-querymodules looked for engine modules, it couldn't find any with the .dylib extensions since libtool would create them with the .so suffix.
If you haven't done this, you should probably change the line AC_MSG_CHECKING(for the suffix of shared libraries) into AC_MSG_CHECKING(for the suffix of shared modules) and add some comments in the configure.in file. A correct message would have avoid the mess.