>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> I've just thought of a way to avoid any compatibility
Alexandre> problems between libtool components: embedding ltconfig,
Alexandre> ltmain.sh and ltcf-*.sh in libtool.m4.  AC_PROG_LIBTOOL
Alexandre> would extract ltconfig and ltmain.sh into the build dir,
Alexandre> then proceed to the usual configuration stuff.

Why not using something more simple, such as passing an envvar with
the version or things like this?

In fact, I don't know too well what is the exact problem you're
fighting with, but if I understand correctly, AC_PROG_LIBTOOL runs
ltconfig, so when running it, it sure can pass its version by envvar
and have ltconfig check it.  Conversely, since AC_PROG_LIBTOOL will
run ltconfig, it sure knows where it is, so it can run a simple grep
to fetch the version, and ensure the comparison.

Autoconf has already comparable machinery for AC_PREREQ.  I can make
it ``public'' for you to use it.

I don't want to document it, since it would be tempting for people to
use it.

Or you can just import the corresponding code.

Reply via email to