On Sunday, 28 April 2002, at 17:04:34 (+0100),
Michael Thalmann wrote:
> imlib2 uses libltdl which is provided in the "libltdl"
> subdirectory and is automatic configured and automake'd
> due to entries in in configure.[in|ac] and in Makefile.am
>
> The problem (which not often happens but still exists) is
> that libltdl has been autoconf'd/automake'd with the older
> tools, version 1.3(?), 2.13 respective.
>
> If somebody builds now with the newer versions, autoconf
> assumes that I can pass environment variables (CC, CFLAGS,
> LDFLAGS, LD_LIBRARY_PATH, CPPFLAGS, CXXFLAGS, and more)
> but the ./configure of libltdl complains, because it does
> not support variable passing.
>
> The workaround is not the set these environment variables
> befor compiling. I assume most of us don't - therefore
> this problem is only rare.
>
> I still suggest that we extend the ./autogen.sh script
> that it updates the libltdl subdirectory as well.
>
> I attached a patch to add this functionality. I'll
> be glad if you could try it (I know we have a lot of different
> configurations out there) and tell me whether it works. If
> nobody has a problem, I'd like to put it into CVS.
I had some other Imlib2 stuff to do anyway, so I went ahead and put
this in. Hope you don't mind. :)
Of course, someone will probably want to sync my changes with the
SPLIT branch. I am a conscientious objector to it. :)
Michael
--
Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <mej@...>
n+1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
"I don't kill flies but I like to mess with their minds. I hold them
above globes. They freak out and yell, 'Whoa, I'm way too high!' "
-- Bruce Baum
|