From: Yann E. MORIN" Date: Mon, 28 May 2012 17:24:08 +0000 (+0200) Subject: configure: fix no libintl header X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=138bc9fd61d8f01a48bde070afd42249ec119d57;p=kconfig-frontends configure: fix no libintl header Signed-off-by: "Yann E. MORIN" --- diff --git a/configure.ac b/configure.ac index f67dae2..68e0794 100644 --- a/configure.ac +++ b/configure.ac @@ -200,7 +200,7 @@ AC_SUBST([AM_YFLAGS], ["-t -l -p zconf"]) # Check for standard headers AC_HEADER_STDC AC_HEADER_STDBOOL -AC_CHECK_HEADERS([ fcntl.h libintl.h limits.h locale.h ]) +AC_CHECK_HEADERS([ fcntl.h limits.h locale.h ]) AC_CHECK_HEADERS([ stdlib.h string.h sys/time.h unistd.h ]) AC_TYPE_SIZE_T @@ -219,7 +219,8 @@ AC_SUBST([intl_CPPFLAGS]) AC_CHECK_HEADERS( [libintl.h], [ac_ct_gettext_hdr=$ac_header; break], - [AC_MSG_WARN([libintl is missing, frontends will not be localised])]) + [AC_MSG_WARN([libintl is missing, frontends will not be localised]) + intl_CPPFLAGS=-DKBUILD_NO_NLS]) AS_IF( [test -n "$ac_ct_gettext_hdr"], [AC_CHECK_DECL(