From 74b99be3349d214a4aaf8093b6348d660dd2a157 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 8 May 2012 12:15:37 +0200 Subject: [PATCH] configure: fix check for gettext Signed-off-by: "Yann E. MORIN" --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ef232d08..9c4fa983 100644 --- a/configure.ac +++ b/configure.ac @@ -266,8 +266,10 @@ AC_CHECK_HEADERS( AS_IF( [test -n "$ac_ct_gettext_hdr"], [AC_CHECK_DECL( - [gettext],gettext=y,, - [#include <$ac_ct_gettext_hdr>])]) + [gettext], + [gettext=y],, + [AC_INCLUDES_DEFAULT() + #include <$ac_ct_gettext_hdr>])]) #---------------------------------------- # Check for ncurses, for the kconfig frontends