summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-02-08 09:55:00 +0000
committerJim Meyering <jim@meyering.net>2005-02-08 09:55:00 +0000
commit243f1932a8ed5cf32596d345b94eaaccf65ccef8 (patch)
treedc54b8f4fc0891e3512deaca0717d6714aa4c79d /m4
parentb99bfaa9f828d35b90c2b579fb7e498975decb04 (diff)
downloadcoreutils-243f1932a8ed5cf32596d345b94eaaccf65ccef8.tar.xz
(gl_FUNC_MEMCASECMP): New file and macro.
Diffstat (limited to 'm4')
-rw-r--r--m4/memcasecmp.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/memcasecmp.m4 b/m4/memcasecmp.m4
new file mode 100644
index 000000000..63343481d
--- /dev/null
+++ b/m4/memcasecmp.m4
@@ -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
+])