bug-ncurses
[Top][All Lists]
Advanced

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

Re: Building ncurses with libtool (32/64 bit)


From: Thomas Dickey
Subject: Re: Building ncurses with libtool (32/64 bit)
Date: Fri, 16 Jan 2004 19:34:20 -0500 (EST)

On Sat, 17 Jan 2004, Kevin Ryde wrote:

> Thomas Dickey <address@hidden> writes:
> >
> > while autoconf 2.57 expands it as this:
> >
> >     content of AC_PROG_LIBTOOL
> >     if test $with_libtool = yes ; then
> >             no content from AC_PROG_LIBTOOL
>
> The dead hand of AC_REQUIRE :-).

perhaps.  But there's no AC_REQUIRE connecting any of the pieces.
If there were an AC_REQUIRE, the expected behavior would be to
force AC_PROG_LIBTOOL to expand before the macro.  Since there is
none, it should expand within.

I seem to recall some comment to the effect that it doesn't always
work because of limited buffer space for the macro expansion.
libtool.m4 is rather large...

Another possible clue is the overall structure of the macro

AC_DEFUN([CF_WITH_LIBTOOL],
        ...
        AC_ARG_WITH(...
        if test $with_libtool = yes ; then
                AC_PROG_LIBTOOL
                ...

Perhaps the intervening AC_ARG_WITH is confusing autoconf.  (Either
way, the documentation provides no useful information).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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