[En-Nut-Discussion] patched configure.ac for failed liblua detection

Tim Lapawa lists at lapawa.net
Fri Jun 10 14:26:53 CEST 2005


Hello list,
I got into trouble with configure.ac file from the todays cvs HEAD.
The configure script failed to accept my liblua libraries because of some 
unresolved symbols. I've changed the AC_SEARCH_LIBS macro in
configure.ac to link with some additional libraries. 
My current lua version is v5.0.2 from the gentoo distribution and the
changes are work with this patch at least for me.

cmd: cvs  -f diff "configure.ac"
Index: configure.ac
===================================================================
RCS file: /cvsroot/ethernut/nut/configure.ac,v
retrieving revision 1.3
diff -r1.3 configure.ac
127c127
<       AC_SEARCH_LIBS([luaL_loadfile], [lualib lualib50], [nutconf_tools_ok="yes"], [nutconf_tools_ok="no"])
---
>       AC_SEARCH_LIBS([luaL_loadfile], [lualib lualib50], [nutconf_tools_ok="yes"], [nutconf_tools_ok="no"],[-lm -ldl])


Best regards
  Tim

-- 
                \\\///   
  Tim Lapawa    (o  -)   tim at lapawa.net
-------------oo0-(_)-0oo----------------------
   ,ooo0                 Where do you want
  (     )         0ooo,     to go tomorrow?
---\   (---------(     )----------------------
    \ _ )         )   / 
                 ( _ / 



More information about the En-Nut-Discussion mailing list