diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-11-23 17:26:43 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-12-06 09:56:40 +0000 |
commit | fd786e1aee5d3a0a304fccaa5cb6ae2cbbeb435e (patch) | |
tree | 450f173e7aaeae1a9131ed83494ebcc67324820e /configure | |
parent | 0eba62e03292ff91201358fd544cadfbff36f1bf (diff) | |
download | qemu-fd786e1aee5d3a0a304fccaa5cb6ae2cbbeb435e.zip qemu-fd786e1aee5d3a0a304fccaa5cb6ae2cbbeb435e.tar.gz qemu-fd786e1aee5d3a0a304fccaa5cb6ae2cbbeb435e.tar.bz2 |
configure: Include #define name in check_define compiler error
Include the name of the #define being tested for in the compiler
error produced when a check_define test is run and fails. This
appears only in the config.log, but it does make it a little easier
to debug problems by inspecting config.log.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ source_path=`cd "$source_path"; pwd` check_define() { cat > $TMPC <<EOF #if !defined($1) -#error Not defined +#error $1 not defined #endif int main(void) { return 0; } EOF |