Skip to content

Commit 60d973f

Browse files
dimpaseMatthias Koeppe
authored andcommitted
checking that the system maxima has working help
This is needed for e.g. building Sage docs, cf e.g. Sage's #36028. Some distos mix this up. This fix was requested there.
1 parent 2f1a76d commit 60d973f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/pkgs/maxima/spkg-configure.m4

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ SAGE_SPKG_CONFIGURE([maxima], [
2424
AS_IF([ecl --eval "(require 'maxima)" --eval "(quit)" \
2525
>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [
2626
AC_MSG_RESULT(yes)
27+
dnl check also for the Maxima help - needed by Sage
28+
AC_MSG_CHECKING([if maxima help is working])
29+
maxima_help_ok=`echo ? ? | ${SAGE_MAXIMA} 2>&1 | grep Couldn`
30+
AS_IF([test x$maxima_help_ok = x], [AC_MSG_RESULT(yes)], [
31+
AC_MSG_RESULT(no)
32+
sage_spkg_install_maxima=yes
33+
])
2734
], [
2835
AC_MSG_RESULT(no)
2936
sage_spkg_install_maxima=yes

0 commit comments

Comments
 (0)