diff --git a/configure.ac b/configure.ac
index 6833e13..48037b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -317,7 +317,8 @@ AC_SUBST(GEDIT_LIBS)
 if test "$os_osx" = "no" &&
    test "$os_win32" = "no"; then
 	PKG_CHECK_MODULES(EGG_SMCLIENT, [
-		sm >= 1.0.0
+		sm >= 1.0.0 \
+		ice
 	])
 else
 	EGG_SMCLIENT_CFLAGS=
