smbd: Slightly simplify downgrade_lease()
[samba.git] / buildtools / compare_config_h4.sh
1 #!/bin/sh
2
3 # compare the generated config.h from a waf build with existing samba
4 # build
5
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
8
9 comm -23 old-config.h waf-config.h
10
11 #echo
12 #diff -u old-config.h waf-config.h