6 if [ ! -f "$srcdir/logprint.h" ]; then
7 echo "Unable to find mcabber sources!" >&2
13 if which hg
> /dev
/null
2>&1; then
14 cs
=$
(hg id
2> /dev
/null | cut
-d' ' -f1)
15 if test $?
-eq 0; then
16 if [ x
"$cs" != x
]; then
17 grep -q "$cs" "$builddir/hgcset.h" > /dev
/null
2>&1 || \
18 echo "#define HGCSET \"$cs\"" > "$builddir/hgcset.h"
24 echo > "$builddir/hgcset.h"