On Thu, Aug 08, 2002 at 04:15:29PM +0200, Daniele Nicolodi wrote:
Better patch, same log:
Index: ./Makefile.in
===================================================================
--- ./Makefile.in
+++ ./Makefile.in 2002-08-09 02:26:20.000000000 +0200
@@ -44,7 +44,7 @@
SHELL = @SHELL@
LIBTOOL = $(SHELL) $(abs_builddir)/libtool
LTFLAGS = --silent
-LT_LDFLAGS =
+LT_LDFLAGS = @LT_LDFLAGS@
INCLUDES = @SVN_EXTRA_INCLUDES@ @SVN_NEON_INCLUDES@ \
@SVN_DB_INCLUDES@ @SVN_APR_INCLUDES@
@SVN_APRUTIL_INCLUDES@
@@ -70,8 +70,8 @@
# special SWIG compilation
COMPILE_SWIG_PY = $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) $(CPPFLAGS) -DSWIGPYTHON $(CFLAGS) $(SWIG_PY_INCLUDES) $(INCLUDES) -o $@
-c $<
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) $(LDFLAGS) -rpath $(libdir)
-LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR)
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) $(LDFLAGS) -rpath $(libdir)
+LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR)
INSTALL = @INSTALL@
INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL)
Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in 2002-08-09 01:34:12.000000000 +0200
@@ -108,6 +108,17 @@
echo "configuring libtool now"
AC_PROG_LIBTOOL
+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
+ LT_LDFLAGS="-all-static $LT_LDFLAGS"
+ fi
+])
+
+AC_SUBST(LT_LDFLAGS)
+
NEON_WANTED_REGEX="`sed -n '/NEON_WANTED_REGEX=/s/.*=//p'
$srcdir/build/buildcheck.sh`"
dnl You can skip the neon version check only if you know what you are doing
AC_ARG_ENABLE(neon-version-check,
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 Fri Aug 9 02:29:45 2002