[Top][All Lists]

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

Re: source code type detection

From: Nicolas Bock
Subject: Re: source code type detection
Date: Wed, 23 Jan 2008 16:36:35 -0700

Thanks for the help

On Wed, 2008-01-23 at 22:50 +0000, Harlan Stenn wrote:

> Nick,
> > I wrote a which includes a source file called b.C, which is
> > a C-source and not a C++-source. In I have AC_PROG_CC. When
> > I run automake I get the error message:
> > 
> > C++ source seen but `CXX' is undefined
> >   The usual way to define `CXX' is to add `AC_PROG_CXX'
> >   to `' and run `autoconf' again.
> > 
> > So I guess automake interprets b.C to be C++. How can I tell automake
> > that it's really C?
> Make a BUILT_SOURCES rule that links/copies $(srcdir)/b.C to
> ($builddir)/b.c and use b.c in your foo_SOURCES line.
> H

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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