Hi. I want to add some code to flac and am having trouble building it out of cvs. I've had several problems, most of which were pretty easy to work around or had already been discussed here. But this one has me stumped (though I am admittedly new to autoconf, automake, and libtool). Here's the problem. autoconf does not see any definition for AC_PROG_LIBTOOL. There is such a definition in <libtool directory>/share/aclocal/libtool.m4, but autoconf doesn't seem to be aware of that. I don't know how to tell it to look there; autoconf doesn't appear to have any option to specify specific additonal m4 files. The end result is that the makefiles say "LIBTOOL = @LIBTOOL@" instead of "LIBTOOL = libtool". I've worked around it for now by manually fixing those lines in the makefiles but I'd like to know how to solve it. BTW, I changed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL because aclocal refused to accept the former (which is apparently deprecated). That's not the problem anyway, because I get the same behavior if I change it back after running aclocal. I'm running OS X (darwin-5.5) with autoconf-2.53, automake-1.6.2, and libtool-1.4.2, all of which should be the latest stable versions. Thanks in advance. -Brady -- Brady Patterson (brady@spaceship.com) How come I can't hurt this damn turtle?
Yep, that did it. Also fixes the inconsistency between AC_PROG_LIBTOOL and AM_PROG_LIBTOOL, which is now inexplicable to me. Oh well. Thanks. -- Brady Patterson How come I can't hurt this damn turtle? On Fri, 28 Jun 2002, Josh Coalson wrote:> I don't know if this is the right solution, but you can > use -I with aclocal to point right at .m4 files: > > aclocal -I <libtool directory>/share/aclocal
I don't know if this is the right solution, but you can use -I with aclocal to point right at .m4 files: aclocal -I <libtool directory>/share/aclocal --- Brady Patterson <brady@spaceship.com> wrote:> > Hi. > > I want to add some code to flac and am having trouble building it out > of cvs. > I've had several problems, most of which were pretty easy to work > around or > had already been discussed here. But this one has me stumped (though > I am > admittedly new to autoconf, automake, and libtool). Here's the > problem. > > autoconf does not see any definition for AC_PROG_LIBTOOL. There is > such a > definition in <libtool directory>/share/aclocal/libtool.m4, but > autoconf > doesn't seem to be aware of that. I don't know how to tell it to > look there; > autoconf doesn't appear to have any option to specify specific > additonal m4 > files. > > The end result is that the makefiles say "LIBTOOL = @LIBTOOL@" > instead of > "LIBTOOL = libtool". I've worked around it for now by manually > fixing those > lines in the makefiles but I'd like to know how to solve it. > > BTW, I changed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL because aclocal > refused to > accept the former (which is apparently deprecated). That's not the > problem > anyway, because I get the same behavior if I change it back after > running > aclocal. > > I'm running OS X (darwin-5.5) with autoconf-2.53, automake-1.6.2, and > libtool-1.4.2, all of which should be the latest stable versions.__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com