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 / 6.1.247 < prev    next >
Encoding:
Internet Message Format  |  2002-10-28  |  4.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.247
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.247
  11. Problem:    ACL support doesn't always work properly.
  12. Solution:   Add a configure argument to disable ACL "--disable-acl". (Thierry
  13.         Vignaud)
  14. Files:        src/auto/configure, src/configure.in
  15.  
  16.  
  17. *** ../vim61.246/src/auto/configure    Sun Oct 13 20:08:13 2002
  18. --- src/auto/configure    Tue Oct 29 21:23:04 2002
  19. ***************
  20. *** 80,85 ****
  21. --- 80,87 ----
  22.   ac_help="$ac_help
  23.     --with-tlib=library     terminal library to be used "
  24.   ac_help="$ac_help
  25. +   --disable-acl           Don't check for ACL support."
  26. + ac_help="$ac_help
  27.     --disable-gpm           Don't use gpm (Linux mouse daemon)."
  28.   ac_help="$ac_help
  29.     --disable-nls           Don't support NLS (gettext())."
  30. ***************
  31. *** 6065,6072 ****
  32.   fi
  33.   rm -f conftest*
  34.   
  35.   echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6
  36. ! echo "configure:5997: checking for acl_get_file in -lposix1e" >&5
  37.   ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'`
  38.   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  39.     echo $ac_n "(cached) $ac_c" 1>&6
  40. --- 6067,6086 ----
  41.   fi
  42.   rm -f conftest*
  43.   
  44. + echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6
  45. + echo "configure:6072: checking --disable-acl argument" >&5
  46. + # Check whether --enable-acl or --disable-acl was given.
  47. + if test "${enable_acl+set}" = set; then
  48. +   enableval="$enable_acl"
  49. +   echo "$ac_t""yes" 1>&6
  50. + else
  51. +   enable_acl="yes"; echo "$ac_t""no" 1>&6
  52. + fi
  53. + if test "$enable_acl" = "yes"; then
  54.   echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6
  55. ! echo "configure:6084: checking for acl_get_file in -lposix1e" >&5
  56.   ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'`
  57.   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  58.     echo $ac_n "(cached) $ac_c" 1>&6
  59. ***************
  60. *** 6283,6291 ****
  61.     echo "$ac_t""no" 1>&6
  62.   fi
  63.   rm -f conftest*
  64.   
  65.   echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6
  66. ! echo "configure:6176: checking --disable-gpm argument" >&5
  67.   # Check whether --enable-gpm or --disable-gpm was given.
  68.   if test "${enable_gpm+set}" = set; then
  69.     enableval="$enable_gpm"
  70. --- 6297,6306 ----
  71.     echo "$ac_t""no" 1>&6
  72.   fi
  73.   rm -f conftest*
  74. + fi
  75.   
  76.   echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6
  77. ! echo "configure:6304: checking --disable-gpm argument" >&5
  78.   # Check whether --enable-gpm or --disable-gpm was given.
  79.   if test "${enable_gpm+set}" = set; then
  80.     enableval="$enable_gpm"
  81. *** ../vim61.246/src/configure.in    Sun Oct 13 20:08:13 2002
  82. --- src/configure.in    Tue Oct 29 21:22:54 2002
  83. ***************
  84. *** 1804,1809 ****
  85. --- 1804,1816 ----
  86.   
  87.   dnl Link with -lposix1e for ACL stuff; if not found, try -lacl for SGI
  88.   dnl when -lacl works, also try to use -lattr (required for Debian).
  89. + AC_MSG_CHECKING(--disable-acl argument)
  90. + AC_ARG_ENABLE(acl,
  91. +     [  --disable-acl           Don't check for ACL support.],
  92. +     AC_MSG_RESULT(yes),
  93. +     [enable_acl="yes"; AC_MSG_RESULT(no)])
  94. + if test "$enable_acl" = "yes"; then
  95.   AC_CHECK_LIB(posix1e, acl_get_file, [LIBS="$LIBS -lposix1e"],
  96.       AC_CHECK_LIB(acl, acl_get_file, [LIBS="$LIBS -lacl"
  97.             AC_CHECK_LIB(attr, fgetxattr, LIBS="$LIBS -lattr",,)],,),)
  98. ***************
  99. *** 1848,1853 ****
  100. --- 1855,1861 ----
  101.       ],
  102.       AC_MSG_RESULT(yes); AC_DEFINE(HAVE_AIX_ACL),
  103.       AC_MSG_RESULT(no))
  104. + fi
  105.   
  106.   AC_MSG_CHECKING(--disable-gpm argument)
  107.   AC_ARG_ENABLE(gpm,
  108. *** ../vim61.246/src/version.c    Tue Oct 29 19:53:25 2002
  109. --- src/version.c    Tue Oct 29 21:23:54 2002
  110. ***************
  111. *** 608,609 ****
  112. --- 608,611 ----
  113.   {   /* Add new patch number below this line */
  114. + /**/
  115. +     247,
  116.   /**/
  117.  
  118. -- 
  119. BLACK KNIGHT:  Come on you pansy!
  120.     [hah] [parry thrust]
  121.     [ARTHUR chops the BLACK KNIGHT's right arm off]
  122. ARTHUR:        Victory is mine!  [kneeling]
  123.                We thank thee Lord, that in thy merc-
  124.     [Black Knight kicks Arthur in the head while he is praying]
  125.                                   The Quest for the Holy Grail (Monty Python)
  126.  
  127.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  128. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  129. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  130.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  131.