From: Robert Luberda <robert@debian.org>
Date: Mon, 29 Dec 2008 23:04:26 +0100
Subject: 01 Makefile

Don't remove config.h.in and don't link with lm.
---
 Makefile.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index a7c9513..3036c9b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,7 +46,7 @@ AWK=            @AWK@
 VERCFLAGS=       -DMAA_MAJOR=$(MAA_MAJOR) -DMAA_MINOR=$(MAA_MINOR) -DMAA_TEENY=$(MAA_TEENY)
 CFLAGS=		@DEFS@ @CPPFLAGS@ @CFLAGS@ $(VERCFLAGS) -I. -I${srcdir}
 LDFLAGS=        @LDFLAGS@
-LIBS=	        @LIBS@ -lm
+LIBS=	        @LIBS@
 
 TESTLIBS=	-L.libs -lmaa
 
@@ -203,7 +203,7 @@ distclean: clean
 		echo making $@ in $$subdir; \
 		(cd $$subdir && $(MAKE) $@) || exit 1; \
 	done
-	-rm -f config.h config.h.in
+	-rm -f config.h
 	-rm -f config.cache config.status stamp-h.in stamp-h
 	-rm -f Makefile arggram2c
 	-rm -rf autom4te.cache
