summaryrefslogtreecommitdiff
path: root/m4/strcase.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/strcase.m4')
-rw-r--r--m4/strcase.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/strcase.m4 b/m4/strcase.m4
index bcb969e996..f8275d9af3 100644
--- a/m4/strcase.m4
+++ b/m4/strcase.m4
@@ -1,4 +1,4 @@
-# strcase.m4 serial 5
+# strcase.m4 serial 6
dnl Copyright (C) 2002, 2005-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -12,15 +12,17 @@ AC_DEFUN([gl_STRCASE],
AC_DEFUN([gl_FUNC_STRCASECMP],
[
+ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
dnl No known system has a strcasecmp() function that works correctly in
dnl multibyte locales. Therefore we use our version always.
AC_LIBOBJ(strcasecmp)
- gl_PREREQ_STRCASECMP
REPLACE_STRCASECMP=1
+ gl_PREREQ_STRCASECMP
])
AC_DEFUN([gl_FUNC_STRNCASECMP],
[
+ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
AC_REPLACE_FUNCS(strncasecmp)
if test $ac_cv_func_strncasecmp = no; then
gl_PREREQ_STRNCASECMP