Philip M. Gollucci wrote:
Fix automake SVN build error:

library/t/Makefile.am:2: invalid unused variable name: `AM_LDFLAGS'

[EMAIL PROTECTED] /usr/local/dev/repos/ASF/httpd/apreq/trunk> svn diff
Index: library/t/Makefile.am
===================================================================
--- library/t/Makefile.am       (revision 209929)
+++ library/t/Makefile.am       (working copy)
@@ -1,5 +1,4 @@
 AM_CPPFLAGS = @APR_INCLUDES@
-AM_LDFLAGS = [EMAIL PROTECTED]@ --link-libtool --libs` @APR_LTFLAGS@
 noinst_LIBRARIES = libapache_test.a
 libapache_test_a_SOURCES = at.h at.c

I've reached a conundrum here:
With the above fix, ./buildconf actually finishes because automake doesn't error out with the above error, but
gmake test
fails in library/t
because the linker flags aren't passed in library/t/Makefile.am

I tried using LDFLAGS instead, but then I had to much with the LD_LIBRARY_PATH env variable. I then tried setting AML_LDFLAGS and assigning it to LDFLAGS and it still complained with the first error about it being unused.

So at the moment to build/test from SVN I have to re-run automake manually after editing library/t/Makefile.am

*sigh*

P.S.

whats needed for the TODO for dropping automake and using apr/httpd conf things.


--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
       http://www.liquidation.com
       http://www.uksurplus.com
       http://www.govliquidation.com
       http://www.gowholesale.com

Reply via email to