ypbind/ypbind-systemdso.patch

23 lines
767 B
Diff

diff -ru a/configure.ac b/configure.ac
--- a/configure.ac 2014-10-21 17:37:20.526628827 +0200
+++ b/configure.ac 2014-10-21 17:51:39.649362686 +0200
@@ -44,7 +44,8 @@
AC_CHECK_LIB(socket, bind)
AC_CHECK_LIB(pthread, pthread_create)
-PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209], [USE_SD_NOTIFY=1], [USE_SD_NOTIFY=0])
+PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209] [libsystemd-daemon >= 209], [USE_SD_NOTIFY=1], [USE_SD_NOTIFY=0])
+
AC_SUBST(USE_SD_NOTIFY)
AC_ARG_ENABLE([dbus-nm],
@@ -105,7 +106,7 @@
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
dnl internationalization macros
-AM_GNU_GETTEXT_VERSION
+AM_GNU_GETTEXT_VERSION(0.19)
AM_GNU_GETTEXT([external])
dnl By default, don't send a ping to all server at the same time