bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with autoconf 2.52


From: David Snopek
Subject: Problem with autoconf 2.52
Date: Wed, 24 Oct 2001 15:45:14 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801

This is not exactly a bug, but it does require an extra step inorder to work properly. Here is the situation:

Imagine that you're including libltdl as a convenience library in a package (using "libtoolize --ltdl"), and specify "AC_CONFIG_SUBDIRS(libltdl)" in your configure.in. You're using autoconf 2.52 to generate the configure script.

Under most situations, this runs fine. But there are weird problems that can happen because the "configure" in libltdl was generated using 2.13. Most notably, specifying any host, target, or build option will cause libltdl's configure to exit with error.

This can be solved a couple of ways:

(1) Using "libtoolize --ltdl --copy" and running "aclocal ; autoconf ; automake" in the libltdl directory. (2) Generating the original copy (located in ${prefix}/share/libtool/libltdl) with the newest version of autoconf since I believe they are all "forward-compatible". (3) Cause the "configure" in libltdl to be regenerated with using the local system autoconf when "libtoolize --ltdl" is called. I think this is the most elegant solution.

In any case, I think the user should be warned. This should be put in a FAQ or added to the info pages on libltdl.

If anyone has any additional questions or comments, please e-mail me directly as I am not subscribed to the list. I hope this helps somebody!!

        -- David Snopek

/-- libksd --
| The C++ Cross-Platform Game Framework
| Only want to write it once??
| http://libksd.sourceforge.net
\------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]