On Sat, Jul 25, 2009 at 03:43:01PM -0400, Andy Dougherty wrote: > On Sat, 25 Jul 2009, 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 > > > > I assume you mean apply the following patch: > > diff --git a/hints/bsdos.sh b/hints/bsdos.sh > index ab56f99..65eaf7f 100644 > --- a/hints/bsdos.sh > +++ b/hints/bsdos.sh > @@ -120,7 +120,7 @@ cat > UU/usethreads.cbu <<'EOCBU' > case "$usethreads" in > $define|true|[yY]*) > case "$osvers" in > - 3.*|4.*) ccflags="-D_REENTRANT $ccflags" > + 3.*|4.*) ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags" > ;; > *) cat <<EOM >&4 > I did not know that BSD/OS $osvers supports POSIX threads. > You are correct. > -- > Andy Dougherty doughera@lafayette.edu -- 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