]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 21 Feb 2012 14:26:16 +0000 (15:26 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 21 Feb 2012 14:26:16 +0000 (15:26 +0100)
ChangeLog
configure.ac

index 20499d7196fb741506cd8764e4496b8032965f2b..4854630eda147bcd5d8059ee5939c50c5442597a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index e70064f75fe461678bb50bf7b50b8d2d73e523ac..8535c9a341228e69f7cef6fb65214f51e34181f3 100644 (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