On 07/07/12 15:45, SF Markus Elfring wrote:
E.g. the demos and tests are files processed by coccinelle. They don't
affect the dependencies of coccinelle on other software, and thus
don't require any configure-time checks.
How do you think about to specify these items as special or optional
build targets?
http://www.gnu.org/software/autoconf/manual/autoconf.html#Writing-Test-Programs
They are not build targets. As said before, the demos and tests are
exemplary inputs to coccinelle. Nothing has to be build for them. A user
can simply run coccinelle on them to see what output it gives.
Would you like to support that they can be used for a command like "make
check"?
There is already a "check" make target which takes the test programs as
inputs, and verifies that some basic functionality of coccinelle is
available. It does not require any build-time configuration.
11. commons/features.ml.cpp ⇒ AC_PROG_CXX
This file doesn't seem used anymore. We should probably remove it.
Are there any more similar update candidates?
Probably, but not a lot, so I'm not interested in sweeping the sources
for obsolete files or code right now. I'd say that the code is generally
speaking in good shape.
Arie
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)