Re: New objects for GLib (here comes the patch)
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: Gtk Development List <gtk-devel-list gnome org>
- Subject: Re: New objects for GLib (here comes the patch)
- Date: Tue, 25 Apr 2000 15:59:37 +0200
Hi Soeren,
> Here is another patch for that, could you please try it on IRIX? I could
> that commit that patch. It at least still works for Linux ans Solaris.
As usual I forgot to attach the patch: Here it comes.
Bye,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi@ira.uka.de | är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi |
Index: configure.in
===================================================================
RCS file: /cvs/gnome/glib/configure.in,v
retrieving revision 1.128
diff -u -b -B -r1.128 configure.in
--- configure.in 2000/04/17 13:23:27 1.128
+++ configure.in 2000/04/25 13:44:56
@@ -760,11 +760,14 @@
AC_MSG_CHECKING(for pthread_create$IN)
AC_TRY_RUN([#include <pthread.h>
- void* func(void* data) {}
+ int check_me = 0;
+ void* func(void* data) {check_me = 42;}
main()
{ pthread_t t;
- exit(pthread_create (&t, $defattr, func,
- NULL));
+ void *ret;
+ pthread_create (&t, $defattr, func, NULL);
+ pthread_join (t, &ret);
+ exit (check_me != 42);
}],
[AC_MSG_RESULT(yes)
G_THREAD_LIBS="$add_thread_lib"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]