[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abs_top_srcdir broken?
From: |
Bob Friesenhahn |
Subject: |
Re: abs_top_srcdir broken? |
Date: |
Mon, 18 Oct 2021 14:11:22 -0500 (CDT) |
User-agent: |
Alpine 2.20 (GSO 67 2015-01-07) |
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@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt