On Tue, 21 Sep 2010, Brad Jorsch wrote:
> > and this unconditionally links libbsd to every binary, even those not
> > needing it...
>
> One easy fix for that is to grab ax_check_linker_flags.m4[1] and add
> this rule to configure.ac:
>
> AX_CHECK_LINKER_FLAGS([-Wl,--as-needed],
> [LDFLAGS="$LDFLAGS -Wl,--as-needed"],
> [:]
> )
this would be useful in it's own right, wouldn't it? it seems to do
good to some of utils/.
while here.. is there any point in WM_CHECK_{LIB,HEADER} (from
m4/windowmaker.m4)? what do they do AC_CHECK_{LIB,HEADER} doesn't?
just asking because if we also declare that xft version checking is
not needed anymore (2.1.0 is at least 7 years old), m4/windowmaker.m4
could also be retired.
> [1] http://www.gnu.org/software/autoconf-archive/ax_check_linker_flags.html
--
[-]
mkdir /nonexistent
--
To unsubscribe, send mail to [email protected].