I'm trying to add parts of libemf to Inkscape. In the subdirectory "libEMF" are found libemf.cpp, libemf.h, and a handful of other include files (all *.h). Added lines to makefile.am and makefile.in analogous to those for another similar directory (libavoid) and did:
./configure (no problems)
make
cd . && /bin/bash /usr/local/src/inkscape_dev1/inkscape/missing --run automake-1.11 --foreign
src/Makefile.am: object `libEMF/libemf.$(OBJEXT)' created by `libEMF/libemf.cpp' and `libEMF/libemf.c' make: *** [Makefile.in]
Error 1
There is NO libemf.c ANYWHERE on this computer. So why does makefile think there is one in that directory??? Google for that message turned up a lot of cases where there were same name files in two directories, but here there should be no conflict. Note though that configure.ac does have flags for both C++ and C as some of the pieces this project builds are in each language (mostly it is C++). Versions:
automake 1.11.3
autoconf 2.68
ubuntu 12.04 LTS (32 bit)
Thanks.