configure: fix check for gettext 1.15
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Tue May 08 12:15:37 2012 +0200 (2012-05-08)
branch1.15
changeset 2968595a11dcaa1a
parent 2965 11b93b849695
child 2969 149b81808586
configure: fix check for gettext

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from dc2943c987756c9bd928c1989843d4beb8cfc184)
configure.ac
     1.1 --- a/configure.ac	Tue May 08 18:31:10 2012 +0200
     1.2 +++ b/configure.ac	Tue May 08 12:15:37 2012 +0200
     1.3 @@ -266,8 +266,10 @@
     1.4  AS_IF(
     1.5      [test -n "$ac_ct_gettext_hdr"],
     1.6      [AC_CHECK_DECL(
     1.7 -        [gettext],gettext=y,,
     1.8 -        [#include <$ac_ct_gettext_hdr>])])
     1.9 +        [gettext],
    1.10 +        [gettext=y],,
    1.11 +        [AC_INCLUDES_DEFAULT()
    1.12 +         #include <$ac_ct_gettext_hdr>])])
    1.13  
    1.14  #----------------------------------------
    1.15  # Check for ncurses, for the kconfig frontends