From cd554a33699d4ed14a9907eaa922a3002d139571 Mon Sep 17 00:00:00 2001
From: Brian Lovin <brian.j.lovin@intel.com>
Date: Thu, 25 Apr 2013 11:52:51 -0700
Subject: [PATCH 1/1] configure: add missing dependency to libm.

Build issues on Ubuntu 13.04 solved by adding this dependency check.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index c6f7d3e..ad4b05a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,6 +183,7 @@ dnl managed by evil
         have_dlopen="yes"
       else
         AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
+        AC_CHECK_LIB(m, sincos)
         if test "x$res" = "xyes"; then
           AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
           dlopen_libs=-ldl
-- 
1.8.1.2

