To: vim-dev@vim.org Subject: Patch 6.1.073 (extra) Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.073 (extra) Problem: BC5: Can't easily specify a tiny, small, normal, big or huge version. Solution: Allow selecting the version with the FEATURES variable. (Ajit Thakkar) Files: src/Make_bc5.mak *** ../vim61.072/src/Make_bc5.mak Thu Mar 21 19:56:21 2002 --- src/Make_bc5.mak Fri Apr 26 21:29:16 2002 *************** *** 64,69 **** --- 64,71 ---- # FASTCALL no or yes: set to yes to use register-based function protocol (yes) # OPTIMIZE SPEED or SPACE: type of optimization (SPEED) # POSTSCRIPT no or yes: set to yes for PostScript printing + # FEATURES TINY, SMALL, NORMAL, BIG or HUGE + # (BIG for WIN32, SMALL for DOS16) # ### BOR: root of the BC installation !if ("$(BOR)"=="") *************** *** 157,162 **** --- 159,172 ---- !if ("$(OPTIMIZE)"=="") OPTIMIZE = SPEED !endif + ### FEATURES: TINY, SMALL, NORMAL, BIG or HUGE (BIG for WIN32, SMALL for DOS16) + !if ("$(FEATURES)"=="") + ! if ($(OSTYPE)==DOS16) + FEATURES = SMALL + ! else + FEATURES = BIG + ! endif + !endif # ### POSTSCRIPT: uncomment this line if you want PostScript printing #POSTSCRIPT = yes *************** *** 212,218 **** # shouldn't have to change: LIB = $(BOR)\lib INCLUDE = $(BOR)\include;.;proto ! DEFINES = -DWIN32 -DPC $(WINVER) # !ifdef PERL INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PERL --- 222,228 ---- # shouldn't have to change: LIB = $(BOR)\lib INCLUDE = $(BOR)\include;.;proto ! DEFINES = -DFEAT_$(FEATURES) -DWIN32 -DPC $(WINVER) # !ifdef PERL INTERP_DEFINES = $(INTERP_DEFINES) -DFEAT_PERL *************** *** 322,328 **** TARGET = vim.exe !endif !if ($(OSTYPE)==DOS16) ! DEFINES=-DMSDOS EXETYPE=-ml STARTUPOBJ = c0l.obj LINK2 = --- 332,338 ---- TARGET = vim.exe !endif !if ($(OSTYPE)==DOS16) ! DEFINES= -DFEAT_$(FEATURES) -DMSDOS EXETYPE=-ml STARTUPOBJ = c0l.obj LINK2 = *** ../vim61.072/src/version.c Thu May 16 22:01:33 2002 --- src/version.c Thu May 16 22:06:11 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 73, /**/ -- How To Keep A Healthy Level Of Insanity: 5. Put decaf in the coffee maker for 3 weeks. Once everyone has gotten over their caffeine addictions, switch to expresso. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///