[kaffe] CVS kaffe (robilad): Warning fix for solaris 10

Kaffe CVS cvs-commits at kaffe.org
Tue Aug 16 17:33:22 PDT 2005


PatchSet 6835 
Date: 2005/08/17 00:17:34
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Warning fix for solaris 10

2005-08-17  Andreas Tobler  <a.tobler at schweiz.ch>

        * m4/acx_pthread.m4: Detect -pthreads first. Fixes
        gcc4 compiler warnings on solaris 10.

Members: 
	ChangeLog:1.4359->1.4360 
	configure:1.479->1.480 
	m4/acx_pthread.m4:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4359 kaffe/ChangeLog:1.4360
--- kaffe/ChangeLog:1.4359	Mon Aug 15 22:35:32 2005
+++ kaffe/ChangeLog	Wed Aug 17 00:17:34 2005
@@ -1,3 +1,8 @@
+2005-08-17  Andreas Tobler  <a.tobler at schweiz.ch>
+
+	* m4/acx_pthread.m4: Detect -pthreads first. Fixes
+	gcc4 compiler warnings on solaris 10.
+
 2005-08-15  Dalibor Topic  <robilad at kaffe.org>
 
 	Resynced with GNU Classpath.
Index: kaffe/configure
diff -u kaffe/configure:1.479 kaffe/configure:1.480
--- kaffe/configure:1.479	Mon Aug 15 20:58:15 2005
+++ kaffe/configure	Wed Aug 17 00:17:41 2005
@@ -24278,7 +24278,7 @@
         # who knows whether they'll stub that too in a future libc.)  So,
         # we'll just look for -pthreads and -lpthread first:
 
-        acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
+        acx_pthread_flags="-pthreads -pthread pthread -mt $acx_pthread_flags"
         ;;
 esac
 
Index: kaffe/m4/acx_pthread.m4
diff -u kaffe/m4/acx_pthread.m4:1.1 kaffe/m4/acx_pthread.m4:1.2
--- kaffe/m4/acx_pthread.m4:1.1	Thu Jun  3 16:22:21 2004
+++ kaffe/m4/acx_pthread.m4	Wed Aug 17 00:17:48 2005
@@ -38,7 +38,7 @@
 dnl macros posted by AFC to the autoconf macro repository.  We are also
 dnl grateful for the helpful feedback of numerous users.
 dnl
-dnl @version $Id: acx_pthread.m4,v 1.1 2004/06/03 16:22:21 dalibor Exp $
+dnl @version $Id: acx_pthread.m4,v 1.2 2005/08/17 00:17:48 robilad Exp $
 dnl @author Steven G. Johnson <stevenj at alum.mit.edu> and Alejandro Forero Cuervo <bachue at bachue.com>
 
 AC_DEFUN([ACX_PTHREAD], [
@@ -112,7 +112,7 @@
         # who knows whether they'll stub that too in a future libc.)  So,
         # we'll just look for -pthreads and -lpthread first:
 
-        acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
+        acx_pthread_flags="-pthreads -pthread pthread -mt $acx_pthread_flags"
         ;;
 esac
 




More information about the kaffe mailing list