[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] [PATCH 2/4] Add support for BUILD_ for cross-building.
From: |
Yann Dirson |
Subject: |
[gnugo-devel] [PATCH 2/4] Add support for BUILD_ for cross-building. |
Date: |
Tue, 14 Sep 2010 22:40:34 +0200 |
Signed-off-by: Yann Dirson <address@hidden>
---
configure.in | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index e773294..29d9a31 100644
--- a/configure.in
+++ b/configure.in
@@ -511,6 +511,23 @@ AM_CONDITIONAL(GCC_ONLY, test "$ac_compiler_gnu" = "yes")
dnl Now lines in Makefile.am can be prefixed @address@hidden
+if test "x$BUILD_CC" = "x"; then
+ BUILD_CC="$CC"
+fi
+if test "x$BUILD_RANLIB" = "x"; then
+ BUILD_RANLIB="$RANLIB"
+fi
+if test "x$BUILD_CFLAGS" = "x"; then
+ BUILD_CFLAGS="$CFLAGS"
+fi
+if test "x$BUILD_LDFLAGS" = "x"; then
+ BUILD_LDFLAGS="$LDFLAGS"
+fi
+AC_SUBST(BUILD_CC)
+AC_SUBST(BUILD_RANLIB)
+AC_SUBST(BUILD_LDFLAGS)
+AC_SUBST(BUILD_CFLAGS)
+
AC_SUBST(GCC_MAJOR_VERSION)
AC_SUBST(GCC_MINOR_VERSION)
AC_SUBST(GNU_GO_WARNINGS)
--
1.7.2.3
- [gnugo-devel] [PATCH SERIES] Cross-compilation support., Yann Dirson, 2010/09/14
- [gnugo-devel] [PATCH 1/4] Add AC_CANONICAL_BUILD for cross-build support., Yann Dirson, 2010/09/14
- [gnugo-devel] [PATCH 2/4] Add support for BUILD_ for cross-building.,
Yann Dirson <=
- [gnugo-devel] [PATCH 3/4] Make libs also generate native versions, use them when needed., Yann Dirson, 2010/09/14
- Message not available
- [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Yann Dirson, 2010/09/15
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Yann Dirson, 2010/09/23
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Gunnar Farnebäck, 2010/09/23
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Yann Dirson, 2010/09/24
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Yann Dirson, 2010/09/24
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Gunnar Farnebäck, 2010/09/25
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Yann Dirson, 2010/09/25
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Gunnar Farnebäck, 2010/09/25
- Re: [gnugo-devel] Re: [PATCH 4/4] Autotools refresh., Yann Dirson, 2010/09/26