Index: qhull-2009.1/src/Makefile.am
===================================================================
--- qhull-2009.1.orig/src/Makefile.am	2011-09-18 22:53:59.000000000 -0400
+++ qhull-2009.1/src/Makefile.am	2011-09-18 22:54:00.000000000 -0400
@@ -2,6 +2,8 @@
 ### Author: Rafael Laboissiere <rafael@debian.org>
 ### Created: Mon Dec  3 21:36:21 CET 2001
 
+ACLOCAL_AMFLAGS = -I config
+
 ### Shared Library
 
 # to:
@@ -39,12 +41,12 @@
 qhalf_SOURCES = qhalf.c
 
 # how:
-qhull_LDADD = libqhull.la
-rbox_LDADD = libqhull.la
-qconvex_LDADD = libqhull.la
-qdelaunay_LDADD = libqhull.la
-qvoronoi_LDADD = libqhull.la
-qhalf_LDADD = libqhull.la
+qhull_LDADD = -lm
+rbox_LDADD = -lm
+qconvex_LDADD = -lm
+qdelaunay_LDADD = -lm
+qvoronoi_LDADD = -lm
+qhalf_LDADD = -lm
 
 ### Include files
 
Index: qhull-2009.1/html/Makefile.am
===================================================================
--- qhull-2009.1.orig/html/Makefile.am	2011-09-18 23:25:17.000000000 -0400
+++ qhull-2009.1/html/Makefile.am	2011-09-18 23:25:06.000000000 -0400
@@ -4,7 +4,7 @@
 
 ### Man pages (trick to get around .man extension)
 
-%.1: %.man
+.1.man:
 	cp $< $@
 CLEANFILES = *.1
 man_MANS = rbox.1 qhull.1
