source: trunk/server/buildtools/compare_config_h3.sh

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 418 bytes
Line 
1#!/bin/sh
2
3# compare the generated config.h from a waf build with existing samba
4# build
5
6OLD_CONFIG=$HOME/samba_old/source3/include/config.h
7if test "x$1" != "x" ; then
8 OLD_CONFIG=$1
9fi
10
11if test "x$DIFF" = "x" ; then
12 DIFF="comm -23"
13fi
14
15grep "^.define" bin/default/source3/include/config.h | sort > waf-config.h
16grep "^.define" $OLD_CONFIG | sort > old-config.h
17
18$DIFF old-config.h waf-config.h
19
Note: See TracBrowser for help on using the repository browser.