crypt() on OS/2
authorIlya Zakharevich <ilya@math.berkeley.edu>
Mon, 25 Jun 2001 05:52:27 +0000 (01:52 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 25 Jun 2001 13:49:13 +0000 (13:49 +0000)
Message-ID: <20010625055227.A24635@math.ohio-state.edu>

p4raw-id: //depot/perl@10920

hints/os2.sh

index 57c3766..d93d823 100644 (file)
@@ -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