]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Delete unused configure macro LSH_FUNC_STRSIGNAL.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 2 Aug 2023 07:11:28 +0000 (09:11 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 2 Aug 2023 07:13:03 +0000 (09:13 +0200)
ChangeLog
aclocal.m4

index 548af4e37b64c9b5c3895b7a2b8510df08d6ad2f..bb3216d830efc456ffd511ee4b718012257971d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
 2023-08-02  Niels Möller  <nisse@lysator.liu.se>
 
        * aclocal.m4 (LSH_FUNC_STRERROR): Delete macro.
-       * configure.ac: Delete usage.
+       (LSH_FUNC_STRSIGNAL): Delete unused macro.
+       * configure.ac: Delete usage of LSH_FUNC_STRERROR.
        * tools/nettle-hash.c (main): Use strerror unconditionally.
        * tools/nettle-pbkdf2.c (main): Likewise.
 
index 08292d9d8d6bb0d5f01d395a908734599a47c1f6..fedf046cb468088bc4ad05c7b485b620117525dd 100644 (file)
@@ -215,28 +215,6 @@ char *alloca ();
 #endif
 ])])
 
-AC_DEFUN([LSH_FUNC_STRSIGNAL],
-[AC_CHECK_FUNCS(strsignal)
-AC_CHECK_DECLS([sys_siglist, _sys_siglist])
-AH_BOTTOM(
-[#if HAVE_STRSIGNAL
-# define STRSIGNAL strsignal
-#else /* !HAVE_STRSIGNAL */
-# if HAVE_DECL_SYS_SIGLIST
-#  define STRSIGNAL(x) (sys_siglist[x])
-# else
-#  if HAVE_DECL__SYS_SIGLIST
-#   define STRSIGNAL(x) (_sys_siglist[x])
-#  else
-#   define STRSIGNAL(x) "Unknown signal"
-#   if __GNUC__
-#    warning Using dummy STRSIGNAL
-#   endif
-#  endif
-# endif
-#endif /* !HAVE_STRSIGNAL */
-])])
-
 dnl LSH_DEPENDENCY_TRACKING
 
 dnl Defines compiler flags DEP_FLAGS to generate dependency