[0;33m=== modified file 'configure.ac'
[0m[0;31m--- configure.ac	2010-07-21 08:26:00 +0000
[0m[0;34m+++ configure.ac	2010-07-21 17:11:09 +0000
[0m[0;32m@@ -47,6 +47,9 @@
[0m[0;37m AC_CHECK_FUNC(sigaction)
[0m[0;37m AC_CHECK_LIB(m, floor)
[0m[0;37m 
[0m[0;34m+dnl When linking with --as-needed, add -lICE to LIBS.
[0m[0;34m+AC_CHECK_LIB(ICE, IceRelease,,)
[0m[0;34m+
[0m[0;37m dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
[0m[0;37m AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
[0m[0;37m 
[0m[0;37m
[0m