Index: /configure.ac
===================================================================
--- /configure.ac	(revision 4483)
+++ /configure.ac	(revision 4552)
@@ -43,5 +43,5 @@
 
 dnl Check for maemo platform
-AX_MAEMO
+AX_MAEMO_WITH_FIX
 
 AC_CONFIG_FILES([
Index: /m4/ax_maemo.m4
===================================================================
--- /m4/ax_maemo.m4	(revision 4483)
+++ /m4/ax_maemo.m4	(revision 4552)
@@ -9,5 +9,5 @@
 # LAST MODIFICATION
 #
-#   2009-06-15
+#   2009-06-26
 
 AC_DEFUN([AX_MAEMO],
@@ -17,7 +17,20 @@
 	if test "$host" = "arm-unknown-linux-gnu" ; then
 		AC_MSG_RESULT(yes)
-		LDFLAGS="$LDFLAGS -Wl,-zmuldefs"
+		AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
 	else
 		AC_MSG_RESULT(no)
 	fi
 ])
+
+AC_DEFUN([AX_MAEMO_WITH_FIX],
+[
+	AC_MSG_CHECKING([for maemo platform])
+	
+	if test "$host" = "arm-unknown-linux-gnu" ; then
+		AC_MSG_RESULT(yes)
+		LDFLAGS="$LDFLAGS -Wl,-zmuldefs"
+		AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
+	else
+		AC_MSG_RESULT(no)
+	fi
+])
