Date: Mon, 24 May 2004 00:04:15 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 385 ************************************************** Sunday 23 May 2004 Number 385 ************************************************** Subjects for today 1 Re: posix threads library : Dave Yeo" 2 Re: posix threads library : Stefan.Neis at t-online.de 3 Re: Shell scripting : Steve Wendt" 4 Re: Shell scripting : Steve Wendt" **= Email 1 ==========================** Date: Sat, 22 May 2004 07:32:20 -0800 From: "Dave Yeo" Subject: Re: posix threads library On Sat, 22 May 2004 12:03:45 +0100, John Poltorak wrote: >Do I need pthreads to build glib? No wonder my build didn't succeed. Yes and No. The builds floating around use pthreads but there is an option not to use threading. I also think there is a build that uses nspr threading. Dave **= Email 2 ==========================** Date: Sat, 22 May 2004 18:43:32 +0100 From: Stefan.Neis at t-online.de Subject: Re: posix threads library Hi, > Do I need pthreads to build glib? No wonder my build didn't succeed. If configure finds pthread support it gets used by glib, but it pthreads are not available, it's still supposed to work, AFAIK (at least at the time of gtk/glib-1.2.x, pthreads were not yet standard on _all_ Unix platforms). Regards, Stefan **= Email 3 ==========================** Date: Sat, 22 May 2004 10:36:11 -0700 (PDT) From: "Steve Wendt" Subject: Re: Shell scripting On Sat, 22 May 2004 13:41:10 +0100 (BST), Lyn St George wrote: >(pseudo code, either cmd.exe or ksh.exe shell) Still pseudo code, but maybe this is closer.... which -t foo if [$? == 0] then do echo "Installing foo" call build_foo.cmd else echo "You have foo as 'which -s' " fi exit ----------- "Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." - Plato (427-347 B.C.) **= Email 4 ==========================** Date: Sat, 22 May 2004 10:36:11 -0700 (PDT) From: "Steve Wendt" Subject: Re: Shell scripting On Sat, 22 May 2004 13:41:10 +0100 (BST), Lyn St George wrote: >(pseudo code, either cmd.exe or ksh.exe shell) Still pseudo code, but maybe this is closer.... which -t foo if [$? == 0] then do echo "Installing foo" call build_foo.cmd else echo "You have foo as 'which -s' " fi exit ----------- "Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." - Plato (427-347 B.C.)