summaryrefslogtreecommitdiff
path: root/hints/os2.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-02-02 13:43:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-02 13:43:24 +0000
commit7162771d58ae1c494a77e94588d66265a29e1159 (patch)
treee2453ae24eccc13cd86fecbbca95374fe62f012c /hints/os2.sh
parent73d40b3e8e2639688f6a52079a430333769fcb55 (diff)
downloadperl-7162771d58ae1c494a77e94588d66265a29e1159.tar.gz
Synch usethreads parts from maint-5.005.
p4raw-id: //depot/cfgperl@2777
Diffstat (limited to 'hints/os2.sh')
-rw-r--r--hints/os2.sh30
1 files changed, 15 insertions, 15 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
index fe0c2d3ab5..5365522c5a 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -261,6 +261,21 @@ d_setprior='define'
cp ./README.os2 ./pod/perlos2.pod
+# 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 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 ../..