build: sun c compiler wants a newline
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 Mar 2010 06:35:14 +0000 (17:35 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:00 +0000 (20:27 +1000)
lib/replace/wscript

index 052b55b098b254b4e800c770520ee5b795db2b11..5590821e15268e0b09ad50f846aad9bc65794e49 100644 (file)
@@ -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,