diff -Nur libgnomeprint-2.18.2/configure.in libgnomeprint-2.18.2.patched/configure.in
--- libgnomeprint-2.18.2/configure.in	2007-09-17 09:12:56.000000000 -0400
+++ libgnomeprint-2.18.2.patched/configure.in	2007-11-03 13:27:05.000000000 -0400
@@ -148,9 +148,6 @@
 dnl Checking for libm
 dnl =================================
 AC_CHECK_LIBM
-if test "x$LIBM" = "x"; then
-	AC_MSG_ERROR(You need -lm(mathematic library) for this version of libgnomeprint.)
-fi
 LDFLAGS="$LDFLAGS $LIBM"
 
 dnl =================================
