]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gl_FUNC_MEMCASECMP): New file and macro.
authorJim Meyering <jim@meyering.net>
Tue, 8 Feb 2005 09:55:00 +0000 (09:55 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 8 Feb 2005 09:55:00 +0000 (09:55 +0000)
m4/memcasecmp.m4 [new file with mode: 0644]

diff --git a/m4/memcasecmp.m4 b/m4/memcasecmp.m4
new file mode 100644 (file)
index 0000000..6334348
--- /dev/null
@@ -0,0 +1,17 @@
+#serial 1
+dnl Copyright (C) 2005 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_FUNC_MEMCASECMP],
+[
+  AC_LIBSOURCES([memcasecmp.c, memcasecmp.h])
+  AC_LIBOBJ([memcasecmp])
+
+  dnl prerequisites
+  AC_HEADER_STDC
+  AC_CHECK_HEADERS([stddef.h])
+  AC_C_CONST
+  AC_TYPE_SIZE_T
+])