couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r711852 - /incubator/couchdb/trunk/configure.ac
Date Thu, 06 Nov 2008 12:58:36 GMT
Author: jan
Date: Thu Nov  6 04:58:29 2008
New Revision: 711852

URL: http://svn.apache.org/viewvc?rev=711852&view=rev
Log:
Silence warning on Linux by properly exporting `crypt()`.

Modified:
    incubator/couchdb/trunk/configure.ac

Modified: incubator/couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/configure.ac?rev=711852&r1=711851&r2=711852&view=diff
==============================================================================
--- incubator/couchdb/trunk/configure.ac (original)
+++ incubator/couchdb/trunk/configure.ac Thu Nov  6 04:58:29 2008
@@ -109,7 +109,11 @@
 AC_SUBST(CURL_LIBS) 
 
 case "$(uname -s)" in
-  Linux | FreeBSD)
+  Linux)
+    LIBS="$LIBS -lcrypt"
+    CPPFLAGS="-D_XOPEN_SOURCE $CPPFLAGS"
+    ;;
+  FreeBSD)
     LIBS="$LIBS -lcrypt"
     ;;
   OpenBSD)



Mime
View raw message