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

Re: BUG: Error in the INSTALL doc

From: Daniele Nicolodi <daniele_at_grinta.net>
Date: 2002-08-08 16:15:29 CEST

On Mon, Aug 05, 2002 at 04:43:02PM -0500, Karl Fogel wrote:

> > I haven't any knoweledge of autoconf and automake so if you want me to
> > supply a path this could take a lot of time.
>
> Okay; is anyone else feeling up to this?

I have acked up this solution:

Log:

Make a new --enable-all-static configure switch to turn on the build of
true static binaries.

* configure.in
  (AC_ARG_ENABLE(all-static, ...)): New macro.

Patch:

ndex: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in 2002-08-08 16:02:30.000000000 +0200
@@ -106,6 +106,18 @@
 
 dnl Check for libtool -- we'll definitely need it for all our shared
libs!
 echo "configuring libtool now"
+
+dnl Before configuring libtool check for --enable-all-static option
+AC_ARG_ENABLE(all-static,
+[ --enable-all-static build completely static (standalone) binaries],
+[
+ if test "$enableval" = "yes" ; then
+ AC_ENABLE_STATIC(yes)
+ AC_DISABLE_SHARED(yes)
+ LDFLAGS="-all-static $LD_FLAGS"
+ fi
+])
+
 AC_PROG_LIBTOOL
 
 NEON_WANTED_REGEX="`sed -n '/NEON_WANTED_REGEX=/s/.*=//p' $srcdir/build/buildcheck.sh`"

Ciao

-- 
Daniele
		    --- http://www.grinta.net ---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 8 16:16:07 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.