changeset 10791:a4eb9ce2e778

Remove m4/warning.m4. 2008-11-11 Paolo Bonzini <bonzini@gnu.org> * m4/warning.m4: Remove.
author Paolo Bonzini <bonzini@gnu.org>
date Tue, 11 Nov 2008 13:31:31 +0100
parents 8e910025bd67
children 0d9e838c523c
files ChangeLog NEWS m4/warning.m4
diffstat 3 files changed, 7 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Nov 11 12:01:34 2008 +0100
+++ b/ChangeLog	Tue Nov 11 13:31:31 2008 +0100
@@ -1,3 +1,7 @@
+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. :-)
--- a/NEWS	Tue Nov 11 12:01:34 2008 +0100
+++ b/NEWS	Tue Nov 11 13:31:31 2008 +0100
@@ -6,6 +6,9 @@
 
 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>.
 
--- a/m4/warning.m4	Tue Nov 11 12:01:34 2008 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -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"
- ])