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 | 74b99be3349d214a4aaf8093b6348d660dd2a157 (patch) | |
tree | 72393c7a47ac70092b1c7da65daa069d2cec2514 | |
parent | 08f2b68bfb4e9f495241ed66c7fababfd3f716ad (diff) | |
download | crosstool-ng-74b99be3349d214a4aaf8093b6348d660dd2a157.tar.gz crosstool-ng-74b99be3349d214a4aaf8093b6348d660dd2a157.tar.bz2 crosstool-ng-74b99be3349d214a4aaf8093b6348d660dd2a157.zip |
configure: fix check for gettext
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-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 |