diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-12 13:51:42 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-12 22:02:23 -0800 |
commit | 35f89c406423344b19dcf3e3f95ff6296f329e42 (patch) | |
tree | 69b473f6d211cc56bfc437e37b457407ad052a43 /configure.ac | |
parent | c31ed45a65e9e30fe2000bf1704583038522646e (diff) | |
download | crosstool-ng-35f89c406423344b19dcf3e3f95ff6296f329e42.tar.gz crosstool-ng-35f89c406423344b19dcf3e3f95ff6296f329e42.tar.bz2 crosstool-ng-35f89c406423344b19dcf3e3f95ff6296f329e42.zip |
Detect both wget/curl and allow user to select the agent
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ba247113..0e60f3b2 100644 --- a/configure.ac +++ b/configure.ac @@ -218,12 +218,22 @@ ACX_CHECK_PROGS_REQ([makeinfo], [makeinfo]) ACX_CHECK_PROGS_REQ([cut], [cut]) ACX_CHECK_PROGS_REQ([stat], [stat]) ACX_CHECK_PROGS_REQ([readlink], [readlink]) -ACX_CHECK_PROGS_REQ([wget], [wget]) ACX_CHECK_PROGS_REQ([tar], [tar]) ACX_CHECK_PROGS_REQ([gzip], [gzip]) ACX_CHECK_PROGS_REQ([bzip2], [bzip2]) ACX_CHECK_PROGS_REQ([help2man], [help2man]) +# Not a fatal failure even if we have neither - the tarballs may +# be provided in a local directory. +AC_CHECK_PROGS([wget], [wget]) +ACX_SET_KCONFIG_OPTION([wget]) +AC_SUBST([wget]) + +AC_CHECK_PROGS([curl], [curl]) +ACX_SET_KCONFIG_OPTION([curl]) +AC_SUBST([curl]) + + #-------------------------------------------------------------------- # Still boring, but remember the path, now... #-------------------------------------------------------------------- |