complibs/cloog: create missing m4 dir
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 22:27:29 2012 +0200 (2012-07-31)
changeset 30187776e8369284
parent 3017 1175e884f5cf
child 3019 6f23aba03281
complibs/cloog: create missing m4 dir

Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/build/companion_libs/cloog.sh
     1.1 --- a/scripts/build/companion_libs/cloog.sh	Mon Jul 23 14:06:25 2012 +0200
     1.2 +++ b/scripts/build/companion_libs/cloog.sh	Tue Jul 31 22:27:29 2012 +0200
     1.3 @@ -27,6 +27,9 @@
     1.4      CT_Extract "cloog-ppl-${CT_CLOOG_VERSION}"
     1.5      CT_Patch "cloog-ppl" "${CT_CLOOG_VERSION}"
     1.6  
     1.7 +    # Help the autostuff in case it thinks there are things to regenerate...
     1.8 +    CT_DoExecLog DEBUG mkdir -p "${CT_SRC_DIR}/cloog-ppl-${CT_CLOOG_VERSION}/m4"
     1.9 +
    1.10      if [ "${CT_CLOOG_NEEDS_AUTORECONF}" = "y" ]; then
    1.11          CT_Pushd "${CT_SRC_DIR}/cloog-ppl-${CT_CLOOG_VERSION}"
    1.12          CT_DoExecLog CFG ./autogen.sh