-dnl Copyright © 2014-2015, 2018 Nick Bowler
+dnl Copyright © 2014-2015, 2018-2019, 2021 Nick Bowler
dnl
dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
dnl This is free software: you are free to do what the fuck you want to.
TEST_AUTORECONF
TEST_CONFIGURE
-printf '%s\n' "$srcdir" | sed -e 's:/\./:/:g' -e 's:/\.$::g' \
- -e 's:\(.\)//*:\1/:g' >expout
+printf '${top_srcdir}/%s\n' "$srcdir" | sed -e 's:/\./:/:g' -e 's:/\.$::g' \
+ -e 's:\(.\)//*:\1/:g' >expout
AT_CHECK([cat test], [0], [expout])
AT_CLEANUP