summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2014-06-23 10:44:02 +0300
committerMartin Storsjo <martin@martin.st>2014-06-23 10:44:02 +0300
commit1652691ee9ebb7e789be895f6a9dae66ae9c137d (patch)
treeec3c59d88ce565f650a2e213461454493f72ae1d /configure.ac
parentb8f6c140ce4dbf403eb7a2a3f7fe45e7def2f40e (diff)
Use AC_SEARCH_LIBS to search for a library containing math functions
Even though the previous mechanism worked, this should be more correct.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 452f74f..6921e7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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