[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 3937 - trunk/ac-helpers

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-11-30 16:03:50 CET

kraai@tigris.org wrote:

>Author: kraai
>Date: 2002-11-30 02:17:37 -0600 (Sat, 30 Nov 2002)
>New Revision: 3937
>
>Modified:
> trunk/ac-helpers/berkeley-db.m4
>Log:
>* ac-helpers/berkeley-db.m4
> (SVN_LIB_BERKELEY_DB): Extract major and minor version for local
> Berkeley DB build.
>
>
>Modified: trunk/ac-helpers/berkeley-db.m4
>==============================================================================
>--- trunk/ac-helpers/berkeley-db.m4 (original)
>+++ trunk/ac-helpers/berkeley-db.m4 Sat Nov 30 02:17:37 2002
>@@ -105,7 +105,9 @@
> # Linking directly to the .la is broken with --disable-shared
> # because Berkeley db does not seem to generate a .la library.
> if test "$enable_shared" = "yes"; then
>- SVN_DB_LIBS="$dbdir/libdb-4.0.la"
>+ DB_VERSION_MAJOR=`sed -n s/DB_VERSION_MAJOR=//p db/dist/RELEASE`
>+ DB_VERSION_MINOR=`sed -n s/DB_VERSION_MINOR=//p db/dist/RELEASE`
>+ SVN_DB_LIBS="$dbdir/libdb-$DB_VERSION_MAJOR.$DB_VERSION_MINOR.la"
>
Should we really parse the version number from db/dist/RELEASE? wouldn't
db.h be a better place?

Oh, and please lose the tabs. We don't use tabs in sources.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 30 16:04:32 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.