From 73d7a51ee6942f681db468dc8e3c631b4d3daa4e Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <edolstra@gmail.com>
Date: Mon, 13 Mar 2017 14:39:18 +0100
Subject: [PATCH] Remove dependency on "curl" binary

---
 Makefile.config.in     | 1 -
 configure.ac           | 1 -
 src/nix-store/local.mk | 2 --
 3 files changed, 4 deletions(-)

diff --git a/Makefile.config.in b/Makefile.config.in
index 15e943804..d4953b521 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -14,7 +14,6 @@ LIBLZMA_LIBS = @LIBLZMA_LIBS@
 SQLITE3_LIBS = @SQLITE3_LIBS@
 bash = @bash@
 bindir = @bindir@
-curl = @curl@
 datadir = @datadir@
 datarootdir = @datarootdir@
 docdir = @docdir@
diff --git a/configure.ac b/configure.ac
index 46b0ac065..34dcd6b2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,7 +114,6 @@ if test -z "$$1"; then
 fi
 ])
 
-NEED_PROG(curl, curl)
 NEED_PROG(bash, bash)
 NEED_PROG(patch, patch)
 AC_PATH_PROG(xmllint, xmllint, false)
diff --git a/src/nix-store/local.mk b/src/nix-store/local.mk
index 84ff15b24..ade0b233a 100644
--- a/src/nix-store/local.mk
+++ b/src/nix-store/local.mk
@@ -7,5 +7,3 @@ nix-store_SOURCES := $(wildcard $(d)/*.cc)
 nix-store_LIBS = libmain libstore libutil libformat
 
 nix-store_LDFLAGS = -lbz2 -pthread $(SODIUM_LIBS)
-
-nix-store_CXXFLAGS = -DCURL=\"$(curl)\"
-- 
GitLab