To: vim-dev@vim.org Subject: Patch 6.2f.011 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.2f.011 Problem: The configure script doesn't work with autoconf 2.5x. Solution: Add square brackets around a header check. (Aron Griffis) Note: touch src/auto/configure after applying this patch. Files: src/configure.in *** ../vim-6.2f.010/src/configure.in Tue May 27 19:34:54 2003 --- src/configure.in Wed May 28 20:11:30 2003 *************** *** 1,7 **** dnl configure.in: autoconf script for Vim dnl Process this file with autoconf 2.12 or 2.13 to produce "configure". ! dnl Does NOT work with autoconf 2.50 - 2.53! AC_INIT(vim.h) AC_CONFIG_HEADER(auto/config.h:config.h.in) --- 1,7 ---- dnl configure.in: autoconf script for Vim dnl Process this file with autoconf 2.12 or 2.13 to produce "configure". ! dnl Might also work with autoconf 2.57 or later. AC_INIT(vim.h) AC_CONFIG_HEADER(auto/config.h:config.h.in) *************** *** 2349,2355 **** fi dnl Check for dynamic linking loader ! AC_CHECK_HEADER(dlfcn.h, DLL=dlfcn.h, AC_CHECK_HEADER(dl.h, DLL=dl.h)) if test x${DLL} = xdlfcn.h; then AC_DEFINE(HAVE_DLFCN_H, 1, [ Define if we have dlfcn.h. ]) AC_MSG_CHECKING([for dlopen()]) --- 2349,2355 ---- fi dnl Check for dynamic linking loader ! AC_CHECK_HEADER(dlfcn.h, DLL=dlfcn.h, [AC_CHECK_HEADER(dl.h, DLL=dl.h)]) if test x${DLL} = xdlfcn.h; then AC_DEFINE(HAVE_DLFCN_H, 1, [ Define if we have dlfcn.h. ]) AC_MSG_CHECKING([for dlopen()]) *** ../vim-6.2f.010/src/version.c Tue May 27 22:31:48 2003 --- src/version.c Wed May 28 20:10:07 2003 *************** *** 632,633 **** --- 632,635 ---- { /* Add new patch number below this line */ + /**/ + 11, /**/ -- Normal people believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///