Skip to content
Snippets Groups Projects
Commit 93c4e508 authored by chrfranke's avatar chrfranke
Browse files

configure.ac: Print 'deprecated' warning for '--with-signal-func'.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5335 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 78f6ccea
No related branches found
No related tags found
No related merge requests found
$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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment