summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-05-22 17:05:11 +1000
committerAndrew Bartlett <abartlet@samba.org>2013-05-28 12:17:12 +1000
commitdd72d85e928a9f52113235daaab1e71ea916aa0d (patch)
tree0a4c3fe9726cc1cd8edbddf22906994d7aed1194 /buildtools
parent4c4520ac3794f917c831255d6598945712bcfb5c (diff)
downloadsamba-dd72d85e928a9f52113235daaab1e71ea916aa0d.tar.gz
samba-dd72d85e928a9f52113235daaab1e71ea916aa0d.tar.bz2
samba-dd72d85e928a9f52113235daaab1e71ea916aa0d.zip
build: Remove unused tool for config.h comparison
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/compare_config_h3-exceptions.grep10
-rwxr-xr-xbuildtools/compare_config_h3.sh27
2 files changed, 0 insertions, 37 deletions
diff --git a/buildtools/compare_config_h3-exceptions.grep b/buildtools/compare_config_h3-exceptions.grep
deleted file mode 100644
index aa8851f5cb..0000000000
--- a/buildtools/compare_config_h3-exceptions.grep
+++ /dev/null
@@ -1,10 +0,0 @@
-^.define HAVE_.*KRB5
-^.define HAVE_.*KEYTAB
-^.define HAVE__ET_LIST
-^.define HAVE_LIBK5CRYPTO
-^.define HAVE_GSS
-^.define static
-^.define STATIC
-^.define PACKAGE
-^.define STRING_STATIC_MODULES
-^.define perfcount_test_init
diff --git a/buildtools/compare_config_h3.sh b/buildtools/compare_config_h3.sh
deleted file mode 100755
index 45be1ec344..0000000000
--- a/buildtools/compare_config_h3.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# compare the generated config.h from a waf build with existing samba
-# build
-
-OLD_CONFIG=source3/include/autoconf/config.h
-if test "x$1" != "x" ; then
- OLD_CONFIG=$1
-fi
-
-NEW_CONFIG=bin/default/include/config.h
-if test "x$2" != "x" ; then
- NEW_CONFIG=$2
-fi
-
-EXCEPTIONS=`dirname $0`/compare_config_h3-exceptions.grep
-
-if test "x$DIFF" = "x" ; then
- DIFF="comm -23"
-fi
-
-grep "^.define" $NEW_CONFIG | egrep -v -f $EXCEPTIONS | sort > waf-config.h
-grep "^.define" $OLD_CONFIG | egrep -v -f $EXCEPTIONS | sort > old-config.h
-
-$DIFF old-config.h waf-config.h
-rm -f old-config.h waf-config.h
-