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

Commit

Permalink
Trac #29617: check for ecl-config instead of ecl.
Browse files Browse the repository at this point in the history
The plan for ecl's ./configure check is to build a test program using
a header that defines its version, and to check that version against
the required one. If those headers are installed in an uncommon
location, the ecl-config program exists to provide the appropriate
include path(s). Since we will need those include path(s) anyway, we
might as well check for ecl-config instead of ecl itself.
  • Loading branch information
orlitzky committed Apr 8, 2021
1 parent 27727ac commit 38cc46d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/ecl/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SAGE_SPKG_CONFIGURE([ecl], [
SAGE_SPKG_DEPCHECK([gc gmp mpir], [
AC_PATH_PROG([ECL], [ecl])
AS_IF([test x$ECL = x], [
AC_MSG_NOTICE([ecl not found. Installing ecl])
AC_PATH_PROG([ECL_CONFIG], [ecl-config])
AS_IF([test x$ECL_CONFIG = x], [
AC_MSG_NOTICE([ecl-config not found. Installing ecl])
sage_spkg_install_ecl=yes])
])
])

0 comments on commit 38cc46d

Please sign in to comment.