diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-08 12:15:37 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-08 12:15:37 +0200 |
commit | 71d33dff6aabd481355019187060e653f4183450 (patch) | |
tree | 7f5fb00ff352bb865bfa539c0f2cdee7df2a863a | |
parent | f1d6a5cca1a2d21dc5a78d806628625ae0fe6914 (diff) | |
download | crosstool-ng-71d33dff6aabd481355019187060e653f4183450.tar.gz crosstool-ng-71d33dff6aabd481355019187060e653f4183450.tar.bz2 crosstool-ng-71d33dff6aabd481355019187060e653f4183450.zip |
configure: fix check for gettext
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from dc2943c987756c9bd928c1989843d4beb8cfc184)
-rw-r--r-- | configure.ac | 6 |
1 files 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 |