diff --git a/configure.ac b/configure.ac index b75f9c644..44d305608 100644 --- a/configure.ac +++ b/configure.ac @@ -715,7 +715,7 @@ oLIBS="$LIBS" LIBS="$LIBS $GDK_WLIBS" # The following is necessary for Linux libc-5.4.38 AC_MSG_CHECKING(if iswalnum() and friends are properly defined) -AC_TRY_LINK([#include ],[ +AC_TRY_LINK([#include #if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H)) # ifdef HAVE_WCTYPE_H # include @@ -726,7 +726,7 @@ AC_TRY_LINK([#include ],[ # endif #else # define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c)) -#endif +#endif],[ iswalnum((wchar_t) 0); ], gdk_working_wctype=yes, gdk_working_wctype=no) LIBS="$oLIBS"