]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/centericq/centericq-4.9.7/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / centericq / centericq-4.9.7 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- centericq-4.9.7/./libyahoo2-0.1/configure.in~configure
7 +++ centericq-4.9.7/./libyahoo2-0.1/configure.in
8 @@ -1,4 +1,5 @@
9 -AC_INIT(aclocal.m4)
10 +AC_INIT
11 +AC_CONFIG_SRCDIR([aclocal.m4])
12  AM_INIT_AUTOMAKE(libyahoo2, 0.1)
13  
14  AC_PROG_RANLIB
15 @@ -11,4 +12,5 @@
16      AC_PROG_CXX
17  fi
18  
19 -AC_OUTPUT(Makefile)
20 +AC_CONFIG_FILES([Makefile])
21 +AC_OUTPUT
22 --- centericq-4.9.7/./configure.in~configure
23 +++ centericq-4.9.7/./configure.in
24 @@ -1,4 +1,5 @@
25 -AC_INIT(src/centericq.cc)
26 +AC_INIT
27 +AC_CONFIG_SRCDIR([src/centericq.cc])
28  AM_INIT_AUTOMAKE(centericq, 4.9.7)
29  
30  AC_CANONICAL_HOST
31 @@ -10,8 +11,7 @@
32  
33  AM_CONFIG_HEADER(config.h)
34  
35 -AC_LANG_SAVE
36 -AC_LANG_CPLUSPLUS
37 +AC_LANG_PUSH([C++])
38  
39  ###     use option --enable-locales-fix to fix problems with double-byte
40  ###     encodings on systems with broken locale, iscntrl()
41 @@ -83,11 +83,11 @@
42      else
43         AC_MSG_RESULT([not found or disabled])
44  
45 -       AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
46 -           CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
47 -           LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
48 -           AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls])
49 -       ])
50 +#      AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
51 +#          CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
52 +#          LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
53 +#          AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls])
54 +#      ])
55      fi
56  fi
57  
58 @@ -110,7 +110,7 @@
59  AC_CHECK_LIB(ncurses, initscr,,
60      [AC_CHECK_LIB(curses, initscr,, AC_MSG_ERROR(The ncurses terminal library is required in order to build the program))])
61  
62 -AC_LANG_RESTORE
63 +AC_LANG_POP()
64  
65  case "$host_os" in
66         darwin*)
67 @@ -172,4 +172,5 @@
68  ALL_LINGUAS="zh_TW.Big5 uk sv ru ro pt_BR pl nl ms it hu fr es de cs bg"
69  AM_GNU_GETTEXT
70  AC_CONFIG_SUBDIRS(blip-0.1 firetalk-0.1 kkconsui-0.1 kkstrtext-0.1 libicq2000-0.1 libjabber-0.1 libyahoo2-0.1 kksystr-0.1 connwrap-0.1)
71 -AC_OUTPUT(Makefile contrib/Makefile contrib/spanish/Makefile misc/Makefile share/Makefile src/Makefile src/hooks/Makefile po/Makefile.in intl/Makefile)
72 +AC_CONFIG_FILES([Makefile contrib/Makefile contrib/spanish/Makefile misc/Makefile share/Makefile src/Makefile src/hooks/Makefile po/Makefile.in intl/Makefile])
73 +AC_OUTPUT
74 --- centericq-4.9.7/./kkconsui-0.1/configure.in~configure
75 +++ centericq-4.9.7/./kkconsui-0.1/configure.in
76 @@ -1,4 +1,5 @@
77 -AC_INIT(aclocal.m4)
78 +AC_INIT
79 +AC_CONFIG_SRCDIR([aclocal.m4])
80  AM_INIT_AUTOMAKE(kkconsui, 0.1)
81  
82  AC_CANONICAL_HOST
83 @@ -58,4 +59,5 @@
84  
85  AC_CHECK_HEADERS(_G_config.h)
86  
87 -AC_OUTPUT(Makefile include/Makefile src/Makefile)
88 +AC_CONFIG_FILES([Makefile include/Makefile src/Makefile])
89 +AC_OUTPUT
90 --- centericq-4.9.7/./blip-0.1/configure.in~configure
91 +++ centericq-4.9.7/./blip-0.1/configure.in
92 @@ -1,4 +1,5 @@
93 -AC_INIT(aclocal.m4)
94 +AC_INIT
95 +AC_CONFIG_SRCDIR([aclocal.m4])
96  AM_INIT_AUTOMAKE(blip, 0.1)
97  
98  AC_PROG_RANLIB
99 @@ -11,4 +12,5 @@
100      AC_PROG_CXX
101  fi
102  
103 -AC_OUTPUT(Makefile)
104 +AC_CONFIG_FILES([Makefile])
105 +AC_OUTPUT
106 --- centericq-4.9.7/./firetalk-0.1/configure.in~configure
107 +++ centericq-4.9.7/./firetalk-0.1/configure.in
108 @@ -1,4 +1,5 @@
109 -AC_INIT(aclocal.m4)
110 +AC_INIT
111 +AC_CONFIG_SRCDIR([aclocal.m4])
112  AM_INIT_AUTOMAKE(firetalk, 0.1)
113  
114  AC_PROG_RANLIB
115 @@ -16,19 +17,19 @@
116  
117      AC_MSG_CHECKING(for inet_aton() presence)
118  
119 -    AC_TRY_LINK([
120 +    AC_LINK_IFELSE([AC_LANG_PROGRAM([[
121  
122      #include <sys/types.h>
123      #include <sys/socket.h>
124      #include <netinet/in.h>
125      #include <arpa/inet.h>
126  
127 -    ], [
128 +    ]], [[
129  
130      struct in_addr inp;
131      inet_aton("address", &inp);
132  
133 -    ], have_aton=yes, have_aton=no)
134 +    ]])],[have_aton=yes],[have_aton=no])
135  
136      if test "$have_aton" = "yes"; then
137         AC_DEFINE(HAVE_INET_ATON)
138 @@ -38,4 +39,5 @@
139      fi
140  fi
141  
142 -AC_OUTPUT(Makefile)
143 +AC_CONFIG_FILES([Makefile])
144 +AC_OUTPUT
145 --- centericq-4.9.7/./kksystr-0.1/configure.in~configure
146 +++ centericq-4.9.7/./kksystr-0.1/configure.in
147 @@ -1,4 +1,5 @@
148 -AC_INIT(aclocal.m4)
149 +AC_INIT
150 +AC_CONFIG_SRCDIR([aclocal.m4])
151  AM_INIT_AUTOMAKE(kksystr, 0.1)
152  
153  AC_PROG_CC
154 @@ -7,4 +8,5 @@
155  
156  AC_CHECK_HEADERS(_G_config.h ftw.h)
157  
158 -AC_OUTPUT(Makefile include/Makefile src/Makefile)
159 +AC_CONFIG_FILES([Makefile include/Makefile src/Makefile])
160 +AC_OUTPUT
161 --- centericq-4.9.7/./libicq2000-0.1/configure.in~configure
162 +++ centericq-4.9.7/./libicq2000-0.1/configure.in
163 @@ -1,4 +1,5 @@
164 -AC_INIT(aclocal.m4)
165 +AC_INIT
166 +AC_CONFIG_SRCDIR([aclocal.m4])
167  AM_INIT_AUTOMAKE(libicq2000, 0.1)
168  
169  AM_CONFIG_HEADER(config.h)
170 @@ -10,8 +11,7 @@
171  
172  AC_STRUCT_TIMEZONE
173  
174 -AC_LANG_SAVE
175 -AC_LANG_CPLUSPLUS
176 +AC_LANG_PUSH([C++])
177  
178  AC_CHECK_HEADERS([vector iostream fstream string algorithm list memory iterator exception utility],,
179    AC_MSG_ERROR([You need to have the libstdc++ headers installed]))
180 @@ -26,15 +26,16 @@
181    [AC_CHECK_HEADERS(strstream,,
182      AC_MSG_ERROR([Your libstdc++ doesn't have the sstream or strstream classes]))])
183  
184 -AC_TRY_COMPILE([
185 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
186      #include <sys/types.h>
187      #include <sys/socket.h>
188 -],[ socklen_t foo; ], ac_cv_c_socklen_t=yes, ac_cv_c_socklen_t=no)
189 +]], [[ socklen_t foo; ]])],[ac_cv_c_socklen_t=yes],[ac_cv_c_socklen_t=no])
190  
191  if test $ac_cv_c_socklen_t = no; then
192    AC_DEFINE(socklen_t, int, [Define type of socklen_t for systems missing it])
193  fi
194  
195 -AC_LANG_RESTORE
196 +AC_LANG_POP()
197  
198 -AC_OUTPUT(Makefile libicq2000/Makefile src/Makefile)
199 +AC_CONFIG_FILES([Makefile libicq2000/Makefile src/Makefile])
200 +AC_OUTPUT
201 --- centericq-4.9.7/./connwrap-0.1/configure.in~configure
202 +++ centericq-4.9.7/./connwrap-0.1/configure.in
203 @@ -1,4 +1,5 @@
204 -AC_INIT(aclocal.m4)
205 +AC_INIT
206 +AC_CONFIG_SRCDIR([aclocal.m4])
207  AM_INIT_AUTOMAKE(connwrap, 0.1)
208  
209  AC_PROG_RANLIB
210 @@ -45,29 +46,29 @@
211      else
212         AC_MSG_RESULT([not found or disabled])
213  
214 -       AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
215 -           CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
216 -           LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
217 -           AC_DEFINE(HAVE_GNUTLS)
218 -       ])
219 +#      AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
220 +#          CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
221 +#          LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
222 +#          AC_DEFINE(HAVE_GNUTLS)
223 +#      ])
224      fi
225  fi
226  
227  AC_MSG_CHECKING(for inet_aton() presence)
228  
229 -AC_TRY_LINK([
230 +AC_LINK_IFELSE([AC_LANG_PROGRAM([[
231  
232  #include <sys/types.h>
233  #include <sys/socket.h>
234  #include <netinet/in.h>
235  #include <arpa/inet.h>
236  
237 -], [
238 +]], [[
239  
240  struct in_addr inp;
241  inet_aton("address", &inp);
242  
243 -], have_aton=yes, have_aton=no)
244 +]])],[have_aton=yes],[have_aton=no])
245  
246  if test "$have_aton" = "yes"; then
247      AC_DEFINE(HAVE_INET_ATON)
248 @@ -76,4 +77,5 @@
249      AC_MSG_RESULT(no)
250  fi
251  
252 -AC_OUTPUT(Makefile)
253 +AC_CONFIG_FILES([Makefile])
254 +AC_OUTPUT
255 --- centericq-4.9.7/./libjabber-0.1/configure.in~configure
256 +++ centericq-4.9.7/./libjabber-0.1/configure.in
257 @@ -1,4 +1,5 @@
258 -AC_INIT(aclocal.m4)
259 +AC_INIT
260 +AC_CONFIG_SRCDIR([aclocal.m4])
261  AM_INIT_AUTOMAKE(libjabber, 0.1)
262  
263  AC_PROG_RANLIB
264 @@ -11,4 +12,5 @@
265      AC_PROG_CXX
266  fi
267  
268 -AC_OUTPUT(Makefile)
269 +AC_CONFIG_FILES([Makefile])
270 +AC_OUTPUT
271 --- centericq-4.9.7/./kkstrtext-0.1/configure.in~configure
272 +++ centericq-4.9.7/./kkstrtext-0.1/configure.in
273 @@ -1,4 +1,5 @@
274 -AC_INIT(aclocal.m4)
275 +AC_INIT
276 +AC_CONFIG_SRCDIR([aclocal.m4])
277  AM_INIT_AUTOMAKE(kkstrtext, 0.1)
278  
279  AC_PROG_CC
280 @@ -14,7 +15,7 @@
281  
282  AC_CHECK_HEADERS(_G_config.h)
283  
284 -AC_LANG_CPLUSPLUS
285 +AC_LANG([C++])
286  
287  #
288  # iconv const checking
289 @@ -24,13 +25,11 @@
290      AC_DEFINE(HAVE_ICONV_H)
291      AC_MSG_CHECKING([for twisted iconv()])
292  
293 -    AC_TRY_COMPILE([ #include <iconv.h> ], [
294 +    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <iconv.h> ]], [[
295         char *inbuf, *outbuf; iconv_t k; size_t a, b;
296         iconv(k, &inbuf, &a, &outbuf, &b);
297 -    ],
298 -       iconv_const=no,
299 -       iconv_const=yes
300 -    )
301 +    ]])],[iconv_const=no],[iconv_const=yes
302 +    ])
303  
304      AC_MSG_RESULT($iconv_const)
305  
306 @@ -39,4 +38,5 @@
307      fi
308  fi
309  
310 -AC_OUTPUT(Makefile)
311 +AC_CONFIG_FILES([Makefile])
312 +AC_OUTPUT