]> Raphaƫl G. Git Repositories - ihttpd/blob - SOURCES/httpd-2.4.10-detect-systemd.patch
Fix patch macros
[ihttpd] / SOURCES / httpd-2.4.10-detect-systemd.patch
1 --- httpd-2.4.46/acinclude.m4.detectsystemd 2020-08-07 22:51:40.475205331 +0300
2 +++ httpd-2.4.46/acinclude.m4 2020-08-07 22:54:08.828106207 +0300
3 @@ -616,7 +616,7 @@
4 elif test -n "$PKGCONFIG" && $PKGCONFIG --exists libsystemd-daemon; then
5 SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd-daemon`
6 else
7 - AC_CHECK_LIB(systemd-daemon, sd_notify, SYSTEMD_LIBS="-lsystemd-daemon")
8 + AC_CHECK_LIB(systemd, sd_notify, SYSTEMD_LIBS="-lsystemd")
9 fi
10 if test -n "$SYSTEMD_LIBS"; then
11 AC_CHECK_HEADERS(systemd/sd-daemon.h)