On Mon, 18 Oct 2021, Nick Bowler wrote:
Configure scripts are always executed from the top build directory so most of these directory variables are not needed in tests. If required, it is easy enough to compute absolute directories in the shell: case $srcdir in /*) my_abs_top_srcdir=$srcdir ;; *) my_abs_top_srcdir=`pwd`/$srcdir ;; esac
GraphicsMagick does this to get a full path to the top of the source tree:
srcdirfull="`cd $srcdir && pwd`" Bob -- Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt