Don't warn about multichar characters on BeOS/Haiku.
The system headers use them generously. (transplanted from 825e1072eac6c950ca4f6e879a91ea199a282b2c) --HG-- extra : transplant_source : %82%5E%10r%EA%C6%C9P%CAOn%87%9A%91%EA%19%9A%28%2B%2C
This commit is contained in:
parent
62176df129
commit
1808d892fe
1 changed files with 13 additions and 0 deletions
13
configure.in
13
configure.in
|
@ -958,6 +958,19 @@ CheckWarnAll()
|
||||||
|
|
||||||
if test x$have_gcc_Wall = xyes; then
|
if test x$have_gcc_Wall = xyes; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
|
||||||
|
|
||||||
|
dnl Haiku headers use multicharacter constants all over the place. Ignore these warnings when using -Wall.
|
||||||
|
AC_MSG_CHECKING(for necessary GCC -Wno-multichar option)
|
||||||
|
need_gcc_Wno_multichar=no
|
||||||
|
case "$host" in
|
||||||
|
*-*-beos* | *-*-haiku*)
|
||||||
|
need_gcc_Wno_multichar=yes
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_MSG_RESULT($need_gcc_Wno_multichar)
|
||||||
|
if test x$need_gcc_Wno_multichar = xyes; then
|
||||||
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wno-multichar"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue