dovecot-2.0: configure: clock_gettime()'s -lrt adding dropped ev...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 27 19:50:36 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/00399010c88a
changeset: 9677:00399010c88a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 27 12:48:40 2009 -0400
description:
configure: clock_gettime()'s -lrt adding dropped everything else from $LIBS.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
configure.in |    2 +-

diffs (12 lines):

diff -r 3771a638cadb -r 00399010c88a configure.in
--- a/configure.in	Mon Jul 27 02:53:43 2009 -0400
+++ b/configure.in	Mon Jul 27 12:48:40 2009 -0400
@@ -355,7 +355,7 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_at
 
 AC_CHECK_LIB(rt, clock_gettime, [
   AC_DEFINE(HAVE_CLOCK_GETTIME,, Define if you have the clock_gettime function)
-  LIBS="-lrt"
+  LIBS="$LIBS -lrt"
 ], [
   # OpenBSD
   AC_CHECK_FUNCS(clock_gettime)


More information about the dovecot-cvs mailing list