Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Silence warning on Linux by properly exporting crypt().
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@711852 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
janl committed Nov 6, 2008
1 parent 60bc407 commit f9f5d67
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LIBS)

case "$(uname -s)" in
Linux | FreeBSD)
Linux)
LIBS="$LIBS -lcrypt"
CPPFLAGS="-D_XOPEN_SOURCE $CPPFLAGS"
;;
FreeBSD)
LIBS="$LIBS -lcrypt"
;;
OpenBSD)
Expand Down

0 comments on commit f9f5d67

Please sign in to comment.