svn commit: samba r18058 - in branches/SAMBA_4_0/source/lib/replace: .

Jelmer Vernooij jelmer at samba.org
Tue Sep 5 09:26:57 GMT 2006


On Tue, 2006-09-05 at 04:23 +0000, tridge at samba.org 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 <jelmer at samba.org> - http://samba.org/~jelmer/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060905/e247371e/attachment.bin


More information about the samba-technical mailing list