Re: Question about AC_CONFIG_FILES

2001-12-09 Thread Ralf Corsepius
Am Son, 2001-12-09 um 12.19 schrieb Patrick Guio: > On 9 Dec 2001, Ralf Corsepius wrote: > > Thank you for your answer, I had also found out that I could use the shell > syntax AC_CONFIG_FILES([class1.cpp:main.cpp.in]) > But the problem is now how to instantiate the variable class_name with > dif

Re: Question about AC_CONFIG_FILES

2001-12-09 Thread Patrick Guio
On 9 Dec 2001, Ralf Corsepius wrote: Thank you for your answer, I had also found out that I could use the shell syntax AC_CONFIG_FILES([class1.cpp:main.cpp.in]) But the problem is now how to instantiate the variable class_name with different values. I tried AC_SUBST(class_name,"class1") AC_CONFI

Re: Question about AC_CONFIG_FILES

2001-12-08 Thread Ralf Corsepius
Am Sam, 2001-12-08 um 20.42 schrieb Patrick Guio: > > Dear all, > I have a c++ "template" main program. I mean by this that the skeleton of > the program is the same but different class can be used. What I would like > to do is from the main.cpp.in template program where a variable class_name > i

Question about AC_CONFIG_FILES

2001-12-08 Thread Patrick Guio
Dear all, I have a c++ "template" main program. I mean by this that the skeleton of the program is the same but different class can be used. What I would like to do is from the main.cpp.in template program where a variable class_name is used for example as int main { @class_name@ simulator; ... }