]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.272
- initial import
[packages/vim.git] / 6.2.272
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.272
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.2.272
11 Problem:    When the "po" directory exists, but "po/Makefile" doesn't,
12             building fails.  Make loops when the "po" directory has been
13             deleted after running configure.
14 Solution:   Check for the "po/Makefile" instead of just the "po" directory.
15             Check this again before trying to run make with that Makefile.
16 Files:      src/auto/configure, src/configure.in, src/Makefile
17
18
19 *** ../vim-6.2.271/src/auto/configure   Wed Feb  4 12:12:05 2004
20 --- src/auto/configure  Tue Feb 17 17:25:57 2004
21 ***************
22 *** 7666,7684 ****
23   fi
24   
25     echo $ac_n "checking for NLS""... $ac_c" 1>&6
26 ! echo "configure:7429: checking for NLS" >&5
27 !   if test -d po; then
28       have_gettext="no"
29       if test -n "$MSGFMT"; then
30         cat > conftest.$ac_ext <<EOF
31 ! #line 7434 "configure"
32   #include "confdefs.h"
33   #include <libintl.h>
34   int main() {
35   gettext("Test");
36   ; return 0; }
37   EOF
38 ! if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39     rm -rf conftest*
40     echo "$ac_t""gettext() works" 1>&6; have_gettext="yes"
41   else
42 --- 7669,7687 ----
43   fi
44   
45     echo $ac_n "checking for NLS""... $ac_c" 1>&6
46 ! echo "configure:7673: checking for NLS" >&5
47 !   if test -f po/Makefile; then
48       have_gettext="no"
49       if test -n "$MSGFMT"; then
50         cat > conftest.$ac_ext <<EOF
51 ! #line 7678 "configure"
52   #include "confdefs.h"
53   #include <libintl.h>
54   int main() {
55   gettext("Test");
56   ; return 0; }
57   EOF
58 ! if { (eval echo configure:7685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
59     rm -rf conftest*
60     echo "$ac_t""gettext() works" 1>&6; have_gettext="yes"
61   else
62 *** ../vim-6.2.271/src/configure.in     Wed Feb  4 12:12:05 2004
63 --- src/configure.in    Tue Feb 17 17:25:03 2004
64 ***************
65 *** 2475,2481 ****
66     AC_MSG_RESULT(no)
67     AC_CHECK_PROG(MSGFMT, msgfmt, msgfmt, )
68     AC_MSG_CHECKING([for NLS])
69 !   if test -d po; then
70       have_gettext="no"
71       if test -n "$MSGFMT"; then
72         AC_TRY_LINK(
73 --- 2475,2481 ----
74     AC_MSG_RESULT(no)
75     AC_CHECK_PROG(MSGFMT, msgfmt, msgfmt, )
76     AC_MSG_CHECKING([for NLS])
77 !   if test -f po/Makefile; then
78       have_gettext="no"
79       if test -n "$MSGFMT"; then
80         AC_TRY_LINK(
81 ***************
82 *** 2509,2515 ****
83                 AC_MSG_RESULT([no]))
84       fi
85     else
86 !     AC_MSG_RESULT([no "po" directory - disabled]);
87     fi
88   else
89     AC_MSG_RESULT(yes)
90 --- 2509,2515 ----
91                 AC_MSG_RESULT([no]))
92       fi
93     else
94 !     AC_MSG_RESULT([no "po/Makefile" - disabled]);
95     fi
96   else
97     AC_MSG_RESULT(yes)
98 *** ../vim-6.2.271/src/Makefile Mon Jan 12 19:56:01 2004
99 --- src/Makefile        Tue Feb 17 21:13:56 2004
100 ***************
101 *** 1494,1503 ****
102   # Build the language specific files if they were unpacked.
103   # Generate the converted .mo files separately, it's no problem if this fails.
104   languages:
105 !       @if test -n "$(MAKEMO)"; then \
106                 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
107         fi
108 !       -@if test -n "$(MAKEMO)"; then \
109                 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
110         fi
111   
112 --- 1500,1509 ----
113   # Build the language specific files if they were unpacked.
114   # Generate the converted .mo files separately, it's no problem if this fails.
115   languages:
116 !       @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
117                 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
118         fi
119 !       -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
120                 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
121         fi
122   
123 ***************
124 *** 1765,1771 ****
125   
126   # install the language specific files, if they were unpacked
127   install-languages: languages $(DEST_LANG) $(DEST_KMAP)
128 !       if test -n "$(MAKEMO)"; then \
129            cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
130            INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
131         fi
132 --- 1771,1777 ----
133   
134   # install the language specific files, if they were unpacked
135   install-languages: languages $(DEST_LANG) $(DEST_KMAP)
136 !       if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
137            cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
138            INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
139         fi
140 *** ../vim-6.2.271/src/version.c        Thu Feb 19 14:43:37 2004
141 --- src/version.c       Thu Feb 19 14:46:02 2004
142 ***************
143 *** 639,640 ****
144 --- 639,642 ----
145   {   /* Add new patch number below this line */
146 + /**/
147 +     272,
148   /**/
149
150 -- 
151 A bad peace is better than a good war. - Yiddish Proverb
152
153  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
154 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
155 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
156  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.037916 seconds and 3 git commands to generate.