20 lines
658 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -194,7 +194,7 @@ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#
  4. ]
  5. )
  6. AC_MSG_CHECKING([for wcsrtombs])
  7. -AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
  8. +AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
  9. #include <string.h>]],
  10. [[
  11. mbstate_t st;
  12. @@ -216,7 +216,7 @@ else
  13. ]
  14. )
  15. AC_MSG_CHECKING([for mbsrtowcs])
  16. -AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
  17. +AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
  18. #include <string.h>]],
  19. [[
  20. mbstate_t st;