Actually link gthread against librt. (#394641, Marco Pesenti Gritti)

2007-01-10  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Actually link gthread against librt.
        (#394641, Marco Pesenti Gritti)



svn path=/trunk/; revision=5241
This commit is contained in:
Matthias Clasen 2007-01-10 13:52:04 +00:00 committed by Matthias Clasen
parent b021642caf
commit a0c1c3b14e
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-10 Matthias Clasen <mclasen@redhat.com>
* configure.in: Actually link gthread against librt.
(#394641, Marco Pesenti Gritti)
2007-01-10 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,

View File

@ -1985,6 +1985,7 @@ AC_CHECK_FUNCS(clock_gettime, [], [
AC_CHECK_LIB(rt, clock_gettime, [
AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
G_THREAD_LIBS="$G_THREAD_LIBS -lrt"
G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS_FOR_GTHREAD -lrt"
])
])