changeset 7661:bf2c99d395bd

No need to invoke gl_FUNC_ALLOCA more than once. But using AC_REQUIRE would be wrong here, since gl_FUNC_ALLOCA calls AC_FUNC_ALLOCA which has an effect on @ALLOCA@.
author Bruno Haible <bruno@clisp.org>
date Wed, 15 Nov 2006 20:50:54 +0000
parents 7aa6fbd6b3b7
children 8c905c6c16a0
files ChangeLog m4/allocsa.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-15  Eric Blake  <ebb9@byu.net>
+
+	* m4/allocsa.m4 (gl_ALLOCSA): Don't invoke macro already picked up by
+	the module dependency.
+
 2006-11-15  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
             Bruno Haible  <bruno@clisp.org>
 
--- a/m4/allocsa.m4
+++ b/m4/allocsa.m4
@@ -1,4 +1,4 @@
-# allocsa.m4 serial 5
+# allocsa.m4 serial 6
 dnl Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -8,7 +8,7 @@
 [
   dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables
   dnl @ALLOCA@ and @LTALLOCA@.
-  gl_FUNC_ALLOCA
+  dnl gl_FUNC_ALLOCA   dnl Already brought in by the module dependencies.
   AC_REQUIRE([gl_EEMALLOC])
   AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
   AC_REQUIRE([gt_TYPE_LONGDOUBLE])