passagemath-gap-pkg-cddinterface 10.6.23__cp311-cp311-macosx_14_0_arm64.whl → 10.6.25__cp311-cp311-macosx_14_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-gap-pkg-cddinterface might be problematic. Click here for more details.

@@ -1,84 +0,0 @@
1
- #
2
- # CddInterface: Gap interface to Cdd package
3
- #
4
- # This file is part of the build system of a GAP kernel extension.
5
- # Requires GNU autoconf, GNU automake and GNU libtool.
6
- #
7
-
8
- dnl ##
9
- dnl ## Setup autoconf
10
- dnl ##
11
- AC_PREREQ([2.68])
12
- AC_INIT([CddInterface], [package])
13
- AC_CONFIG_SRCDIR([src/CddInterface.c])
14
- AC_CONFIG_MACRO_DIR([m4])
15
- AC_CONFIG_HEADERS([src/config.h])
16
- m4_include([m4/find_gap.m4])
17
-
18
- dnl ##
19
- dnl ## Set the language
20
- dnl ##
21
- AC_PROG_CC
22
- AC_LANG([C])
23
-
24
- dnl ##
25
- dnl ## Locate the GAP root dir
26
- dnl ##
27
- FIND_GAP
28
-
29
- dnl ##
30
- dnl ## Set cdd root dir
31
- dnl ##
32
- AC_ARG_WITH([cddlib],
33
- [AS_HELP_STRING([--with-cddlib=<path>], [specify the path of cdd installation])],
34
- [], [with_cddlib=yes])
35
- AS_IF([test "x$with_cddlib" = "xno"], [AC_MSG_ERROR([cddlib is required and cannot be disabled])])
36
-
37
- # if no path was given. as a special consideration, detect if the user has cddlib
38
- # installed via Homebrew (on macOS), and if so, use that
39
- AS_IF([test "x$with_cddlib" = "xyes"],[
40
- AS_IF([command -v brew >/dev/null 2>&1],[
41
- AC_MSG_NOTICE([BREW detected])
42
- with_cddlib=$(brew --prefix)
43
- ])
44
- ])
45
-
46
- AS_IF([test "x$with_cddlib" != "xyes"],[
47
- # Debian and Ubuntu put the headers into PREFIX/include/cdd, while on
48
- # e.g. homebrew the headers are in PREFIX/include/cddlib. Finally in
49
- # some cases, the headers are directly in PREFIX/include/ -- so we
50
- # just add all three to the CPPFLAGS
51
- AS_IF([test -d "$with_cddlib"],[],[AC_MSG_ERROR([the cddlib path is not a directory])])
52
- CDD_CPPFLAGS="-I$with_cddlib/include/cdd -I$with_cddlib/include/cddlib -I$with_cddlib/include"
53
- CDD_LDFLAGS="-L$with_cddlib/lib -lcddgmp -lgmp"
54
- ],[
55
- CDD_CPPFLAGS="-I/usr/include/cdd -I/usr/include/cddlib"
56
- CDD_LDFLAGS="-lcddgmp -lgmp"
57
- ])
58
- AC_SUBST(CDD_CPPFLAGS)
59
- AC_SUBST(CDD_LDFLAGS)
60
-
61
- dnl check that cddlib actually is usable
62
- old_CPPFLAGS="$CPPFLAGS"
63
- old_LDFLAGS="$LDFLAGS"
64
- CPPFLAGS="$CPPFLAGS $CDD_CPPFLAGS"
65
- LDFLAGS="$LDFLAGS $CDD_LDFLAGS"
66
-
67
- AC_CHECK_HEADER(
68
- [cddlib/setoper.h],
69
- [AC_DEFINE([HAVE_CDDLIB_SETOPER_H], [1], [setting HAVE_CDDLIB_SETOPER_H=1])],
70
- [AC_CHECK_HEADER(
71
- [setoper.h],
72
- [AC_DEFINE([HAVE_CDDLIB_SETOPER_H], [0], [setting HAVE_CDDLIB_SETOPER_H=0])],
73
- [AC_MSG_ERROR([could not find setoper.h])])])
74
-
75
- AC_CHECK_LIB([cddgmp],[dd_SetLinearity])
76
- CPPFLAGS="$old_CPPFLAGS"
77
- LDFLAGS="$old_LDFLAGS"
78
-
79
-
80
- dnl ##
81
- dnl ## Output everything
82
- dnl ##
83
- AC_CONFIG_FILES([Makefile])
84
- AC_OUTPUT