From 6774ac0f5aa09b1a4a1555d1b68ed3499e6bc316 Mon Sep 17 00:00:00 2001 From: stevenj Date: Mon, 14 Jun 2010 14:37:16 -0400 Subject: [PATCH] disable Python/Guile wrappers unless --enable-shared darcs-hash:20100614183716-c8de0-9cba4159abbf8bc1d3e73c76341331116b6bfbb3.gz --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index d136de5..b83d051 100644 --- a/configure.ac +++ b/configure.ac @@ -91,6 +91,10 @@ fi dnl ----------------------------------------------------------------------- dnl SWIG wrappers +if test "$enable_shared" = no; then + AC_MSG_WARN([Python and Guile wrappers require --enable-shared; disabling]) +else + dnl Guile: AC_CHECK_PROG(GUILE_CONFIG, guile-config, guile-config, unknown) if test "x$GUILE_CONFIG" = "xunknown"; then @@ -141,6 +145,8 @@ if test $have_python = yes; then fi AM_CONDITIONAL(WITH_PYTHON, test x"$have_python" = "xyes") +fi + dnl ----------------------------------------------------------------------- dnl Compiling Octave plug-in -- 2.30.2