summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-05 04:23:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:09 -0500
commit09a4749a314eb5cdbef55d5e87ba229353de2c26 (patch)
tree607ced0f5ed5c3bc53a74507753ef613d3830e75 /source4/lib/replace
parent3539b6ae7b6c4187927e30582fde7f8b40672833 (diff)
downloadsamba-09a4749a314eb5cdbef55d5e87ba229353de2c26.tar.gz
samba-09a4749a314eb5cdbef55d5e87ba229353de2c26.tar.bz2
samba-09a4749a314eb5cdbef55d5e87ba229353de2c26.zip
r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
I don't think we use anywhere) (This used to be commit bac8d5ce28e86b703a917902f44588746d7e8290)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/config.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/lib/replace/config.m4 b/source4/lib/replace/config.m4
index 0a8e4448b0..994cd24866 100644
--- a/source4/lib/replace/config.m4
+++ b/source4/lib/replace/config.m4
@@ -185,10 +185,11 @@ AC_CHECK_TYPE(comparison_fn_t,
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], [],