diff options
Diffstat (limited to 'buildtools/compare_config_h.sh')
-rwxr-xr-x | buildtools/compare_config_h.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/buildtools/compare_config_h.sh b/buildtools/compare_config_h.sh new file mode 100755 index 00000000000..09f47b2b99d --- /dev/null +++ b/buildtools/compare_config_h.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# compare the generated config.h from a waf build with existing samba +# build + +grep ^.define bin/default/source4/include/config.h | sort > waf-config.h +grep ^.define $HOME/samba_old/source4/include/config.h | sort > old-config.h + +comm -23 old-config.h waf-config.h + +echo + +diff -u old-config.h waf-config.h |