]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Undo latest change; I was confused about xgettext versus gcc.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Aug 2006 22:52:57 +0000 (22:52 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Aug 2006 22:52:57 +0000 (22:52 +0000)
Makefile.maint

index b84d54ef048372828aa931b37550ace25bd78ad5..38d775fd03a1bbd015cd10d5ad14a2b979b27e47 100644 (file)
@@ -447,7 +447,9 @@ null_AM_MAKEFLAGS = \
   AUTOHEADER=false \
   MAKEINFO=false
 
-# Building with CFLAGS='-Wformat -Werror' causes any format warning to be
+# Detect format-string/arg-list mismatches that would normally be obscured
+# by the use of _().  The --disable-nls effectively defines away that macro,
+# and building with CFLAGS='-Wformat -Werror' causes any format warning to be
 # treated as a failure.  Also, check for shadowing problems with -Wshadow,
 # and for pointer arithmetic problems with -Wpointer-arith.
 # These CFLAGS are pretty strict.  If you build this target, you probably
@@ -459,7 +461,7 @@ my-distcheck: $(local-check) $(release_archive_dir)/$(prev-tgz)
        mkdir -p $(t)
        GZIP=$(GZIP_ENV) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz
        cd $(t)/$(distdir)                              \
-         && ./configure                                \
+         && ./configure --disable-nls                  \
          && $(MAKE) CFLAGS='-Werror -Wall -Wformat -Wshadow -Wpointer-arith' \
              AM_MAKEFLAGS='$(null_AM_MAKEFLAGS)'       \
          && $(MAKE) dvi                                \