File: compare_config_h4.sh

package info (click to toggle)
talloc 2.0.7%2Bgit20120207-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,212 kB
  • sloc: python: 19,292; ansic: 10,476; sh: 3,271; xml: 801; makefile: 136; perl: 118; awk: 57
file content (12 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (42)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# compare the generated config.h from a waf build with existing samba
# build

grep "^.define" bin/default/source4/include/config.h | sort > waf-config.h
grep "^.define" $HOME/samba_old/source4/include/config.h | sort > old-config.h

comm -23 old-config.h waf-config.h

#echo
#diff -u old-config.h waf-config.h