link: Update documentation.
[gnulib.git] / m4 / strsignal.m4
index d71f096..be3c733 100644 (file)
@@ -1,5 +1,5 @@
 # strsignal.m4 serial 3
-dnl Copyright (C) 2008 Free Software Foundation, Inc.
+dnl Copyright (C) 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,
 dnl with or without modifications, as long as this notice is preserved.
@@ -24,17 +24,17 @@ AC_DEFUN([gl_FUNC_STRSIGNAL],
     AC_CACHE_CHECK([whether strsignal always returns a string],
       [gl_cv_func_working_strsignal],
       [AC_RUN_IFELSE(
-        [AC_LANG_PROGRAM(
-           [[#include <string.h>
-           ]],
-           [[char *s = strsignal (-1);
-             return !(s != (char *) 0 && s != (char *) -1);]])],
-        [gl_cv_func_working_strsignal=yes],
-        [gl_cv_func_working_strsignal=no],
-        [case "$host_os" in
-           solaris* | aix*) gl_cv_func_working_strsignal=no;;
-           *)               gl_cv_func_working_strsignal="guessing yes";;
-         esac])])
+         [AC_LANG_PROGRAM(
+            [[#include <string.h>
+            ]],
+            [[char *s = strsignal (-1);
+              return !(s != (char *) 0 && s != (char *) -1);]])],
+         [gl_cv_func_working_strsignal=yes],
+         [gl_cv_func_working_strsignal=no],
+         [case "$host_os" in
+            solaris* | aix*) gl_cv_func_working_strsignal=no;;
+            *)               gl_cv_func_working_strsignal="guessing yes";;
+          esac])])
   else
     gl_cv_func_working_strsignal=no
   fi