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

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-02-21 15:26:16 +01:00
1 parent ac96441c81
commit aad32b1402
2 files changed
+8

No files matched your search

+4
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> 2012-02-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
* util/grub-mkconfig.in (GRUB_CMDLINE_GNUMACH): Export variable. * util/grub-mkconfig.in (GRUB_CMDLINE_GNUMACH): Export variable.
+4
View File
@@ -290,6 +290,10 @@ if test x$grub_cv_apple_cc = xyes ; then
HOST_CFLAGS="$HOST_CFLAGS -fnested-functions" HOST_CFLAGS="$HOST_CFLAGS -fnested-functions"
fi fi
if test x$USE_NLS = xno; then
HOST_CFLAGS="$HOST_CFLAGS -fno-builtin-gettext"
fi
if test "x$cross_compiling" = xyes; then if test "x$cross_compiling" = xyes; then
AC_MSG_WARN([cannot generate manual pages while cross compiling]) AC_MSG_WARN([cannot generate manual pages while cross compiling])
else else