wafsamba: fix blacklist handling in "make dist"
[samba.git] / buildtools / compare_config_h3.sh
1 #!/bin/sh
2
3 # compare the generated config.h from a waf build with existing samba
4 # build
5
6 OLD_CONFIG=$HOME/samba_old/source3/include/config.h
7 if test "x$1" != "x" ; then
8         OLD_CONFIG=$1
9 fi
10
11 if test "x$DIFF" = "x" ; then
12         DIFF="comm -23"
13 fi
14
15 grep "^.define" bin/default/source3/include/config.h | sort > waf-config.h
16 grep "^.define" $OLD_CONFIG | sort > old-config.h
17
18 $DIFF old-config.h waf-config.h
19