summaryrefslogtreecommitdiff
path: root/hints/os2.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-01-19 12:44:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-01-19 12:44:02 +0000
commit104d25b722892cb36f4c988c17016ee0180c3b1a (patch)
tree109792e6430e500a9464f9002871477456f0bed5 /hints/os2.sh
parentb478f28d3c42f92a71da0b37f44cc5e7d70574a6 (diff)
downloadperl-104d25b722892cb36f4c988c17016ee0180c3b1a.tar.gz
Jumbo Configure update.
* -Uinstallusrbinperl: disable /usr/bin/perl installation by installperl * usethreads.cbu * use64bits.cbu * "nosuid" p4raw-id: //depot/cfgperl@2649
Diffstat (limited to 'hints/os2.sh')
-rw-r--r--hints/os2.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
index 0560175ae1..1744fa96dd 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -289,6 +289,20 @@ 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]*)
+esac
+ 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"
+ ;;
+EOCBU
# Now go back
cd ../..