last changes for release.
[gnutls.git] / guile / pre-inst-guile.in
blob9dd409dbbcd17ca541bba304c9334f15cbee93f4
1 #!/bin/sh
3 # Copyright (C) 2007-2012 Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 # Sets up the execution environment needed to run the test programs
20 # and produce the documentation.
23 GUILE_LOAD_PATH="@abs_top_srcdir@/guile/modules:$GUILE_LOAD_PATH"
24 GUILE_LOAD_PATH="@abs_top_builddir@/guile/modules:$GUILE_LOAD_PATH"
25 export GUILE_LOAD_PATH
27 GNUTLS_GUILE_EXTENSION_DIR="@abs_top_builddir@/guile/src"
28 export GNUTLS_GUILE_EXTENSION_DIR
30 exec @abs_top_builddir@/libtool --mode=execute \
31 -dlopen "@abs_top_builddir@/guile/src/guile-gnutls-v-2.la" \
32 @GUILE@ "$@"