]> diplodocus.org Git - nmh/commit
Improve oauth autoconf support.
authorEric Gillespie <epg@pretzelnet.org>
Mon, 25 Apr 2016 01:23:04 +0000 (01:23 +0000)
committerEric Gillespie <epg@pretzelnet.org>
Mon, 25 Apr 2016 01:23:04 +0000 (01:23 +0000)
commit5c62616a2283aac2b4a78632bc7999b2c9fe00e2
tree08b3cdd495d76590750e8847c609ef8a8bca1b90
parentd945b90675db0ebddfa4e517f78b92e1da7896e5
Improve oauth autoconf support.

- By default, enable OAuth if curl is found.

- If OAuth requested (--with-oauth), error if curl not found.

- If OAuth disabled (--without-oauth), don't enable it even if found.

- Sanity-check curl-config --version output so we don't send anything crazy in
  our HTTP requests if curl-config changes.
configure.ac