[PATCH 13/13] No need to look for clock_gettime in libc

Ruben Kerkhof ruben at rubenkerkhof.com
Sat Mar 18 17:25:43 CET 2017


AC_SEARCH_LIBS already does this before it looks in other libraries.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 868b989b..c3fee2d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,7 +146,7 @@ fi
 AC_SUBST([CONFIG_FILE])
 AC_SUBST([CONTROL_SOCKET])
 
-AC_SEARCH_LIBS([clock_gettime], [c rt posix4],
+AC_SEARCH_LIBS([clock_gettime], [rt posix4],
   [],
   [AC_MSG_ERROR([Function clock_gettime not available.])]
 )
-- 
2.12.0



More information about the Bird-users mailing list