[cogl/cogl-1.8] mingw-fetch-dependencies: Download config.guess and explicitly run it
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.8] mingw-fetch-dependencies: Download config.guess and explicitly run it
- Date: Mon, 17 Oct 2011 13:22:01 +0000 (UTC)
commit 5dc8e28770f6db364ffe0ae2ab9b67293de66464
Author: Neil Roberts <neil linux intel com>
Date: Wed Sep 21 12:04:05 2011 +0100
mingw-fetch-dependencies: Download config.guess and explicitly run it
Previously the instructions were telling the developer to run
./build/config.guess to get the build name to pass to
configure. However that file only exists after running automake so
it's a bit awkward. This patch makes it download config.guess from the
gitweb for automake and just explicitly run it.
Reviewed-by: Robert Bragg <robert linux intel com>
(cherry picked from commit dfb7c765672091fce1f4297ad864c38d2cba3e53)
build/mingw/mingw-fetch-dependencies.sh | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh
index 64f1ed8..b90bae6 100755
--- a/build/mingw/mingw-fetch-dependencies.sh
+++ b/build/mingw/mingw-fetch-dependencies.sh
@@ -28,6 +28,8 @@ GL_HEADER_URLS=( \
GL_HEADERS=( gl.h glext.h );
+CONFIG_GUESS_URL="http://git.savannah.gnu.org/gitweb/?p=automake.git;a=blob_plain;f=lib/config.guess"
+
function download_file ()
{
local url="$1"; shift;
@@ -256,6 +258,8 @@ for dep in "${GL_HEADER_URLS[ ]}"; do
download_file "$dep" "$bn";
done;
+download_file "$CONFIG_GUESS_URL" "config.guess";
+
##
# Extract files
##
@@ -325,6 +329,8 @@ chmod a+x "$RUN_PKG_CONFIG";
find_compiler;
+build_config=`bash $DOWNLOAD_DIR/config.guess`;
+
echo
echo "Done!"
echo
@@ -333,7 +339,7 @@ echo
echo "To get started, you should be able to configure and build from"
echo "the top of your cogl source directory as follows:"
echo
-echo "./configure --host=\"$TARGET\" --target=\"$TARGET\" --build=\"\`./build/config.guess\`\" --enable-wgl CFLAGS=\"-mms-bitfields -I$ROOT_DIR/include\" PKG_CONFIG=\"$RUN_PKG_CONFIG\"" PKG_CONFIG_PATH=
+echo "./configure --host=\"$TARGET\" --target=\"$TARGET\" --build=\"$build_config\" --enable-wgl CFLAGS=\"-mms-bitfields -I$ROOT_DIR/include\" PKG_CONFIG=\"$RUN_PKG_CONFIG\"" PKG_CONFIG_PATH=
echo "make"
echo
echo "Note: the explicit --build option is often necessary to ensure autoconf"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]