summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-07-04 20:53:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-07-04 20:53:49 (GMT)
commit76bfe6ef36d5b4a95a8a19ae4d66815914307663 (patch)
tree7381d2039260b9940ce770ce40add8d350a24106
parentb8dc6fb23296b0a2e5b6dce34493e4c17df672e4 (diff)
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>
-rw-r--r--config/libc/newlib.in1
-rwxr-xr-xconfigure4
2 files changed, 4 insertions, 1 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index 9eeee52..a1b89a6 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -29,6 +29,7 @@ config LIBC_NEWLIB_V_1_17_0
config LIBC_NEWLIB_CVS
bool
prompt "Use CVS snapshot"
+ depends on CONFIGURE_has_cvs
help
The newlib "team" rolls new releases about once a year (december).
This is quite a long time between releases, in case code was fixed.
diff --git a/configure b/configure
index 8dc637f..a423e4f 100755
--- a/configure
+++ b/configure
@@ -446,7 +446,6 @@ has_or_abort prog=libtool
err="'libtool' 1.5.26 or above was not found"
has_or_abort prog=stat
has_or_abort prog="curl wget"
-has_or_abort prog=cvs
has_or_abort prog=patch
has_or_abort prog=tar
has_or_abort prog=gzip
@@ -457,6 +456,9 @@ has_or_abort prog=objcopy var=objcopy
has_or_abort prog=objdump var=objdump
has_or_abort prog=readelf var=readelf
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"
# Host system checks