3
# $Id: chk.def,v 1.5 2001/04/11 16:26:45 bostic Exp $
5
# Check to make sure we haven't forgotten to add any interfaces
6
# to the Win32 libdb.def file.
8
# Run from the top-level directory.
9
[ -f db_config.h ] && cd ..
11
f=build_win32/libdb.def
18
sed -e '/db_xa_switch/d' \
19
-e '/^__/d' -e '/^;/d' |
22
egrep __P include_auto/global_ext.in |
26
sed '/^__/d' | sort > ${t2}
28
if cmp -s ${t1} ${t2} ; then
31
echo "<<< libdb.def >>> DB include files"
35
# Check to make sure we don't have any extras in the libdb.def file.
39
sed -e '/__db_global_values/d' > ${t1}
41
for i in `cat ${t1}`; do
42
if egrep $i */*.c > /dev/null; then
45
echo "$f: $i not found in DB sources"