Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: reduce unnecessary linking



On Thu, 19 Apr 2001, Clint Adams wrote:


> +dnl zsh_SEARCH_LIBS(FUNCTION, SEARCH-LIBS [, ACTION-IF-FOUND


What was wrong with AC_SEARCH_LIBS?

>
> -AC_CHECK_LIB(socket, socket)
> +AC_CHECK_LIB(socket, socket, [LIBS_SOCKET="-lsocket"
> +AC_DEFINE(HAVE_LIBSOCKET)])
>

No, that won't do. I (being on SVR4) need '-lsocket -lnsl' for any
networking code (what our Solaris fellas say?) Moreover, I *do* need them
both in *main* module and not in any DSO (else some funny effects may
happen).

I really suggest that this patch should be hold off till 4.0.1 release. It
is just too dangerous and can break too much.

Not everybody is using Linux ... yet :-)

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author