Skip to content

Commit

Permalink
modify the way to send )quit to fricas
Browse files Browse the repository at this point in the history
This is needed as SBCL-built FriCAS does not output anything
if )quit is passed via -eval option, as opposed to ECL-built FriCAS.
  • Loading branch information
dimpase committed Jul 2, 2023
1 parent 3f642c1 commit afaeb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/fricas/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SAGE_SPKG_CONFIGURE(
[fricas], [
AC_CACHE_CHECK([for FriCAS >= 1.3.8], [ac_cv_path_FRICAS], [
AC_PATH_PROGS_FEATURE_CHECK([FRICAS], [fricas], [
fricas_version=`$ac_path_FRICAS -nox -noclef -eval ")quit" | grep Version | tail -1 2>&1 \
fricas_version=`echo ")quit" | $ac_path_FRICAS -nox -noclef | grep Version | tail -1 2>&1 \
| $SED -n -e 's/.* Version: FriCAS //p'`
AS_IF([test -n "$fricas_version"], [
AX_COMPARE_VERSION([$fricas_version], [ge], [1.3.8], [
Expand Down

0 comments on commit afaeb00

Please sign in to comment.