From 9119fa1c7df778328a97b2e6891b54f98bf9ce89 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Sat, 31 Mar 2012 15:07:28 -0400 Subject: [PATCH] Add warning and check for IUTF8 --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index c9748cb..36e8cdc 100644 --- a/configure.ac +++ b/configure.ac @@ -171,6 +171,12 @@ AC_CHECK_DECL([__STDC_ISO_10646__], [AC_MSG_WARN([C library doesn't advertise wchar_t is Unicode (OS X works anyway with workaround).])], [[#include ]]) +AC_CHECK_DECL([IUTF8], + [AC_DEFINE([HAVE_IUTF8], [1], + [Define if IUTF8 is a defined termios mode.])], + [AC_MSG_WARN([No IUTF8 termios mode; character-erase of multibyte character sequence probably does not work properly in canonical mode on this platform.])], + [[#include ]]) + # Checks for protobuf PKG_CHECK_MODULES([protobuf], [protobuf])