1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Indent-tabs-mode: NIL -*-
3 ;;; library.lisp --- Load GNUTLS.
5 ;;; Copyright (C) 2008, Stelian Ionescu <sionescu@common-lisp.net>
7 ;;; This code is free software; you can redistribute it and/or
8 ;;; modify it under the terms of the version 2.1 of
9 ;;; the GNU Lesser General Public License as published by
10 ;;; the Free Software Foundation, as clarified by the
11 ;;; preamble found here:
12 ;;; http://opensource.franz.com/preamble.html
14 ;;; This program is distributed in the hope that it will be useful,
15 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU Lesser General
20 ;;; Public License along with this library; if not, write to the
21 ;;; Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
22 ;;; Boston, MA 02110-1301, USA
26 (define-foreign-library :gcrypt
27 (:darwin
"libgcrypt.dylib")
28 (:unix
"libgcrypt.so"))
30 (define-foreign-library :gnutls
31 (:darwin
"libgnutls.dylib")
32 (:unix
"libgnutls.so"))
34 (define-foreign-library :gnutls-extra
35 (:darwin
"libgnutls-extra.dylib")
36 (:unix
"libgnutls-extra.so"))
38 (use-foreign-library :gcrypt
)
39 (use-foreign-library :gnutls
)
40 (use-foreign-library :gnutls-extra
)