changeset 9072:afbf42785753

wcwidth.h no longer needs 'inline'.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 Jul 2007 20:05:36 +0000
parents ee2dc6c88b11
children eff03f4ce262
files ChangeLog m4/wcwidth.m4
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,7 @@
 	* lib/wcwidth.h: Don't include wctype.h. Replace inline function
 	definition with an external declaration.
 	* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Use wcwidth.c when wcwidth is not
-	defined as a function.
+	defined as a function. Remove AC_C_INLINE requirement.
 	* modules/wcwidth (Files): Add lib/wcwidth.c.
 	(Makefile.am): Remove redundant statement.
 
--- a/m4/wcwidth.m4
+++ b/m4/wcwidth.m4
@@ -9,7 +9,6 @@
   dnl Persuade glibc <wchar.h> to declare wcwidth().
   AC_REQUIRE([AC_GNU_SOURCE])
 
-  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([gt_TYPE_WCHAR_T])
   AC_REQUIRE([gt_TYPE_WINT_T])