build: rename s4 compare_config_h.sh helper and add a s3 version of it
[ira/wip.git] / buildtools / compare_config_h3.sh
1 #!/bin/bash
2
3 # compare the generated config.h from a waf build with existing samba
4 # build
5
6 grep ^.define bin/default/source3/include/config.h | sort > waf-config.h
7 grep ^.define $HOME/samba_old/source3/include/config.h | sort > old-config.h
8
9 comm -23 old-config.h waf-config.h
10
11 #echo
12 #diff -u old-config.h waf-config.h