summaryrefslogtreecommitdiffstats
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
commit32d7a0f7407b1d23fa533cd51c40e9706f665e69 (patch)
treede62dda88f11a3c2368e41bc52f4039008304889 /configure.in
parentf40ec8b0b42d49c5e842b1c0b060c693f3cf55e3 (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: http://svn.ruby-lang.org/repos/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 5f0a5ec28..66d5de464 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