Index: config-scripts/cups-common.m4
===================================================================
--- config-scripts/cups-common.m4.orig	2011-01-06 22:27:54.000000000 +0000
+++ config-scripts/cups-common.m4	2011-01-13 16:06:30.548702381 +0000
@@ -279,10 +298,11 @@
 			CUPSDLIBS="$CUPSDLIBS `$PKGCONFIG --libs dbus-1`"
 			DBUS_NOTIFIER="dbus"
 			DBUS_NOTIFIERLIBS="`$PKGCONFIG --libs dbus-1`"
-			AC_CHECK_LIB(dbus-1,
-				dbus_message_iter_init_append,
-				AC_DEFINE(HAVE_DBUS_MESSAGE_ITER_INIT_APPEND),,
-				`$PKGCONFIG --libs dbus-1`)
+			_cups_save_libs="$LIBS"
+			LIBS="$LIBS $DBUS_NOTIFIERLIBS"
+			AC_CHECK_FUNC(dbus_message_iter_init_append,
+				AC_DEFINE(HAVE_DBUS_MESSAGE_ITER_INIT_APPEND))
+			LIBS="$_cups_save_libs"
 		else
 			AC_MSG_RESULT(no)
 		fi
