libfoo.la is already going to be installed in `lib'

2002-08-19 Thread Harlan Stenn
I hope I didn't ask about this one already. I have a Makefile.am that uses conditionals: foo/Makefile.am: if COND1 libfoo = libfoo.la endif if COND2 libfoo = libfoo.la endif ... lib_LTLIBRARIES = $(libfoo) and when I run automake-1.6.3 on it I get: automake: foo/Makefile.am: `lib

object `foo.$(OBJEXT)' created both with libtool and without

2002-08-19 Thread Harlan Stenn
Automake-1.6.3. So I have a Makefile.am that build both PROGRAMS and LTLIBRARIES. One of the .c modules is used by both a program and a library. I get the warning: automake: foo/Makefile:NN: object `foo.$(OBJEXT)' created both with libtool and without and I'm assuming it's because this cas

[patch] Another over zealous sanity check

2002-08-19 Thread Bruce Korb
--- distdir.am Sun Jul 21 21:31:06 2002 +++ distdir.am.new Mon Aug 19 20:14:41 2002 @@ -98,10 +98,11 @@ ## source files _and_ generated files. It is also important when the ## directory exists only in $(srcdir), because some vendor Make (such ## as Tru64) will magically create an empty

use of .c.cc suffix rule in making bin_PROGRAMS

2002-08-19 Thread Ted Irons
I'm running autoconf-2.53, automake-1.6.2, and libtool-1.4d. If I have a source, x.c, the following automake snippet will not work (it invokes gcc on x.c, instead of g++ on x.cc; and the .deps/x.Po file contains just #dummy) bin_PROGRAMS = x x_SOURCES = x.cc .c.cc: $(LN_S) $< $@ But

Re: files left after distclean: How to clean those?

2002-08-19 Thread Bob Proulx
Bruce Korb <[EMAIL PROTECTED]> [2002-08-19 13:51:40 -0700]: > Do you distribute example.8? I could go either way. Let's say no. > If not, add it to the DISTCLEANFILES, That worked! Thanks! So now my Makefile.am looks like this. Anything flagrantly wrong? Otherwise this is working for me. T

Re: automake & Objective C

2002-08-19 Thread Matej Kosik
Tom Tromey wrote: > > Since there are no pre-canned macros for ObjC, you must define the > `OBJC' macro in configure.ac yourself. Like so: > > OBJC=... something ... > AC_SUBST(OBJC) > > Tom > > thank you, it works, (`OBJCFLAGS' should be set and substituted as well) -- Matej

Re: files left after distclean: How to clean those?

2002-08-19 Thread Bruce Korb
Bob Proulx wrote: > > I am wanting to use help2man to produce the man page for a program. I > have a Makefile.am with the following. > > dist_man_MANS = example.8 > > example.8: src/example > help2man --output=example.8 ./src/example Do you distribute example.8? If not, add it to

files left after distclean: How to clean those?

2002-08-19 Thread Bob Proulx
I am wanting to use help2man to produce the man page for a program. I have a Makefile.am with the following. dist_man_MANS = example.8 example.8: src/example help2man --output=example.8 ./src/example But when I run 'make distcheck' I get the following error. Error: files left a

Re: vtexi failure

2002-08-19 Thread Patrick Welche
On Mon, Aug 19, 2002 at 11:15:09AM +0200, Alexandre Duret-Lutz wrote: > On Tue, Aug 13, 2002 at 02:29:47PM +0100, Patrick Welche wrote: > > On NetBSD, I get a failure for vtexi.test. The odd thing is that the test > > mentions: > > > > # Test for bug reported by Jim Meyering: > > # When I ran auto

header files

2002-08-19 Thread Neal H. Walfield
I am currently in the process of porting the Hurd to the L4 microkernel. At the moment, the Hurd uses custom makefiles which, to be nice, are a jungle. Rather than try to extend them to support a new idl compiler and microkernel dependent files, I decided to try to use automake and autoconf. On

Re: vtexi failure

2002-08-19 Thread Alexandre Duret-Lutz
On Tue, Aug 13, 2002 at 02:29:47PM +0100, Patrick Welche wrote: > On NetBSD, I get a failure for vtexi.test. The odd thing is that the test > mentions: > > # Test for bug reported by Jim Meyering: > # When I ran automake-0.29 on textutils, > # I noticed that doc/Makefile.in had > # textutils.inf