$NetBSD: patch-aa,v 1.9 2002/01/07 16:38:32 wiz Exp $

--- configure.orig	Tue Dec 25 18:59:42 2001
+++ configure
@@ -4440,7 +4441,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lffm  $LIBS"
+LIBS="-lffm -lm $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 4446 "configure"
 #include "confdefs.h"
