[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: questions regarding libmimelib1 as seperate source package



Jonas Meurer <jonas@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 (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: