From 17982c5f7b2cfa9b55bc2462ff815b3cb33460dc Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 26 Mar 2021 14:29:44 -0400 Subject: build: Check for cos() and sin() --- diff --git a/configure.ac b/configure.ac index 9d0173c..9928b50 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,12 @@ AC_CHECK_FUNCS( if ${funcs_missing}; then AC_MSG_ERROR([required functions are missing]) fi +AC_SEARCH_LIBS([cos], [m], [], [ + AC_MSG_ERROR([required functions are missing]) +]) +AC_SEARCH_LIBS([sin], [m], [], [ + AC_MSG_ERROR([required functions are missing]) +]) AX_CFLAGS_WARN_ALL() dnl Adds -Wall or equivalent AX_CHECK_COMPILE_FLAG([-Wpedantic], [AX_APPEND_FLAG([-Wpedantic])]) -- cgit v0.9.1