selftest: fix tap2subunit detection on system with tap2subunit but not correct subuni...
[Samba/vl.git] / buildtools / compare_config_h4.sh
blob6daa743ed21ac4b24236d12a0eacd8f13e1335f5
1 #!/bin/bash
3 # compare the generated config.h from a waf build with existing samba
4 # build
6 grep ^.define bin/default/source4/include/config.h | sort > waf-config.h
7 grep ^.define $HOME/samba_old/source4/include/config.h | sort > old-config.h
9 comm -23 old-config.h waf-config.h
11 #echo
12 #diff -u old-config.h waf-config.h