configure test for HAVE_ICONV_H, HAVE_LOCALE_H and HAVE_LANGINFO_H

still no test for HAVE_ICONV


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@856 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2005-03-13 13:36:04 +00:00
parent ce991f0823
commit ec1aa1e6a7
4 changed files with 15 additions and 5 deletions

View File

@ -20,6 +20,9 @@ AC_CHECK_HEADER(sys/select.h, AC_DEFINE(HAVE_SYS_SELECT_H))
AC_CHECK_HEADER(sys/modem.h, AC_DEFINE(HAVE_SYS_MODEM_H)) AC_CHECK_HEADER(sys/modem.h, AC_DEFINE(HAVE_SYS_MODEM_H))
AC_CHECK_HEADER(sys/filio.h, AC_DEFINE(HAVE_SYS_FILIO_H)) AC_CHECK_HEADER(sys/filio.h, AC_DEFINE(HAVE_SYS_FILIO_H))
AC_CHECK_HEADER(sys/strtio.h, AC_DEFINE(HAVE_SYS_STRTIO_H)) AC_CHECK_HEADER(sys/strtio.h, AC_DEFINE(HAVE_SYS_STRTIO_H))
AC_CHECK_HEADER(locale.h, AC_DEFINE(HAVE_LOCALE_H))
AC_CHECK_HEADER(langinfo.h, AC_DEFINE(HAVE_LANGINFO_H))
AC_CHECK_HEADER(iconv.h, AC_DEFINE(HAVE_ICONV_H))
rpath="" rpath=""

View File

@ -2,6 +2,7 @@ rdesktop (1.?.?)
* persistent bitmap cache optimisations * persistent bitmap cache optimisations
* support for more RDP-orders (ellipse, polygon) * support for more RDP-orders (ellipse, polygon)
* libao sound-driver (for Mac OSX and others) * libao sound-driver (for Mac OSX and others)
* Unicode support for transmitted strings/filenames
rdesktop (1.4.0) rdesktop (1.4.0)
* Basic disk-, parallel-, printer- and serial-redirection * Basic disk-, parallel-, printer- and serial-redirection

View File

@ -31,9 +31,13 @@
#include "rdesktop.h" #include "rdesktop.h"
#ifdef HAVE_ICONV #ifdef HAVE_ICONV
#ifdef HAVE_LOCALE_H
#include <locale.h> #include <locale.h>
#endif
#ifdef HAVE_LANGINFO_H
#include <langinfo.h> #include <langinfo.h>
#endif #endif
#endif
#ifdef EGD_SOCKET #ifdef EGD_SOCKET
#include <sys/socket.h> /* socket connect */ #include <sys/socket.h> /* socket connect */

2
rdp.c
View File

@ -23,9 +23,11 @@
#include <unistd.h> #include <unistd.h>
#include "rdesktop.h" #include "rdesktop.h"
#ifdef HAVE_ICONV
#ifdef HAVE_ICONV_H #ifdef HAVE_ICONV_H
#include <iconv.h> #include <iconv.h>
#endif #endif
#endif
extern uint16 g_mcs_userid; extern uint16 g_mcs_userid;
extern char g_username[64]; extern char g_username[64];