| 1 |
;; guile-cairo |
| 2 |
;; Copyright (C) 2007, 2011 Andy Wingo <wingo pobox.com> |
| 3 |
|
| 4 |
;; This program is free software; you can redistribute it and/or modify |
| 5 |
;; it under the terms of the GNU Lesser General Public License as |
| 6 |
;; published by the Free Software Foundation; either version 3 of the |
| 7 |
;; License, or (at your option) any later version. |
| 8 |
;; |
| 9 |
;; This program is distributed in the hope that it will be useful, but |
| 10 |
;; WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 |
;; Lesser General Public License for more details. |
| 13 |
;; |
| 14 |
;; You should have received a copy of the GNU Lesser General Public |
| 15 |
;; License along with this program; if not, see |
| 16 |
;; <http://www.gnu.org/licenses/>. |
| 17 |
|
| 18 |
;;; Commentary: |
| 19 |
;; |
| 20 |
;; Config for (cairo). |
| 21 |
;; |
| 22 |
;;; Code: |
| 23 |
|
| 24 |
(define-module (cairo config) |
| 25 |
:export (*cairo-lib-path* |
| 26 |
*cairo-documentation-path*)) |
| 27 |
|
| •28 |
(define *cairo-lib-path* |
| 29 |
(let ((str-path (getenv "GUILE_CAIRO_LIB_PATH"))) |
| 30 |
(if str-path |
| 31 |
str-path |
| 32 |
"@cairolibpath@"))) |
| 33 |
(define *cairo-documentation-path* "@cairodocumentationpath@") |