From 1652691ee9ebb7e789be895f6a9dae66ae9c137d Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Mon, 23 Jun 2014 10:44:02 +0300 Subject: [PATCH] Use AC_SEARCH_LIBS to search for a library containing math functions Even though the previous mechanism worked, this should be more correct. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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