--- configure.orig	2009-08-15 23:51:35.743360830 -0700
+++ configure	2009-08-15 23:52:35.252754436 -0700
@@ -2225,7 +2225,7 @@
 	echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 	GAI_CFLAGS=`pkg-config --cflags gai`
-	GAI_LIBS=`pkg-config --libs gai`
+	GAI_LIBS=`pkg-config --libs gai libgnomeui-2.0`
     else
         echo "$as_me:$LINENO: result: not found
 You can download GAI from http://gai.sf.net
