GNOME Bugzilla – Bug 117840
Drop autoconf magic and use G_MODULE_SUFFIX
Last modified: 2004-12-22 21:47:04 UTC
Build fails for me because of obscure autoconf macro that is completely unnecessary, glib alredy defines such a symbol in G_MODULE_SUFFIX. Attached is a patch which uses G_MODULE_SUFFIX instead of home made define. Actually I don't see why the code that uses this suffix is there at all. IMHO it seems like a better idea to just throw the found path to g_module_open(), let the framework deal with any issues and just ignore it if g_module_open() returns null.
Created attachment 18441 [details] [review] Patch to use G_MODULE_SUFFIX rather than homemade
This is crufty. The patch looks like a good idea, but wish we didn't need to bother. However, it looks like things other than modules can be in that dir. Lets apply to HEAD.
We need to check for the dot too.