ccanlint: make a license enum, and parse the license string to set it.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jul 2011 08:00:49 +0000 (17:30 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jul 2011 08:00:49 +0000 (17:30 +0930)
commit8de1e8a6faef77773cbf8ed237eb4e330143d2f2
tree0d736b893803e9f5564f2a8f8d859e9830f7c78f
parentda8558a174da778aeb9dd95e62e023d39349b948
ccanlint: make a license enum, and parse the license string to set it.

This improves on the current ad-hoc methods, and also fixes a bug where
we mapped "GPLv2" to the GPLv3 symlink.
tools/ccanlint/ccanlint.h
tools/ccanlint/tests/license_exists.c