* configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111912
138bc75d-0d04-0410-961f-
82ee72b054a4
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:
* java/util/zip/InflaterInputStream.java (fill): Throw exception
if stream is truncated.
case "$THREADSPEC" in
*-lrt*) ;;
- *) THREADSPEC="$THREADSPEC -lrt" ;;
+ *)
+ THREADSPEC="$THREADSPEC -lrt"
+ THREADLIBS="$THREADLIBS -lrt"
+ ;;
esac
fi
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"