# HG changeset patch # User "Yann E. MORIN" # Date 1312231617 -7200 # Node ID 491d62ac2017a4f38ab016cd8531a2c3bb37bcd8 # Parent b64cfb67944e3d86ef920c0e99737be10decc6cf configure: do not require svn svn is needed to download eglibc from the upstream repository. In some situations, though, it can happen that: - the developpers' machines do not have svn - a LAN mirror has been set-up with pre-downloaded eglibc tarballs In this case, it makes sense not to hard-depend on svn. So, if svn is missing, just say so, and add a comment in the menuconfig. Reported-by: ANDY KENNEDY Signed-off-by: "Yann E. MORIN" diff -r b64cfb67944e -r 491d62ac2017 config/libc/eglibc.in --- a/config/libc/eglibc.in Tue Aug 02 18:28:10 2011 +0200 +++ b/config/libc/eglibc.in Mon Aug 01 22:46:57 2011 +0200 @@ -122,6 +122,8 @@ config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL bool +if CONFIGURE_has_svn + config EGLIBC_REVISION string prompt "Revision to use" @@ -160,6 +162,16 @@ Note that crosstool-NG will *not* update your working copy, you will have to do that yourself. +endif # ! CONFIGURE_has_svn +if ! CONFIGURE_has_svn + +comment "svn is missing. You'll have to either:" +comment "| - have a pre-downloaded local tarball" +comment "| - or have a LAN mirror with a pre-downloaded tarball" +comment "otherwise you won't be able to download eglibc" + +endif # ! CONFIGURE_has_svn + config EGLIBC_OPT_SIZE bool prompt "optimize eglibc for size (-Os)" diff -r b64cfb67944e -r 491d62ac2017 configure --- a/configure Tue Aug 02 18:28:10 2011 +0200 +++ b/configure Mon Aug 01 22:46:57 2011 +0200 @@ -460,7 +460,7 @@ has_or_warn prog=cvs \ kconfig=has_cvs \ err="it will not be possible to use newlib cvs snapshots" -has_or_abort prog=svn \ +has_or_warn prog=svn \ kconfig=has_svn \ err="subversion is required to download eglibc"