You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2008/11/03 09:59:55 UTC

svn commit: r710026 - /incubator/couchdb/trunk/configure.ac

Author: jan
Date: Mon Nov  3 00:59:55 2008
New Revision: 710026

URL: http://svn.apache.org/viewvc?rev=710026&view=rev
Log:
Fix for building on OpenBSD. Link couchpass against -lcrypto instead of -lcrypt. Patch by Benoit Chesneau. Closes COUCHDB-151.

Modified:
    incubator/couchdb/trunk/configure.ac

Modified: incubator/couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/configure.ac?rev=710026&r1=710025&r2=710026&view=diff
==============================================================================
--- incubator/couchdb/trunk/configure.ac (original)
+++ incubator/couchdb/trunk/configure.ac Mon Nov  3 00:59:55 2008
@@ -109,8 +109,11 @@
 AC_SUBST(CURL_LIBS) 
 
 case "$(uname -s)" in
-  Linux | *BSD)
+  Linux | FreeBSD)
     LIBS="$LIBS -lcrypt"
+    ;;
+  OpenBSD)
+    LIBS="$LIBS -lcrypto"
   ;;
 esac