File: compare_config_h4.sh

package info (click to toggle)
talloc 2.4.0-f2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,500 kB
  • sloc: python: 35,311; ansic: 12,768; xml: 812; sh: 211; makefile: 157
file content (12 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download | duplicates (12)
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