This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,13 @@ bootstrap () {
8181 rm -f m4/sage_spkg_configures.m4
8282 spkg_configures=" "
8383
84- # --disable-SPKG options for standard packages, followed by
84+ # initialize SAGE_ENABLE... options for standard packages
85+ for pkgname in $( ./sage --package list :standard: | sort) ; do
86+ spkg_configures=" $spkg_configures
87+ AC_SUBST(SAGE_ENABLE_$pkgname , [yes])"
88+ done
8589 # --enable-SPKG options
86- for pkgname in $( ./sage --package list :standard: | sort) \
87- $( ./sage --package list :optional: :experimental: | sort) ; do
90+ for pkgname in $( ./sage --package list :optional: :experimental: | sort) ; do
8891 # Trac #29629: Temporary solution for Sage 9.1: Do not provide
8992 # --enable-SPKG options for installing pip packages
9093 if [ ! -f build/pkgs/$pkgname /requirements.txt ]; then
@@ -93,6 +96,7 @@ bootstrap () {
9396 case " $pkgname " in
9497 _* ) ;;
9598 * ) spkg_configures=" $spkg_configures
99+ AC_SUBST(SAGE_ENABLE_$pkgname , [if_installed])
96100SAGE_SPKG_ENABLE([$pkgname ], [$pkgtype ])" ;;
97101 esac
98102 fi
You can’t perform that action at this time.
0 commit comments