From 04d7a7ef58a3cd99c66a09a965a04951b567e371 Mon Sep 17 00:00:00 2001 From: Diego Petteno Date: Fri, 23 Nov 2007 21:49:05 +0000 Subject: [PATCH] Check for mkdir -p or equivalent, and use that rather than simple mkdir to create the modules, modules/gconf and modules/rtp directories. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2077 fefdeb5f-60dc-0310-8127-8f9354f1896f --- configure.ac | 4 ++++ src/Makefile.am | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 19660f0..c51b4bc 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,10 @@ esac #### Checks for programs. #### +# mkdir -p + +AC_PROG_MKDIR_P + # CC AC_PROG_CC diff --git a/src/Makefile.am b/src/Makefile.am index dc3ba4f..84649c4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1151,9 +1151,9 @@ EXTRA_DIST += $(SYMDEF_FILES) BUILT_SOURCES += $(SYMDEF_FILES) $(SYMDEF_FILES): modules/module-defs.h.m4 - -mkdir modules - -mkdir modules/gconf - -mkdir modules/rtp + $(MKDIR_P) modules + $(MKDIR_P) modules/gconf + $(MKDIR_P) modules/rtp $(M4) -Dfname="$@" $< > $@ # Simple protocol -- 2.7.4