Don't warn about multichar characters on BeOS/Haiku.
The system headers use them generously.
1.1 --- a/configure.in Thu Oct 13 14:50:47 2011 -0400
1.2 +++ b/configure.in Thu Oct 13 16:35:25 2011 -0400
1.3 @@ -894,6 +894,19 @@
1.4
1.5 if test x$have_gcc_Wall = xyes; then
1.6 EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
1.7 +
1.8 + dnl Haiku headers use multicharacter constants all over the place. Ignore these warnings when using -Wall.
1.9 + AC_MSG_CHECKING(for necessary GCC -Wno-multichar option)
1.10 + need_gcc_Wno_multichar=no
1.11 + case "$host" in
1.12 + *-*-beos* | *-*-haiku*)
1.13 + need_gcc_Wno_multichar=yes
1.14 + ;;
1.15 + esac
1.16 + AC_MSG_RESULT($need_gcc_Wno_multichar)
1.17 + if test x$need_gcc_Wno_multichar = xyes; then
1.18 + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wno-multichar"
1.19 + fi
1.20 fi
1.21 }
1.22