Use AC_SEARCH_LIBS to search for a library containing math functions

Even though the previous mechanism worked, this should be more
correct.
This commit is contained in:
Martin Storsjo 2014-06-23 10:44:02 +03:00
parent b8f6c140ce
commit 1652691ee9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ AC_PROG_CC
AC_PROG_CXX
LT_INIT
AC_CHECK_LIB([m], [sin])
AC_SEARCH_LIBS([sin], [m])
dnl soname version to use
dnl goes by current[:revision[:age]] with the soname ending up as