build: rename s4 compare_config_h.sh helper and add a s3 version of it
authorKai Blin <kai@samba.org>
Fri, 19 Mar 2010 11:13:58 +0000 (12:13 +0100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:56 +0000 (20:26 +1000)
buildtools/compare_config_h3.sh [new file with mode: 0755]
buildtools/compare_config_h4.sh [moved from buildtools/compare_config_h.sh with 100% similarity]

diff --git a/buildtools/compare_config_h3.sh b/buildtools/compare_config_h3.sh
new file mode 100755 (executable)
index 0000000..742aa1b
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# compare the generated config.h from a waf build with existing samba
+# build
+
+grep ^.define bin/default/source3/include/config.h | sort > waf-config.h
+grep ^.define $HOME/samba_old/source3/include/config.h | sort > old-config.h
+
+comm -23 old-config.h waf-config.h
+
+#echo
+#diff -u old-config.h waf-config.h