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( AS_IF(
[test -n "$ac_ct_gettext_hdr"], [test -n "$ac_ct_gettext_hdr"],
[AC_CHECK_DECL( [AC_CHECK_DECL(
[gettext],gettext=y,, [gettext],
[#include <$ac_ct_gettext_hdr>])]) [gettext=y],,
[AC_INCLUDES_DEFAULT()
#include <$ac_ct_gettext_hdr>])])
#---------------------------------------- #----------------------------------------
# Check for ncurses, for the kconfig frontends # Check for ncurses, for the kconfig frontends