* configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-21 15:26:16 +01:00
parent ac96441c81
commit aad32b1402
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-02-21 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.
2012-02-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
* util/grub-mkconfig.in (GRUB_CMDLINE_GNUMACH): Export variable.

View file

@ -290,6 +290,10 @@ if test x$grub_cv_apple_cc = xyes ; then
HOST_CFLAGS="$HOST_CFLAGS -fnested-functions"
fi
if test x$USE_NLS = xno; then
HOST_CFLAGS="$HOST_CFLAGS -fno-builtin-gettext"
fi
if test "x$cross_compiling" = xyes; then
AC_MSG_WARN([cannot generate manual pages while cross compiling])
else