  #------------------------------------------------------------------------------
  # Predefined targets:
 -- 
-2.17.1
+2.25.1
 

+#LUA_DEFS += -I/usr/local/include/lua51
+LUA_DEFS = `pkg-config --cflags lua` #$(LUA_DIR)/include
 
 LUA_LIB = $(PREFIX)/lib/lua/$(LUAVER)
 LUA_SHARE = $(PREFIX)/share/lua/$(LUAVER)
@@ -145,11 +146,15 @@ SYS_LUA_SHARE = $(PREFIX)/share/lua/$(LUAVER)
 # Libraries:
 #------------------------------------------------------------------------------
 

 
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 # For Windows using MinGW:
@@ -127,29 +127,34 @@ TEKLIB_DEFS = -DENABLE_LAZY_SINGLETON
 #------------------------------------------------------------------------------
 
 PREFIX ?= /usr/local
