> Sorry I didn't follow this thread and exact reason to change.
> I see this as a good reason to leave it as .cc

There are at least two C++ compilers (MSVC and a native OS/390 one)
which can't handle the `.cc' extension, while *all* C++ compilers can
handle `.cpp'.

> c++ -O2     -o tryme tryme.cc 
> $ rm tryme
> $ mv tryme.cc tryme.cpp
> $ make tryme
> make: don't know how to make tryme. Stop in /home/zvezdan.
> $ gmake tryme
> g++     tryme.cpp   -o tryme
> 
> Obviously only gmake recognizes .cpp as a C++ file on a Unix system.
> With older version of gmake on a different Unix machine .cpp has not
> been recognized.

Whether `make' programs recognize the `.cpp' extension by default is
completely irrelevant for autoconf.  BTW, groff's Makefiles don't use
*any* built-in make rules.


    Werner


_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to