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

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