Jonas Meurer <jo...@freesources.org> 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 (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org