From 7130e0a578d97e01809a0c8535b771f7e855cba9 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Thu, 21 Aug 2014 15:34:12 +0800 Subject: [PATCH] Add check for sincos function from libm to configure.ac to avoid linking issue --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 98e38c5..87b82df 100644 --- a/configure.ac +++ b/configure.ac @@ -50,6 +50,9 @@ fi # Checks for header files. AC_HEADER_STDC +# Checks for libc math library. +AC_CHECK_LIB([m], [sincos]) + ########################################################################### # Find Guile library, flags, etcetera: -- 2.1.0