Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 3bedcd6

Browse files
committed
added better reporting for yasm program+feature check
1 parent a5f783e commit 3bedcd6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build/pkgs/yasm/spkg-configure.m4

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ SAGE_SPKG_CONFIGURE(
22
[yasm],
33
# Yasm is only needed on x86(_64) systems; check also for system yasm which
44
# must support "adox" (new Skylake instruction)
5-
[AC_PATH_PROGS_FEATURE_CHECK([YASM], [yasm],
5+
[AC_MSG_CHECKING([for yasm supporting the adox instruction])
6+
AC_PATH_PROGS_FEATURE_CHECK([YASM], [yasm],
67
[[{ echo "BITS 64"; echo "adox rax, rax"; } | ${ac_path_YASM} - -o /dev/null >/dev/null 2>/dev/null && ac_cv_path_YASM=${ac_path_YASM}]],
7-
[sage_spkg_install_yasm=yes; ac_cv_path_YASM=no])],
8+
[sage_spkg_install_yasm=yes; ac_cv_path_YASM=no])
9+
AC_MSG_RESULT($ac_cv_path_YASM)],
810
[AS_CASE("$host_cpu", [i@<:@0-9@:>@86|x86_64], [sage_require_yasm=yes])]
911
)

0 commit comments

Comments
 (0)