From 06834930632cc2997f3cea770fa7a8931f3fa5ed Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 8 Feb 2011 16:41:18 +0100 Subject: build-sys: make libatasmart easily cross-compilable Pick up the AX_CC_FOR_BUILD macro from autoconf-archive (improved, going to be sent there soon), then use that one to find the host's compiler. Build the strpool in a different directory, since you cannot override CC and other variables on a per-target basis yet. While this adds recursivity to the build system is the best hope you have to properly solve the cross-compilation. Update .gitignore accordingly to the above changes, and make sure bootstrap.sh search macro files in the m4 directory. --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 918814d..2bd8c1e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -54,7 +54,7 @@ else mkdir -p m4 "$LIBTOOLIZE" -c --force - run_versioned aclocal "$VERSION" + run_versioned aclocal "$VERSION" -I m4 run_versioned autoconf 2.63 -Wall run_versioned autoheader 2.63 run_versioned automake "$VERSION" --copy --foreign --add-missing -- cgit