summaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-07-31 20:27:29 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-07-31 20:27:29 (GMT)
commit52b7a1973eba216a6c8c0f554e78b04b95d946ae (patch)
treeeac24c40535f85e177d26e13a8d2e1fc87ae0005 /scripts/build/companion_libs
parent67741d5952776f27767a6d6aed08bec3aac4beb6 (diff)
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>
Diffstat (limited to 'scripts/build/companion_libs')
-rw-r--r--scripts/build/companion_libs/cloog.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/companion_libs/cloog.sh b/scripts/build/companion_libs/cloog.sh
index f83aa24..6408782 100644
--- a/scripts/build/companion_libs/cloog.sh
+++ b/scripts/build/companion_libs/cloog.sh
@@ -27,6 +27,9 @@ do_cloog_extract() {
CT_Extract "cloog-ppl-${CT_CLOOG_VERSION}"
CT_Patch "cloog-ppl" "${CT_CLOOG_VERSION}"
+ # Help the autostuff in case it thinks there are things to regenerate...
+ CT_DoExecLog DEBUG mkdir -p "${CT_SRC_DIR}/cloog-ppl-${CT_CLOOG_VERSION}/m4"
+
if [ "${CT_CLOOG_NEEDS_AUTORECONF}" = "y" ]; then
CT_Pushd "${CT_SRC_DIR}/cloog-ppl-${CT_CLOOG_VERSION}"
CT_DoExecLog CFG ./autogen.sh