aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/configure.ac')
-rw-r--r--binutils/configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/binutils/configure.ac b/binutils/configure.ac
index 75ba9d3..93e8a4b 100644
--- a/binutils/configure.ac
+++ b/binutils/configure.ac
@@ -157,7 +157,6 @@ AM_PROG_LEX
ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW"
ZW_GNU_GETTEXT_SISTER_DIR
-AM_PO_SUBDIRS
AM_MAINTAINER_MODE
AM_CONDITIONAL(GENINSRC_NEVER, false)
@@ -202,9 +201,9 @@ GCC_AC_FUNC_MMAP
AC_CHECK_FUNCS(fseeko fseeko64 getc_unlocked mkdtemp mkstemp utimensat utimes)
AC_MSG_CHECKING([for mbstate_t])
-AC_TRY_COMPILE([#include <wchar.h>],
-[mbstate_t teststate;],
-have_mbstate_t=yes, have_mbstate_t=no)
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <wchar.h>]],
+[[mbstate_t teststate;]])],
+[have_mbstate_t=yes],[have_mbstate_t=no])
AC_MSG_RESULT($have_mbstate_t)
if test x"$have_mbstate_t" = xyes; then
AC_DEFINE(HAVE_MBSTATE_T,1,[Define if mbstate_t exists in wchar.h.])