Skip to content

Commit 86ebb42

Browse files
committed
gauss: make use of IsKernelExtensionAvailable
This was introduced alongside LoadKernelExtension which gauss already uses.
1 parent b37da9f commit 86ebb42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Gauss/PackageInfo.g

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ Dependencies := rec(
100100
),
101101

102102
AvailabilityTest := function()
103-
if (not("gauss" in SHOW_STAT())) and
104-
(Filename(DirectoriesPackagePrograms("gauss"), "gauss.so") = fail) then
103+
if not IsKernelExtensionAvailable("gauss") then
105104
LogPackageLoadingMessage( PACKAGE_INFO, "Gauss C-module was not compiled!", "Gauss" );
106105
LogPackageLoadingMessage( PACKAGE_INFO, "Gauss will work, but slower.", "Gauss" );
107106
fi;

0 commit comments

Comments
 (0)