summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2001-06-25 01:52:27 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-25 13:49:13 +0000
commit8dec540cdddd445bea8861dacf9738097910923e (patch)
tree0563fbdb91fa585f7e4b3a642cce63e7ad2dfe6d /hints
parent1c46958a5d56a1c79d2b65816dbc5cd524b75b2e (diff)
downloadperl-8dec540cdddd445bea8861dacf9738097910923e.tar.gz
crypt() on OS/2
Message-ID: <20010625055227.A24635@math.ohio-state.edu> p4raw-id: //depot/perl@10920
Diffstat (limited to 'hints')
-rw-r--r--hints/os2.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
index 57c3766f5f..d93d823a36 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -409,6 +409,22 @@ $define|true|[yY]*)
esac
EOCBU
+if test -z "$cryptlib"; then
+ cryptlib=`UU/loc crypt$lib_ext "" $libpth`
+ if $test -n "$cryptlib"; then
+ cryptlib=-lcrypt
+ else
+ cryptlib=`UU/loc ufc$lib_ext "" $libpth`
+ if $test -n "$cryptlib"; then
+ cryptlib=-lufc
+ fi
+ fi
+fi
+if test -n "$cryptlib"; then
+ libs="$libs $cryptlib"
+ # d_crypt=define
+fi
+
# Now install the external modules. We are in the ./hints directory.
cd ./os2/OS2