On 04/03/13 23:17, Daniel Shahaf wrote:
Gabriela Gibson wrote on Mon, Mar 04, 2013 at 23:16:21 +0000:
On 04/03/13 22:57, Daniel Shahaf wrote:
Gabriela Gibson wrote on Mon, Mar 04, 2013 at 22:33:23 +0000:
What I've also found during my experiments at the weekend is that
apr-related entries in LD_FLAGS are edited while configure runs. So:
LD_FLAGS="-L/usr/local/serf/lib -L/usr/local/apr/lib" ./configure \
--enable-maintainer-mode --with-serf=/usr/local/serf
failed. Examining config.log showed that the failure appeared to occur
in the link test, and that the entry for "-L/usr/local/apr/lib" has been
removed.
Which link test was it? It's hard to make any comment about the
situation without seeing the code and the reason it strips -L flags.
(Is that our code, or something in autoconf's m4 library, that strips
the -L flags?)
Since there is interest in the config.log:
LD_FLAGS="-L/usr/local/apr -L/foo/bar/baz" ./configure
LDFLAGS shouldn't have an underscore?
Oh. No wonder that it got dropped! %-)
(Thanks, good catch. I guess I made one initial typo and then
perpetuated it with M-/ -- oops!)