]> git.pld-linux.org Git - packages/crossmingw32-gtkmm.git/blob - gtkmm-lt.patch
- updated to 2.12.5
[packages/crossmingw32-gtkmm.git] / gtkmm-lt.patch
1 --- gtkmm-2.12.5/configure.in.orig      2008-02-24 11:32:26.000000000 +0100
2 +++ gtkmm-2.12.5/configure.in   2008-03-15 16:37:58.575785958 +0100
3 @@ -128,72 +128,6 @@
4  
5  AC_CHECK_FUNC(mkfifo, AC_DEFINE(HAVE_MKFIFO))
6  
7 -# functions used in demos/gtk-demo. Undefined in config.h.
8 -AC_LANG_PUSH(C++)
9 -AC_MSG_CHECKING([for flockfile])
10 -AC_TRY_LINK([
11 -#include <stdio.h>],[
12 -flockfile (NULL);],[
13 -  AC_MSG_RESULT(yes)
14 -  AC_DEFINE(HAVE_FLOCKFILE, 1,
15 -    [Define to 1 if you have the `flockfile' function.])],[
16 -  AC_MSG_RESULT(no)
17 -  AC_MSG_CHECKING([for flockfile with a custom prototype])
18 -  AC_TRY_LINK([
19 -#include <stdio.h>
20 -
21 -extern "C" void flockfile (FILE *);],[
22 -flockfile (NULL);],[
23 -    AC_MSG_RESULT(yes)
24 -    AC_DEFINE(HAVE_FLOCKFILE, 1,
25 -      [Define to 1 if you have the `flockfile' function.])
26 -    AC_DEFINE(NEED_FLOCKFILE_PROTO, 1,
27 -      [Define if flockfile() prototype needed.])],[
28 -    AC_MSG_RESULT(not available)])])
29 -
30 -AC_MSG_CHECKING([for funlockfile])
31 -AC_TRY_LINK([
32 -#include <stdio.h>],[
33 -funlockfile (NULL);],[
34 -  AC_MSG_RESULT(yes)
35 -  AC_DEFINE(HAVE_FUNLOCKFILE, 1,
36 -    [Define to 1 if you have the `funlockfile' function.])],[
37 -  AC_MSG_RESULT(no)
38 -  AC_MSG_CHECKING([for funlockfile with a custom prototype])
39 -  AC_TRY_LINK([
40 -#include <stdio.h>
41 -
42 -extern "C" void funlockfile (FILE *);],[
43 -funlockfile (NULL);],[
44 -    AC_MSG_RESULT(yes)
45 -    AC_DEFINE(HAVE_FUNLOCKFILE, 1,
46 -      [Define to 1 if you have the `funlockfile' function.])
47 -    AC_DEFINE(NEED_FUNLOCKFILE_PROTO, 1,
48 -      [Define if funlockfile() prototype needed.])],[
49 -    AC_MSG_RESULT(not available)])])
50 -
51 -AC_MSG_CHECKING([for getc_unlocked])
52 -AC_TRY_LINK([
53 -#include <stdio.h>],[
54 -getc_unlocked (NULL);],[
55 -  AC_MSG_RESULT(yes)
56 -  AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
57 -    [Define to 1 if you have the `getc_unlocked' function.])],[
58 -  AC_MSG_RESULT(no)
59 -  AC_MSG_CHECKING([for getc_unlocked with a custom prototype])
60 -  AC_TRY_LINK([
61 -#include <stdio.h>
62 -
63 -extern "C" int getc_unlocked (FILE *);],[
64 -getc_unlocked (NULL);],[
65 -    AC_MSG_RESULT(yes)
66 -    AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
67 -      [Define to 1 if you have the `getc_unlocked' function.])
68 -    AC_DEFINE(NEED_GETC_UNLOCKED_PROTO, 1,
69 -      [Define if getc_unlocked() prototype needed.])],[
70 -    AC_MSG_RESULT(not available)])])
71 -AC_LANG_POP(C++)
72 -
73  #########################################################################
74  #  Dependancy checks
75  #########################################################################
76 @@ -282,6 +216,72 @@
77  
78  AC_LANG_CPLUSPLUS
79  
80 +# functions used in demos/gtk-demo. Undefined in config.h.
81 +AC_LANG_PUSH(C++)
82 +AC_MSG_CHECKING([for flockfile])
83 +AC_TRY_LINK([
84 +#include <stdio.h>],[
85 +flockfile (NULL);],[
86 +  AC_MSG_RESULT(yes)
87 +  AC_DEFINE(HAVE_FLOCKFILE, 1,
88 +    [Define to 1 if you have the `flockfile' function.])],[
89 +  AC_MSG_RESULT(no)
90 +  AC_MSG_CHECKING([for flockfile with a custom prototype])
91 +  AC_TRY_LINK([
92 +#include <stdio.h>
93 +
94 +extern "C" void flockfile (FILE *);],[
95 +flockfile (NULL);],[
96 +    AC_MSG_RESULT(yes)
97 +    AC_DEFINE(HAVE_FLOCKFILE, 1,
98 +      [Define to 1 if you have the `flockfile' function.])
99 +    AC_DEFINE(NEED_FLOCKFILE_PROTO, 1,
100 +      [Define if flockfile() prototype needed.])],[
101 +    AC_MSG_RESULT(not available)])])
102 +
103 +AC_MSG_CHECKING([for funlockfile])
104 +AC_TRY_LINK([
105 +#include <stdio.h>],[
106 +funlockfile (NULL);],[
107 +  AC_MSG_RESULT(yes)
108 +  AC_DEFINE(HAVE_FUNLOCKFILE, 1,
109 +    [Define to 1 if you have the `funlockfile' function.])],[
110 +  AC_MSG_RESULT(no)
111 +  AC_MSG_CHECKING([for funlockfile with a custom prototype])
112 +  AC_TRY_LINK([
113 +#include <stdio.h>
114 +
115 +extern "C" void funlockfile (FILE *);],[
116 +funlockfile (NULL);],[
117 +    AC_MSG_RESULT(yes)
118 +    AC_DEFINE(HAVE_FUNLOCKFILE, 1,
119 +      [Define to 1 if you have the `funlockfile' function.])
120 +    AC_DEFINE(NEED_FUNLOCKFILE_PROTO, 1,
121 +      [Define if funlockfile() prototype needed.])],[
122 +    AC_MSG_RESULT(not available)])])
123 +
124 +AC_MSG_CHECKING([for getc_unlocked])
125 +AC_TRY_LINK([
126 +#include <stdio.h>],[
127 +getc_unlocked (NULL);],[
128 +  AC_MSG_RESULT(yes)
129 +  AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
130 +    [Define to 1 if you have the `getc_unlocked' function.])],[
131 +  AC_MSG_RESULT(no)
132 +  AC_MSG_CHECKING([for getc_unlocked with a custom prototype])
133 +  AC_TRY_LINK([
134 +#include <stdio.h>
135 +
136 +extern "C" int getc_unlocked (FILE *);],[
137 +getc_unlocked (NULL);],[
138 +    AC_MSG_RESULT(yes)
139 +    AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
140 +      [Define to 1 if you have the `getc_unlocked' function.])
141 +    AC_DEFINE(NEED_GETC_UNLOCKED_PROTO, 1,
142 +      [Define if getc_unlocked() prototype needed.])],[
143 +    AC_MSG_RESULT(not available)])])
144 +AC_LANG_POP(C++)
145 +
146  
147  # Create a list of input directories for Doxygen.
148  GTKMM_DOXYGEN_INPUT_SUBDIRS([pango atk gdk gtk])
This page took 0.083273 seconds and 3 git commands to generate.