Remove m4/warning.m4.
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 11 Nov 2008 12:31:31 +0000 (13:31 +0100)
committerPaolo Bonzini <bonzini@gnu.org>
Tue, 11 Nov 2008 12:31:31 +0000 (13:31 +0100)
2008-11-11  Paolo Bonzini  <bonzini@gnu.org>

* m4/warning.m4: Remove.

ChangeLog
NEWS
m4/warning.m4 [deleted file]

index 33c3b92..70ed1bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-11-11  Paolo Bonzini  <bonzini@gnu.org>
 
+       * m4/warning.m4: Remove.
+
+2008-11-11  Paolo Bonzini  <bonzini@gnu.org>
+
        * m4/warnings.m4: Almost complete rewrite. :-)
 
 2008-11-10  Simon Josefsson  <simon@josefsson.org>
diff --git a/NEWS b/NEWS
index 0602705..45c23ce 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2008-11-11  warnings        This module subsumes the file m4/warning.m4 which
+                            was removed.
+
 2008-10-20  lstat           The include file is changed from "lstat.h" to
                             <sys/stat.h>.
 
diff --git a/m4/warning.m4 b/m4/warning.m4
deleted file mode 100644 (file)
index db74561..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# serial 4
-# Find valid warning flags for the C Compiler.           -*-Autoconf-*-
-
-# Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# Written by Jesse Thilo.
-
-AC_DEFUN([gl_WARNING_CFLAGS],
-  [AC_MSG_CHECKING(whether compiler accepts $1)
-   AC_SUBST(WARNING_CFLAGS)
-   ac_save_CFLAGS="$CFLAGS"
-   CFLAGS="$CFLAGS $1"
-   AC_TRY_COMPILE(,
-    [int x;],
-    WARNING_CFLAGS="$WARNING_CFLAGS $1"
-    AC_MSG_RESULT(yes),
-    AC_MSG_RESULT(no))
-  CFLAGS="$ac_save_CFLAGS"
- ])