When building the debian package, no configuration is tried for rlm_lua,
because it isn't listed in the stable modules. But because the folder
contains a file called all.mk, the build process still tries to build it
and fails. Quick and dirty solution: move all.mk to all.mk.in.
Makefile
+all.mk
rlm_lua.mk
libfreeradius-lua.mk
unset ac_cv_env_LIBS_set
unset ac_cv_env_LIBS_value
-ac_config_files="$ac_config_files rlm_lua.mk libfreeradius-lua.mk"
+ac_config_files="$ac_config_files all.mk rlm_lua.mk libfreeradius-lua.mk"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;;
"rlm_lua.mk") CONFIG_FILES="$CONFIG_FILES rlm_lua.mk" ;;
"libfreeradius-lua.mk") CONFIG_FILES="$CONFIG_FILES libfreeradius-lua.mk" ;;
AC_SUBST(targetname) # keep this! Don't change!
AC_CONFIG_HEADER(config.h)
-AC_OUTPUT([rlm_lua.mk libfreeradius-lua.mk]) # keep this! Don't change!
+AC_OUTPUT([all.mk rlm_lua.mk libfreeradius-lua.mk]) # keep this! Don't change!