diff options
author | Colin Watson <cjwatson@debian.org> | 2007-10-14 02:30:15 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-10-14 02:30:15 +0100 |
commit | bd0cd8beb833441f6e542fc77fa54cdbe60dd21f (patch) | |
tree | 44d6256d88aee4cf8484a4f4c416000c95031816 /m4 | |
parent | 574ce5ea90460b65615ce2630916939d9a9200e2 (diff) |
import gnulib fnmatch module
Diffstat (limited to 'm4')
-rw-r--r-- | m4/man-fnmatch.m4 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/m4/man-fnmatch.m4 b/m4/man-fnmatch.m4 deleted file mode 100644 index 72980eb3..00000000 --- a/m4/man-fnmatch.m4 +++ /dev/null @@ -1,28 +0,0 @@ -# man-fnmatch.m4 serial 1 -dnl Check that fnmatch() supports the GNU extension FNM_CASEFOLD. If -dnl cross-compiling, always use our version. -AC_DEFUN([MAN_FUNC_FNMATCH], -[ -AC_CACHE_CHECK([for fnmatch with FNM_CASEFOLD], [man_cv_func_fnmatch], -[AC_RUN_IFELSE( - [AC_LANG_PROGRAM( - [[ -# define _GNU_SOURCE -# include <stdlib.h> -# include <fnmatch.h> - ]], - [[exit (fnmatch ("ABcd", "AbCd", FNM_CASEFOLD) != 0);]] - )], - [man_cv_func_fnmatch=yes], - [man_cv_func_fnmatch=no], - [man_cv_func_fnmatch=no])]) -if test "$man_cv_func_fnmatch" = "yes" -then - AC_DEFINE([HAVE_FNMATCH_H], 1, [Define if using <fnmatch.h> rather than "lib/fnmatch.h".]) - FNMATCH_H= -else - AC_LIBOBJ([fnmatch]) - FNMATCH_H=fnmatch.h -fi -AC_SUBST([FNMATCH_H]) -]) |