--- configure.orig	2005-09-28 17:41:40.000000000 +0800
+++ configure	2022-11-03 06:41:18.000000000 +0800
@@ -5919,7 +5919,7 @@
 *-*-cygwin*)
 	OSTYPE="CYGWIN"
 	;;
-powerpc-apple-darwin*)
+*-apple-darwin*)
 	OSTYPE="DARWIN"
 	;;
 i[3456]86-*-*bsd*)

--- configure.orig	2005-09-28 19:41:40.000000000 +1000
+++ configure	2014-07-27 01:36:21.000000000 +1000
@@ -6011,6 +6011,17 @@
    { (exit 1); exit 1; }; }
 fi
 
+echo -n "checking for gmodule-2.0... "
+if pkg-config --exists gmodule-2.0 ; then
+	echo "yes"
+pkg_modules="$pkg_modules gmodule-2.0"
+else
+	echo "no"
+	{ { echo "$as_me:$LINENO: error: gmodule-2.0 not found please install the glib2 development package" >&5
+echo "$as_me: error: gmodule-2.0 not found please install the glib2 development package" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
 echo -n "checking for libxml-2.0 ... "
 if pkg-config --exists libxml-2.0 ; then
 	echo "yes"
