1 --- a/configure.in 2008-04-15 12:56:35.000000000 +0300
2 +++ b/configure.in.old 2008-03-20 21:17:09.000000000 +0200
5 AC_CACHE_CHECK(for compiler -fshort-wchar option,
6 ac_cv_have_usable_wchar_option_v2,
7 - [AC_TRY_LINK([#include <stddef.h>
8 + [AC_TRY_COMPILE([#include <stddef.h>
9 $configure_static_assert_macros],
10 [CONFIGURE_STATIC_ASSERT(sizeof(wchar_t) == 2);
11 CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0)],