[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Cause of problem with test suite on OpenBSD
From: |
Petter Reinholdtsen |
Subject: |
Re: [Gnash-dev] Cause of problem with test suite on OpenBSD |
Date: |
Wed, 22 Dec 2010 12:40:27 +0100 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
[Sandro Santilli]
> I read this syntax:
>
> VAR != < shell command to execute >
>
> Here:
>
> http://www.khmere.com/freebsd_book/html/ch01.html
>
> Haven't tried with gnu make
I tested with GNU make, and != is not working.
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
CLEANFILES = \
gnash-dbg.log \
Happy hacking,
--
Petter Reinholdtsen