#! /bin/sh . "${srcdir=.}/init.sh"; path_prepend_ . ../src # This test often fails during development. It works after "make dist". # Test C support. : ${XGETTEXT=xgettext} ${XGETTEXT} -d xg-c-1.tmp -k_ --omit-header --no-location \ "$abs_top_srcdir"/src/xgettext.c "$abs_top_srcdir"/src/msgfmt.c || exit 1 LC_ALL=C tr -d '\r' < xg-c-1.tmp.po > xg-c-1.po || exit 1 : ${DIFF=diff} ${DIFF} "$abs_srcdir"/xg-c-1.ok.po xg-c-1.po result=$? exit $result