maint: update copyright
[gnulib.git] / m4 / strcspn.m4
index 9565004..08ffdae 100644 (file)
@@ -1,15 +1,12 @@
-# strcspn.m4 serial 2
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# strcspn.m4 serial 4
+dnl Copyright (C) 2002-2003, 2009-2014 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_STRCSPN],
 [
-  AC_REPLACE_FUNCS(strcspn)
-  if test $ac_cv_func_strcspn = no; then
-    gl_PREREQ_STRCSPN
-  fi
+  AC_CHECK_FUNCS([strcspn])
 ])
 
 # Prerequisites of lib/strcspn.c.