OSDN Git Service

* configure: Rebuilt.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Mar 2006 23:49:58 +0000 (23:49 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Mar 2006 23:49:58 +0000 (23:49 +0000)
* 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

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index bde6b45..af25e32 100644 (file)
@@ -1,5 +1,11 @@
 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.
index 91e7318..3b80ce1 100755 (executable)
@@ -12456,7 +12456,10 @@ _ACEOF
 
         case "$THREADSPEC" in
           *-lrt*) ;;
-          *) THREADSPEC="$THREADSPEC -lrt" ;;
+          *)
+            THREADSPEC="$THREADSPEC -lrt"
+            THREADLIBS="$THREADLIBS -lrt"
+            ;;
         esac
 fi
 
index 5816efe..113b9ba 100644 (file)
@@ -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"