Hi,
Specifying LIBS/LDFLAGS is not working with configure. For example,
$ LDFLAGS='-R/usr/sfw' ./configure --with-apr=../apr \
--with-expat=/usr/sfw
will not have the -R flag in the Makefile.
Attached patch fix this. I wonder this is a reason for not having
LIBS/LDFLAGS in purpose as this fix is too easy, please let me know the
reason that is the case. :-)
Cheers,
Henry
Index: Makefile.in
===================================================================
--- Makefile.in (revision 390523)
+++ Makefile.in (working copy)
@@ -11,8 +11,8 @@
VPATH = @srcdir@
INCLUDES = @APRUTIL_PRIV_INCLUDES@ @APR_INCLUDES@ @APRUTIL_INCLUDES@
-APRUTIL_LDFLAGS = @APRUTIL_LDFLAGS@
-APRUTIL_LIBS = @APRUTIL_LIBS@
+APRUTIL_LDFLAGS = @APRUTIL_LDFLAGS@ @LDFLAGS@
+APRUTIL_LIBS = @APRUTIL_LIBS@ @LIBS@
TARGET_LIB = [EMAIL PROTECTED]@.la
INSTALL_SUBDIRS = @APR_ICONV_DIR@ @APR_XML_DIR@