summaryrefslogtreecommitdiff
path: root/mail/elm/patches/patch-aa
blob: 5a82db032aa2252fd9081be3df9bde7172d1f5cb (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
39
40
41
42
43
44
45
$NetBSD: patch-aa,v 1.5 2006/06/20 15:39:06 joerg Exp $

--- Configure.orig	2005-08-18 12:49:24.000000000 +0000
+++ Configure
@@ -18,11 +18,6 @@
 PATH=".:/bin:/usr/bin:/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.)"
@@ -490,8 +485,8 @@ EOM
     n=''
     c='\c'
 fi
-echo $n "Type carriage return to continue.  Your cursor should be here-->$c"
-read ans
+#echo $n "Type carriage return to continue.  Your cursor should be here-->$c"
+#read ans
 rm -f .echotmp
 
 : now set up to do reads with possible shell escape and default assignment
@@ -1997,6 +1992,8 @@ case "$nm_opts" in
 
     elif $test "$uname_os" = "Linux" ; then
            nm_opts='-p'
+    elif $test "$uname_os" = "DragonFly" ; then
+	   nm_opts='-D'
     elif $test "$uname_os" = "AIX" ; then
        uname_ver=`$uname -v`
        if $test "$uname_ver" = "4" ; then
@@ -5499,7 +5496,7 @@ fastread=''
 echo "If you didn't make any mistakes, then just type a carriage return here."
 rp="If you need to edit config.sh, do it as a shell escape here:"
 $echo $n "$rp $c"
-. UU/myread
+ans=''
 case "$ans" in
 '') ;;
 *) : in case they cannot read