bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] rpmatch patch to assume C89 or better


From: Paul Eggert
Subject: [Bug-gnulib] rpmatch patch to assume C89 or better
Date: 09 Sep 2003 23:47:47 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

I installed this:

2003-09-09  Paul Eggert  <address@hidden>

        * rpmatch.c: Include <stdlib.h> unconditionally.
        * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.

Index: lib/rpmatch.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/rpmatch.c,v
retrieving revision 1.16
diff -p -u -r1.16 rpmatch.c
--- lib/rpmatch.c       29 May 2003 07:21:59 -0000      1.16
+++ lib/rpmatch.c       10 Sep 2003 06:44:05 -0000
@@ -21,9 +21,7 @@
 #endif
 
 #include <stddef.h>
-#if STDC_HEADERS || _LIBC
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
 
 #if ENABLE_NLS
 # include <sys/types.h>
Index: m4/rpmatch.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/rpmatch.m4,v
retrieving revision 1.3
diff -p -u -r1.3 rpmatch.m4
--- m4/rpmatch.m4       17 Aug 2003 00:15:43 -0000      1.3
+++ m4/rpmatch.m4       10 Sep 2003 06:44:05 -0000
@@ -1,4 +1,4 @@
-# rpmatch.m4 serial 3
+# rpmatch.m4 serial 4
 dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -15,8 +15,4 @@ AC_DEFUN([gl_FUNC_RPMATCH],
 ])
 
 # Prerequisites of lib/rpmatch.c.
-AC_DEFUN([gl_PREREQ_RPMATCH], [
-  AC_REQUIRE([AC_HEADER_STDC])
-  :
-])
-
+AC_DEFUN([gl_PREREQ_RPMATCH], [:])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]