home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / old / 5.5.009 < prev    next >
Encoding:
Internet Message Format  |  1999-09-25  |  3.0 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.009
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.009
  8. Problem:    Recent Sequent machines don't link with "-linet". (Kurtis Rader)
  9. Solution:   Remove configure check for Sequent.
  10. Files:        src/configure.in, src/configure
  11.  
  12.  
  13. *** ../vim-5.5.8/src/configure.in    Sat Sep 25 21:03:30 1999
  14. --- src/configure.in    Sat Sep 25 21:00:14 1999
  15. ***************
  16. *** 900,911 ****
  17.   fi
  18.   
  19.   dnl Checks for libraries.
  20. - AC_MSG_CHECKING(for sequent/ptx)
  21. - AC_EGREP_CPP(yes,
  22. - [#ifdef _SEQUENT_
  23. -   yes;
  24. - #endif
  25. - ], LIBS="$LIBS -linet" AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
  26.   
  27.   AC_MSG_CHECKING(quality of toupper)
  28.   AC_TRY_RUN([#include <ctype.h>
  29. --- 900,905 ----
  30. *** ../vim-5.5.8/src/configure    Sat Sep 25 21:03:31 1999
  31. --- src/configure    Sat Sep 25 21:00:16 1999
  32. ***************
  33. *** 3363,3401 ****
  34.   
  35.   fi
  36.   
  37. - echo $ac_n "checking for sequent/ptx""... $ac_c" 1>&6
  38. - echo "configure:3362: checking for sequent/ptx" >&5
  39. - cat > conftest.$ac_ext <<EOF
  40. - #line 3364 "configure"
  41. - #include "confdefs.h"
  42. - #ifdef _SEQUENT_
  43. -   yes;
  44. - #endif
  45. - EOF
  46. - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  47. -   egrep "yes" >/dev/null 2>&1; then
  48. -   rm -rf conftest*
  49. -   LIBS="$LIBS -linet" echo "$ac_t""yes" 1>&6
  50. - else
  51. -   rm -rf conftest*
  52. -   echo "$ac_t""no" 1>&6
  53. - fi
  54. - rm -f conftest*
  55.   
  56.   echo $ac_n "checking quality of toupper""... $ac_c" 1>&6
  57. ! echo "configure:3383: checking quality of toupper" >&5
  58.   if test "$cross_compiling" = yes; then
  59.     { echo "configure: error: failed to compile test program" 1>&2; exit 1; }
  60.   else
  61.     cat > conftest.$ac_ext <<EOF
  62. ! #line 3388 "configure"
  63.   #include "confdefs.h"
  64.   #include <ctype.h>
  65.   main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
  66.   EOF
  67. ! if { (eval echo configure:3393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  68.   then
  69.     cat >> confdefs.h <<\EOF
  70.   #define BROKEN_TOUPPER 1
  71. --- 3363,3381 ----
  72.   
  73.   fi
  74.   
  75.   
  76.   echo $ac_n "checking quality of toupper""... $ac_c" 1>&6
  77. ! echo "configure:3369: checking quality of toupper" >&5
  78.   if test "$cross_compiling" = yes; then
  79.     { echo "configure: error: failed to compile test program" 1>&2; exit 1; }
  80.   else
  81.     cat > conftest.$ac_ext <<EOF
  82. ! #line 3374 "configure"
  83.   #include "confdefs.h"
  84.   #include <ctype.h>
  85.   main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
  86.   EOF
  87. ! if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  88.   then
  89.     cat >> confdefs.h <<\EOF
  90.   #define BROKEN_TOUPPER 1
  91. *** ../vim-5.5.8/src/version.c    Sun Sep 26 14:16:52 1999
  92. --- src/version.c    Sun Sep 26 14:18:32 1999
  93. ***************
  94. *** 420,420 ****
  95. --- 420,421 ----
  96.   {   /* Add new patch number below this line */
  97. +     9,
  98.  
  99. --
  100. hundred-and-one symptoms of being an internet addict:
  101. 181. You make up words that go with the "happy tune" your modem makes
  102.      while dialing your ISP.
  103.  
  104. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  105.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  106.