diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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])]) |