useful tools for finding missing configure steps
[nivanova/samba-autobuild/.git] / buildtools / compare_config_h.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/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
13 diff -u old-config.h waf-config.h