[commit: base] master: Swap FP_COMMUTE_INT argument order to match AC_COMPUTE_INT (04f9c68)

Ian Lynagh igloo at earth.li
Wed Apr 6 23:38:30 CEST 2011


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/04f9c68b4507447275c20ef9e422a3618272c1ef

>---------------------------------------------------------------

commit 04f9c68b4507447275c20ef9e422a3618272c1ef
Author: Ian Lynagh <igloo at earth.li>
Date:   Wed Apr 6 21:44:34 2011 +0100

    Swap FP_COMMUTE_INT argument order to match AC_COMPUTE_INT
    
    The first 2 arguments are in the opposite order for _AC_COMPUTE_INT

>---------------------------------------------------------------

 aclocal.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index a67d6cb..d522b77 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -10,7 +10,7 @@
 # The public AC_COMPUTE_INT macro isn't supported by some versions of
 # autoconf.
 AC_DEFUN([FP_COMPUTE_INT],
-[_AC_COMPUTE_INT([$1], [$2], [$3], [$4])[]dnl
+[_AC_COMPUTE_INT([$2], [$1], [$3], [$4])[]dnl
 ])# FP_COMPUTE_INT
 
 
@@ -21,7 +21,7 @@ AC_DEFUN([FP_COMPUTE_INT],
 AC_DEFUN([FP_CHECK_CONST],
 [AS_VAR_PUSHDEF([fp_Cache], [fp_cv_const_$1])[]dnl
 AC_CACHE_CHECK([value of $1], fp_Cache,
-[FP_COMPUTE_INT([$1], fp_check_const_result, [AC_INCLUDES_DEFAULT([$2])],
+[FP_COMPUTE_INT(fp_check_const_result, [$1], [AC_INCLUDES_DEFAULT([$2])],
                 [fp_check_const_result=m4_default([$3], ['-1'])])
 AS_VAR_SET(fp_Cache, [$fp_check_const_result])])[]dnl
 AC_DEFINE_UNQUOTED(AS_TR_CPP([CONST_$1]), AS_VAR_GET(fp_Cache), [The value of $1.])[]dnl





More information about the Cvs-libraries mailing list