提交 42638103 编写于 作者: S stevenj

whoops, fixed to configure with --disable-shared

darcs-hash:20100616213517-c8de0-d0dacca994721dfbd3e1b65e221d20fa206a1607.gz
上级 ce68d62f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册