summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2008-11-03 08:59:55 +0000
committerJan Lehnardt <jan@apache.org>2008-11-03 08:59:55 +0000
commitcee8134f41f2dab481be12c93170c8486b3a5a84 (patch)
tree268777ab413658b676b9ce133f922e845f46ec52 /configure.ac
parentbeedd6826a270916db5f8e3cf4feca6416cdec9c (diff)
Fix for building on OpenBSD. Link couchpass against -lcrypto instead of -lcrypt. Patch by Benoit Chesneau. Closes COUCHDB-151.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@710026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index efbb51cd..80a178cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,8 +109,11 @@ AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LIBS)
case "$(uname -s)" in
- Linux | *BSD)
+ Linux | FreeBSD)
LIBS="$LIBS -lcrypt"
+ ;;
+ OpenBSD)
+ LIBS="$LIBS -lcrypto"
;;
esac