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

Commit 1497f3f

Browse files
author
Matthias Koeppe
committed
build/pkgs/coxeter3/spkg-configure.m4: New
1 parent 4f0d07d commit 1497f3f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
SAGE_SPKG_CONFIGURE([coxeter3], [
2+
AC_LANG_PUSH(C++)
3+
AC_MSG_CHECKING([for library coxeter3])
4+
SAVE_LIBS="$LIBS"
5+
LIBS="$LIBS -lcoxeter3"
6+
AC_LINK_IFELSE([
7+
AC_LANG_PROGRAM([[
8+
#include <coxeter/sage.h>
9+
#include <coxeter/interactive.h>
10+
]], [[
11+
coxeter::CoxGroup *g = interactive::coxeterGroup("B", 2);
12+
]])
13+
], [
14+
AC_MSG_RESULT([yes])
15+
], [
16+
AC_MSG_RESULT([no])
17+
sage_spkg_install_coxeter3=yes
18+
])
19+
LIBS="$SAVE_LIBS"
20+
AC_LANG_POP(C++)
21+
])

0 commit comments

Comments
 (0)