apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject [PATCH] --with-libtool option not specified error
Date Sat, 07 Apr 2001 18:34:12 GMT
On FreeBSD-4.2-RELEASE (possibly more), it looks like the case when
--with-libtool is not specified (should implictly use libtool in this
case) is out of sync with the "--with-libtool" case.  This patch makes 
the case when "--with-libtool" is not specified identical to when it is
specified.  Otherwise, libapr.a is never built and nothing builds properly.
-- justin

Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.280
diff -u -r1.280 configure.in
--- configure.in	2001/04/07 01:02:31	1.280
+++ configure.in	2001/04/07 18:29:52
@@ -108,8 +108,9 @@
       so_ext="o"
     fi ], [
       lt_compile="\$(LIBTOOL) --mode=compile \$(LTFLAGS) \$(COMPILE) -c \$< &&
touch $@"
-      link="\$(LIBTOOL) --mode=link \$(LTFLAGS) \$(COMPILE) \$(LDFLAGS) -o \$@"
+      link="\$(LIBTOOL) --mode=link \$(LTFLAGS) \$(COMPILE) \$(LDFLAGS) -o \$@ -rpath \$(libdir)
\$\$objects"
       so_ext="lo"
+      lib_target="\$(libdir) \$\$objects"
     ] )
 AC_SUBST(lt_compile)
 AC_SUBST(link)


Mime
View raw message