On 24-01-2011 00:28:47 +0100, Karel Zak wrote: > On Fri, Jan 21, 2011 at 09:16:30PM +0100, Fabian Groffen wrote: > > +noinst_LTLIBRARIES = libreplace.la > > +libreplace_la_SOURCES = err.c > > I'm not sure that libreplace.la is an ideal solution. Our build > system allows to define different CFLAGS and LDFLAGS for suid > utils. (And use libtool for almost all utils sounds crazy.) Hmm, I tried the AC_LIBOBJ approach, but it simply didn't work. > The lib/err.c should not be compiled on systems with proper err, errx > warn and warx functions. I took this approach from the strutils.c file. > Please, use an AM_CONDITIONAL and conditionally define > $(ul_err_fallback) in config/include-Makefile.am, then use > > foo_SOURCES = foo.c $(ul_err_fallback) > > in the others Makefile.am files -- such implementation will have no > impact to compiling on systems with uClib/glibc. Ok, thanks. -- Fabian Groffen Gentoo on a different level -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html