$NetBSD: patch-aa,v 1.12 2004/04/14 09:13:20 adam Exp $

--- configure.orig	2004-04-11 14:47:52.000000000 +0000
+++ configure
@@ -26427,7 +26427,7 @@ if test "${ac_cv_lib_ffm_cos+set}" = set
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lffm  $LIBS"
+LIBS="-lffm  -lm $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
