From 426381036f7adc90f2930c996f4d902bca9a6db1 Mon Sep 17 00:00:00 2001 From: stevenj Date: Wed, 16 Jun 2010 17:35:17 -0400 Subject: [PATCH] whoops, fixed to configure with --disable-shared darcs-hash:20100616213517-c8de0-d0dacca994721dfbd3e1b65e221d20fa206a1607.gz --- configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c159629..b063dc3 100644 --- a/configure.ac +++ b/configure.ac @@ -93,6 +93,8 @@ dnl SWIG wrappers if test "$enable_shared" = no; then AC_MSG_WARN([Python and Guile wrappers require --enable-shared; disabling]) + GUILE_CONFIG=unknown + have_python=no else dnl Guile: @@ -125,7 +127,6 @@ fi AC_SUBST(GUILE_SITEDIR) AC_SUBST(GUILE_CPPFLAGS) AC_SUBST(GUILE_LIBS) -AM_CONDITIONAL(WITH_GUILE, test x"$GUILE_CONFIG" != "xunknown") dnl Python: AM_PATH_PYTHON([],[have_python=yes],[have_python=no]) @@ -150,9 +151,11 @@ if test $have_python = yes; then fi AC_SUBST(PYTHON_INCLUDE_DIR) fi -AM_CONDITIONAL(WITH_PYTHON, test x"$have_python" = "xyes") -fi +fi # if enable_shared + +AM_CONDITIONAL(WITH_GUILE, test x"$GUILE_CONFIG" != "xunknown") +AM_CONDITIONAL(WITH_PYTHON, test x"$have_python" = "xyes") dnl ----------------------------------------------------------------------- dnl Compiling Octave plug-in -- GitLab