summaryrefslogtreecommitdiff
path: root/misc/screen/patches/patch-ad
blob: 56551055ab3050d08a920ebf694a747d8761a59f (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
$NetBSD: patch-ad,v 1.4 1998/08/16 21:53:15 tv Exp $

--- configure.orig	Fri May  2 10:37:26 1997
+++ configure	Sun Aug 16 17:47:27 1998
@@ -2096,36 +2096,9 @@
 
 _CUT_HERE_
 
-#if ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || defined(SVR4) || defined(sony_news) || defined(__alpha) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
-loadtype=long
-# if defined(apollo) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX)
-loadscale=65536
-# else
-#  if defined(FSCALE) && !defined(__osf__)
-#   undef FSCALE
-loadscale=FSCALE
-#  else
-#   ifdef sgi
-loadscale=1024
-loadtype=int
-#   else
-#    if defined(MIPS) || defined(SVR4) || defined(m88k)
-loadscale=256
-#    else /* not MIPS */
-loadscale=1000 	/* our default value */
-#    endif /* MIPS */
-#   endif /* sgi */
-#  endif /* not FSCALE */
-# endif /* not apollo */
-#else
 loadtype=double
 loadscale=1
-#endif
-#ifdef alliant
-loadnum=4
-#else
 loadnum=3
-#endif
 
 EOF
 $CPP $DEFS conftest.c 2>/dev/null | sed -e '1,/_CUT_HERE_/d' > conftest.out
@@ -2620,17 +2593,6 @@
 rm -f /tmp/conftest*
 
 test -n "$silent" || echo "checking for vsprintf"
-cat > conftest.${ac_ext} <<EOF
-#include "confdefs.h"
-
-#include <stdio.h>
-int main() { return 0; }
-int t() { vsprintf(0,0,0);; return 0; }
-EOF
-if eval $ac_compile; then
-  rm -rf conftest*
-  
-{
 test -n "$verbose" && \
 echo "	defining USEVARARGS"
 echo "#define" USEVARARGS "1" >> confdefs.h
@@ -2639,12 +2601,6 @@
 \${ac_uA}USEVARARGS\${ac_uB}USEVARARGS\${ac_uC}1\${ac_uD}
 \${ac_eA}USEVARARGS\${ac_eB}USEVARARGS\${ac_eC}1\${ac_eD}
 "
-}
-
-
-fi
-rm -f conftest*
-
 
 test -n "$silent" || echo "checking for directory library header"
 ac_dir_header=