Re: source code type detection

2008-01-23 Thread Nicolas Bock
Thanks for the help On Wed, 2008-01-23 at 22:50 +, Harlan Stenn wrote: > Nick, > > > I wrote a Makefile.am which includes a source file called b.C, which is > > a C-source and not a C++-source. In configure.ac I have AC_PROG_CC. When > > I run automake I get the error message: > > > > Makef

Re: source code type detection

2008-01-23 Thread Harlan Stenn
Nick, > I wrote a Makefile.am which includes a source file called b.C, which is > a C-source and not a C++-source. In configure.ac I have AC_PROG_CC. When > I run automake I get the error message: > > Makefile.am: C++ source seen but `CXX' is undefined > Makefile.am: The usual way to define `CX

Re: source code type detection

2008-01-23 Thread Ralf Wildenhues
Hello Nicolas, * Nicolas Bock wrote on Wed, Jan 23, 2008 at 11:35:10PM CET: > > I wrote a Makefile.am which includes a source file called b.C, which is > a C-source and not a C++-source. In configure.ac I have AC_PROG_CC. When > I run automake I get the error message: > > Makefile.am: C++ source

source code type detection

2008-01-23 Thread Nicolas Bock
Hello list, I wrote a Makefile.am which includes a source file called b.C, which is a C-source and not a C++-source. In configure.ac I have AC_PROG_CC. When I run automake I get the error message: Makefile.am: C++ source seen but `CXX' is undefined Makefile.am: The usual way to define `CXX' is