On Wed, Dec 22, 2010 at 12:40:27PM +0100, Petter Reinholdtsen wrote:

> After looking around, I suspect the only sane way to handle this is to
> require and enforce the use of GNU make, and the second best option is
> to rewrite the use of $(shell cmd).  Something like this might work:
> 
> diff --git a/testsuite/samples/Makefile.am b/testsuite/samples/Makefile.am
> index 0b0caf7..3ec335a 100644
> --- a/testsuite/samples/Makefile.am
> +++ b/testsuite/samples/Makefile.am
> @@ -18,7 +18,7 @@
> 
>  AUTOMAKE_OPTIONS = dejagnu -Wno-portability
> 
> -abs_srcdir=$(shell cd $(srcdir); pwd)
> +abs_srcdir = $(abs_top_srcdir)/testsuite/samples

Wondering where did $(abs_top_srcdir) come from I found
also $(abs_srcdir) directly defined in Makefile.
Seems to come from ./configure, not sure which macro.

So, I've committed a complete drop of it, and since I was
there removed -Wno-portability from AUTOMAKE_OPTIONS, which
was added to avoid the warning coming out for the use of $(shell).

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to