On Fri, 25 Jan 2013 11:00:23 +0100
Gabor Greif <[email protected]> wrote:

> Hio all!
> 
> Just a piece of feedback,
> 
> this patch is giving me (when 'perl boot') an error:
> 
> Booting libraries/integer-gmp/
> configure.ac:70: error: possibly undefined macro: AC_COMPUTE_INT
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> 
> I have
> 
> $ autoconf --version
> autoconf (GNU Autoconf) 2.59
> Written by David J. MacKenzie and Akim Demaille.
> 
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

How easy for you would be to update autoconf-2.61?
It's rather old (from Nov 2006). I guess it should
be present in repositories.

Would AC_PREREQ be enough to report minimal
requirement to a ghc's dev tree?

Patch attached.

-- 

  Sergei
From 564475948e1e77cb197b36e95725006ee871f481 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <[email protected]>
Date: Fri, 25 Jan 2013 22:15:52 +0300
Subject: [PATCH] integer-gmp: configure.ac document requirement for
 autoconf-2.62

Reported-by: Gabor Greif <[email protected]>
Signed-off-by: Sergei Trofimovich <[email protected]>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index c99f988..af6797e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,3 +1,6 @@
+dnl for AC_COMPUTE_INT
+AC_PREREQ([2.62])
+
 AC_INIT([Haskell integer (GMP)], [0.1], [[email protected]], [integer])
 
 AC_CANONICAL_TARGET
-- 
1.8.1.1

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to