httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: [PATCH[ library/t/Makefile.am
Date Sun, 10 Jul 2005 22:58:06 GMT
Philip M. Gollucci wrote:
> Fix automake SVN build error:
> 
> library/t/Makefile.am:2: invalid unused variable name: `AM_LDFLAGS'
> 
> pgollucci@smgellar /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 = `@APREQ_CONFIG@ --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 (pgollucci@p6m7g8.com) 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


Mime
View raw message