Blob Blame History Raw
diff -Naur ypbind-mt-1.38.orig/configure.ac ypbind-mt-1.38/configure.ac
--- ypbind-mt-1.38.orig/configure.ac	2014-10-20 12:20:33.000000000 +0200
+++ ypbind-mt-1.38/configure.ac	2016-11-23 18:15:58.473713436 +0100
@@ -44,6 +44,7 @@
 AC_CHECK_LIB(socket, bind)
 AC_CHECK_LIB(pthread, pthread_create)
 
+AC_CHECK_HEADERS([systemd/sd-daemon.h])
 PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209], [USE_SD_NOTIFY=1], [USE_SD_NOTIFY=0])
 AC_SUBST(USE_SD_NOTIFY)
 
@@ -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