* gettext-tools/tests/init-env.in (wabs_srcdir, wabs_top_srcdir): New variables.
(GETTEXTDATADIR): On mingw, use native Windows syntax.
* gettext-tools/tests/format-c-3: Use wabs_srcdir instead of abs_srcdir, and
wabs_top_srcdir instead of abs_top_srcdir.
* gettext-tools/tests/format-c-4: Likewise.
* gettext-tools/tests/format-c-5: Likewise.
* gettext-tools/tests/gettextpo-1: Likewise.
* gettext-tools/tests/intl-1: Likewise.
* gettext-tools/tests/intl-2: Likewise.
* gettext-tools/tests/intl-3: Likewise.
* gettext-tools/tests/intl-4: Likewise.
* gettext-tools/tests/intl-setlocale-1: Likewise.
* gettext-tools/tests/intl-setlocale-2: Likewise.
* gettext-tools/tests/intl-thread-1: Likewise.
* gettext-tools/tests/intl-thread-2: Likewise.
* gettext-tools/tests/intl-thread-3: Likewise.
* gettext-tools/tests/msgfmt-qt-1: Likewise.
* gettext-tools/tests/msgfmt-qt-2: Likewise.
* gettext-tools/tests/msginit-3: Likewise.
* gettext-tools/tests/msginit-4: Likewise.
* gettext-tools/tests/msgmerge-compendium-5: Likewise.
* gettext-tools/tests/msgmerge-compendium-6: Likewise.
* gettext-tools/tests/msgunfmt-3: Likewise.
* gettext-tools/tests/msgunfmt-tcl-1: Likewise.
* gettext-tools/tests/msguniq-1: Likewise.
* gettext-tools/tests/msguniq-2: Likewise.
* gettext-tools/tests/msguniq-3: Likewise.
* gettext-tools/tests/msguniq-4: Likewise.
* gettext-tools/tests/plural-1: Likewise.
* gettext-tools/tests/xgettext-1: Likewise.
* gettext-tools/tests/xgettext-c-1: Likewise.
* gettext-tools/tests/xgettext-c-comment-6: Likewise.
* gettext-tools/tests/xgettext-c-escape-3: Likewise.
* gettext-tools/tests/xgettext-vala-2: Likewise.
# Test ISO C 99 <inttypes.h> format string directives.
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc3.tmp --omit-header --no-location "$abs_srcdir"/format-c-3-prg.c || Exit 1
+${XGETTEXT} -o fc3.tmp --omit-header --no-location "$wabs_srcdir"/format-c-3-prg.c || Exit 1
LC_ALL=C tr -d '\r' < fc3.tmp > fc3.pot || Exit 1
cat <<EOF > fc3.ok
# Test ISO C 99 <inttypes.h> format string directives with plural forms.
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc4.tmp --omit-header --no-location "$abs_srcdir"/format-c-4-prg.c || Exit 1
+${XGETTEXT} -o fc4.tmp --omit-header --no-location "$wabs_srcdir"/format-c-4-prg.c || Exit 1
LC_ALL=C tr -d '\r' < fc4.tmp > fc4.pot || Exit 1
cat <<EOF > fc4.ok
# Test 'I' format directive flag.
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc5.tmp --omit-header --no-location "$abs_srcdir"/format-c-5-prg.c || Exit 1
+${XGETTEXT} -o fc5.tmp --omit-header --no-location "$wabs_srcdir"/format-c-5-prg.c || Exit 1
LC_ALL=C tr -d '\r' < fc5.tmp > fc5.pot || Exit 1
cat <<EOF > fc5.ok
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test the libgettextpo library.
-../gettextpo-1-prg${EXEEXT} "$abs_srcdir"/gettextpo-1.de.po > /dev/null || Exit 1
+../gettextpo-1-prg${EXEEXT} "$wabs_srcdir"/gettextpo-1.de.po > /dev/null || Exit 1
: ${DIFF=diff}
${DIFF} "$abs_srcdir"/gettextpo-1.de.po gtpo-1-copied.po || Exit 1
# Variable needed by LTLIBINTL.
top_builddir=../..
-# Variable needed by xgettext.
-GETTEXTDATADIR="$abs_top_srcdir"
-export GETTEXTDATADIR
-
OBJEXT="@OBJEXT@"
EXEEXT="@EXEEXT@"
CC="@CC@"
host_os="@host_os@"
ARCHIVE_VERSION="@ARCHIVE_VERSION@"
+# For specific filename variables, define a variant that - in mingw builds
+# in a Cygwin environment - has the Windows filename syntax.
+wabs_srcdir="$abs_srcdir"
+wabs_top_srcdir="$abs_top_srcdir"
+case "$host_os" in
+ mingw*)
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ wabs_srcdir=`cygpath -w "$abs_srcdir"`
+ wabs_top_srcdir=`cygpath -w "$abs_top_srcdir"`
+ fi
+ ;;
+esac
+
+# Variable needed by xgettext.
+GETTEXTDATADIR="$wabs_top_srcdir"
+export GETTEXTDATADIR
+
: ${GETTEXT=tstgettext}
: ${NGETTEXT=tstngettext}
: ${XGETTEXT=xgettext}
test -d in-1/fr/LC_MESSAGES || mkdir in-1/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-1/fr/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-1.po
+${MSGFMT} -o in-1/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-1.po
: ${DIFF=diff}
cat <<EOF > in-1.ok
test -d in-2-1/fr/LC_MESSAGES || mkdir in-2-1/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-2-1/fr/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-2-1.po
+${MSGFMT} -o in-2-1/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-2-1.po
test -d in-2-2 || mkdir in-2-2
test -d in-2-2/fr || mkdir in-2-2/fr
test -d in-2-2/fr/LC_MESSAGES || mkdir in-2-2/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-2-2/fr/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-2-2.po
+${MSGFMT} -o in-2-2/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-2-2.po
: ${DIFF=diff}
cat <<EOF > in-2-1.ok
test -d in-3-1/fr/LC_MESSAGES || mkdir in-3-1/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-3-1/fr/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-2-1.po
+${MSGFMT} -o in-3-1/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-2-1.po
test -d in-3-2 || mkdir in-3-2
test -d in-3-2/fr || mkdir in-3-2/fr
test -d in-3-2/fr/LC_MESSAGES || mkdir in-3-2/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-3-2/fr/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-2-2.po
+${MSGFMT} -o in-3-2/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-2-2.po
: ${DIFF=diff}
cat <<EOF > in-3-1.ok
test -d in-4/fr/LC_MESSAGES || mkdir in-4/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-4/fr/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-4.po
+${MSGFMT} -o in-4/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-4.po
# This test works only on systems that have a traditional french locale
# installed.
test -d in-sl-1/fr_FR/LC_MESSAGES || mkdir in-sl-1/fr_FR/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-sl-1/de_DE/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-setlocale-1-1.po
-${MSGFMT} -o in-sl-1/fr_FR/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-setlocale-1-2.po
+${MSGFMT} -o in-sl-1/de_DE/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-setlocale-1-1.po
+${MSGFMT} -o in-sl-1/fr_FR/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-setlocale-1-2.po
cat <<EOF > in-sl-1.ok
String1 - Lang1: 1st string
test -d in-sl-2/de_DE/LC_MESSAGES || mkdir in-sl-2/de_DE/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-sl-2/de_DE/LC_MESSAGES/tstprog.mo "$abs_srcdir"/intl-setlocale-2.po
+${MSGFMT} -o in-sl-2/de_DE/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-setlocale-2.po
../intl-setlocale-2-prg || Exit 1
test -d in-th-1/fr/LC_MESSAGES || mkdir in-th-1/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-th-1/fr/LC_MESSAGES/tstthread.mo "$abs_srcdir"/intl-thread-1.po
+${MSGFMT} -o in-th-1/fr/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-1.po
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
test -d in-th-2/de/LC_MESSAGES || mkdir in-th-2/de/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-th-2/fr/LC_MESSAGES/tstthread.mo "$abs_srcdir"/intl-thread-2-1.po
-${MSGFMT} -o in-th-2/de/LC_MESSAGES/tstthread.mo "$abs_srcdir"/intl-thread-2-2.po
+${MSGFMT} -o in-th-2/fr/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-2-1.po
+${MSGFMT} -o in-th-2/de/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-2-2.po
: ${DIFF=diff}
cat <<EOF > in-th-2.ok
test -d in-th-3/fr/LC_MESSAGES || mkdir in-th-3/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o in-th-3/fr/LC_MESSAGES/tstthread.mo "$abs_srcdir"/intl-thread-3.po
+${MSGFMT} -o in-th-3/fr/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-3.po
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
# Test output in Qt .qm format.
: ${MSGFMT=msgfmt}
-${MSGFMT} --qt -o mf-qt-1.qm "$abs_srcdir"/qttest_pl.po || Exit 1
+${MSGFMT} --qt -o mf-qt-1.qm "$wabs_srcdir"/qttest_pl.po || Exit 1
: ${CMP=cmp}
${CMP} "$abs_srcdir"/qttest_pl.qm mf-qt-1.qm >/dev/null 2>/dev/null
# Test msgfmt --qt on a PO file with contexts.
: ${MSGFMT=msgfmt}
-${MSGFMT} --qt "$abs_srcdir"/qttest2_de.po -o mf-qt-2.qm || Exit 1
+${MSGFMT} --qt "$wabs_srcdir"/qttest2_de.po -o mf-qt-2.qm || Exit 1
: ${CMP=cmp}
${CMP} "$abs_srcdir"/qttest2_de.qm mf-qt-2.qm >/dev/null 2>/dev/null
EOF
: ${MSGINIT=msginit}
-GETTEXTLIBDIR_SRCDIR="$abs_top_srcdir"/src \
+GETTEXTLIBDIR_SRCDIR="$wabs_top_srcdir"/src \
${MSGINIT} -l ga_IE --no-translator -o mi-test3.tmp 2>mi-test3.err
test $? = 0 || { cat mi-test3.err 1>&2; Exit 1; }
EOF
: ${MSGINIT=msginit}
-GETTEXTLIBDIR_SRCDIR="$abs_top_srcdir"/src \
+GETTEXTLIBDIR_SRCDIR="$wabs_top_srcdir"/src \
GETTEXTLIBDIR_BUILDDIR="$top_builddir"/src \
-GETTEXTCLDRDIR="$abs_srcdir" \
+GETTEXTCLDRDIR="$wabs_srcdir" \
${MSGINIT} -i mi-test4.pot -l foo --no-translator --no-wrap -o mi-test4.tmp 2>mi-test4.err
test $? = 0 || { cat mi-test4.err 1>&2; Exit 1; }
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-5.tmp \
- --compendium "$abs_srcdir"/mm-viet.comp.po \
- /dev/null "$abs_srcdir"/mm-viet.pot || Exit 1
+ --compendium "$wabs_srcdir"/mm-viet.comp.po \
+ /dev/null "$wabs_srcdir"/mm-viet.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-5.tmp > mm-c-5.out || Exit 1
: ${DIFF=diff}
# mm-ko.utf-8.pot mm-ko.utf-8.po mm-ko-comp.utf-8.po
: ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot "$abs_srcdir"/mm-ko.ascii.pot
+${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot "$wabs_srcdir"/mm-ko.ascii.pot
: ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.po "$abs_srcdir"/mm-ko.euc-kr.po
+${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.po "$wabs_srcdir"/mm-ko.euc-kr.po
: ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 -o mm-ko-comp.utf-8.po "$abs_srcdir"/mm-ko-comp.euc-kr.po
+${MSGCONV} --to-code=UTF-8 -o mm-ko-comp.utf-8.po "$wabs_srcdir"/mm-ko-comp.euc-kr.po
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AEE.tmp \
- --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
- "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+ --compendium "$wabs_srcdir"/mm-ko-comp.euc-kr.po \
+ "$wabs_srcdir"/mm-ko.euc-kr.po "$wabs_srcdir"/mm-ko.ascii.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-AEE.tmp > mm-c-6-AEE.out || Exit 1
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AEU.tmp \
--compendium mm-ko-comp.utf-8.po \
- "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+ "$wabs_srcdir"/mm-ko.euc-kr.po "$wabs_srcdir"/mm-ko.ascii.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-AEU.tmp > mm-c-6-AEU.out || Exit 1
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AUE.tmp \
- --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
- mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+ --compendium "$wabs_srcdir"/mm-ko-comp.euc-kr.po \
+ mm-ko.utf-8.po "$wabs_srcdir"/mm-ko.ascii.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-AUE.tmp > mm-c-6-AUE.out || Exit 1
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AUU.tmp \
--compendium mm-ko-comp.utf-8.po \
- mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+ mm-ko.utf-8.po "$wabs_srcdir"/mm-ko.ascii.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-AUU.tmp > mm-c-6-AUU.out || Exit 1
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-UEE.tmp \
- --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
- "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || Exit 1
+ --compendium "$wabs_srcdir"/mm-ko-comp.euc-kr.po \
+ "$wabs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-UEE.tmp > mm-c-6-UEE.out || Exit 1
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-UEU.tmp \
--compendium mm-ko-comp.utf-8.po \
- "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || Exit 1
+ "$wabs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-UEU.tmp > mm-c-6-UEU.out || Exit 1
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-UUE.tmp \
- --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
+ --compendium "$wabs_srcdir"/mm-ko-comp.euc-kr.po \
mm-ko.utf-8.po mm-ko.utf-8.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-6-UUE.tmp > mm-c-6-UUE.out || Exit 1
: ${MSGUNFMT=msgunfmt}
for f in overflow-1.mo overflow-2.mo overflow-3.mo overflow-4.mo overflow-5.mo overflow-6.mo; do
- LANGUAGE= LC_ALL=C ${MSGUNFMT} "$abs_srcdir"/$f 2>mu-3.err >/dev/null
+ LANGUAGE= LC_ALL=C ${MSGUNFMT} "$wabs_srcdir"/$f 2>mu-3.err >/dev/null
test $? != 0 || Exit 1
grep ' is truncated' mu-3.err >/dev/null || Exit 1
done
for f in sysdep-without-nul.mo; do
- LANGUAGE= LC_ALL=C ${MSGUNFMT} "$abs_srcdir"/$f 2>mu-3.err >/dev/null
+ LANGUAGE= LC_ALL=C ${MSGUNFMT} "$wabs_srcdir"/$f 2>mu-3.err >/dev/null
test $? != 0 || Exit 1
grep ' not NUL terminated' mu-3.err >/dev/null || Exit 1
done
${MSGFMT} --tcl -d mu-tcl-1-msgs -l fr mu-tcl-1-fr.po || Exit 1
: ${MSGUNFMT=msgunfmt}
-GETTEXTTCLDIR="$abs_top_srcdir"/src \
+GETTEXTTCLDIR="$wabs_top_srcdir"/src \
${MSGUNFMT} --tcl -d mu-tcl-1-msgs -l fr -o mu-tcl-1-prog.out || Exit 1
cat <<\EOF > mu-tcl-1-prog.ok
# Test general operation.
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -o msguniq-1.tmp "$abs_srcdir"/msguniq-a.in || Exit 1
+${MSGUNIQ} -w 1000 -o msguniq-1.tmp "$wabs_srcdir"/msguniq-a.in || Exit 1
LC_ALL=C tr -d '\r' < msguniq-1.tmp > msguniq-1.out || Exit 1
: ${DIFF=diff}
# Test --unique option.
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -u -o msguniq-2.tmp "$abs_srcdir"/msguniq-a.in || Exit 1
+${MSGUNIQ} -w 1000 -u -o msguniq-2.tmp "$wabs_srcdir"/msguniq-a.in || Exit 1
LC_ALL=C tr -d '\r' < msguniq-2.tmp > msguniq-2.out || Exit 1
cat <<\EOF > msguniq-2.ok
# Test --repeated option.
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp "$abs_srcdir"/msguniq-a.in || Exit 1
+${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp "$wabs_srcdir"/msguniq-a.in || Exit 1
LC_ALL=C tr -d '\r' < msguniq-3.tmp > msguniq-3.out || Exit 1
cat <<\EOF > msguniq-3.ok
# Test general operation with Java .properties syntax.
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out "$abs_srcdir"/msguniq-a.inp || Exit 1
+${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out "$wabs_srcdir"/msguniq-a.inp || Exit 1
: ${MSGCAT-msgcat}
-${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok "$abs_srcdir"/msguniq-a.out || Exit 1
+${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok "$wabs_srcdir"/msguniq-a.out || Exit 1
: ${DIFF=diff}
${DIFF} msguniq-4.ok msguniq-4.out
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location "$abs_srcdir"/plural-1-prg.c || Exit 1
+${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location "$wabs_srcdir"/plural-1-prg.c || Exit 1
LC_ALL=C tr -d '\r' < plural-1-cake.tmp > plural-1-cake.pot || Exit 1
cat <<EOF > plural-1-cake.ok
rm -f zero-domain.po
: ${XGETTEXT=xgettext}
LC_MESSAGES=C LC_ALL= \
-${XGETTEXT} -k_ -d zero-domain -x "$abs_top_srcdir"/po/gettext-tools.pot \
- "$abs_top_srcdir"/src/xgettext.c >xg-test1.err 2>&1
+${XGETTEXT} -k_ -d zero-domain -x "$wabs_top_srcdir"/po/gettext-tools.pot \
+ "$wabs_top_srcdir"/src/xgettext.c >xg-test1.err 2>&1
result=$?
cat xg-test1.err | grep -v 'warning: Charset' | grep -v '^ '
test $result = 0 || { Exit 1; }
: ${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
+ "$wabs_top_srcdir"/src/xgettext.c "$wabs_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}
: ${XGETTEXT=xgettext}
${XGETTEXT} --from-code=ISO-8859-1 --add-comments --no-location --no-wrap \
- -o xg-c-comment-6.tmp "$abs_srcdir"/xg-c-comment-6.c || Exit 1
+ -o xg-c-comment-6.tmp "$wabs_srcdir"/xg-c-comment-6.c || Exit 1
grep -v 'POT-Creation-Date' < xg-c-comment-6.tmp > xg-c-comment-6.tmq || Exit 1
LC_ALL=C tr -d '\r' < xg-c-comment-6.tmq > xg-c-comment-6.po || Exit 1
: ${XGETTEXT=xgettext}
${XGETTEXT} --no-location --no-wrap \
- -o xg-c-escape-3.tmp "$abs_srcdir"/xg-c-escape-3.c || Exit 1
+ -o xg-c-escape-3.tmp "$wabs_srcdir"/xg-c-escape-3.c || Exit 1
grep -v 'POT-Creation-Date' < xg-c-escape-3.tmp > xg-c-escape-3.tmq || Exit 1
LC_ALL=C tr -d '\r' < xg-c-escape-3.tmq > xg-c-escape-3.po || Exit 1
: ${XGETTEXT=xgettext}
${XGETTEXT} --from-code=ISO-8859-1 --add-comments --no-location --no-wrap \
- -o xg-vala-2.tmp "$abs_srcdir"/xg-vala-2.vala || Exit 1
+ -o xg-vala-2.tmp "$wabs_srcdir"/xg-vala-2.vala || Exit 1
grep -v 'POT-Creation-Date' < xg-vala-2.tmp > xg-vala-2.tmq || Exit 1
LC_ALL=C tr -d '\r' < xg-vala-2.tmq > xg-vala-2.po || Exit 1