#!/bin/sh
# Id: copying,v 1.2 2004/04/20 13:26:00 karl Exp 
# Test @copying.  The configure script for tramp uses this to make sure
# the makeinfo that is present supports @copying.

unset TEXINFO_OUTPUT LANG LANGUAGE
LC_ALL=POSIX; export LC_ALL
: ${srcdir=.}

../makeinfo -o copying.out $srcdir/copying.txi || exit 1
fgrep 'produced by' copying.out >/dev/null || exit 2

rm -f copying.out