diff --git a/libjava/ChangeLog b/libjava/ChangeLog index bde6b45470ee89746d989b6aedfabb62b2f80db7..af25e325abba6f09b61540da6004d8b4b242a202 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2006-03-09 Tom Tromey <tromey@redhat.com> + + * configure: Rebuilt. + * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as + well. + 2006-03-09 Tom Tromey <tromey@redhat.com> PR libgcj/24461: diff --git a/libjava/configure b/libjava/configure index 91e7318868d31a289e2c5421e79d7ba003e168d7..3b80ce1a164540bb70360a902ff35c12e9109c51 100755 --- a/libjava/configure +++ b/libjava/configure @@ -12456,7 +12456,10 @@ _ACEOF case "$THREADSPEC" in *-lrt*) ;; - *) THREADSPEC="$THREADSPEC -lrt" ;; + *) + THREADSPEC="$THREADSPEC -lrt" + THREADLIBS="$THREADLIBS -lrt" + ;; esac fi diff --git a/libjava/configure.ac b/libjava/configure.ac index 5816efec28df0b81588993ee5e99f8e4dd250768..113b9ba97c2984db3efd85c9f338d3b2261d12fc 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -1021,7 +1021,10 @@ else AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have clock_gettime()]) case "$THREADSPEC" in *-lrt*) ;; - *) THREADSPEC="$THREADSPEC -lrt" ;; + *) + THREADSPEC="$THREADSPEC -lrt" + THREADLIBS="$THREADLIBS -lrt" + ;; esac]) LIBS="$save_LIBS"