aboutsummaryrefslogtreecommitdiff
path: root/readline/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'readline/aclocal.m4')
-rw-r--r--readline/aclocal.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/readline/aclocal.m4 b/readline/aclocal.m4
index a87e2dc..35613c2 100644
--- a/readline/aclocal.m4
+++ b/readline/aclocal.m4
@@ -1663,9 +1663,9 @@ fi
AC_SUBST(WCWIDTH_OBJ)
AC_CACHE_CHECK([for mbstate_t], bash_cv_have_mbstate_t,
-[AC_TRY_RUN([
-#include <wchar.h>
-int
+[AC_TRY_LINK(
+[#include <wchar.h>],
+[int
main ()
{
mbstate_t ps;