From 0115efd933c66c03d7cb040eb35eeb584ed9beae Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 6 Feb 2017 22:08:10 +0100 Subject: [PATCH] Check for libmath in configure.ac --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 3b430991..53b89c4e 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,9 @@ AC_CHECK_FUNC([fcntl],, AC_MSG_ERROR("Could not find fcntl")) AC_CHECK_FUNC([setlocale],,AC_MSG_ERROR("Could not find setlocale")) AC_CHECK_FUNC([atexit],, AC_MSG_ERROR("Could not find atexit in c library")) +AC_CHECK_HEADER([math.h],, AC_MSG_ERROR("Could not find math.h header file")) +AC_CHECK_LIB([m],[asin],, AC_MSG_ERROR("Could not find asin in math library")) + dnl --------------------------------------------------------------------- dnl Check dependencies dnl ---------------------------------------------------------------------