1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 02:40:17 +02:00

Disable stand-alone tests that require dlopen' when --disable-shared'.

* configure.ac (HAVE_SHARED_LIBRARIES): New Automake conditional.

* test-suite/standalone/Makefile.am (check_SCRIPTS): Add `test-asmobs',
  `test-ffi', and `test-extensions' only when `HAVE_SHARED_LIBRARIES'.
This commit is contained in:
Ludovic Courtès 2011-01-31 19:26:01 +01:00
parent a8591a55f0
commit 2ddf085149
2 changed files with 14 additions and 2 deletions

View file

@ -1,6 +1,7 @@
## Process this file with automake to produce Makefile.in.
##
## Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Software Foundation, Inc.
## Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
## 2011 Free Software Foundation, Inc.
##
## This file is part of GUILE.
##
@ -78,6 +79,8 @@ test_round_LDADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIVE_VERSION@.l
check_PROGRAMS += test-round
TESTS += test-round
if HAVE_SHARED_LIBRARIES
# test-asmobs
noinst_LTLIBRARIES += libtest-asmobs.la
libtest_asmobs_la_SOURCES = test-asmobs-lib.c
@ -97,6 +100,8 @@ libtest_ffi_la_LIBADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIVE_VERSI
check_SCRIPTS += test-ffi
TESTS += test-ffi
endif HAVE_SHARED_LIBRARIES
# test-list
test_list_SOURCES = test-list.c
test_list_CFLAGS = ${test_cflags}
@ -154,6 +159,8 @@ test_scm_take_u8vector_LDADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIV
check_PROGRAMS += test-scm-take-u8vector
TESTS += test-scm-take-u8vector
if HAVE_SHARED_LIBRARIES
# test-extensions
noinst_LTLIBRARIES += libtest-extensions.la
libtest_extensions_la_SOURCES = test-extensions-lib.c
@ -163,6 +170,8 @@ libtest_extensions_la_LIBADD = ${top_builddir}/libguile/libguile-@GUILE_EFFECTIV
check_SCRIPTS += test-extensions
TESTS += test-extensions
endif HAVE_SHARED_LIBRARIES
if BUILD_PTHREAD_SUPPORT
# test-with-guile-module