]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fixed compilation problems with rlm_lua 1867/head
authorHerwin Weststrate <herwin@snt.utwente.nl>
Tue, 6 Dec 2016 19:52:42 +0000 (20:52 +0100)
committerHerwin Weststrate <herwin@snt.utwente.nl>
Tue, 6 Dec 2016 19:52:42 +0000 (20:52 +0100)
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.

src/modules/rlm_lua/.gitignore
src/modules/rlm_lua/all.mk.in [moved from src/modules/rlm_lua/all.mk with 100% similarity]
src/modules/rlm_lua/configure
src/modules/rlm_lua/configure.ac

index 24c4bfe6c396fd52ca77086da70e31d638729a77..ca29c6585195a11566e5f24ff5c9230f92c10559 100644 (file)
@@ -1,3 +1,4 @@
 Makefile
+all.mk
 rlm_lua.mk
 libfreeradius-lua.mk
index 293b015d4043a9ef65d1dd27fc11826328a24863..473dd859346b312063e002e005dfb21d1c8d978f 100755 (executable)
@@ -4483,7 +4483,7 @@ ac_config_headers="$ac_config_headers config.h"
 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
@@ -5175,6 +5175,7 @@ for ac_config_target in $ac_config_targets
 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" ;;
 
index 2103d807eb4150b8be956e548813dd0aad6a695f..33bafe04bb0bbda3522dcfc917c01ceee77bf6f2 100644 (file)
@@ -123,5 +123,5 @@ AC_SUBST(lua_ldflags)
 
 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!