projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r8118: Automated commit for uffi debian-version-1.3.8-1
[uffi.git]
/
tests
/
foreign-loader.lisp
diff --git
a/tests/foreign-loader.lisp
b/tests/foreign-loader.lisp
index eea47945833bdec2517ce43ab170e69c089789bb..a611f8831d687ea86fb57e00069e8f89f9e72c57 100644
(file)
--- a/
tests/foreign-loader.lisp
+++ b/
tests/foreign-loader.lisp
@@
-7,39
+7,35
@@
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id
: foreign-loader.lisp,v 1.3 2003/06/26 18:02:08 kevin Exp
$
+;;;; $Id$
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
-;;;; UFFI users are granted the rights to distribute and use this software
-;;;; as governed by the terms of the Lisp Lesser GNU Public License
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
;;; For CMUCL, it's necessary to load foreign files separate from their
;;; usage
;;;; *************************************************************************
;;; For CMUCL, it's necessary to load foreign files separate from their
;;; usage
-(in-package
:
uffi-tests)
+(in-package uffi-tests)
-(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (uffi:load-foreign-library
(unless (uffi:load-foreign-library
- #-(or macosx darwin)
(uffi:find-foreign-library
(uffi:find-foreign-library
+ #-(or macosx darwin)
"libz"
"libz"
- '("/usr/local/lib/" "/usr/lib/" "/zlib/")
- :types '("so" "a"))
- #+(or macosx darwin)
- (uffi:find-foreign-library "z"
- `(,(pathname-directory *load-pathname*)))
+ #+(or macosx darwin)
+ "z"
+ (list (pathname-directory *load-pathname*)
+ "/usr/local/lib/" "/usr/lib/" "/zlib/"))
:module "zlib"
:supporting-libraries '("c"))
:module "zlib"
:supporting-libraries '("c"))
- (warn "Unable to load zlib"))
)
+ (warn "Unable to load zlib"))
(unless (uffi:load-foreign-library
(unless (uffi:load-foreign-library
- (uffi:find-foreign-library "uffi-c-test-lib"
- (list
- (pathname-directory *load-truename*)
- "/usr/lib/uffi/"))
- :supporting-libraries '("c"))
+ (uffi:find-foreign-library
+ "uffi-c-test-lib"
+ (list (pathname-directory *load-truename*)
+ "/usr/lib/uffi/"))
+ :supporting-libraries '("c")
+ :module "uffi_tests")
(warn "Unable to load uffi-c-test-lib library"))
(warn "Unable to load uffi-c-test-lib library"))