dynconfig/config.m4: expand prefix, exec_prefix, sysconfdir, localstatedir and dataro...
[Samba.git] / buildtools / compare_config_h3.sh
blob294af30930dc40ccb9b7ec3926a88569199a6fe7
1 #!/bin/sh
3 # compare the generated config.h from a waf build with existing samba
4 # build
6 OLD_CONFIG=$HOME/samba_old/source3/include/config.h
7 if test "x$1" != "x" ; then
8 OLD_CONFIG=$1
9 fi
11 if test "x$DIFF" = "x" ; then
12 DIFF="comm -23"
15 grep "^.define" bin/default/source3/include/config.h | sort > waf-config.h
16 grep "^.define" $OLD_CONFIG | sort > old-config.h
18 $DIFF old-config.h waf-config.h