You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Greg Stein <gs...@lyra.org> on 2000/11/02 06:11:05 UTC

Re: [PATCH] apr configure cosmetics

applied. thanks!

On Mon, Oct 30, 2000 at 09:11:46PM +0000, Joe Orton wrote:
> This is just cosmetics: use AC_SEARCH_LIBS rather than AC_CHECK_LIB in a
> couple of places. Doing this for gethostname just means -lnsl won't get
> put into LIBS twice which has been bugging me for ages.
> 
> --- configure.in.2nd	Mon Oct 30 20:54:29 2000
> +++ configure.in	Mon Oct 30 21:08:48 2000
> @@ -201,10 +201,9 @@
>  
>  dnl #----------------------------- Checks for Any required Libraries
>  AC_CHECK_LIB(nsl,gethostbyname)
> -AC_CHECK_LIB(nsl,gethostname)
> +AC_SEARCH_LIBS(gethostname, nsl)
>  AC_CHECK_LIB(socket,socket)
> -AC_CHECK_LIB(crypt,crypt)
> -AC_CHECK_LIB(ufc,crypt)
> +AC_SEARCH_LIBS(crypt, crypt ufc)
>  AC_CHECK_LIB(truerand,main)
>  AC_CHECK_LIB(iconv,iconv)
>  

-- 
Greg Stein, http://www.lyra.org/