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

Commit

Permalink
build/pkgs/ntl/spkg-configure.m4: Fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 11, 2021
1 parent 4d2828d commit 993c35c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/pkgs/ntl/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ SAGE_SPKG_CONFIGURE([ntl], [
else
AC_SUBST(SAGE_NTL_PREFIX, [''])
AX_ABSOLUTE_HEADER([NTL/ZZ.h])
AC_SUBST(NTL_INCDIR, [`AS_DIRNAME(AS_DIRNAME($gl_cv_absolute_NTL_ZZ_h))`])
AC_SUBST(NTL_LIBDIR, [`AS_DIRNAME($NTL_INCDIR)/lib`])
ntl_inc_ntl_dir=`AS_DIRNAME(["$gl_cv_absolute_NTL_ZZ_h"])`
ntl_inc_dir=`AS_DIRNAME(["$ntl_inc_ntl_dir"])`
ntl_prefix=`AS_DIRNAME(["$ntl_inc_dir"])`
AC_SUBST(NTL_INCDIR, [$ntl_inc_dir])
AC_SUBST(NTL_LIBDIR, [$ntl_prefix/lib])
fi
])

0 comments on commit 993c35c

Please sign in to comment.