[Top][All Lists]

[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 ;;

GraphicsMagick does this to get a full path to the top of the source tree:

  srcdirfull="`cd $srcdir && pwd`"

Bob Friesenhahn,
GraphicsMagick Maintainer,
Public Key,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]