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.6.047 < prev    next >
Encoding:
Internet Message Format  |  2000-03-30  |  7.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.047
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.047
  8. Problem:    $CPPFLAGS is not passed on to ctags configure.
  9. Solution:   Add it. (Walter Briscoe)
  10. Files:        src/config.mk.in, src/Makefile
  11.  
  12.  
  13. *** ../vim-5.6.46/src/config.mk.in    Mon Aug  9 11:22:49 1999
  14. --- src/config.mk.in    Fri Mar 31 13:44:41 2000
  15. ***************
  16. *** 15,20 ****
  17. --- 15,21 ----
  18.   CC        = @CC@
  19.   DEFS        = @DEFS@
  20.   CFLAGS        = @CFLAGS@
  21. + CPPFLAGS    = @CPPFLAGS@
  22.   srcdir        = @srcdir@
  23.   VPATH        = @srcdir@
  24.   LDFLAGS        = @LDFLAGS@
  25. *** ../vim-5.6.46/src/Makefile    Sun Jan 16 15:03:04 2000
  26. --- src/Makefile    Fri Mar 31 16:38:37 2000
  27. ***************
  28. *** 150,160 ****
  29.   #AIX 4.2          gcc 2.7.2.1    +X11 +GUI_Motif    5.2     D. Rothkamp
  30.   #AIX 4.2.1          cc                5.2k (C) Will Fiveash
  31.   #AIX 4.3          cc         +X11 +GUI_Athena    5.3     Glauber Ribeiro
  32.   #A/UX 3.1.1          gcc         +X11        4.0  (6) Jim Jagielski
  33.   #BeOS PR          mwcc DR3                5.0n (T) Olaf Seibert
  34.   #BSDI 2.1 (x86)       shlicc2 gcc-2.6.3 -X11 X11R6    4.5  (1) Jos Backus
  35.   #BSD/OS 3.0 (x86)     gcc gcc-2.7.2.1 -X11 X11R6    4.6c (1) Jos Backus
  36. ! #CYGWIN32_NT 19.3     egcs-2.90.27 -X11 -GUI        5.2     D. Rothkamp
  37.   #CX/UX 6.2          cc         +X11 +GUI_Mofif    5.4  (V) Kipp E. Howard
  38.   #DG/UX 5.4*          gcc 2.5.8      GUI        5.0e (H) Jonas Schlein
  39.   #DG/UX 5.4R4.20       gcc 2.7.2      GUI        5.0s (H) Rocky Olive
  40. --- 150,161 ----
  41.   #AIX 4.2          gcc 2.7.2.1    +X11 +GUI_Motif    5.2     D. Rothkamp
  42.   #AIX 4.2.1          cc                5.2k (C) Will Fiveash
  43.   #AIX 4.3          cc         +X11 +GUI_Athena    5.3     Glauber Ribeiro
  44. + #AIX 4.3.3.12          xic 3.6.6                5.6  (5) David R. Favor
  45.   #A/UX 3.1.1          gcc         +X11        4.0  (6) Jim Jagielski
  46.   #BeOS PR          mwcc DR3                5.0n (T) Olaf Seibert
  47.   #BSDI 2.1 (x86)       shlicc2 gcc-2.6.3 -X11 X11R6    4.5  (1) Jos Backus
  48.   #BSD/OS 3.0 (x86)     gcc gcc-2.7.2.1 -X11 X11R6    4.6c (1) Jos Backus
  49. ! #Cygwin 1.0 Win-NT    2.9-cygwin-990830 -X11 -GUI    5.6     Bram Moolenaar
  50.   #CX/UX 6.2          cc         +X11 +GUI_Mofif    5.4  (V) Kipp E. Howard
  51.   #DG/UX 5.4*          gcc 2.5.8      GUI        5.0e (H) Jonas Schlein
  52.   #DG/UX 5.4R4.20       gcc 2.7.2      GUI        5.0s (H) Rocky Olive
  53. ***************
  54. *** 222,228 ****
  55.   #      And add "-lXpm" to MOTIF_LIBS2.
  56.   # (4)  For cc the optimizer must be disabled (use CFLAGS= after running
  57.   #      configure) (symptom: ":set termcap" output looks weird).
  58. ! # (5)  Compiler may need -qmaxmem argument, see below.
  59.   # (6)  See below for a few lines to uncomment
  60.   # (7)  See below for lines which enable the use of clcc
  61.   # (8)  Needs some EXTRA_LIBS, search for Unisys below
  62. --- 223,229 ----
  63.   #      And add "-lXpm" to MOTIF_LIBS2.
  64.   # (4)  For cc the optimizer must be disabled (use CFLAGS= after running
  65.   #      configure) (symptom: ":set termcap" output looks weird).
  66. ! # (5)  Compiler may need extra argument, see below.
  67.   # (6)  See below for a few lines to uncomment
  68.   # (7)  See below for lines which enable the use of clcc
  69.   # (8)  Needs some EXTRA_LIBS, search for Unisys below
  70. ***************
  71. *** 493,499 ****
  72.   #GUI_LIB_LOC = /usr/lib/Motif1.2_R6
  73.   
  74.   ### (5) AIX 4.1.4 with cc
  75. ! #CFLAGS = -O -qmaxmem=8092
  76.   
  77.   ### (W) Solaris with multi-threaded libraries (-lthread):
  78.   ###    If suspending doesn't work properly, try using this line:
  79. --- 494,508 ----
  80.   #GUI_LIB_LOC = /usr/lib/Motif1.2_R6
  81.   
  82.   ### (5) AIX 4.1.4 with cc
  83. ! #CFLAGS = -O -qmaxmem=8192
  84. ! ###     AIX with c89 (Walter Briscoe)
  85. ! #CC = c89
  86. ! #CPPFLAGS = -D_ALL_SOURCE
  87. ! ###     AIX 4.3.3.12 with xic 3.6.6 (David R. Favor)
  88. ! #       needed to avoid a problem where strings.h gets included
  89. ! #CFLAGS = -qsrcmsg -O2 -qmaxmem=8192 -D__STR31__
  90.   
  91.   ### (W) Solaris with multi-threaded libraries (-lthread):
  92.   ###    If suspending doesn't work properly, try using this line:
  93. ***************
  94. *** 1020,1026 ****
  95.   .SUFFIXES:
  96.   .SUFFIXES: .cc .c .o .pro
  97.   
  98. ! PRE_DEFS = -Iproto $(DEFS) $(SNIFF_DEFS) $(GUI_DEFS) $(GUI_IPATH)
  99.   POST_DEFS = $(X_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(EXTRA_DEFS)
  100.   
  101.   ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(POST_DEFS)
  102. --- 1030,1036 ----
  103.   .SUFFIXES:
  104.   .SUFFIXES: .cc .c .o .pro
  105.   
  106. ! PRE_DEFS = -Iproto $(DEFS) $(SNIFF_DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS)
  107.   POST_DEFS = $(X_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(EXTRA_DEFS)
  108.   
  109.   ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(POST_DEFS)
  110. ***************
  111. *** 1211,1222 ****
  112.   #
  113.   config config.mk: configure
  114.       GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
  115. !         CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
  116. !     $(CONF_SHELL) ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) \
  117. !     $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_TCL) \
  118. !     $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
  119. !     $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) \
  120. !     $(CONF_OPT_MAX) $(CONF_OPT_MIN) $(CONF_TERM_LIB) $(CONF_ARGS)
  121.   
  122.   # When configure.in has changed, run autoconf to produce configure
  123.   # If you don't have autoconf, use the configure that's there
  124. --- 1221,1233 ----
  125.   #
  126.   config config.mk: configure
  127.       GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
  128. !         CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
  129. !         LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) \
  130. !         ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) \
  131. !         $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_TCL) \
  132. !         $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
  133. !         $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) \
  134. !         $(CONF_OPT_MAX) $(CONF_OPT_MIN) $(CONF_TERM_LIB) $(CONF_ARGS)
  135.   
  136.   # When configure.in has changed, run autoconf to produce configure
  137.   # If you don't have autoconf, use the configure that's there
  138. ***************
  139. *** 1243,1258 ****
  140.           ctags/config.h ctags/ctags.h
  141.   
  142.   ctags/ctags$(SUFFIX): ctags/Makefile $(CTAGSFILES)
  143. !     cd ctags; CC="$(CC)" CFLAGS="$(CFLAGS)" \
  144.           $(MAKE) -f Makefile SUFFIX="$(SUFFIX)"
  145.   
  146.   ctags/Makefile ctags/config.h: ctags/Makefile.in
  147. !     cd ctags; SUFFIX="$(SUFFIX)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
  148. !         LDFLAGS="$(LDFLAGS)" \
  149.           ./configure --mandir="$(MANDIR)" --exec_prefix="$(exec_prefix)"
  150.   
  151.   xxd/xxd$(SUFFIX): xxd/xxd.c
  152. !     cd xxd; CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -f Makefile.unix
  153.   
  154.   # Generate function prototypes.  This is not needed to compile vim, but if
  155.   # you want to use it, cproto is out there on the net somewhere -- Webb
  156. --- 1254,1270 ----
  157.           ctags/config.h ctags/ctags.h
  158.   
  159.   ctags/ctags$(SUFFIX): ctags/Makefile $(CTAGSFILES)
  160. !     cd ctags; CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
  161.           $(MAKE) -f Makefile SUFFIX="$(SUFFIX)"
  162.   
  163.   ctags/Makefile ctags/config.h: ctags/Makefile.in
  164. !     cd ctags; SUFFIX="$(SUFFIX)" CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" \
  165. !         CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
  166.           ./configure --mandir="$(MANDIR)" --exec_prefix="$(exec_prefix)"
  167.   
  168.   xxd/xxd$(SUFFIX): xxd/xxd.c
  169. !     cd xxd; CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
  170. !         $(MAKE) -f Makefile.unix
  171.   
  172.   # Generate function prototypes.  This is not needed to compile vim, but if
  173.   # you want to use it, cproto is out there on the net somewhere -- Webb
  174. *** ../vim-5.6.46/src/version.c    Fri Mar 31 19:32:38 2000
  175. --- src/version.c    Fri Mar 31 19:31:37 2000
  176. ***************
  177. *** 420,421 ****
  178. --- 420,423 ----
  179.   {   /* Add new patch number below this line */
  180. + /**/
  181. +     47,
  182.   /**/
  183.  
  184. -- 
  185. User:       I'm having problems with my text editor.
  186. Help desk:  Which editor are you using?
  187. User:       I don't know, but it's version VI (pronounced: 6).
  188. Help desk:  Oh, then you should upgrade to version VIM (pronounced: 994).
  189.  
  190. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
  191. \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
  192.