Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / m4 / sig2str.m4
index 0498928..69ec37f 100644 (file)
@@ -1,16 +1,12 @@
-# serial 6
-dnl Copyright (C) 2002, 2005-2006, 2009-2010 Free Software Foundation, Inc.
+# serial 7
+dnl Copyright (C) 2002, 2005-2006, 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_SIG2STR],
 [
-
-  AC_REPLACE_FUNCS([sig2str])
-  if test $ac_cv_func_sig2str = no; then
-    gl_PREREQ_SIG2STR
-  fi
+  AC_CHECK_FUNCS([sig2str])
 ])
 
 # Prerequisites of lib/sig2str.c.