summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-29 22:16:48 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-29 22:16:48 +0000
commit487a7f015b136c35583eb093393e72e2e288f682 (patch)
tree2c453c7d24d3616ad64f76580161413ade4dd49c /hints
parente48b0b0ae89e3a437a15360f8ee2c2d54a628b37 (diff)
downloadperl-487a7f015b136c35583eb093393e72e2e288f682.tar.gz
Fixes for sh vs. bin_sh + cleanup.
Diffstat (limited to 'hints')
-rw-r--r--hints/os2.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
index 30bdfb2dc9..f8df9d25eb 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -14,13 +14,12 @@
# Note that during the .obj compile you need to move the perl.dll file
# to LIBPATH :-(
-# Should be done automatically by Configure now:
-bin_sh=`../UU/loc sh.exe /bin c:/bin d:/bin e:/bin f:/bin g:/bin h:/bin /bin`
-echo "####### Shell found at $bin_sh #############" >&4
-sh="$bin_sh"
-startsh="#!$bin_sh"
+path_sep=\;
+
+if test -f $sh.exe; then sh=$sh.exe; fi
+
+startsh="#!$sh"
-#osname="OS/2"
sysman=`../UU/loc . /man/man1 c:/man/man1 c:/usr/man/man1 d:/man/man1 d:/usr/man/man1 e:/man/man1 e:/usr/man/man1 f:/man/man1 f:/usr/man/man1 g:/man/man1 g:/usr/man/man1 /usr/man/man1`
cc='gcc'
usrinc='/emx/include'
@@ -107,10 +106,7 @@ fi
libs='-lsocket -lm'
archobjs="os2$obj_ext dl_os2$obj_ext"
-# Run files without extension with sh - feature of patched ksh
-# [???]
-# NOHASHBANG=sh
-# Same with newer ksh
+# Run files without extension with sh:
EXECSHELL=sh
cccdlflags='-Zdll'