On Tue, 2006-09-05 at 04:23 +0000, [EMAIL PROTECTED] wrote: > Author: tridge > Date: 2006-09-05 04:23:11 +0000 (Tue, 05 Sep 2006) > New Revision: 18058 > > WebSVN: > http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18058 > > Log: > > we don't actually need __VA_ARGS__ yet (its another C99 feature which > I don't think we use anywhere) I was planning to use in a couple of places and none of the Samba4 build farm hosts seem to have any problems with it. Any particular reason for disabling it?
Cheers,
Jelmer
>
> Modified:
> branches/SAMBA_4_0/source/lib/replace/config.m4
>
>
> Changeset:
> Modified: branches/SAMBA_4_0/source/lib/replace/config.m4
> ===================================================================
> --- branches/SAMBA_4_0/source/lib/replace/config.m4 2006-09-05 04:19:16 UTC
> (rev 18057)
> +++ branches/SAMBA_4_0/source/lib/replace/config.m4 2006-09-05 04:23:11 UTC
> (rev 18058)
> @@ -185,10 +185,11 @@
> AC_CHECK_FUNCS(timegm strnlen setenv)
> AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq)
>
> -AC_TRY_CPP([
> -#define eprintf(...) fprintf(stderr, __VA_ARGS__)
> -eprintf("bla", "bar");
> -], [], [AC_MSG_ERROR([__VA_ARGS__ is required])])
> +# this test disabled as we don't actually need __VA_ARGS__ yet
> +# AC_TRY_CPP([
> +# #define eprintf(...) fprintf(stderr, __VA_ARGS__)
> +# eprintf("bla", "bar");
> +# ], [], [AC_MSG_ERROR([__VA_ARGS__ is required])])
>
> # Check prerequisites
> AC_CHECK_FUNCS([memset printf syslog], [],
>
--
Jelmer Vernooij <[EMAIL PROTECTED]> - http://samba.org/~jelmer/
signature.asc
Description: This is a digitally signed message part
