configure.ac: Compute LLVM_VERSION_PATCH using llvm-config
authorTom Stellard <thomas.stellard@amd.com>
Thu, 25 Sep 2014 19:55:40 +0000 (12:55 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 27 Sep 2014 16:46:39 +0000 (17:46 +0100)
commitec566e0f169dac33814463e913e5d844a782c61e
tree3ab7b73a0b36f3e3e33c17f86ec679755c48c226
parent5ef6eb4654714aacf338a6c9cb767e3c2c59a44f
configure.ac: Compute LLVM_VERSION_PATCH using llvm-config

This is the only guaranteed way get the patch level for llvm,
since the define cannot always be found in config.h depending
on the version of llvm or the build system used.

CC: 10.2 10.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jonathan Gray <jsg@jsg.id.au>
configure.ac