(x)memcoll: speedup when input is known to be NUL delimited
[pspp] / m4 / memcoll.m4
index 6f73412878bc70c8a71a2e35299104f35d601196..0edf30ca42b399a93bc98973d57d31e09ff99098 100644 (file)
@@ -1,15 +1,15 @@
-# memcoll.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2005 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_LIBSOURCES([memcoll.c, memcoll.h])
+  AC_REQUIRE([AC_C_INLINE])
   AC_LIBOBJ([memcoll])
 
   dnl Prerequisites of lib/memcoll.c.
-  AC_REQUIRE([AC_FUNC_MEMCMP])
   AC_FUNC_STRCOLL
 ])