changeset 17351:6fbd3d9c1853

sys_types: Avoid autoconf warning about gl_SYS_TYPES_H. * m4/sys_types_h.m4 (gl_SYS_TYPES_H): Define through AC_DEFUN_ONCE.
author Bruno Haible <bruno@clisp.org>
date Sat, 02 Mar 2013 17:31:42 +0100
parents 8470f1956402
children 2dce3f29b1f5
files ChangeLog m4/sys_types_h.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-02  Bruno Haible  <bruno@clisp.org>
+
+	sys_types: Avoid autoconf warning about gl_SYS_TYPES_H.
+	* m4/sys_types_h.m4 (gl_SYS_TYPES_H): Define through AC_DEFUN_ONCE.
+
 2013-03-02  Bruno Haible  <bruno@clisp.org>
 
 	gettext: Update to version 0.18.2.
--- a/m4/sys_types_h.m4
+++ b/m4/sys_types_h.m4
@@ -1,10 +1,10 @@
-# sys_types_h.m4 serial 4
+# sys_types_h.m4 serial 5
 dnl Copyright (C) 2011-2013 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-AC_DEFUN([gl_SYS_TYPES_H],
+AC_DEFUN_ONCE([gl_SYS_TYPES_H],
 [
   AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS])
   gl_NEXT_HEADERS([sys/types.h])