To: vim-dev@vim.org Subject: Patch 6.1.196 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.196 (depends on 6.1.084) Problem: On Mac OS X 10.2 generating osdef.h fails. Solution: Add -no-cpp-precomp to avoid using precompiled header files, which disables printing the search path. (Ben Fowler) Files: src/auto/configure, src/configure.in *** ../vim61.195/src/auto/configure Sun Jul 21 20:30:30 2002 --- src/auto/configure Sat Sep 21 12:49:11 2002 *************** *** 1164,1170 **** have_local_lib='' if test "$GCC" = yes; then echo 'void f(){}' > conftest.c ! have_local_include=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/include'` have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'` rm -f conftest.c conftest.o fi --- 1164,1170 ---- have_local_lib='' if test "$GCC" = yes; then echo 'void f(){}' > conftest.c ! have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'` have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'` rm -f conftest.c conftest.o fi *** ../vim61.195/src/configure.in Sun Jul 21 20:30:30 2002 --- src/configure.in Sat Sep 21 12:49:10 2002 *************** *** 85,91 **** have_local_lib='' if test "$GCC" = yes; then echo 'void f(){}' > conftest.c ! have_local_include=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/include'` have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'` rm -f conftest.c conftest.o fi --- 85,92 ---- have_local_lib='' if test "$GCC" = yes; then echo 'void f(){}' > conftest.c ! dnl -no-cpp-precomp is needed for OS X 10.2 (Ben Fowler) ! have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'` have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'` rm -f conftest.c conftest.o fi *** ../vim61.195/src/version.c Mon Sep 23 21:32:08 2002 --- src/version.c Mon Sep 23 21:34:07 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 196, /**/ -- 'Well, here's something to occupy you and keep your mind off things.' 'It won't work, I have an exceptionally large mind.' -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// 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 /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///