Re: Automake/Libtool: Compiling the same source as C and C++

2010-09-28 Thread Ralf Wildenhues
Hello Hugh, let's keep the list in Cc:, I dislike private communication about things interesting for the public at large. Thanks. * Hugh Dickinson wrote on Tue, Sep 28, 2010 at 09:34:13AM CEST: > By the way, is the feature that you use for doing the suffix > substitution (":.c=.cc") documented a

Re: Automake/Libtool: Compiling the same source as C and C++

2010-09-22 Thread Ralf Wildenhues
Hello Hugh, * Hugh Dickinson wrote on Wed, Sep 22, 2010 at 04:50:33PM CEST: > I am trying to convert an existing software package to build using the > GNU autotools. The source code contains several files with .c and .cc > which are designed to be compiled both as C and C++ regardless of > their s

Automake/Libtool: Compiling the same source as C and C++

2010-09-22 Thread Hugh Dickinson
I am trying to convert an existing software package to build using the GNU autotools. The source code contains several files with .c and .cc which are designed to be compiled both as C and C++ regardless of their suffix (i.e. they contain conditionally compiled code #ifdef _cplusplus preprocesso