[rrd-developers] [PATCH] [BUG] Do not create bindings/lua/Makefile when LUA is not found.

kevin brintnall kbrint at rufus.net
Fri Oct 31 12:06:59 CET 2008

If it's created, then "make install" inside bindings will find lua/Makefile.
The "make install" will trigger an attempted build inside bindings/lua.
This fails if LUA cannot be found.
 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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])
+if test "$enable_lua" = "yes"; then
+  AC_CONFIG_FILES([bindings/lua/Makefile])
 AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.pl]],[[]])

More information about the rrd-developers mailing list