[vlc-commits] Invoke check_headers with $(SHELL)
Maciej Blizinski
git at videolan.org
Mon Mar 5 19:21:18 CET 2012
vlc/vlc-2.0 | branch: master | Maciej Blizinski <maciej at opencsw.org> | Thu Mar 1 00:55:49 2012 +0100| [1548821f0418b8c2c5ce08e360644c496df383ed] | committer: Jean-Baptiste Kempf
Invoke check_headers with $(SHELL)
Otherwise, it gets executed with /bin/sh which on Solaris does not support the
$(...) construct. This causes 'gmake check' to fail. For example:
../src/check_headers: $(dirname ../src/check_headers): does not exist
Calling check_headers with $(SHELL) explicitly makes use of CONFIG_SHELL.
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit d1a8b724c3923bb37002e5102cae25d9594a9a95)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=1548821f0418b8c2c5ce08e360644c496df383ed
---
lib/Makefile.am | 2 +-
src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 339d3b4..4ad0e21 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -75,4 +75,4 @@ pkgconfig_DATA = libvlc.pc
$(SHELL) ./config.status --file="lib/$@"
check-local:
- $(top_srcdir)/src/check_headers $(pkginclude_HEADERS)
+ $(SHELL) $(top_srcdir)/src/check_headers $(pkginclude_HEADERS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 68ce870..0864a1d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -528,7 +528,7 @@ check-local:
exit 1; \
fi ; \
done
- $(srcdir)/check_headers $(pluginsinclude_HEADERS)
+ $(SHELL) $(srcdir)/check_headers $(pluginsinclude_HEADERS)
FORCE:
@echo "Generated source cannot be phony. Go away." >&2
More information about the vlc-commits
mailing list