build: rename --with-suspend-resume to --with-systemd-suspend-resume
And only define WITH_SYSTEMD_SUSPEND_RESUME when enabled. We already have other systemd specific features under the --with-systemd-* name scheme, so consolidate that, given that we don't have any other method to support suspend/resume notifications.
This commit is contained in:
+1
-1
@@ -354,7 +354,7 @@ ModemManager_SOURCES += mm-auth-provider-polkit.h mm-auth-provider-polkit.c
|
||||
endif
|
||||
|
||||
# Additional suspend/resume support via systemd
|
||||
if SUSPEND_RESUME_SYSTEMD
|
||||
if WITH_SYSTEMD_SUSPEND_RESUME
|
||||
ModemManager_SOURCES += mm-sleep-monitor.h mm-sleep-monitor.c
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user