unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 11207@debbugs.gnu.org
Subject: bug#11207: configure: new option --enable-gcc-warnings
Date: Sat, 21 Apr 2012 10:19:46 -0700	[thread overview]
Message-ID: <4F92EC32.9040407@cs.ucla.edu> (raw)
In-Reply-To: <m2d371qzlb.fsf@linux-m68k.org>

On 04/21/2012 01:05 AM, Andreas Schwab wrote:
> You didn't regenerate m4/gl-comp.m4, which caused bug 11285.

Thanks for fixing that.  Odd; the code worked for me
without that change.  Maybe because I used a newer
version of autoconf?

Anyway I installed this further patch as a minor further cleanup,
as bzr 107986:

=== modified file 'ChangeLog'
--- ChangeLog	2012-04-21 08:03:41 +0000
+++ ChangeLog	2012-04-21 17:15:03 +0000
@@ -1,3 +1,12 @@
+2012-04-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+	Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc
+	dated 2011-10-07.  Regenerating from current gnulib would be a
+	pervasive change, and currently the trunk isn't open to such changes.
+	* configure.in (WARN_CFLAGS): Remove; no longer needed now
+	that gnulib does it.
+	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
+
 2012-04-21  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* m4/gl-comp.m4: Update.  (Bug#11285)

=== modified file 'configure.in'
--- configure.in	2012-04-20 08:48:50 +0000
+++ configure.in	2012-04-21 17:15:03 +0000
@@ -787,8 +787,6 @@
   gl_WARN_ADD([-fdiagnostics-show-option])
   gl_WARN_ADD([-funit-at-a-time])
 
-  AC_SUBST([WARN_CFLAGS])
-
   AC_DEFINE([lint], [1], [Define to 1 if the compiler is checking for lint.])
   AC_DEFINE([_FORTIFY_SOURCE], [2],
     [enable compile-time and run-time bounds-checking, and some warnings])

=== modified file 'lib/gnulib.mk'
--- lib/gnulib.mk	2012-02-01 06:04:34 +0000
+++ lib/gnulib.mk	2012-04-21 17:15:03 +0000
@@ -21,7 +21,7 @@
 # the same distribution terms as the rest of that program.
 #
 # Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat manywarnings mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat warnings
 
 
 MOSTLYCLEANFILES += core *.stackdump

=== modified file 'm4/gl-comp.m4'
--- m4/gl-comp.m4	2012-04-21 08:03:41 +0000
+++ m4/gl-comp.m4	2012-04-21 17:15:03 +0000
@@ -1,5 +1,5 @@
 # DO NOT EDIT! GENERATED AUTOMATICALLY!
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2011 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -62,6 +62,7 @@
   # Code from module largefile:
   AC_REQUIRE([AC_SYS_LARGEFILE])
   # Code from module lstat:
+  # Code from module manywarnings:
   # Code from module mktime:
   # Code from module multiarch:
   # Code from module nocrash:
@@ -100,6 +101,7 @@
   # Code from module u64:
   # Code from module unistd:
   # Code from module verify:
+  # Code from module warnings:
 ])
 
 # This macro should be invoked from ./configure.in, in the section
@@ -216,6 +218,7 @@
 gl_TIME_MODULE_INDICATOR([time_r])
 AC_REQUIRE([AC_C_INLINE])
 gl_UNISTD_H
+AC_SUBST([WARN_CFLAGS])
   gl_gnulib_enabled_dosname=false
   gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36=false
   gl_gnulib_enabled_pathmax=false






  reply	other threads:[~2012-04-21 17:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09  7:58 bug#11207: configure: new option --enable-gcc-warnings Paul Eggert
     [not found] ` <handler.11207.B.133395836426694.ack@debbugs.gnu.org>
2012-04-18 17:19   ` bug#11207: Acknowledgement (configure: new option --enable-gcc-warnings) Paul Eggert
2012-04-21  8:05 ` bug#11207: configure: new option --enable-gcc-warnings Andreas Schwab
2012-04-21 17:19   ` Paul Eggert [this message]
2012-04-21 19:37     ` Andreas Schwab
2012-04-21 21:13       ` Paul Eggert
2012-07-03 19:37 ` Glenn Morris
2012-07-04  0:37   ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F92EC32.9040407@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=11207@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).