Use AC_C_INLINE where necessary.
[gnulib.git] / m4 / mbfile.m4
index e76ae17..939487d 100644 (file)
@@ -1,4 +1,4 @@
-# mbfile.m4 serial 4
+# mbfile.m4 serial 5
 dnl Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,6 +9,7 @@ dnl From Bruno Haible.
 
 AC_DEFUN([gl_MBFILE],
 [
+  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
   dnl The following line is that so the user can test HAVE_MBRTOWC before
   dnl #include "mbfile.h". It can be removed in 2010.