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