]> git.ipfire.org Git - people/ms/strongswan.git/commit
configure: Ignore unknown Git version number
authorTobias Brunner <tobias@strongswan.org>
Mon, 20 Jul 2020 15:38:03 +0000 (17:38 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 21 Jul 2020 10:49:13 +0000 (12:49 +0200)
commit544ff819114714762fe870a59008d3089987b775
treec85402f1149e8c2ec1317db9ef11ad354f37b620
parent59455137b4160760c9adf44dbd1cc2fd97c4d960
configure: Ignore unknown Git version number

Don't abort the script if the version is reported as UNKNOWN, which happens
on CI hosts where the repository is only cloned with a certain depth (which
may not include the latest tag).

Also, never map VERSION to UNKNOWN.

Fixes: 2e522952c77d ("configure: Optionally use version information obtained from Git in executables")
configure.ac