From: Diego Petteno Date: Fri, 23 Nov 2007 21:49:05 +0000 (+0000) Subject: Check for mkdir -p or equivalent, and use that rather than simple mkdir to create... X-Git-Tag: submit/2.0-panda/20130828.192557~3023 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04d7a7ef58a3cd99c66a09a965a04951b567e371;p=profile%2Fivi%2Fpulseaudio-panda.git 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 --- 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