1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

Check if wcwidth exists.

This commit is contained in:
Witold Filipczyk 2008-01-02 12:29:26 +01:00 committed by Kalle Olavi Niemitalo
parent 8d7f361975
commit 5a267a719b

View File

@ -181,7 +181,7 @@ AC_HEADER_STDC
AC_HEADER_SYS_WAIT AC_HEADER_SYS_WAIT
AC_HEADER_TIME 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(fcntl.h limits.h time.h unistd.h)
AC_CHECK_HEADERS(sigaction.h) AC_CHECK_HEADERS(sigaction.h)
AC_CHECK_HEADERS(arpa/inet.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(getuid, HAVE_GETUID=yes)
AC_CHECK_FUNCS(geteuid, HAVE_GETEUID=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 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 I've no idea about their historical background, but I keep them here
dnl just in the case they will help later. --pasky dnl just in the case they will help later. --pasky