aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-11-08 15:01:52 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-11-08 15:42:15 +0530
commitf6dfd362393fb1e999bcc0dbc7ef65c48d8b204f (patch)
tree8f72826860356316f8bc62d4f0a748219ee8ed83 /mesonbuild/mesonmain.py
parent87f07cdf3db9923b41ac23d27d8e017c8c57ecc3 (diff)
downloadmeson-f6dfd362393fb1e999bcc0dbc7ef65c48d8b204f.zip
meson-f6dfd362393fb1e999bcc0dbc7ef65c48d8b204f.tar.gz
meson-f6dfd362393fb1e999bcc0dbc7ef65c48d8b204f.tar.bz2
has_header_symbol: Make it work with C++ compilers
Need to pass -fpermissive to force C++ compilers to only warn about our non-conformant code that tests for a symbol being defined. Also do a simple #ifdef check first in has_header_symbol to allow arbitrary macros to be detected which would not have been detected earlier. This follows what AC_CHECK_DECL does. Closes #958
Diffstat (limited to 'mesonbuild/mesonmain.py')
0 files changed, 0 insertions, 0 deletions