--- configure.in.orig 2011-06-11 07:46:28.000000000 -0800 +++ configure.in 2012-03-17 11:59:29.000000000 -0800 @@ -2058,6 +2058,9 @@ AC_CHECK_LIB(intl, textdomain, AC_DEFINE(WITH_LIBINTL, 1, [Define to 1 if libintl is needed for locale functions.])) +AC_SEARCH_LIBS(bind_textdomain_codeset, intl, + AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, + [Define to 1 if bind_textdomain_codeset is available.])) # checks for system dependent C++ extensions support case "$ac_sys_system" in @@ -2715,7 +2718,7 @@ AC_MSG_RESULT(MACHDEP_OBJS) # checks for library functions -AC_CHECK_FUNCS(alarm setitimer getitimer bind_textdomain_codeset chown \ +AC_CHECK_FUNCS(alarm setitimer getitimer chown \ clock confstr ctermid execv fchmod fchown fork fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \ getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \