Blame isl-0.14/m4/ax_detect_imath.m4
|
Packit |
fb9d21 |
AC_DEFUN([AX_DETECT_IMATH], [
|
|
Packit |
fb9d21 |
AC_DEFINE([USE_IMATH_FOR_MP], [], [use imath to implement isl_int])
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
MP_CPPFLAGS="-I$srcdir/imath_wrap"
|
|
Packit |
fb9d21 |
MP_LDFLAGS=""
|
|
Packit |
fb9d21 |
MP_LIBS=""
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
SAVE_CPPFLAGS="$CPPFLAGS"
|
|
Packit |
fb9d21 |
CPPFLAGS="$MP_CPPFLAGS $CPPFLAGS"
|
|
Packit |
fb9d21 |
AC_CHECK_HEADER([imath.h], [], [AC_ERROR([imath.h header not found])])
|
|
Packit |
fb9d21 |
AC_CHECK_HEADER([gmp_compat.h], [], [AC_ERROR([gmp_compat.h header not found])])
|
|
Packit |
fb9d21 |
CPPFLAGS="$SAVE_CPPFLAGS"
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
AM_CONDITIONAL(NEED_GET_MEMORY_FUNCTIONS, test x = xfalse)
|
|
Packit |
fb9d21 |
])
|