by themselves.
* lang-rst: Avoid using the 'type' builtin. It always reports success
with SunOS4 /bin/sh.
+ * lang-pascal: Likewise.
2001-12-11 Bruno Haible <bruno@clisp.org>
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
-# Test whether a Pascal compiler is found.
-type ppc386 >/dev/null 2>&1 || { echo "SKIP: lang-pascal"; exit 77; }
-
tmpfiles="$tmpfiles prog.pp"
cat <<\EOF > prog.pp
program prog;
EOF
tmpfiles="$tmpfiles prog.o prog.rst prog"
-ppc386 prog.pp || exit 1
+ppc386 prog.pp >/dev/null 2>&1 || { echo "SKIP: lang-pascal"; rm -fr $tmpfiles exit 77; }
tmpfiles="$tmpfiles prog.pot"
: ${XGETTEXT=xgettext}