summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-19 11:36:56 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-19 11:36:56 +0000
commitf85491da545cb24a302627932890be446180f64b (patch)
treede62dda88f11a3c2368e41bc52f4039008304889 /configure.in
parent2458172de888472f276371ec02e25744b08b5a30 (diff)
merges r20683 from trunk into ruby_1_9_1.
* complex.c (nucomp_canonicalization): renamed. * ext/math/complex.c: followed the above change. * rational.c (nurat_canonicalization): renamed. * ext/math/rational.c: followed the above change. * configure.in: defines a new macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5f0a5ec28d..66d5de4644 100644
--- a/configure.in
+++ b/configure.in
@@ -80,6 +80,9 @@ fi
AC_SUBST(MAJOR)
AC_SUBST(MINOR)
AC_SUBST(TEENY)
+if test "$MAJOR" = "1"; then
+ AC_DEFINE(CANONICALIZATION_FOR_MATHN)
+fi
dnl checks for alternative programs
AC_ARG_WITH(gcc, [ --without-gcc never use gcc], [
case $withval in