1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# This test often fails during development. It works after "make dist". 5 6# Test C support. 7 8: ${XGETTEXT=xgettext} 9${XGETTEXT} -d xg-c-1.tmp -k_ --omit-header --no-location \ 10 "$wabs_top_srcdir"/src/xgettext.c "$wabs_top_srcdir"/src/msgfmt.c || Exit 1 11LC_ALL=C tr -d '\r' < xg-c-1.tmp.po > xg-c-1.po || Exit 1 12 13: ${DIFF=diff} 14${DIFF} "$abs_srcdir"/xg-c-1.ok.po xg-c-1.po 15result=$? 16 17exit $result 18