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]) 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 -- 1.6.0.2 _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
