From: oetiker Date: Sat, 1 Nov 2008 09:09:07 +0000 (+0000) Subject: do not create the lua makefile if lua is not to be compiled. X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=030487e28a7637089a3bbaf5329faecdf84a4d3d;hp=2ba0dac41cd82d69b612b5b4526f6e6f85c8abdc do not create the lua makefile if lua is not to be compiled. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1641 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index f08b4e9..77c20d5 100644 --- a/configure.ac +++ b/configure.ac @@ -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