diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-07-31 22:27:29 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-07-31 22:27:29 +0200 |
commit | 52b7a1973eba216a6c8c0f554e78b04b95d946ae (patch) | |
tree | eac24c40535f85e177d26e13a8d2e1fc87ae0005 | |
parent | 67741d5952776f27767a6d6aed08bec3aac4beb6 (diff) | |
download | crosstool-ng-52b7a1973eba216a6c8c0f554e78b04b95d946ae.tar.gz crosstool-ng-52b7a1973eba216a6c8c0f554e78b04b95d946ae.tar.bz2 crosstool-ng-52b7a1973eba216a6c8c0f554e78b04b95d946ae.zip |
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>
-rw-r--r-- | scripts/build/companion_libs/cloog.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/companion_libs/cloog.sh b/scripts/build/companion_libs/cloog.sh index f83aa246..64087824 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 |