Code

do not create the lua makefile if lua is not to be compiled.
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 1 Nov 2008 09:09:07 +0000 (09:09 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 1 Nov 2008 09:09:07 +0000 (09:09 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1641 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/configure.ac

index f08b4e97be8c369bef0e227197158ccdc2f953c7..77c20d518aafe855b6883569bae86ccf1751f506 100644 (file)
@@ -879,7 +879,9 @@ AC_CONFIG_FILES([bindings/Makefile])
 AC_CONFIG_FILES([bindings/tcl/Makefile])
 AC_CONFIG_FILES([bindings/tcl/ifOctets.tcl])
 AC_CONFIG_FILES([Makefile])          
-AC_CONFIG_FILES([bindings/lua/Makefile])
+if test "$enable_lua" = "yes"; then
+  AC_CONFIG_FILES([bindings/lua/Makefile])
+fi
 
 AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.pl]],[[]])
 AC_OUTPUT