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

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

 



On Sat, 17 Jan 2004, Kevin Ryde wrote:

> Thomas Dickey <dickey@xxxxxxx> 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



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux