summaryrefslogtreecommitdiff
path: root/Build/Configure.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-25 17:54:00 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-25 17:54:00 -0400
commitd7f4a6178918476e1f66d9a0a387c9f057adab46 (patch)
tree01a61304e8e1ab7d6671592cefa6a34b9b4c50d9 /Build/Configure.hs
parentbe9f7bcae56083e83a31509e023dd562b3ec213c (diff)
SRV lookup library
This uses the ADNS library, if available. Otherwise, the host program. I anticipate that cabal users won't easily get hsdns installed, since it's a Haskell binding to a C library. And using host is just fine, as long as the system has it.
Diffstat (limited to 'Build/Configure.hs')
-rw-r--r--Build/Configure.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs
index 96582f923..894feb409 100644
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -27,6 +27,7 @@ tests =
, TestCase "bup" $ testCmd "bup" "bup --version >/dev/null"
, TestCase "gpg" $ testCmd "gpg" "gpg --version >/dev/null"
, TestCase "lsof" $ testCmd "lsof" "lsof -v >/dev/null 2>&1"
+ , TestCase "host" $ testCmd "host" "host localhost >/dev/null 2>&1"
, TestCase "ssh connection caching" getSshConnectionCaching
] ++ shaTestCases
[ (1, "da39a3ee5e6b4b0d3255bfef95601890afd80709")