diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog index ce9dcdfccea7a6eb55fdcc86ff27dc7d7c0f015a..62379726a17d99065aa652009a6b1bbac7cd5974 100644 --- a/smartmontools/ChangeLog +++ b/smartmontools/ChangeLog @@ -1,5 +1,9 @@ $Id$ +2022-02-26 Christian Franke <franke@computer.org> + + configure.ac: Print 'deprecated' warning for '--with-signal-func'. + 2022-02-25 Douglas Gilbert <dgilbert@interlog.com> NEWS: update for changes in previous commit diff --git a/smartmontools/configure.ac b/smartmontools/configure.ac index deddb0582e867e58fefef33815fe76ed6d7d7fd0..8279e0a71589a4cec840f2bf530d3e3830dddc77 100644 --- a/smartmontools/configure.ac +++ b/smartmontools/configure.ac @@ -421,6 +421,7 @@ available in the SVN repository.]) ;; esac +# TODO: Remove after smartmontools 7.4 AC_ARG_WITH(signal-func, [AS_HELP_STRING([--with-signal-func=@<:@sigaction|sigset|signal@:>@], [Function to set signal(2) action [sigaction]])], @@ -1009,6 +1010,16 @@ still needed, please inform $PACKAGE_BUGREPORT. ]) fi +# TODO: Remove after smartmontools 7.4 +case "$host:$with_signal_func" in + *-*-mingw*:*|*:sigaction) ;; + *) AC_MSG_WARN([ +The option '--with-signal-func=$with_signal_func' is deprecated and will be +removed in a future version of smartmontools. If this option is +still needed, please inform $PACKAGE_BUGREPORT. +]) ;; +esac + case "$host_os:$with_libsystemd:$use_libsystemd:$PKG_CONFIG" in linux*:auto:no:?*) if $PKG_CONFIG systemd >/dev/null 2>&1; then