Re: Normalized absolute path

2014-12-22 Thread Kip Warner
On Mon, 2014-12-22 at 17:24 +0100, Stefano Lattarini wrote: > You might be able to use: > > PATH_WORKAROUND = `relpath $(abs_top_builddir)/Tests/some_file.foo` > > But then you must be aware that $(PATH_WORKAROUND) cannot be used > as a file at make level (i.e., can't be a prerequisite, or a ta

Re: Normalized absolute path

2014-12-22 Thread Stefano Lattarini
On 12/22/2014 03:34 PM, Kip Warner wrote: On Mon, 2014-12-22 at 11:09 +0100, Stefano Lattarini wrote: I guess Automake is just complaining about GNU make specific constructs ('$(replapth ...)' in this case) that would cause other make implementations to choke. You might need to add "AUTOMAKE_OP

Re: Normalized absolute path

2014-12-22 Thread Kip Warner
On Mon, 2014-12-22 at 11:09 +0100, Stefano Lattarini wrote: > I guess Automake is just complaining about GNU make specific > constructs ('$(replapth ...)' in this case) that would cause > other make implementations to choke. You might need to add > "AUTOMAKE_OPTIONS = -Wno-portability" to the Make

Re: Normalized absolute path

2014-12-22 Thread Stefano Lattarini
On 12/19/2014 11:58 PM, Kip Warner wrote: Hey list, I am attempting to set a variable in my Makefile.am that contains a normalized absolute path. I am doing this because another application invoked through one of my rules breaks when fed a relative path and it needs it. PATH_WORKAROUND