against a read-only source tree (as in distcheck for example),
since autoconf wants to write temporary files in $top_srcdir
otherwise.
2004-07-29 Gary V. Vaughan <gary@gnu.org>
+ * tests/tagtrace.test: Skip this test when running a VPATH build
+ against a read-only source tree (as in distcheck for example),
+ since autoconf wants to write temporary files in $top_srcdir
+ otherwise.
+
* Makefile.am ($(top_srcdir)/config/ltmain.sh): Automake assumes,
quite rightly for every project except libtool, that there will be
an ltmain.sh in the source tree.
fi
. $srcdir/defs || exit 1
+: ${fnord=$srcdir/../fnord$$}
+
"$AUTOCONF" --version > /dev/null 2>&1 || func_skip "This test requires GNU Autoconf"
+if touch $fnord; then
+ rm $fnord
+else
+ func_skip "This test requires write access to the source tree"
+fi
# Abort as soon as something fails.
set -e