RANLIB error when using automake.

2000-06-27 Thread Mo DeJong
I was trying to create a small test case for another bug, when I ran into the following error: Makefile.am:1: library used but `RANLIB' not defined in `configure.in' Here are my files: % cat configure.in AC_INIT(foo.cc) AM_INIT_AUTOMAKE(foo, 1.0) AC_LANG_CPLUSPLUS AC_PROG_CXX AC_PROG_CC AC_

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Tom Tromey
Mo> Perhaps the first error is a wild goose chase. This error seems to Mo> be caused by a conflict between SDL_sysjoystick.c and Mo> SDL_sysjoystick.cc, does the ML branch know how to deal with two Mo> different language file with the same name? Automake currently doesn't handle that. However, t

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Ossama Othman
Hi, On Tue, Jun 27, 2000 at 09:15:11PM -0700, Mo DeJong wrote: > automake: src/joystick/Makefile.am: object `SDL_sysjoystick.lo' created > by `SDL_sysjoystick.cc' and `SDL_sysjoystick.c' > automake: src/joystick/Makefile.am: object `SDL_sysjoystick.lo' created > by `SDL_sysjoystick.cc' and `SDL

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Alexandre Oliva
On Jun 28, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > On 28 Jun 2000, Alexandre Oliva wrote: >> On Jun 28, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: >> >> > Do you mean like this? >> >> Yup. >> >> > I tried to rerun with this change but I got the same error. >> >> This particular change wo

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Mo DeJong
On 28 Jun 2000, Alexandre Oliva wrote: > On Jun 28, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > > > Do you mean like this? > > Yup. > > > I tried to rerun with this change but I got the same error. > > This particular change wouldn't help at all. Just make sure you're > getting an up-to-dat

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Alexandre Oliva
On Jun 28, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > Do you mean like this? Yup. > I tried to rerun with this change but I got the same error. This particular change wouldn't help at all. Just make sure you're getting an up-to-date libtool.m4 in your aclocal.m4, because it is in the acloca

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Mo DeJong
On 27 Jun 2000, Alexandre Oliva wrote: > On Jun 27, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > > > configure:AC_LIBTOOL_CXXAM_DEPENDENCIES(CXX) > > The problem is in both libtool (multi-language) and automake, but I > believe I've already fixed this particular problem in libtool. In > libtoo

Re: Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Alexandre Oliva
On Jun 27, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > configure:AC_LIBTOOL_CXXAM_DEPENDENCIES(CXX) The problem is in both libtool (multi-language) and automake, but I believe I've already fixed this particular problem in libtool. In libtool.m4 revision 1.71.2.21, there's a line break 798, aft

Problem with CVS autoconf + automake + libtool

2000-06-27 Thread Mo DeJong
Sorry for the cross post, but I am not sure if this is a problem with autoconf or automake. I am trying to update the build system for the SDL cross platform graphics library but I am getting the following error. When running autoconf. autoconf: undefined macros: ***BUG in Autoconf--please report

Re: Conditional variable confusion.

2000-06-27 Thread Mo DeJong
On Mon, 26 Jun 2000, Tom Tromey wrote: > Mo> if WIN > Mo> sysinit = tkgsWinInit.c > Mo> endif > > Mo> if UNIX > Mo> sysinit = tkgsUnixInit.c > Mo> endif > > Mo> libtkgs_la_SOURCES = \ > Mo> [ ... ] > Mo> $(sysinit) > > Mo> src/Makefile.am:15: warning: automake does not support conditional > M