Blame SOURCES/autofs-5.1.4-update-build-info-with-systemd.patch

304803
autofs-5.1.4 - update build info with systemd
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
Update the show_build_info() function to include systemd
304803
build info.
304803
304803
Signed-off-by: Ian Kent <raven@themaw.net>
304803
---
304803
 CHANGELOG          |    1 +
304803
 daemon/automount.c |    9 +++++++++
304803
 2 files changed, 10 insertions(+)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -312,6 +312,7 @@
304803
 - fix amd parser opts option handling.
304803
 - fix incorrect locking in sss lookup.
304803
 - add NULL check in prepare_attempt_prefix().
304803
+- update build info with systemd.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/daemon/automount.c
304803
+++ autofs-5.0.7/daemon/automount.c
304803
@@ -1952,6 +1952,15 @@ static void show_build_info(void)
304803
 	}
304803
 #endif
304803
 
304803
+#ifdef WITH_SYSTEMD
304803
+	printf("WITH_SYSTEMD ");
304803
+	count = count + 13;
304803
+
304803
+	if (count > 60) {
304803
+		printf("\n  ");
304803
+		count = 0;
304803
+	}
304803
+#endif
304803
 
304803
 #ifdef WITH_HESIOD
304803
 	printf("WITH_HESIOD ");