On Sat, Jul 25, 2009 at 03:13:49PM +0100, Dave Mitchell wrote: > On Sat, Jul 25, 2009 at 07:58:50AM -0600, The Doctor wrote: > > For the BSD/OS hints file , please place > > > > # This script UU/usethreads.cbu will get 'called-back' by Configure > > # after it has prompted the user for whether to use threads. > > cat > UU/usethreads.cbu <<'EOCBU' > > case "$usethreads" in > > $define|true|[yY]*) > > case "$osvers" in > > 3.*|4.*) ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags" > > ;; > > *) cat <<EOM >&4 > > By "place", I assume you mean add " -D_THREAD_SAFE -pthread" to > ccflags in the existing hints/bsdos.sh file? (A diff or patch is much to be > prefered here than just quotiong a chuinck of code). > > So, what effect would this change have? That is to say, I'm looking for a > brief description I can use for a commit message. > > This wiill actual get BSD/OS to work properly with Posix threads. Any others with similir suggestions? Also you need the -D_RENTRANT > > > > -- > Dave's first rule of Opera: > If something needs saying, say it: don't warble it. -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising! Never Satan President Republic! The fool says in his heart, "There is no God". They are corrupt, and their ways are vile; there is no one who does good. - Ps 53:1Thread Previous | Thread Next