(x)memcoll: speedup when input is known to be NUL delimited
[pspp] / m4 / memcoll.m4
index 79608eea4a2d3f1bf582f477a7ecf478c2c55117..0edf30ca42b399a93bc98973d57d31e09ff99098 100644 (file)
@@ -1,12 +1,15 @@
-# memcoll.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memcoll.m4 serial 7
+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2010 Free Software Foundation,
+dnl 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_MEMCOLL],
 [
+  AC_REQUIRE([AC_C_INLINE])
+  AC_LIBOBJ([memcoll])
+
   dnl Prerequisites of lib/memcoll.c.
-  AC_REQUIRE([AC_FUNC_MEMCMP])
   AC_FUNC_STRCOLL
 ])