--- configure.orig	2015-05-11 13:09:49.583263787 +0000
+++ configure	2015-05-11 13:13:15.529929145 +0000
@@ -630,8 +630,8 @@
 # !!! Full equivalent to "gtk-config gtk" would be "pkg-config gtk+ gmodule",
 # but for mtPaint, 'gmodule' is nothing but a nuisance anyway
 	GTKPREFIX=`PKGCONFIG gtk+ --variable=prefix`
-	INCLUDES="$INCLUDES `PKGCONFIG gtk+ $THREADS --cflags`"
-	LIBS="$LIBS `PKGCONFIG gtk+ $THREADS --libs`"
+	INCLUDES="$INCLUDES `PKGCONFIG gtk+ gmodule $THREADS --cflags`"
+	LIBS="$LIBS `PKGCONFIG gtk+ gmodule $THREADS --libs`"
 elif [ "GTK" = 2 ] && [ "$OS" != "${OS%/MSYS}" ]
 then # Windows system w/o working pkg-config
 	GTKPREFIX=/
