From 5a267a719bed8b8dd66745f05a9012af28f9d48d Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 2 Jan 2008 12:29:26 +0100 Subject: [PATCH] Check if wcwidth exists. --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 09a4016c..061ae9cb 100644 --- a/configure.in +++ b/configure.in @@ -181,7 +181,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_HEADER_TIME -AC_CHECK_HEADERS(wctype.h) +AC_CHECK_HEADERS(wchar.h wctype.h) AC_CHECK_HEADERS(fcntl.h limits.h time.h unistd.h) AC_CHECK_HEADERS(sigaction.h) AC_CHECK_HEADERS(arpa/inet.h) @@ -305,6 +305,8 @@ AC_CHECK_FUNCS(setenv putenv, HAVE_SETENV_OR_PUTENV=yes) AC_CHECK_FUNCS(getuid, HAVE_GETUID=yes) AC_CHECK_FUNCS(geteuid, HAVE_GETEUID=yes) +AC_CHECK_FUNCS(wcwidth) + dnl These aren't probably needed now, as they are commented in links.h. dnl I've no idea about their historical background, but I keep them here dnl just in the case they will help later. --pasky