Code

fix build process for systems without lua
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 2 Nov 2008 17:25:36 +0000 (17:25 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 2 Nov 2008 17:25:36 +0000 (17:25 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1644 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/lua/Makefile.am

index 31f135b1681659fa381d0af5298819f7a98ad473..eef4809cf8891f3bf9934c583250d9056da623d1 100644 (file)
@@ -14,6 +14,7 @@ LUA_LFLAGS          = @LUA_LFLAGS@
 
 CLEANFILES = rrd.o rrd.so test.lua test.rrd test.png
 
+if BUILD_LUA
 lualibdir=$(LUA_INSTALL_CMOD)
 lualib_LTLIBRARIES = rrd.la
 if LUA_NEED_OUR_COMPAT51
@@ -64,4 +65,4 @@ endif
 test: test.lua
        $(LUA) test.lua
 
-
+endif