Mercurial > pidgin
comparison configure.ac @ 25766:72165febf9fd
propagate from branch 'im.pidgin.pidgin' (head d6e38b24a5b289e3e7632def307f1d98b177d697)
to branch 'im.pidgin.cpw.malu.xmpp.ibb_ft' (head ac44ee4c333e475418df55a6a57e10023bb3c77e)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Wed, 07 Jan 2009 22:04:33 +0000 |
parents | b9f7a8ca1369 |
children | b3d4f47f015c c324304cc827 |
comparison
equal
deleted
inserted
replaced
25765:86d7cabab362 | 25766:72165febf9fd |
---|---|
2281 struct tm tm; | 2281 struct tm tm; |
2282 tm.tm_gmtoff = 1; | 2282 tm.tm_gmtoff = 1; |
2283 ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)) | 2283 ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)) |
2284 if test $ac_cv_struct_tm_gmtoff = yes; then | 2284 if test $ac_cv_struct_tm_gmtoff = yes; then |
2285 AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm]) | 2285 AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm]) |
2286 fi | |
2287 | |
2288 AC_CACHE_CHECK([whether va_lists can be copied by value], ac_cv_va_val_copy,[ | |
2289 AC_TRY_RUN([#include <stdarg.h> | |
2290 #include <stdlib.h> | |
2291 void f (int i, ...) { | |
2292 va_list args1, args2; | |
2293 va_start (args1, i); | |
2294 args2 = args1; | |
2295 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42) | |
2296 exit (1); | |
2297 va_end (args1); va_end (args2); | |
2298 } | |
2299 int main() { | |
2300 f (0, 42); | |
2301 return 0; | |
2302 }], | |
2303 [ac_cv_va_val_copy=yes], | |
2304 [ac_cv_va_val_copy=no], | |
2305 [ac_cv_va_val_copy=yes]) | |
2306 ]) | |
2307 | |
2308 if test "x$ac_cv_va_val_copy" = "xno"; then | |
2309 AC_DEFINE(VA_COPY_AS_ARRAY, 1, ['va_lists' cannot be copied as values]) | |
2286 fi | 2310 fi |
2287 | 2311 |
2288 dnl ####################################################################### | 2312 dnl ####################################################################### |
2289 dnl # Check for check | 2313 dnl # Check for check |
2290 dnl ####################################################################### | 2314 dnl ####################################################################### |