+2010-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ Tests defs: $srcdir is unconditionally substituted.
+ * tests/defs.in ($srcdir): Define unconditionally to @abs_srcdir@.
+ Remove code for $srcdir normalization, which is now useless.
+
2010-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
Tests defs: make spacing more consistent.
# Tom Tromey <tromey@cygnus.com>
# Absolutely necessary variable(s).
-srcdir=${srcdir-'@abs_srcdir@'}
+srcdir='@abs_srcdir@'
# Protect this file against multiple inclusion, useful for generated tests.
if test x"$am_skip_defs" = xyes; then
esac
done
-
-# Always use an absolute srcdir. Otherwise symlinks made in subdirs
-# of the test dir just won't work.
-case "$srcdir" in
- [\\/]* | ?:[\\/]*)
- ;;
-
- *)
- srcdir=`CDPATH=: && cd "$srcdir" && pwd`
- ;;
-esac
-
# We use a trap below for cleanup. This requires us to go through
# hoops to get the right exit status transported through the signal.
# So use `Exit STATUS' instead of `exit STATUS' inside of the tests.