mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
0eba62e032
commit
fd786e1aee
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue