summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-22 17:35:14 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:00 +1000
commit9930493cc33b8c5369fd937ff2c40db068975726 (patch)
tree2a9a65246791e0a5ce5d42e3761e6969f526e248
parenta973c5f2806d8ccf47871c5f325be50d2537951d (diff)
downloadsamba-9930493cc33b8c5369fd937ff2c40db068975726.tar.gz
samba-9930493cc33b8c5369fd937ff2c40db068975726.tar.bz2
samba-9930493cc33b8c5369fd937ff2c40db068975726.zip
build: sun c compiler wants a newline
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
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,