From: Jarkko Hietaniemi Date: Tue, 2 Feb 1999 13:43:24 +0000 (+0000) Subject: Synch usethreads parts from maint-5.005. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7162771d58ae1c494a77e94588d66265a29e1159;p=p5sagit%2Fp5-mst-13.2.git Synch usethreads parts from maint-5.005. p4raw-id: //depot/cfgperl@2777 --- diff --git a/hints/dos_djgpp.sh b/hints/dos_djgpp.sh index db09cbc..7c59428 100644 --- a/hints/dos_djgpp.sh +++ b/hints/dos_djgpp.sh @@ -63,4 +63,3 @@ $define|true|[yY]*) ;; esac EOCBU - diff --git a/hints/irix_6.sh b/hints/irix_6.sh index cb2f5dd..6a115b8 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -177,7 +177,7 @@ EOM 6.2) cat >&4 < UU/usethreads.cbu <<'EOCBU' +case "$usethreads" in +$define|true|[yY]*) + ccflags="-Zmt $ccflags" + cppflags="-Zmt $cppflags" # Do we really need to set this? + aout_ccflags="-DUSE_THREADS $aout_ccflags" + aout_cppflags="-DUSE_THREADS $aout_cppflags" + aout_lddlflags="-Zmt $aout_lddlflags" + aout_ldflags="-Zmt $aout_ldflags" + ;; +esac +EOCBU + # Now install the external modules. We are in the ./hints directory. cd ./os2/OS2 @@ -289,20 +304,5 @@ for xxx in * ; do fi done -# 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]*) - ccflags="-Zmt $ccflags" - cppflags="-Zmt $cppflags" # Do we really need to set this? - aout_ccflags="-DUSE_THREADS $aout_ccflags" - aout_cppflags="-DUSE_THREADS $aout_cppflags" - aout_lddlflags="-Zmt $aout_lddlflags" - aout_ldflags="-Zmt $aout_ldflags" - ;; -esac -EOCBU - # Now go back cd ../..