Jonas Meurer <[email protected]> writes: > But in that case I've a simple question: if I put both defines into a > seperate c source file strl___.c, how do I teach the autotools to use > this file when compiling nntp.cpp, pop.cpp and uuencode.cpp?
AC_REPLACE_FUNCS([strlcpy strlcat]) in configure.ac and then include LTLIBOBJS in the list of objects that go into the shared library in your Makefile.am. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

