summaryrefslogtreecommitdiff
path: root/mail/elm/patches/patch-ac
blob: 0fbffe5391158e025b512eef1f17f6cfb4009e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-ac,v 1.2 1998/08/07 11:09:32 agc Exp $

*** Configure.bak	Mon Mar 11 18:47:43 1996
--- Configure	Tue Mar 12 14:52:18 1996
***************
*** 18,28 ****
  PATH=".:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH"
  export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myself to sh."; sh $0; kill $$)
  
- if test ! -t 0; then
-     echo "Say 'sh Configure', not 'sh <Configure'"
-     exit 1
- fi
- 
  (alias) >/dev/null 2>&1 && \
      echo "(I see you are using the Korn shell.  Some ksh's blow up on Configure," && \
      echo "especially on exotic machines.  If yours does, try the Bourne shell instead.)"
--- 18,23 ----
***************
*** 2278,2284 ****
  
  : see if crypt exists
  echo " "
! if $contains '^crypt$' libc.list >/dev/null 2>&1; then
      echo 'crypt() found.'
      d_crypt="$define"
      cryptlib=''
--- 2273,2282 ----
  
  : see if crypt exists
  echo " "
! if $test "$cryptlib" = -lcrypt; then
!     echo 'crypt() found.'
!     d_crypt="$define"
! elif $contains '^crypt$' libc.list >/dev/null 2>&1; then
      echo 'crypt() found.'
      d_crypt="$define"
      cryptlib=''