* 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
@@ -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