File wmfire-1.2.3-fix-link.patch of Package wmfire

--- configure.in.link	2011-02-01 15:53:52.000000000 +0100
+++ configure.in	2011-02-01 15:54:52.000000000 +0100
@@ -28,7 +28,7 @@
 
 if test "x$session" = "xon" ; then
   AC_DEFINE(SESSION)
-  LDFLAGS="$LDFLAGS -lSM -lICE"
+  LIBS="$LIBS -lSM -lICE -lm"
 fi
 AM_CONDITIONAL(SESSION, test "x$session" = "xon")
 
@@ -41,7 +41,7 @@
 AC_CACHE_CHECK([for libgtop2 libs], GTOPLIBS, [GTOPLIBS=`$config --libs libgtop-2.0`])
 
 CFLAGS="$CFLAGS $GDKINCS $GTOPINCS"
-LDFLAGS="$LDFLAGS $GDKLIBS $GTOPLIBS"
+LIBS="$LIBS $GDKLIBS $GTOPLIBS -lm"
 
 AC_CHECK_FUNCS(strstr)
 
--- src/Makefile.am.link	2011-02-01 15:55:08.000000000 +0100
+++ src/Makefile.am	2011-02-01 15:55:34.000000000 +0100
@@ -9,10 +9,5 @@
 	flamedefault.h flamecorona.h flameblue.h flamegreen.h
 endif	 
 
-wmfire_LDADD = @LDFLAGS@
-
-AM_LDFLAGS = -lXext -lX11 \
-	-L/usr/X11R6/lib -L/usr/local/lib
-
 INCLUDES = -I/usr/X11R6/include \
 	-I/usr/local/include