configure: fix check for gettext

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Yann E. MORIN" 2012-05-08 12:15:37 +02:00
parent 08f2b68bfb
commit 74b99be334

View File

@ -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