[vlc-commits] commit: Explicitly error message if LUAC is not set ( Rémi Denis-Courmont )
    git at videolan.org 
    git at videolan.org
       
    Sat Apr 10 18:50:29 CEST 2010
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 10 19:50:12 2010 +0300| [d455fdfb4c318166254930e5f5a54f79ab61b76c] | committer: Rémi Denis-Courmont 
Explicitly error message if LUAC is not set
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d455fdfb4c318166254930e5f5a54f79ab61b76c
---
 share/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/share/Makefile.am b/share/Makefile.am
index 59d424f..a7d0b39 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -193,6 +193,10 @@ luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
 luac_verbose_0 = @echo "  LUAC   $@";
 
 .lua.luac:
+	$(AM_V_at)if test -z "$(LUAC)"; then \
+		echo "LUA byte compiler missing." >&2; \
+		exit 1 ; \
+	fi
 	$(AM_V_at)for f in $(EXTRA_DIST); do \
 		test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
 		if test $$f = $<; then \
    
    
More information about the vlc-commits
mailing list