diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-08-01 22:46:57 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-08-01 22:46:57 +0200 |
commit | f7a05d343a937f6d1262340d54cf4558544a689f (patch) | |
tree | 7972f4d06ab487200cf2b9dbe2a93e51d4b13f23 | |
parent | 5f79506725b2b4c8e26274e8c53ddddcb8f9929f (diff) | |
download | crosstool-ng-f7a05d343a937f6d1262340d54cf4558544a689f.tar.gz crosstool-ng-f7a05d343a937f6d1262340d54cf4558544a689f.tar.bz2 crosstool-ng-f7a05d343a937f6d1262340d54cf4558544a689f.zip |
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 <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r-- | config/libc/eglibc.in | 12 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index ad3f06d8..6e96d141 100644 --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -122,6 +122,8 @@ config LIBC_EGLIBC_2_9_or_later config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL bool +if CONFIGURE_has_svn + config EGLIBC_REVISION string prompt "Revision to use" @@ -160,6 +162,16 @@ config EGLIBC_CHECKOUT 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)" @@ -460,7 +460,7 @@ has_or_abort prog=patch var=patch 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" |