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

Commit

Permalink
added test for versions >= v20190226
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Aug 9, 2019
1 parent af16082 commit 7a8d11e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/pkgs/eclib/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ SAGE_SPKG_CONFIGURE([eclib], [
ECLIB_SAVED_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -lec"
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[#include <eclib/version.h>]],
[[show_version(); return 0;]]
AC_LANG_PROGRAM([[#include <eclib/version.h>]
[#include <eclib/interface.h>]],
[[set_bit_precision(42); /* test for versions >= v20190226 */
show_version();
return 0;]]
)], [LIBS="$LIBS -lec"]
[AC_MSG_RESULT([yes; use eclib from the system])], [
AC_MSG_RESULT([no; install eclib]); sage_spkg_install_eclib=yes
Expand Down

0 comments on commit 7a8d11e

Please sign in to comment.