Use AC_SEARCH_LIBS instead of AC_CHECK_LIB

This commit is contained in:
Dave Davenport 2017-02-06 22:23:04 +01:00
parent 0115efd933
commit 8461a9a63d
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ 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"))
AC_SEARCH_LIBS([asin],[m],, AC_MSG_ERROR("Could not find asin in math library"))
dnl ---------------------------------------------------------------------
dnl Check dependencies