summaryrefslogtreecommitdiff
path: root/m4/strcasestr.m4
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-10-07 07:51:31 -0600
committerEric Blake <eblake@redhat.com>2010-10-07 07:51:31 -0600
commitcfc53c2c376af565f1589086d173f45ecedf8cd0 (patch)
tree6f4c53a8090b35e134a157a33e3dbdb4076a4252 /m4/strcasestr.m4
parenta4c6c61e4b224834f9b6a51fce16f3adbe1d982e (diff)
downloadgnulib-cfc53c2c376af565f1589086d173f45ecedf8cd0.tar.gz
cygwin: use more robust version check
* m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE, gl_FUNC_MEMMEM): Don't exclude an eventual cygwin 1.9.1. * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE, gl_FUNC_STRSTR): Likewise. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE) (gl_FUNC_STRCASESTR): Likewise. Reported by Bruno Haible. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'm4/strcasestr.m4')
-rw-r--r--m4/strcasestr.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/strcasestr.m4 b/m4/strcasestr.m4
index f0c4a6eaeb..d17105e6c7 100644
--- a/m4/strcasestr.m4
+++ b/m4/strcasestr.m4
@@ -1,4 +1,4 @@
-# strcasestr.m4 serial 15
+# strcasestr.m4 serial 16
dnl Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -43,7 +43,7 @@ AC_DEFUN([gl_FUNC_STRCASESTR_SIMPLE],
#endif
#elif defined __CYGWIN__
#include <cygwin/version.h>
- #if CYGWIN_VERSION_DLL_MAJOR >= 1007 && CYGWIN_VERSION_DLL_MINOR > 7
+ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
Lucky user
#endif
#else
@@ -112,7 +112,7 @@ static void quit (int sig) { exit (sig + 128); }
#endif
#ifdef __CYGWIN__
#include <cygwin/version.h>
- #if CYGWIN_VERSION_DLL_MAJOR >= 1007 && CYGWIN_VERSION_DLL_MINOR > 7
+ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
Lucky user
#endif
#endif