Revision 597 configure.in

configure.in (revision 597)
307 307
AC_HEADER_SYS_WAIT
308 308
AC_CHECK_HEADERS(fcntl.h sys/file.h unistd.h paths.h \
309 309
		 sys/param.h sys/utsname.h sys/select.h \
310
		 wchar.h wctype.h \
311 310
		 netdb.h regex.h)
312 311

  
313 312
dnl Checks for typedefs, structures, and compiler characteristics.
......
320 319
AC_SYS_LARGEFILE
321 320
AC_FUNC_FSEEKO
322 321

  
323
dnl AC_CHECK_TYPE(wint_t, unsigned int) does not work because wint_t
324
dnl may be defined only in wchar.h (this happens with gcc-2.96).
325
dnl So we need to use this extended macro.
326
SYLPHEED_CHECK_TYPE(wint_t, unsigned int,
327
[
328
#if HAVE_WCHAR_H
329
#include <wchar.h>
330
#endif
331
], Define to `unsigned int' if <stddef.h> or <wchar.h> doesn't define.)
332

  
333 322
GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF, Used to test for a u32 typedef)
334 323
AC_CHECK_SIZEOF(unsigned short, 2)
335 324
AC_CHECK_SIZEOF(unsigned int, 4)
......
338 327
dnl Checks for library functions.
339 328
AC_FUNC_ALLOCA
340 329
AC_CHECK_FUNCS(gethostname mkdir mktime socket strstr strchr \
341
	       wcsstr wcswcs iswalnum iswspace towlower \
342
	       wcslen wcscpy wcsncpy \
343 330
	       uname flock lockf inet_aton inet_addr \
344 331
	       fchmod mkstemp truncate getuid regcomp)
345 332

  

Also available in: Unified diff