Skip to content

Commit

Permalink
Use GAP's GMP_PREFIX if available
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 6, 2022
1 parent 96c0b11 commit 08c6a43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ FIND_GAP
GAP="${GAP:-${GAPROOT}/bin/gap.sh}"
AC_SUBST(GAP)

# newer GAP versions may set GMP_PREFIX in sysinfo.gap, try to use that
GMP_PREFIX=${GMP_PREFIX:-yes}

dnl ##
dnl ## Check for GMP
dnl ##

AC_ARG_WITH([gmp],
[AS_HELP_STRING([--with-gmp@<:@=PREFIX@:>@],
[prefix of GMP installation. e.g. /usr/local])],
[],[with_gmp=yes])
[],[with_gmp=${GMP_PREFIX}])

GMP_CPPFLAGS=""
GMP_LDFLAGS=""
Expand Down

0 comments on commit 08c6a43

Please sign in to comment.