configure: do not require cvs
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 04 22:53:49 2011 +0200 (2011-07-04)
changeset 2535e9e8cafaf412
parent 2534 06163d8f6474
child 2536 792260b22a14
configure: do not require cvs

cvs is used to get newlib directly from its repository. Missing cvs
will only allow getting newlib from the released tarballs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
config/libc/newlib.in
configure
     1.1 --- a/config/libc/newlib.in	Mon Jul 04 22:37:44 2011 +0200
     1.2 +++ b/config/libc/newlib.in	Mon Jul 04 22:53:49 2011 +0200
     1.3 @@ -29,6 +29,7 @@
     1.4  config LIBC_NEWLIB_CVS
     1.5      bool
     1.6      prompt "Use CVS snapshot"
     1.7 +    depends on CONFIGURE_has_cvs
     1.8      help
     1.9        The newlib "team" rolls new releases about once a year (december).
    1.10        This is quite a long time between releases, in case code was fixed.
     2.1 --- a/configure	Mon Jul 04 22:37:44 2011 +0200
     2.2 +++ b/configure	Mon Jul 04 22:53:49 2011 +0200
     2.3 @@ -446,7 +446,6 @@
     2.4               err="'libtool' 1.5.26 or above was not found"
     2.5  has_or_abort prog=stat
     2.6  has_or_abort prog="curl wget"
     2.7 -has_or_abort prog=cvs
     2.8  has_or_abort prog=patch
     2.9  has_or_abort prog=tar
    2.10  has_or_abort prog=gzip
    2.11 @@ -457,6 +456,9 @@
    2.12  has_or_abort prog=objdump var=objdump
    2.13  has_or_abort prog=readelf var=readelf
    2.14  has_or_abort prog=patch var=patch
    2.15 +has_or_warn  prog=cvs                                                   \
    2.16 +             kconfig=has_cvs                                            \
    2.17 +             err="it will not be possible to use newlib cvs snapshots"
    2.18  
    2.19  # Host system checks
    2.20