From 9930493cc33b8c5369fd937ff2c40db068975726 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Mar 2010 17:35:14 +1100 Subject: build: sun c compiler wants a newline --- lib/replace/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/replace/wscript b/lib/replace/wscript index 052b55b098..5590821e15 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -74,7 +74,7 @@ def configure(conf): conf.env.DISABLE_SHARED = Options.options.disable_shared # see if we can compile and run a simple C program - conf.CHECK_CODE('#include "test/simple.c"', + conf.CHECK_CODE('#include "test/simple.c"\n', addmain=False, define='HAVE_SIMPLE_C_PROG', mandatory=True, -- cgit