Mercurial > mxe-octave
annotate src/msvc-texinfo-1.patch @ 3834:291c610413cd
use autotools for building gl2ps on Linux systems
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Mar 2015 17:25:01 -0500 |
parents | 4f3211c77535 |
children |
rev | line source |
---|---|
3116
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 diff -urN texinfo-4.13-orig/configure texinfo-4.13-new/configure |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 --- texinfo-4.13-orig/configure 2008-09-18 19:46:26 +0100 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 +++ texinfo-4.13-new/configure 2010-11-14 14:14:47 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 @@ -6385,8 +6385,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
5 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
6 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 gl_cv_next_sys_time_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 - sed -n '\#/sys/time.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 - s#.*"\(.*/sys/time.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 + sed -n '\#[/\\]sys[/\\]time.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 + s#.*"\(.*[/\\]sys[/\\]time.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 @@ -8780,8 +8780,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 gl_cv_next_string_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 - sed -n '\#/string.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 - s#.*"\(.*/string.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 + sed -n '\#[/\\]string.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 + s#.*"\(.*[/\\]string.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 @@ -12498,8 +12498,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 gl_cv_next_stdint_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
30 - sed -n '\#/stdint.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
31 - s#.*"\(.*/stdint.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
32 + sed -n '\#[/\\]stdint.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
33 + s#.*"\(.*[/\\]stdint.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
34 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
35 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
36 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
37 @@ -13552,8 +13552,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
38 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
39 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
40 gl_cv_next_stdlib_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
41 - sed -n '\#/stdlib.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
42 - s#.*"\(.*/stdlib.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
43 + sed -n '\#[/\\]stdlib.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
44 + s#.*"\(.*[/\\]stdlib.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
45 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
46 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
47 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
48 @@ -14255,8 +14255,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
49 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
50 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
51 gl_cv_next_sys_stat_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
52 - sed -n '\#/sys/stat.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
53 - s#.*"\(.*/sys/stat.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
54 + sed -n '\#[/\\]sys[/\\]stat.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
55 + s#.*"\(.*[/\\]sys[/\\]stat.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
56 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
57 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
58 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
59 @@ -14524,8 +14524,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
60 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
61 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
62 gl_cv_next_unistd_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
63 - sed -n '\#/unistd.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
64 - s#.*"\(.*/unistd.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
65 + sed -n '\#[/\\]unistd.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
66 + s#.*"\(.*[/\\]unistd.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
67 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
68 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
69 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
70 @@ -14841,8 +14841,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
71 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
72 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
73 gl_cv_next_wchar_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
74 - sed -n '\#/wchar.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
75 - s#.*"\(.*/wchar.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
76 + sed -n '\#[/\\]wchar.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
77 + s#.*"\(.*[/\\]wchar.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
78 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
79 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
80 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
81 @@ -15037,8 +15037,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
82 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
83 _ACEOF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
84 gl_cv_next_wctype_h='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
85 - sed -n '\#/wctype.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
86 - s#.*"\(.*/wctype.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
87 + sed -n '\#[/\\]wctype.h#{ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
88 + s#.*"\(.*[/\\]wctype.h\)".*#\1# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
89 s#^/[^/]#//&# |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
90 p |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
91 q |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
92 @@ -19026,8 +19026,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
93 /* end confdefs.h. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
94 #include <libintl.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
95 $gt_revision_test_code |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
96 -extern int _nl_msg_cat_cntr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
97 -extern int *_nl_domain_bindings; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
98 +extern __declspec(dllimport) int _nl_msg_cat_cntr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
99 +extern __declspec(dllimport) int *_nl_domain_bindings; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
100 int |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
101 main () |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
102 { |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
103 @@ -19834,7 +19834,7 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
104 /* end confdefs.h. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
105 #include <libintl.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
106 $gt_revision_test_code |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
107 -extern int _nl_msg_cat_cntr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
108 +extern __declspec(dllimport) int _nl_msg_cat_cntr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
109 extern |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
110 #ifdef __cplusplus |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
111 "C" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
112 @@ -19891,7 +19891,7 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
113 /* end confdefs.h. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
114 #include <libintl.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
115 $gt_revision_test_code |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
116 -extern int _nl_msg_cat_cntr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
117 +extern __declspec(dllimport) int _nl_msg_cat_cntr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
118 extern |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
119 #ifdef __cplusplus |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
120 "C" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
121 diff -urN texinfo-4.13-orig/gnulib/lib/gettimeofday.c texinfo-4.13-new/gnulib/lib/gettimeofday.c |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
122 --- texinfo-4.13-orig/gnulib/lib/gettimeofday.c 2007-12-25 23:57:18 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
123 +++ texinfo-4.13-new/gnulib/lib/gettimeofday.c 2010-11-14 14:39:06 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
124 @@ -21,6 +21,11 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
125 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
126 #include <config.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
127 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
128 +#ifdef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
129 +#undef localtime |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
130 +#undef gmtime |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
131 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
132 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
133 /* Specification. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
134 #include <sys/time.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
135 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
136 diff -urN texinfo-4.13-orig/gnulib/lib/memcpy.c texinfo-4.13-new/gnulib/lib/memcpy.c |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
137 --- texinfo-4.13-orig/gnulib/lib/memcpy.c 2007-12-25 23:57:18 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
138 +++ texinfo-4.13-new/gnulib/lib/memcpy.c 2010-11-14 14:39:42 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
139 @@ -17,6 +17,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
140 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
141 #include <config.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
142 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
143 +#ifndef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
144 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
145 #include <stddef.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
146 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
147 /* Copy LEN bytes starting at SRCADDR to DESTADDR. Result undefined |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
148 @@ -33,3 +35,5 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
149 *dest++ = *src++; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
150 return destaddr; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
151 } |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
152 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
153 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
154 diff -urN texinfo-4.13-orig/gnulib/lib/sys_stat.in.h texinfo-4.13-new/gnulib/lib/sys_stat.in.h |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
155 --- texinfo-4.13-orig/gnulib/lib/sys_stat.in.h 2008-05-22 13:11:32 +0100 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
156 +++ texinfo-4.13-new/gnulib/lib/sys_stat.in.h 2010-11-14 14:43:13 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
157 @@ -277,6 +277,10 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
158 alias mkdir), only in the nonstandard <io.h>, which is included above. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
159 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
160 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
161 +#ifdef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
162 +typedef int mode_t; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
163 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
164 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
165 static inline int |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
166 rpl_mkdir (char const *name, mode_t mode) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
167 { |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
168 diff -urN texinfo-4.13-orig/gnulib/lib/unistd.in.h texinfo-4.13-new/gnulib/lib/unistd.in.h |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
169 --- texinfo-4.13-orig/gnulib/lib/unistd.in.h 2008-02-27 18:32:21 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
170 +++ texinfo-4.13-new/gnulib/lib/unistd.in.h 2010-11-14 14:58:39 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
171 @@ -94,7 +94,11 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
172 # include <crt_externs.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
173 # define environ (*_NSGetEnviron ()) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
174 # else |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
175 +#ifdef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
176 +extern __declspec(dllimport) char **environ; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
177 +#else |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
178 extern char **environ; |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
179 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
180 # endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
181 # endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
182 #elif defined GNULIB_POSIXCHECK |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
183 diff -urN texinfo-4.13-orig/makeinfo/Makefile.in texinfo-4.13-new/makeinfo/Makefile.in |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
184 --- texinfo-4.13-orig/makeinfo/Makefile.in 2008-09-18 19:46:24 +0100 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
185 +++ texinfo-4.13-new/makeinfo/Makefile.in 2010-11-14 11:47:16 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
186 @@ -127,7 +127,7 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
187 index.$(OBJEXT) insertion.$(OBJEXT) lang.$(OBJEXT) \ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
188 macro.$(OBJEXT) makeinfo.$(OBJEXT) multi.$(OBJEXT) \ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
189 node.$(OBJEXT) sectioning.$(OBJEXT) toc.$(OBJEXT) \ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
190 - xml.$(OBJEXT) xref.$(OBJEXT) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
191 + xml.$(OBJEXT) xref.$(OBJEXT) makeinfo.res |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
192 makeinfo_OBJECTS = $(am_makeinfo_OBJECTS) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
193 makeinfo_LDADD = $(LDADD) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
194 am__DEPENDENCIES_1 = |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
195 @@ -514,6 +514,9 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
196 @rm -f makeinfo$(EXEEXT) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
197 $(LINK) $(makeinfo_OBJECTS) $(makeinfo_LDADD) $(LIBS) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
198 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
199 +makeinfo.res: makeinfo.rc |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
200 + rc -fo $@ $< |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
201 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
202 mostlyclean-compile: |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
203 -rm -f *.$(OBJEXT) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
204 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
205 diff -urN texinfo-4.13-orig/makeinfo/makeinfo.c texinfo-4.13-new/makeinfo/makeinfo.c |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
206 --- texinfo-4.13-orig/makeinfo/makeinfo.c 2008-09-18 19:32:00 +0100 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
207 +++ texinfo-4.13-new/makeinfo/makeinfo.c 2010-11-14 11:53:57 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
208 @@ -563,7 +563,9 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
209 of the argument to @multicolumn. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
210 setlocale (LC_TIME, ""); |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
211 #ifdef LC_MESSAGES /* ultrix, djgpp 2.04 */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
212 +# ifndef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
213 setlocale (LC_MESSAGES, ""); |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
214 +# endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
215 #endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
216 setlocale (LC_CTYPE, ""); |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
217 setlocale (LC_COLLATE, ""); |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
218 diff -urN texinfo-4.13-orig/makeinfo/makeinfo.rc texinfo-4.13-new/makeinfo/makeinfo.rc |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
219 --- texinfo-4.13-orig/makeinfo/makeinfo.rc 1970-01-01 00:00:00 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
220 +++ texinfo-4.13-new/makeinfo/makeinfo.rc 2010-11-14 11:50:37 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
221 @@ -0,0 +1,30 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
222 +#include <windows.h> |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
223 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
224 +VS_VERSION_INFO VERSIONINFO |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
225 +FILEVERSION 4, 13, 1, 0 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
226 +PRODUCTVERSION 4, 13, 1, 0 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
227 +FILEFLAGSMASK 0x3fL |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
228 +FILEFLAGS 0 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
229 +FILEOS VOS_NT_WINDOWS32 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
230 +FILETYPE VFT_APP |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
231 +FILESUBTYPE VFT2_UNKNOWN |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
232 +BEGIN |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
233 + BLOCK "VarFileInfo" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
234 + BEGIN |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
235 + VALUE "Translation", 0x409, 1200 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
236 + END |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
237 + BLOCK "StringFileInfo" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
238 + BEGIN |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
239 + BLOCK "040904b0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
240 + BEGIN |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
241 + VALUE "CompanyName", "GNU <www.gnu.org>\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
242 + VALUE "FileDescription", "TeXInfo - Documentation system\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
243 + VALUE "FileVersion", "4.13a\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
244 + VALUE "InternalName", "Makeinfo\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
245 + VALUE "LegalCopyright", "Copyright 2006 Free Software Foundation\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
246 + VALUE "OriginalFilename", "makeinfo.exe\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
247 + VALUE "ProductName", "TeXInfo\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
248 + VALUE "ProductVersion", "4.13a\0" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
249 + END |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
250 + END |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
251 +END |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
252 diff -urN texinfo-4.13-orig/system.h texinfo-4.13-new/system.h |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
253 --- texinfo-4.13-orig/system.h 2008-07-26 23:54:54 +0100 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
254 +++ texinfo-4.13-new/system.h 2010-11-14 14:47:31 +0000 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
255 @@ -132,6 +132,10 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
256 # endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
257 #endif /* O_BINARY */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
258 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
259 +#ifdef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
260 +# define __STDC__ 1 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
261 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
262 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
263 /* We'd like to take advantage of _doprnt if it's around, a la error.c, |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
264 but then we'd have no VA_SPRINTF. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
265 #if HAVE_VPRINTF |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
266 @@ -238,8 +242,13 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
267 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
268 /* For convenience. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
269 #define STREQ(s1,s2) (strcmp (s1, s2) == 0) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
270 +#ifdef _MSC_VER |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
271 +#define STRCASEEQ(s1,s2) (stricmp (s1, s2) == 0) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
272 +#define STRNCASEEQ(s1,s2,n) (strnicmp (s1, s2, n) == 0) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
273 +#else |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
274 #define STRCASEEQ(s1,s2) (strcasecmp (s1, s2) == 0) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
275 #define STRNCASEEQ(s1,s2,n) (strncasecmp (s1, s2, n) == 0) |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
276 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
277 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
278 /* We don't need anything fancy. If we did need something fancy, gnulib |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
279 has it. */ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
280 @@ -257,4 +266,8 @@ |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
281 #include "dmalloc.h" |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
282 #endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
283 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
284 +#ifndef R_OK |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
285 +#define R_OK 4 |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
286 +#endif |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
287 + |
4f3211c77535
[MSVC] enable texinfo compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
288 #endif /* TEXINFO_SYSTEM_H */ |