Rex Dieter f5488f8
From 8070ec2ac51219c462ac05238eab239461c38454 Mon Sep 17 00:00:00 2001
Rex Dieter f5488f8
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Rex Dieter f5488f8
Date: Thu, 7 Jun 2012 16:51:10 +0200
Rex Dieter f5488f8
Subject: [PATCH 4/8] build-sys: fix MKDIR_P for recent automake
Rex Dieter f5488f8
Rex Dieter f5488f8
---
Rex Dieter f5488f8
 avahi-autoipd/Makefile.am | 2 +-
Rex Dieter f5488f8
 avahi-daemon/Makefile.am  | 2 +-
Rex Dieter f5488f8
 configure.ac              | 1 +
Rex Dieter f5488f8
 3 files changed, 3 insertions(+), 2 deletions(-)
Rex Dieter f5488f8
Rex Dieter f5488f8
diff --git a/avahi-autoipd/Makefile.am b/avahi-autoipd/Makefile.am
Rex Dieter f5488f8
index 263e991..56f7a35 100644
Rex Dieter f5488f8
--- a/avahi-autoipd/Makefile.am
Rex Dieter f5488f8
+++ b/avahi-autoipd/Makefile.am
Rex Dieter f5488f8
@@ -76,7 +76,7 @@ dhcliententerdir = $(sysconfdir)/dhcp/dhclient-enter-hooks.d
Rex Dieter f5488f8
 dhclientexitdir = $(sysconfdir)/dhcp/dhclient-exit-hooks.d
Rex Dieter f5488f8
 
Rex Dieter f5488f8
 install-exec-hook: dhclient-exit-hook dhclient-enter-hook
Rex Dieter f5488f8
-	$(mkdir_p) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir)
Rex Dieter f5488f8
+	$(MKDIR_P) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir)
Rex Dieter f5488f8
 	$(INSTALL) dhclient-enter-hook $(DESTDIR)$(dhcliententerdir)/avahi-autoipd
Rex Dieter f5488f8
 	$(INSTALL) dhclient-exit-hook $(DESTDIR)$(dhclientexitdir)/avahi-autoipd
Rex Dieter f5488f8
 
Rex Dieter f5488f8
diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am
Rex Dieter f5488f8
index b5d2bf4..b6b5a77 100644
Rex Dieter f5488f8
--- a/avahi-daemon/Makefile.am
Rex Dieter f5488f8
+++ b/avahi-daemon/Makefile.am
Rex Dieter f5488f8
@@ -169,7 +169,7 @@ xmllint:
Rex Dieter f5488f8
 	done
Rex Dieter f5488f8
 
Rex Dieter f5488f8
 install-data-local:
Rex Dieter f5488f8
-	test -z "$(localstatedir)/run" || $(mkdir_p) "$(DESTDIR)$(localstatedir)/run"
Rex Dieter f5488f8
+	test -z "$(localstatedir)/run" || $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run"
Rex Dieter f5488f8
 
Rex Dieter f5488f8
 update-systemd:
Rex Dieter f5488f8
 	curl http://cgit.freedesktop.org/systemd/plain/src/sd-daemon.c > sd-daemon.c
Rex Dieter f5488f8
diff --git a/configure.ac b/configure.ac
Rex Dieter f5488f8
index 0e190ba..9debce2 100644
Rex Dieter f5488f8
--- a/configure.ac
Rex Dieter f5488f8
+++ b/configure.ac
Rex Dieter f5488f8
@@ -59,6 +59,7 @@ AC_PROG_CXX
Rex Dieter f5488f8
 AM_PROG_CC_C_O
Rex Dieter f5488f8
 AC_USE_SYSTEM_EXTENSIONS
Rex Dieter f5488f8
 AC_PROG_CPP
Rex Dieter f5488f8
+AC_PROG_MKDIR_P
Rex Dieter f5488f8
 AC_PROG_INSTALL
Rex Dieter f5488f8
 AC_PROG_LN_S
Rex Dieter f5488f8
 AC_PROG_MAKE_SET
Rex Dieter f5488f8
-- 
Rex Dieter f5488f8
1.9.3
Rex Dieter f5488f8