app/main: use HAVE_LIBCURL_OR_LIBSOUP for pull CLI
authorJonathan Lebon <jlebon@redhat.com>
Tue, 3 Oct 2017 19:00:32 +0000 (19:00 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 3 Oct 2017 19:42:58 +0000 (19:42 +0000)
We want `pull` to be included as long as we have at least either
`libcurl` or `libsoup` to back it. Of course, this is a moot point for
now since `libsoup` is currently a build requirement.

Closes: #1244
Approved by: cgwalters

src/ostree/main.c

index e1ccf98324035255a96bb4f602c4445b2b670afc..66cfae7fe33400bef55e1bdd683691aa40a47d33 100644 (file)
@@ -51,7 +51,7 @@ static OstreeCommand commands[] = {
   { "ls", ostree_builtin_ls },
   { "prune", ostree_builtin_prune },
   { "pull-local", ostree_builtin_pull_local },
-#ifdef HAVE_LIBSOUP 
+#ifdef HAVE_LIBCURL_OR_LIBSOUP
   { "pull", ostree_builtin_pull },
 #endif
   { "refs", ostree_builtin_refs },