Commit | Line | Data |
---|---|---|
f6ea5628 | 1 | # memcmp.m4 serial 12 |
4c38e0a4 JB |
2 | dnl Copyright (C) 2002, 2003, 2004, 2007, 2009, 2010 |
3 | Free Software Foundation, Inc. | |
f6ea5628 DJ |
4 | dnl This file is free software; the Free Software Foundation |
5 | dnl gives unlimited permission to copy and/or distribute it, | |
6 | dnl with or without modifications, as long as this notice is preserved. | |
7 | ||
8 | AC_DEFUN([gl_FUNC_MEMCMP], | |
9 | [ | |
10 | AC_FUNC_MEMCMP | |
11 | dnl Note: AC_FUNC_MEMCMP does AC_LIBOBJ(memcmp). | |
12 | if test $ac_cv_func_memcmp_working = no; then | |
13 | AC_DEFINE(memcmp, rpl_memcmp, | |
14 | [Define to rpl_memcmp if the replacement function should be used.]) | |
15 | gl_PREREQ_MEMCMP | |
16 | fi | |
17 | ]) | |
18 | ||
19 | # Prerequisites of lib/memcmp.c. | |
20 | AC_DEFUN([gl_PREREQ_MEMCMP], [:]) |