source: git/m4/arithrings.m4 @ 568cf0

spielwiese
Last change on this file since 568cf0 was 568cf0, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Enable arithmetical rings by default
  • Property mode set to 100644
File size: 499 bytes
Line 
1AC_DEFUN([SING_CHECK_ARITH_RINGS],
2[
3AC_MSG_CHECKING(whether arithmetical rings should be enabled)
4
5AC_ARG_ENABLE(arith-rings,
6[  --enable-arith-rings Enable arithmetical rings
7],
8[if test $enableval = yes; then
9     ENABLE_RINGS="yes"
10 else
11     ENABLE_RINGS="no"
12 fi
13],[ENABLE_RINGS="yes"])
14
15if test x$ENABLE_RINGS = xyes; then
16  AC_MSG_NOTICE([Arithmetical rings are enabled])
17  AC_DEFINE(HAVE_RINGS,1,Enable arithmetical rings)
18fi
19
20AM_CONDITIONAL([ENABLE_RINGS],[test x$ENABLE_RINGS = xyes])
21])
Note: See TracBrowser for help on using the repository browser.