You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kean Johnston <jk...@sco.com> on 2002/12/16 01:04:09 UTC

PATCH: check for -lsocket so BerkelyDB works

All,

Please consider this patch, needed for SVN on SCO OpenServer.
BerkelyDB uses a lot of socket functions, and needs -lsocket
to work. Without this, configure fails to find DB.

--- configure.in.jkj	2002-12-15 17:00:01.000000000 -0800
+++ configure.in	2002-12-15 16:52:28.000000000 -0800
@@ -169,6 +169,7 @@
 dnl Check for libraries --------------------
 
 dnl AC_CHECK_LIB() calls go here, if we ever need any
+AC_CHECK_LIB(socket, socket)
 
 # Build the filesystem library (and repository administration tool)
 # only if we have an appropriate version of Berkeley DB.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: PATCH: check for -lsocket so BerkelyDB works

Posted by Philip Martin <ph...@codematters.co.uk>.
"Kean Johnston" <jk...@sco.com> writes:

> Please consider this patch, needed for SVN on SCO OpenServer.
> BerkelyDB uses a lot of socket functions, and needs -lsocket
> to work. Without this, configure fails to find DB.
> 
> --- configure.in.jkj	2002-12-15 17:00:01.000000000 -0800
> +++ configure.in	2002-12-15 16:52:28.000000000 -0800
> @@ -169,6 +169,7 @@
>  dnl Check for libraries --------------------
>  
>  dnl AC_CHECK_LIB() calls go here, if we ever need any
> +AC_CHECK_LIB(socket, socket)
>  
>  # Build the filesystem library (and repository administration tool)
>  # only if we have an appropriate version of Berkeley DB.

Applied in rev 4158.

Out of interest:
- Which version of Subversion did you build?
- Which compiler did you use?
- What is the output of ac-helpers/config.guess?
- Did you run the Subversion regression tests and did they pass?

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org