aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool/lua-install-cmod.patch
blob: a870cdba55795eba392193e12fcb8671df094b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/configure
+++ b/configure
@@ -21996,7 +21996,9 @@
 $as_echo "$as_me: WARNING: Setting Lua include and lib flags to defaults in compat-5.1 and lua 5.1 sources" >&2;}
           LUA_CFLAGS="-I/usr/local/include -I/usr/local/include/lua -I/usr/local/include/lua/$lua_vdot"
           LUA_LFLAGS="-L/usr/local/lib -L/usr/local/lib/lua -L/usr/local/lib/lua/$lua_vdot $lua_libs"
-          LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot"
+	  if test -z "$LUA_INSTALL_CMOD"; then
+            LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot"
+	  fi
         fi
 
                                 # Check whether --enable-lua-site-install was given.